📄 rfc285.txt
字号:
typing or wishes to begin typing. NETCRT tries to maintain good man-machine interaction by controlling the state of the terminal. I have refrained from commenting on the various proposals as Isummarized them because I don't think that it would have been in linewith what I am trying to do in this paper. I think that there is a needto consider an overall model of the graphic system we are trying todesign. Previous proposals have dealt with some set of details withoutidentifying with a general model, producing good ideas forimplementation of details but not considering how the whole will fittogether. Thus I would like to propose a model for our graphics system.It will contain many protocols and leave many areas to be discussedfurther, but it will provide a starting point from which work can bedone along simple lines, and yet not exclude the later inclusion of moresophisticated abilities. Figure 1 shows a block diagram of information flow. The PROCESSindicates a graphics application program which is running on a computerin the net. Its associated INPUT and OUTPUT routines can be thought ofas being a set of subroutines loaded with the main PROCESS or asseparate and running elsewhere serving many users. At the other end ofthe loop are a set of INPUT and OUTPUT drivers for the DISPLAY which isbeing used to display the graphics information. The information flowing 4RFC 285 NIC 8271from the PROCESS to the DISPLAY is drawing information for the buildingand manipulation of pictures. The information flowing from the DISPLAYto the PROCESS is attention information. The Graphic Data Baseassociated with the main PROCESS is that which is constructed when thepicture is being drawn by the PROCESS or when the picture is being drawnby local processing and attention messages tell the PROCESS what hasbeen done to the picture. This data base need not contain moreinformation that the PROCESS is willing to work with, and in fact neednot contain anything if no picture interaction is to be done. TheGraphic Data Base associated with the DISPLAY drivers is built bythemselves so that the OUTPUT driver can handle attentions from theDISPLAY without requiring the main PROCESS to be able to do this and forthe INPUT driver to use when modifying the picture based on what isactually being displayed. The information flowing to and from the mainPROCESS is the sort which is passed or received as parameters toprocedures. The INPUT and OUTPUT routines translate to and fromrespectively a network standard graphics protocol which is sent out overthe net to the INPUT and OUTPUT display drivers whose responsibility itis to translate the standard message into the appropriate byte stream todrive the DISPLAY or translate the attention from the DISPLAY into anetwork standard message. The DISPLAY is assumed to handle its ownrefreshing if it requires any, so that there will be as little apparentdifference between refreshed and non-refreshed displays as is possible. This model provides for both simplicity of use for those doingsimple things and power which is needed for those doing sophisticatedinteractive graphics. It can be used with a minimum of effort andoverhead by setting runtime conditions to indicate that no interactivegraphics will be done and all associated processing should be skipped,while still enabling other PROCESSes to do high powered graphics withoutgoing to a completely different set of routines and rules. Due to the existence of two separate data bases, which must bekept up-to-date with each other there are two modes of operating thismodel. For lack of better names let us call them PROGRAM graphics andLOCAL graphics. The former indicates that the picture being displayed isconstructed by the main PROCESS and all input from the user at thedisplay is solicited, thus the DISPLAY data base is only updated afterand as a result of action by the main PROCESS. The latter indicates thatthe user at the display is directing the construction of a picture bymeans of function buttons and drawing tools, the DISPLAY data base isupdated immediately and the main PROCESS is notified of the change sothat it may keep up, but it does not perform manipulations of thepicture unless requested to do so by the DISPLAY OUTPUT driver; this canbe as a result of a request to perform some function that the DISPLAYINPUT/OUTPUT drivers can do by themselves or a request by the user tohave the main PROCESS perform a non-standard function on the picture. 5RFC 285 NIC 8271 The main purpose of this design is to allow greatest generalityof graphic configurations rather than minimum response time. The designfor an optimum requires more exact specification of the hardwareconfiguration and the proposed usage. Since neither of these variablescan be known, and in fact our attempt at generality keeps us from evenguessing very closely at them, we must provide intelligent INPUT/OUTPUTdrivers that will know how to split the processing load betweenthemselves and the main PROCESS as a function of what kind of DISPLAYthey are driving, rather than attempting to design in an optimumbreakpoint. The Graphics Protocol should specify the format of the messageswhich are transmitted between the INPUT and OUTPUT routines and drivers.These messages can be divided as previously mentioned according to theirdirection and content, i.e. drawing messages and attention messages.Since it is often desired to intermix graphics and text there should bea distinguishing message header for all graphics messages. Then a byteto specify the type of information contained in the body of the message,a count of the bytes in the body, and finally the body itself. Virtuallyall of the necessary message types have been indicated in the previousRFCs and I will not list them here, except to note that attentions nowinclude requests for processing that the drivers could not do. To summarize, I believe that a simple model is enough to enablethe design of both sophisticated interactive graphics and low effortnon-interactive graphics. The primary reason for this is that our majorinterest is not minimum response, but rather maximum configurationmixes. There are opportunities to use software sharing and datareconfiguration services when building INPUT/OUTPUT routines anddrivers. Much detailed work remains to be done, but with a basic modelin sight providing a framework to hang proposed ideas on for evaluation,work should be able to proceed more smoothly. 6RFC 285 NIC 8271 +---------+ +--------+ ! INPUT ! ! OUTPUT ! +--! routine !<------||---------! driver !<--+ ! +---------+ +--------+ ! ! ^ ! V ! ! +---------+---------+ +---------+ ! +---------+ ! ! Graphic ! ! Graphic ! ! ! ! ! PROCESS ! Data ! ! Data !<->! ! DISPLAY ! ! ! Base ! ! Base ! ! ! ! +---------+---------+ +---------+ ! +---------+ ! ! ^ ! V ! ! +---------+ +--------+ ! ! ! OUTPUT ! ! INPUT ! ! +->! routine !-------||-------->! driver !---+ +---------+ +--------+ Figure 1 [ This RFC was put into machine readable form for entry ] [ into the online RFC archives by Ian Redfern 4/99 ] 7
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -