1、raising standards worldwideNO COPYING WITHOUT BSI PERMISSION EXCEPT AS PERMITTED BY COPYRIGHT LAWBSI Standards PublicationDD CEN/TS 16238:2011Postal services OpenInterface between MachineControl and Reading CodingSystem MC/RC-InterfaceDD CEN/TS 16238:2011 DRAFT FOR DEVELOPMENTNational forewordThis D
2、raft for Development is the UK implementation of CEN/TS16238:2011.This publication is not to be regarded as a British Standard.It is being issued in the Draft for Development series of publicationsand is of a provisional nature. It should be applied on thisprovisional basis, so that information and
3、experience of its practicalapplication can be obtained.Comments arising from the use of this Draft for Developmentare requested so that UK experience can be reported to theinternational organization responsible for its conversion toan international standard. A review of this publication willbe initi
4、ated not later than 3 years after its publication by theinternational organization so that a decision can be taken on itsstatus. Notification of the start of the review period will be made inan announcement in the appropriate issue of Update Standards.According to the replies received by the end of
5、the review period,the responsible BSI Committee will decide whether to support theconversion into an international Standard, to extend the life of theTechnical Specification or to withdraw it. Comments should be sentto the Secretary of the responsible BSI Technical Committee at BritishStandards Hous
6、e, 389 Chiswick High Road, London W4 4AL.The UK participation in its preparation was entrusted to TechnicalCommittee SVS/4, Postal services.A list of organizations represented on this committee can beobtained on request to its secretary.This publication does not purport to include all the necessaryp
7、rovisions of a contract. Users are responsible for its correctapplication. BSI 2011ISBN 978 0 580 73765 7ICS 03.240; 35.240.60Compliance with a British Standard cannot confer immunity fromlegal obligations.This Draft for Development was published under the authority ofthe Standards Policy and Strate
8、gy Committee on 30 September 2011.Amendments issued since publicationDate Text affectedDD CEN/TS 16238:2011TECHNICAL SPECIFICATION SPCIFICATION TECHNIQUE TECHNISCHE SPEZIFIKATION CEN/TS 16238 September 2011 ICS 03.240; 35.240.60 English Version Postal services - Open Interface between Machine Contro
9、l and Reading Coding System - MC/RC-Interface Services postaux - Interface ouverte entre le systme de Contrle de la Machine et le systme de Reconnaissance et de Codage - Interface MC/RC Postalische Dienstleistungen - Offene Schnittstelle zwischen Maschinensteuerung und Lese- und Codier-System - MC/R
10、C-Schnittstelle This Technical Specification (CEN/TS) was approved by CEN on 4 June 2011 for provisional application. The period of validity of this CEN/TS is limited initially to three years. After two years the members of CEN will be requested to submit their comments, particularly on the question
11、 whether the CEN/TS can be converted into a European Standard. CEN members are required to announce the existence of this CEN/TS in the same way as for an EN and to make the CEN/TS available promptly at national level in an appropriate form. It is permissible to keep conflicting national standards i
12、n force (in parallel to the CEN/TS) until the final decision about the possible conversion of the CEN/TS into an EN is reached. CEN members are the national standards bodies of Austria, Belgium, Bulgaria, Croatia, Cyprus, Czech Republic, Denmark, Estonia, Finland, France, Germany, Greece, Hungary, I
13、celand, Ireland, Italy, Latvia, Lithuania, Luxembourg, Malta, Netherlands, Norway, Poland, Portugal, Romania, Slovakia, Slovenia, Spain, Sweden, Switzerland and United Kingdom. EUROPEAN COMMITTEE FOR STANDARDIZATION COMIT EUROPEN DE NORMALISATION EUROPISCHES KOMITEE FR NORMUNG Management Centre: Ave
14、nue Marnix 17, B-1000 Brussels 2011 CEN All rights of exploitation in any form and by any means reserved worldwide for CEN national Members. Ref. No. CEN/TS 16238:2011: EDD CEN/TS 16238:2011CEN/TS 16238:2011 (E) 2 Contents Page Introduction .51 Scope 62 Normative References .83 Terms and definitions
15、 .84 Symbols and abbreviations . 105 Use Case Model (UCM) . 115.1 Conventions 115.2 Use Case Overview . 115.3 Detailed Use Case Descriptions 135.3.1 UC01 Publish and Select Server 145.3.2 UC02 Connect 165.3.3 UC03 Disconnect . 195.3.4 UC04 Submit Mailpiece . 215.3.5 UC05 Request Mailpiece Attributes
16、 . 245.3.6 UC06 Transmit Mailpiece Attributes 265.3.7 UC07 Update Mailpiece Attributes . 295.3.8 UC08 Request Image . 315.3.9 UC09 Transmit Image 335.3.10 UC10 Get RC System Status . 355.3.11 UC11 Put RC System Status . 365.3.12 UC12 Get Machine Status . 385.3.13 UC13 Put Machine Status . 405.4 Gene
17、ral error handling . 426 Interface Design Description (IDD) . 436.1 TIFF Definition . 436.1.1 Tiff Usage . 436.2 Mailpiece Data Definition . 436.2.1 Requirements 436.2.2 Model Commitments 456.2.3 Domain Data Model are agreed and implemented by major suppliers; are agreed by customers and therefore u
18、sed in calls for tenders; will result in net savings with the high initial development effort and consequent higher basic equipment prices being more than offset by reduced project development, integration and maintenance costs; will minimize the need for project integration effort by reducing imple
19、mentation timescales; will increase competition between suppliers by stimulating product improvements; This Technical Specification covers the interface between an image controller (IC), the scanner subsystem including the scanner related image processing (IP) devices and the machine control (MC) su
20、bsystem of postal automation equipment. One related standard is CEN/TS 15448, Postal Services Open Standard Interface between image controller and enrichment devices (OCRs, video coding systems, voting systems). Other work items (subject to agreement of CEN/TC 331 and the UPU Standards Board) will b
21、e defined to cover other areas as and when the need is identified and the resources for development become available. A separate project group for each interface will undertake the work. DD CEN/TS 16238:2011CEN/TS 16238:2011 (E) 6 1 Scope This Technical Specification describes the “Open Standard Int
22、erface between Image Processor, Machine Control and Image Controller” (IP/MC/IC Interface) in the context of postal automation equipment. The following architectural overview is the basis for this interface standardization: Figure 1 System overview It was agreed to unify the interfaces between a) Im
23、age Processor and Image Controller, b) Image Processor and Machine Control and c) Machine Control and Image Controller and to produce one common specification for this so-called IP/MC/IC Interface. The communication partners of this interface will be called Machine or Machine Control (MC) on the one
24、 side and Reading/Coding (RC) System on the other side. There may be several instances of this interface, depending on the implementation of the MC and the connected RC. NOTE interfaces for synchronizing the lifted images with their mailpiece_IDs provided by the machine are not shown in the figure a
25、bove and are not subject of standardization within the first release of this interface. From the customer point of view, the following two scenarios are relevant. The systems MACHINE and RC SYSTEM are to be considered as “black boxes” thus not detailing internal system structure and interfaces. 1) T
26、he Machine already includes Camera and Image Processor and will be connected to a 3rd-party RC System including Image Controller and Enrichment Devices. DD CEN/TS 16238:2011CEN/TS 16238:2011 (E) 7 Figure 2 System interfacing scenario 1 2) The Machine will be connected to a 3rd-party RC System includ
27、ing Camera, Image Processor, Image Controller and Enrichment Devices. The Camera and (possibly) the Image Processor will have to be mechanically integrated into the machine. NOTE The camera can be provided by any 3rd-party. This should not impede on the IP/MC/IC interfaces ! Figure 3 System interfac
28、ing scenario 2 DD CEN/TS 16238:2011CEN/TS 16238:2011 (E) 8 This standard is arranged under four main clauses as described in Figure 4. UCM (Use Case Model) describes the use cases for the IP/MC/IC Interface using sequence diagrams with messages. IDD (Interface Design Description) defines the data mo
29、del for the IP/MC/IC interface. SDD (System Design Description) defines the mandatory specification of the IP/MC/IC interface in terms of architecture, services and behavioural models. In the Common Part of this clause no middleware or transport layer is specified. The common part of this clause is
30、intended to be middleware-independent. SDD-TCP/IP, SDD-CORBA, SDD-SOAP in these specialized clauses. The specifications for three compatible transport solutions TCP/IP, CORBA and SOAP are provided. Further middleware solutions can be added when available, provided that they are fully compatible with
31、 the Common Part. Figure 4 IP/MC/IC Interface Document Structure 2 Normative References The following referenced documents are indispensable for the application of this document. For dated references, or references to a version number, only the edition cited applies. For undated references and where
32、 there is no reference to a version number, the latest edition of the referenced document (including any amendments) applies. CEN/TS 15448, Postal Services Open standard interface between image controller and enrichment devices (OCRs, video coding systems, voting systems) 3 Terms and definitions 3.1
33、 actor coherent set of roles which users of uses cases play when interacting with these use cases. An actor has one role for each use case with which it communicates. See 1 DD CEN/TS 16238:2011CEN/TS 16238:2011 (E) 9 3.2 attributes all non-image information related to a mailpiece 3.3 coding Desk com
34、puter or terminal equipped with software to display images of mailpieces, and designed for a human operator (video coder) to enter information about the mailpiece 3.4 component software Unit with a defined interface; might contain other components 3.5 data element simple data type 3.6 data object as
35、sembly of elements 1* and/or other data objects; recursive type 3.7 enrichment process of generating new information about a mailpiece NOTE Any information about the mailpiece may be used in this process, such as the image, image information or result data. The use of an image however, is not compul
36、sory 3.8 enrichment device system designed to enrich information about mailpieces 3.9 image data acquired by the Image Processor (including scanner device) and stored as part of the mailpiece 3.10 image controller (IC) the device that handles all the image data and results exchange between the trans
37、port and the enrichment devices it is part of the RC system 3.11 image processor (IP) the device that manages and processes images from the camera device it may be in the Transport or in the RC system, depending on implementations 3.12 infrastructure data the basic information, such as identificatio
38、n references which an Image Controller and Enrichment Device require in order to communicate effectively EXAMPLE Letter ID, Submission ID. 3.13 machine control the device - including software - that manages all transport functions inside postal automation equipment DD CEN/TS 16238:2011CEN/TS 16238:2
39、011 (E) 10 3.14 mailpiece data the information which describes attributes of the physical mailpiece which is used to aid and is a product of enrichment EXAMPLE mailpiece width there is a need for identification of individual mailpieces, to re-identify the mailpiece for which an additional sorting pa
40、ss is required NOTE Identification of mailpieces can be done by printing an ID-tag on individual mailpieces or by using print less identification means. 3.16 online operational mode of a sorting machine, implying all the processing of mail is done while the mail is conveyed in the machine NOTE Proce
41、ssing of mail may include sorting to output bins, printing of information on the mailpiece and other. 3.17 permanent error fatal error as indicated by the middleware or application layer. NOTE A non-fatal error may be considered to be a permanent error after repeated remedial handling 3.18 reading C
42、oding System (RC System) the system that provides image handling (the IC function) and retrieval of mailpiece data (ED function) from the images, depending on implementations 3.19 result outcome of enrichment 3.20 street street keying (street name and/or house number in street) 3.21 system consists
43、of components and the relationships between them (interfaces, communication) 4 Symbols and abbreviations ED: Enrichment Device (OCR, Video Coding, Voter system) IC: Image Controller ID: Identifier IP: Image Processor IDD: Interface Design Description DD CEN/TS 16238:2011CEN/TS 16238:2011 (E) 11 MC:
44、Machine Control mpID: Mailpiece Identification information OCR: Optical Character Recognition PC: Post Code RC: Reading (OCR) and Coding ROI: Region Of Interest SDD: System Design Description UCM: Use Case Model UDDI: Universal Description, Discovery and Integration VCS: Video Coding System W3C: Wor
45、ld Wide Web Consortium XML: eXtendable Markup Language 5 Use Case Model (UCM) This clause describes the use cases for the “Open Standard Interface between Image Processor, Machine Control and Image Controller” (IP/MC/IC Interface) using sequence diagrams with messages. 5.1 Conventions Agreed syntax
46、for use case names: Capital letter at the beginning of each word No underlines to connect the single words EXAMPLE Submit Mailpiece Agreed syntax for message names: No capital letter at the beginning of each word Underlines to connect the single words EXAMPLE establish_connection 5.2 Use Case Overvi
47、ew As already indicated in the system interfacing scenarios in Clause 1, there may be several instances of this interface between a Machine and the RC System. Each interface instance handles a point-to-point connection. The use cases as listed in the table below and detailed in 5.3 describe the beha
48、viour of an individual instance of this interface and do not need to consider any other instances. DD CEN/TS 16238:2011CEN/TS 16238:2011 (E) 12 Table 1 ID Name Description UC01 Publish and Select Server The RC System publishes its presence to a Server Selection service. The Machine uses the service
49、to identify the RC System. UC02 Connect The Machine connects to the RC System. As part of connection protocol, the RC System indicates its capabilities. RC System capabilities (related to scenarios 1+2, see Clause 1) are, for example: Coding requests (with images) Result Storage Solicited result transmission to the Machine Unsolicited result transmission to the Machine Result requests based on ID-tag RC System capabilities (related t