1、 National Standard of CanadaCAN/CSA-ISO/IEC 9040:02(ISO/IEC 9040:1997)International Standard ISO/IEC 9040:1997 (second edition, 1997-06-15), has been adopted without modification(IDT) as CSA Standard CAN/CSA-ISO/IEC 9040:02, which has been approved as a National Standard of Canada bythe Standards Co
2、uncil of Canada.ISBN 1-55324-750-7 March 2002Information technology Open SystemsInterconnection Virtual Terminal BasicClass ServiceTechnologies de /information In terconnexion de systmes ouverts(OSI) Service de classe de base de terminal virtue/Reference numberISO/IEC 9040:1997(E)The Canadian Standa
3、rds Association (CSA), The Standards Council of Canada is theunder whose auspices this National Standard has been coordinating body of the National Standards system, produced, was chartered in 1919 and accredited by a federation of independent, autonomousthe Standards Council of Canada to the Nation
4、al organizations working towards the furtherStandards system in 1973. It is a not-for-profit, development and improvement of voluntarynonstatutory, voluntary membership association standardization in the national interest.engaged in standards development and certification The principal objects of th
5、e Council are to foster activities. and promote voluntary standardization as a means CSA standards reflect a national consensus of of advancing the national economy, benefiting theproducers and users including manufacturers, health, safety, and welfare of the public, assisting consumers, retailers,
6、unions and professional and protecting the consumer, facilitating domestic organizations, and governmental agencies. The and international trade, and furthering internationalstandards are used widely by industry and commerce cooperation in the field of standards.and often adopted by municipal, provi
7、ncial, and A National Standard of Canada is a standard whichfederal governments in their regulations, particularly in has been approved by the Standards Council ofthe fields of health, safety, building and construction, Canada and one which reflects a reasonableand the environment. agreement among t
8、he views of a number of capableIndividuals, companies, and associations across individuals whose collective interests provide to theCanada indicate their support for CSAs standards greatest practicable extent a balance ofdevelopment by volunteering their time and skills to representation of producer
9、s, users, consumers, andCSA Committee work and supporting the Associations others with relevant interests, as may be appropriateobjectives through sustaining memberships. The more to the subject in hand. It normally is a standardthan 7000 committee volunteers and the 2000 which is capable of making
10、a significant and timelysustaining memberships together form CSAs total contribution to the national interest.membership from which its Directors are chosen. Approval of a standard as a National Standard ofSustaining memberships represent a major source of Canada indicates that a standard conforms t
11、o theincome for CSAs standards development activities. criteria and procedures established by the StandardsThe Association offers certification and testing Council of Canada. Approval does not refer to theservices in support of and as an extension to its technical content of the standard; this remai
12、ns thestandards development activities. To ensure the continuing responsibility of the accreditedintegrity of its certification process, the Association standards-development organization.regularly and continually audits and inspects products Those who have a need to apply standards arethat bear the
13、 CSA Mark. encouraged to use National Standards of CanadaIn addition to its head office and laboratory complex whenever practicable. These standards are subject in Toronto, CSA has regional branch offices in major to periodic review; therefore, users are cautioned centres across Canada and inspectio
14、n and testing to obtain the latest edition from the organizationagencies in eight countries. Since 1919, the preparing the standard.Association has developed the necessary expertise to The responsibility for approving National Standards meet its corporate mission: CSA is an independent of Canada res
15、ts with theservice organization whose mission is to provide an Standards Council of Canadaopen and effective forum for activities facilitating the 270 Albert Street, Suite 200exchange of goods and services through the use of Ottawa, Ontario, K1P 6N7standards, certification and related services to me
16、et Canadanational and international needs.For further information on CSA services, write toCanadian Standards Association178 Rexdale BoulevardToronto, Ontario, M9W 1R3CanadaAlthough the intended primary application of this Standard is stated in its Scope, it is importantto note that it remains the r
17、esponsibility of the users to judge its suitability for their particular purpose.Registered trade-mark of Canadian Standards AssociationInformation technology Open SystemsCAN/CSA-ISO/IEC 9040:02 Interconnection Virtual Terminal Basic Class ServiceMarch 2002 Canadian Standards Association CSA/1CAN/CS
18、A-ISO/IEC 9040:02Information technology OpenSystems Interconnection VirtualTerminal Basic Class ServiceCSA PrefaceStandards development within the Information Technology sector is harmonized with international standardsdevelopment. Through the CSA Technical Committee on Information Technology (TCIT)
19、, Canadians serve asthe Canadian Advisory Committee (CAC) on ISO/IEC Joint Technical Committee 1 on Information Technology(ISO/IEC JTC1) for the Standards Council of Canada (SCC), the ISO member body for Canada and sponsor ofthe Canadian National Committee of the IEC. Also, as a member of the Intern
20、ational TelecommunicationUnion (ITU), Canada participates in the International Telegraph and Telephone Consultative Committee(ITU-T).This International Standard was reviewed by the CSA TCIT under the jurisdiction of the Strategic SteeringCommittee on Information Technology and deemed acceptable for
21、use in Canada. (A committee membershiplist is available on request from the CSA Project Manager.) From time to time, ISO/IEC may publish addenda,corrigenda, etc. The CSA TCIT will review these documents for approval and publication. For a listing, refer tothe CSA Information Products catalogue or CS
22、A Info Update or contact a CSA Sales representative. ThisStandard has been formally approved, without modification, by these Committees and has been approved as aNational Standard of Canada by the Standards Council of Canada.March 2002 Canadian Standards Association 2002All rights reserved. No part
23、of this publication may be reproduced in any form whatsoever without the prior permission of thepublisher. ISO/IEC material is reprinted with permission. Where the words “this International Standard” appear in the text, theyshould be interpreted as “this National Standard of Canada”. Inquiries regar
24、ding this National Standard of Canada should be addressed to Canadian Standards Association 178 Rexdale Boulevard, Toronto, Ontario, Canada M9W 1R31-800-463-6727 416-747-4044www.csa.caINTERNATIONAL STANDARD ISO/IEC 9040 Second edition 1997-06-I 5 Information technology - Open Systems Interconnection
25、 - Virtual Terminal Basic Class Service Technologies de /information - In terconnexion de sys t b) the primitive actions and events of the service; c) the parameter data associated with each primitive action and event; d) the relationship between, and the valid sequences of, these actions and events
26、. The service defined in this International Standard is that which is provided by the OSI Basic Class Virtual Terminal Protocol (in conjunction with the Association Control Sewice Element and the Presentation Service) and which may be used by any user including other Application Service Elements. Th
27、e 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 default virtual terminal environment profiles and
28、describes the form of registered virtual terminal environment profiles and control objects. Virtual terminal environment profiles define sets of virtual terminal environment parameters for use in the estab lishment of virtual terminal associations and subsequent ne- gotiation. This International Sta
29、ndard also defines a structure VT-user Virtual Terminal Service Crprovides service 1 based on service provided ACSE I by ACSE service and Presentation Service Presentation Protocol Figure 1 - Relationship of this International Standard ISO/IEC 6429: 1992, lnfotmation technology - Control func- to ot
30、her OS1 Application Layer Standards tions for coded character sets. 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 doe
31、s it constrain the implementa- tion of entities and interfaces 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
32、of the transmission and manipulation of graphical images having the following characteristics: e) the images are composed of character-box graphic ele- ments organised into a one, two or three dimensional structure; f) attributes may be associated with any graphic element to qualify its mode of disp
33、lay. Control information for the communication can be modelled 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 following standards contain provisions which, thr
34、ough reference in this text, constitute provisions of this International Standard. At the time of publication, the editions 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 a
35、pplying the most recent editions of the standards indicated below. Members of IEC and IS0 maintain registers of currently valid International Stand- ards. ISO/IEC 646: 1991, lnfommtion technology - IS0 7-bit coded character set for information interchange. ISOIIEC 2022:1994, Information technology -
36、 Character code structure and extension techniques. ISO/IEC 2375: 1985, Data processing - Procedure for regis- tra tion of escape sequences. 1 ISO/IEC 9040:1997(E) 0 ISOAEC ISO/IEC 7498.1:1994, information technology - Open Sys- tems interconnection - Basic Reference Model : The Basic Model. ISO/IEC
37、 8649: 1996, information technology - Open Systems Interconnection - Sewice definition for Association Control Service Element. ISOIIEC 8824: 1990, information technology - Open Systems interconnection - Specification for Abstract Syntax Notation One (ASN. I). ISO/IEC 8825: 1990, information technol
38、ogy - Open Systems Interconnection - Specikation of Basic Encoding Rules for Abstract Syntax Notation One (ASN. I). ISOIIEC 9041-I: 1997, Information technology - Open Sys- tems interconnection - Virtual Terminal Basic Class Protocol - Part I: Specification. ISO/IEC 9834.4:1991, information technolo
39、gy - Open Sys- tems interconnection - Procedures for the operation of OS1 Registration Authorities - Part 4: Register of VTE Profiles ISOIIEC 9834-5:1991, information technology - Open Sys- tems interconnection - Procedures for the operation of OS1 Registration Authorities - Part 5: Register of VT C
40、ontrol Object Definitions ISOII EC 10731: 1994, information technology - Open Sys- tems interconnection -Basic Reference Model- Conventions for the Definition of OS1 Services. The International Register of Coded Character Sets to be used with Escape Sequences. ) 3 Definitions 3.1 Global OSI definiti
41、ons This International Standard is based on the concepts devel- oped in ISO/IEC 7498-l and makes use of the following terms defined in it: a) application entity; b) Application Layer; c) service data unit; d) service access point. It also makes use of the following terms defined in ISO/IEC 10731: e)
42、 service primitive; f) service provider; g) primitive; h) request (primitive); i) indication (primitive); j) response (primitive); k) confirm (primitive); I) confirmed service; m) non-confirmed service; n) provider-initiated service. 3.2 Association Control Service Element definitions This Internati
43、onal Standard makes use of the following terms defined in ISO/IEC 8649: a) application association; b) application entity title; c) application control service element (ACSE). 3.3 Virtual Terminal Service definitions For the purposes of this International Standard, the following definitions apply: 3
44、.3.1 VT-user: A user of the Virtual Terminal Sewice. 3.3.2 Application VT-user: The unique VT-user which can update the FDCO; if either VT-user can update this control object then neither VT-user has this designation. 3.3.3 Terminal VT-user: If one VT-user has the designation Application VT-user the
45、n the peer VT-user has the designation Terminal VT-user. 3.3.4 character-repertoire: A set of objects which can be represented by primary attribute values; one such object, represented by its primary attribute value, can occupy an array element in a display object when the character-repertoire is in
46、 use for that array element. A control object of character-string category also has an associated repertoire. 3.3.5 character-box graphic element: An atomic element of a character-repertoire where use of the repertoire has been agreed through negotiation by the VT-users. 3.3.6 primary attribute: The
47、 attribute of an array element of a display object which 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 array element comprise the character-repertoire, see 3.3.4, and the rendition attributes
48、. 3.3.8 rendition attributes: Those secondary attributes of an array element which qualify the character-box graphic element and provide information specifying how it is intended to be presented. 3.3.9 explicit modal default: The value for a secondary attribute, defined in a VTE, which is used by th
49、e text operation to update an array 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 rue du Rh6ne, CH-1204 GetWe, Switzerland. 0 ISOllEC lSO/IEC 9040:1997(E) 3.3.10 display object: An abstract object, defined in this International Standard, for modelling the exchange of graphic information. It consists of a number of components, see 13.1. 3.3.11 array element: That part of a display object which can hold one character-box graphic e