1、 STD-BSI 8s ISO/IEC 704U-ENGL 1777 sl Lb24bb9 Ob51bL4 993 BRITISH STANDARD Information technology - Open Systems hterconnection - Virtual Terminal Basic Class Service ICs 35.100.60 NO COPYING WITHOUT BSI PERMISSION EXCEPT AS PERMITTED BY COPYRIGHT LAW BS ISO/IEC 9040 : 1997 STD.BS1 BS ISO/IEC 9040-E
2、NGL 1997 = Lb24bb7 Ob5lb15 82T been prepared under the published under the authority of the Standards Board and comes into effect on 15 October 1997 direction of the DISC Board, was Amd. No. Da O BSI 1997 ISBN O 580 28688 X BS ISO/EC 9040 : 1997 Te* affected National foreword This British Standard r
3、eproduces verbatim ISO/IEC 9040 : 1997 and implements it as the UK national standard. It supersedes BS ISOlEC 9040 : 1990 which is withdrawn. The UK participation in its preparation was entrusted to Technical Committee ISTEl, Open Systems Interconnection, Data Management and Open Distributed Process
4、ing, which has the responsibility to: - aid enquirers to understand the text; - present to the responsible internationallEuropean committee any enquiries on the interpretation, or proposals for change, and keep the UK interests informed - monitor related international and European developments and p
5、romulgate them in the UK A list of organizations represented on this committee can be obtained on request to its secretary. Flom 1 January 1997, all IEC publications have the number 60000 added to the old number. For instance, IEC 27-1 has been renumbered as IEC 60027-1. For a period of time during
6、the change over from one numbering system to the other, publications may contain identifiers from both systems. Cross-references The British Standaxds which implement international or European publications referred to in this document may be found in the BSI Standards Catalogue under the section ent
7、itled International Standards Correspondence Index, or by using the Find facility of the BSI Standards Electronic Catalogue. Compliance with a British Standard does not of itself confer immunity from legal obligations. Summary of pages This document comprises a front cover, an inside front cover, th
8、e ISO/IEC title page, pages ii to vii, a blank page, pages 1 to 86, an inside back cover and a back cover. STDmBSI BS ISO/IEC 90-IU-ENGL 1997 Lb24bb9 ObSlbLb 7bb BS ISOAEC 9040 : 1997 INTERNATIONAL STANDARD ISO/IEC 9040 Second edition 1997-06-1 5 Information technology - Open Systems Interconnection
9、 - Virtual Terminal Basic Class Service Technologies de linformation - Interconnexion de systmes ouverts (OS/) - Service de classe de base de terminal virtuel Reference number ISO/IEC 9040:1997(E) STD-BSI BS ISO/IEC 9040-ENGL 1997 M Lb24bb Ob5LbL7 bT2 M BS ISO/IEC 9040 : 1997 Contents 1 . 1 2 Normat
10、ive references 1 3Definitions . 2 3.1 Global OS1 definitions 2 3.2 Association Control service Element definitions . 2 3.3 Virtual Terminal Service definitions . 2 4 Abbreviations 5 4.1 General . 5 4.2 Modes of operation 5 4.3 VIE model components . 5 4.4 Access-rules . 6 5Conventions . 6 6 General
11、features 6 6.1 Introduction . 6 6.2 Featues of the Virtual Terminal Basic Class Service . 6 6.3 VT Environment WE) and VTE.parameters 7 6.4 Virtuai Terminal Enviromnt Profiles . 7 6.5 Dialogue Contrd 7 7 Communication facilities . 7 7.1 Establishment facility 7 7.2 Termination aciii 7 7.3 Negouation
12、 facility 7 7.4 Data Transfer facility . 7 7.5 Delivery Control facility . 7 7.6 Dialogue Managementfacility . 7 7.7 Interrupt facilities . 7 78 Exception Reporting facility . 7 Descriptors: data processing . information interchange . network interconnection. open systems interconnection. applicatio
13、n layei communication procedure. services . * cn * STD-BSI BS ISO/IEC 94-ENGL 1997 ia lb24bb7 Ob5Lb18 539 W BS ISOBEC 9040 : 1997 8 Modes of operation 8 als- mode 8 82A.W 0 9 Access-rules . 8 10 VT functional units . 9 10.1 Negotiation functional units . 9 10.2 Negotiated Release functional unit 10
14、10.3 Urgent Data functional unit . 10 10.4 Break functional unit 10 10.5 Enhanced Acss-ruies functional unit . 10 10.6 Structved Control Objects functional unit . 10 10.7 Blocks functional unit . 10 10.8 Fiekls functional unit 10 10.9 Reference Infomiation Objects functional unit . 10 10.10 Ripple f
15、unctional unit 10 10.11 Exceptionsunctional unit 10 10.1 2 Context Retention functional unit . 11 11 VT Environment Profiles (VTE-profiles) . 11 12TheVTE Model 11 13 Display Objects . 12 13.1Structure . 12 13.2 Attributes 16 14 Control objects . 16 14.1 CO structure facilities and related restrictio
16、ns 17 14.2 Standard conird objects for fields and controlled data entry . 17 14.3 Standard control object for dynamic termination conditions . 18 14.4 Standard contrd object for notifying termination 18 14.5 Standard control object for echo contrd 18 14.6 Standard control object for ripple mode edit
17、ing . 18 15 Reference Information Objects 18 15.1Structwe . 18 15.2Generation and use of RIOS . 18 16 Device objects 19 17 WE Parameters and directed graph 19 17.1 Directed graph of VTE-parameters 19 17.2 VTE consistency rules 19 18 Display Object VTE-parameters 22 18.1 Primary WE-parameters 22 18.2
18、 Secondary VTE.parameters 22 18.3 Tertiary VTE-parameter . 25 19 Operations on display objects . 26 19.1 Addressing operations 26 19.2 Ripple operations 30 19.3 Logical ripple operations 31 19.4 Update operations . 31 19.5 Access control over display object . 38 iii STDmBSI BS ISOIIEC 9040-ENGL 1997
19、 Lb24bbS Ob5LbL9 i75 BS ISOAEC 9040 : 1997 20 Control object VLparameters 39 20.1 Usage and effects of conroi object VTE-parameters . 40 M.2 Usage and effects of data element VTE.parameters 41 20.3 Standard control objects 41 21 Reference Information Object VTE.parameters . 46 21.1 Avaibbilii . 46 2
20、1.2 VTE-parameters for RIOS . 46 22 Operations on RIOS . 47 22.1AVai lability . 47 22.2 Identification of RIO and RIO records . 47 22.3 RIO update operations . 47 224RIOreferenceoperations . 47 23 Device object WE-parameters 48 23.1 Default control object VTE-parameters 48 23.2 Minimum Length VTE-pa
21、rameters 48 23.3 Device object WE-parameters for Attributes 48 23.4 Termination VTE-parameters 49 device object VlE.parameters . 50 24 Delivery control, synchronisation and net-effecting . 50 24.1 No delivery-control 50 24.2 Simple delverycontrd . 51 24.3 Quarantine deliverycontrd . 51 24.4 Implicit
22、 delivery . 51 24.5 Update queues and priority handling 51 25 Communication Model . 53 26VTServices 53 27VTservicesequences . 55 2.lPhases . 55 2.2 Phase transitions . 55 27.3 Ownership of the WAVAR access-right 56 27.4 Availability and usage conditions of VT services . 56 27.5 Service collisions in
23、 Anode 57 28 Establishment facility !17 28.1 VT-ASSOCIATE service 57 29 Termination facility 60 29.1 services 60 29.2 VT-RELEASE the primitive actions and events of the service; the parameter data associated with each primitive action and event; the relationship between, and the valid sequences of,
24、these actions and events. The service defined in this International Standard is that which is provided by the OS1 Basic Class Virtual Terminal Protocd (in conjunction with the Association Control Service Element and the Presentation Service) and which may be used by any user including other Applicat
25、ion Service Elements. The rela- tionship between the standards for Virtual Terminal Service, Virtual Terminal Protocol, ACSE, Presentation Layer Service and the user of the Virtual Terminal Service is shown in figure 1. This International Standard also defines two standard defauit virtual terminal e
26、nvironment profiles and deccribes the form of registered virtual terminal environment profiles and control objects. Virtual terminal environment profiles define sets of virtual teminal environment parameters for use in the estab lishment of virtual terminal assmiations and subsequent ne- gotiation.
27、This International Standard also defines a structure Virtual Terminal Service provides service based on service orovided Virtual Terminal Protocol by ACSE service and Presentation Service Presentation r-t Protocol Figure 1 - Relationship of this International Standard to other OS1 Application Layer
28、Standards of ASN.l Object Identifiers for the objects defined in this International Standard and for use in a register of virtual terminal objects. This International Standard does not specify individual imple- mentations or products, nor does it constrain the implementa- tion of entities and interf
29、aces within a computer system. There is, therefore, no requirement for conformance to this Interna- tional Standard. This International Standard applies to interactive applications requiring terminal oriented communication expressed in terms of the transmission and manipuiation of graphical images h
30、aving the following characteristics: e) the images are composed of character-box graphic ele- ments organised into a one, two or three dimensional structure; 0 attributes may be associated with any graphic element to qualify its mode of display. Contrd information for the communication can be modell
31、ed using virtual terminal control objects, and multiple devices can be modelled using virtual terminal device objects linked to the other virtual terminal objects. 2 Normative references The foilowing standards contain provisions which, through reference in this text, constitute provisions of this I
32、nternational Standard. At the time of publication. the ediuons indicated were valid. All standards are subject to revision, and parties to agreements based on this International Standard are encour- aged to investigate the possibility of applying the most recent editions of the standards indicated b
33、elow. Members of IECand Is0 maintain registers of currently valid International Stand- ards. ISOIIEC 646:1991, Information technology - IS0 7-bit coded character set for information int8fChatIQ8. ISOIIEC 2022:1994, Information technology - Character mie siruciure and extension techniques. IS/IEC 237
34、51985, Data processing - Procedure for regis- tration of escape sequences. Is0/IEC 6429:1992, Information techndogy - Control fum tions for coded character sets. 1 STD-BSI BS ISOIIEC 7040-ENGL 1777 m 1b24bb7 Ob51b24 832 m BS ISO/IEC 9040 : 1997 ISOIIEC 7498-1:1984, Inflrmation technology - Open Sys-
35、 tems Imn8ction - Basic Reference Madel : The Basic Ahdel. ISOIIEC 8649: 1996, Infmtion technology - Open Systm Intenwnnection - ssrvioe inition for Association Contrd Service Element. ISOIIEC 88241990, Infmtion technology- Open Systms Intemnmcth - Spaci#btion for Abstract Syntax Notation One (ASN.
36、1). ISOIIEC 8825: 1990, Infmtion technology - Open Systems Interconnection - Spxicatim of Basic Encodng Rules for Abstract Synm Notation One (ASN. 1). ISOIIEC 9041-1:1997, Infmtion technology - Open Sys- tems Intmmbn - Vittual Terminal Basic Class Protocol -Pan 1: SpBCification. ISO/IEC 9834-41991,
37、Infmtion technology - Open Sys- tems Intmnecon - Procedures for the operation of OS1 Registration Athtitit - Pan 4: Register of VTE Profles terns Intemnec%bn - plocedues for he q9eration of OS1 Registration AuthaMes- Part5 RegiHerof VTContrdObject Deilnitions ISOIIEC 9834-511991, Informati technolog
38、y - Open SyS- ISOIIEC 10731:1994, Infomratim technology - Open Sys- tems Intmnm -Basic Reference Model- Conventions for the Mniiion of Sl Setvkw. The International Register,jfCoded Character Setsto be used with Escape Sequences. 3 Definitions 3.1 Global OS1 definitions This International Standard is
39、 based on the concepts devel- oped in ISO/IEC 74981 and makes use of the following terms defined in it: a) application entity; b) Application Layer; c) service data unit; d) service access point. R also makes use of the following terms defined in ISO/IEC 10731 : e) service primitive; g) primitive; h
40、) request (primitive); i) indication (primitive); j) response (primitwe); i) serviceprovider; k) confirm (Primitive); i) confirmedservkx m) nonconfimiedservice; n) provider-initiated service. 3.2 Association Control Service Element definitions This International Standard makes use of the following t
41、erms defined in ICO/IEC 8649: a) application association; b) application enthy title; c) application conoi mice element (ACSE). 3.3 Virtual Terminal Service definitions For the purposes of this International Standard, the following definitions apply: 3.3.1 VT-user: A user of the Virtual Terminal Ser
42、vice. 3.3.2 Application VT-user: The unique VT-user which can update the FDCO; if either VT-user can update this contrd object then neither VT-user has this designation. 3.3.3 Terminal VT-user: If one VT-user has the designation Application VT-user then the peer VT-user has the designation Terminal
43、VT-user. 3.3.4 character-repertoire: A set of objects which can be represented by primary attribute values; one such obiect, represented by its primary attribute value, can occupy an array element in a display object when the character-repertoire is in use for that amy element. A control object of c
44、haracter-string category also has an associated repertoire. 3.3.5 character-box graphic element: An atomic element of a character-reprioire where use of the repertoire has been agreed through negotiation by the VT-users. 3.3.6 primary attribute: The attribute of an amy element of a display object wh
45、ich is a coded representation of the char- acter-box graphic element assigned to that array element. 3.3.7 secondary attribute: The secondary attributes of an amy element comprise the character-repertoire, see 3.3.4, and the rendition attributes. 3.3.8 rendition attributes: Those secondary attribute
46、s of an array element which qual the character-box graphic element and provide infomiation specifying how it is intended to be presented. 3.3.9 explicit modal default: The value for a secondary attribute, defined in a VE, which is used by the text operation to update an amy element if no other value is provided or already present; may also be used by the erase operation. 1) Available from the European Computer Manufacturers Association (ECMA), 114 nie du Rhne, CH-1204 Genve, Switzeiland. 2