CN102045365A - ETerm connection system and method thereof based on TCP/IP protocol - Google Patents
ETerm connection system and method thereof based on TCP/IP protocol Download PDFInfo
- Publication number
- CN102045365A CN102045365A CN2010106245517A CN201010624551A CN102045365A CN 102045365 A CN102045365 A CN 102045365A CN 2010106245517 A CN2010106245517 A CN 2010106245517A CN 201010624551 A CN201010624551 A CN 201010624551A CN 102045365 A CN102045365 A CN 102045365A
- Authority
- CN
- China
- Prior art keywords
- eterm
- byte
- module
- mcss
- server
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Abstract
A eTerm connection system based on a TCP/IP protocol is characterized in that the eTerm connection system is composed of a eTerm front end, a MCSS server, a host system, an open system, an authentication module and a data transmission module, and the authentication module and the data transmission module are located between the eTerm front end and the MCSS server.
Description
Technical field
The present invention relates to a kind of eTerm connected system and method thereof based on ICP/IP protocol.By this system and method thereof, the eTerm front end can be advantageously connected to boat telecommunications services system based on ICP/IP protocol, uses the various services of boat letter.
Background technology
Before the eTerm product comes into operation, be hopeful to use the terminal of boat telecommunications services, must insert boat letter proprietary network by non-TCP/IP mode by the relevant hardware product.Agent and airline must drop into the communication link that a large amount of hardware and software costs is built boat telecommunications services system, and this situation seriously restricts the boat letter and CAAC's message area advances.Simultaneously, the boat letter also needs to drop into lot of manpower and material resources in order to safeguard that these connect.The technology facility of Internet fast development band rice and cost reduce and can't be applied to rapidly in civil aviaton's information system.At present domestic do not have Related product and technology to address this problem.But exist a large amount of non-boat letter front ends to use the eTerm agreement without permission at present, be connected to the boat communication system, boat communication system safety is reached the stable threat that brings.In this case, boat letter independent research eTerm product system comprises eTerm front end and eTerm background server, and independently defines the eTerm agreement, is provided to the connection standard of boat telecommunications services system.
ETerm connected system and method thereof based on ICP/IP protocol of the present invention is exactly in order to address the above problem.ETerm front end and eTerm agreement can solve the shortcoming of technique scheme, and the eTerm agreement provides the technical specification that is connected to the boat letter based on ICP/IP protocol.The eTerm client provides the realization of eTerm agreement, can be advantageously connected to boat telecommunications services system by the eTerm front end.As long as the user can be connected to Internet, perhaps TCP/IP is connected to the boat communication network jointly, just can use eTerm to use the various services of boat letter.
Summary of the invention
Based on above situation, the invention provides a kind of eTerm connected system and method thereof based on ICP/IP protocol.
ETerm connected system of the present invention is by eTerm front end, MCSS server, host computer system, open system, authentication module, and data transmission module, and described authentication module and data transmission module are between eTerm front end and MCSS server.
Wherein, described authentication module comprises and sends connection request module, Hash authentication module, obtains/responder module and Session Open module etc., wherein obtain/responder module can obtain and reply video identification code.
Described data transmission module comprises instruction transport module, news acquisition module, real user name acquisition module etc.
ETerm method of attachment according to the present invention comprises the steps:
Step 1, eTerm front end will comprise the bag of information such as user name, password and issue the MCSS server, and the MCSS server returns the bag that contains configuration information will for the eTerm front end.
Step 2, eTerm front end will be carried out Session Open operation, and eTerm front end all will shield according to main frame with the MCSS server during this, open screen or reimbursement voucher screen send the fixing bag of form and communicate by letter.
Step 3 is carried out the Hash authentication.
Step 4, transfer instruction, eTerm front end and MCSS server will transmit by packet format according to the rules.
If closed described eTerm front end before connecting, then carry out the step mule that obtains news information; If transmission is the group user name, then to carry out the step of obtaining the real user name; If video identification code is arranged, then to obtain and reply the step of video identification code, and carry out the main frame response steps.
Description of drawings
Fig. 1 is an eTerm connected system block diagram of the present invention;
Fig. 2 is the authentication module block diagram;
Fig. 3 is the data transmission module block diagram;
Fig. 4 is a 4eTerm method of attachment flow chart of the present invention.
Embodiment
As shown in Figure 1, eTerm connected system of the present invention is made up of eTerm front end, MCSS server, host computer system and open system; Also comprise authentication module and data transmission module, between eTerm front end and MCSS server.
As shown in Figure 2, authentication module comprises and sends connection request module, Hash authentication module, obtains/responder module and Session Open module etc., wherein obtain/responder module can obtain and reply video identification code.
As shown in Figure 3, data transmission module comprises instruction transport module, news acquisition module, real user name acquisition module etc.
The method of attachment of eTerm connected system of the present invention is described below in conjunction with accompanying drawing.
1 sends connection request
The eTerm front end will comprise the bag of information such as user name, password and issue the MCSS server, and the MCSS server returns the bag that contains configuration information will for the eTerm front end.At first from eTerm front end (the emulation terminal of CA letter independent research, down with) beginning, the first step is for sending connection request.Up (client is to server, down together) packet format regulation is as follows:
The 1st byte is version, and its value is fixed as 0x01; The 2nd byte is the byte number of this bag, is fixed as 162; The the 3rd to 18 byte is user name; The the 19th to 34 byte is password; The the 35th to 98 byte is the Key value, will provide in the table below; The the 99th to 162 byte is reserve bytes, uses after being used for.
The format specification of Key is as follows:
Content | Bytes range |
eTerm?Agent?Key | 35~50 |
MAC | 51~62 |
IP | 63~77 |
eTerm?Version | 78~85 |
Vendor?Version | 86~93 |
Reserve bytes | 94~98 |
The the 35th to 50 byte stipulated that eTerm Agent (communication software that is used for connecting main frame and other backstage open services of a middle CA letter independent research) meeting license gives MCSS server (communication software that is used to connect eTerm front end and main frame or open system of CA's letter independent research, down together); The 51st~62 byte is the MAC Address of distribution of machine; The 63rd~77 the IP address that byte is a distribution of machine; ETerm Version and Vendor Version will provide in the table below; The the 94th to 98 byte is reserve bytes.
The format specification of eTerm Version is as follows:
The the 78th to 81 byte is the concrete version number of eTerm; The 82nd byte stipulated the type of operating system; The 83rd byte stipulated the language that eTerm uses; The 84th byte stipulated the type of eTerm software; The 85th byte stipulated the platform that the eTerm operation is relied on.
The format specification of Vendor Version is as follows:
The the 86th to 87 byte stipulated that this product is used to which airline, and " 00 " just expression believes for boat; The the 88th to 91 byte is the concrete version number of eTerm; The the 92nd to 93 byte is reserve bytes.
The MCSS server is received after the connection request of eTerm front end transmission, if correct, sends descending (server to client end, down together) response packet can for the eTerm front end, and form is as follows:
Content | Bytes range | Fixed value |
Length | 1~2 | -- |
Fixed value | 3 | 0x01 |
SID?Num | 4~5 | -- |
H1 | 6 | -- |
H2 | 7 | -- |
A1 | 8 | -- |
RID | 9 | -- |
SID | 10 | -- |
… | … | … |
The the 1st to 2 byte is the length of this response packet; The 3rd byte is fixed value 0x01; The the 4th to 5 byte is SID Num, just the number of Session; The 6th, 7,8,9,10 bytes are respectively the H1 (0x00 is a host computer system, and 0x01 is an open system) of first Session, H2, A1, RID, SID; Several Session are arranged, several H1 are just arranged, H2, A1, RID, SID is so the byte number that should wrap be 5 integral multiple.
If mistake sends the error message bag then can for the eTerm front end, form is as follows:
Content | Bytes range | Fixed value |
Length | 1~2 | -- |
Fixed value | 3 | 0x00 |
Error reason | -- | -- |
The the 1st to 2 byte is the length of this response packet; The 3rd byte is fixed value 0x00; The 4th byte is error reason, and form is as follows:
2 Session Open operation
The eTerm front end is received after the configuration response packet of MCSS server transmission, will carry out Session Open operation.The eTerm front end will carry out Session Open operation, and eTerm front end all will shield according to main frame with the MCSS server during this, open screen or reimbursement voucher screen send the fixing bag of form and communicate by letter.The uplink packet form is as follows:
The 1st byte is version number; The 2nd byte is fixed value 0xfe; The the 3rd to 4 byte is the length of this bag, is 0x11 temporarily at present; The 5th~8 byte is fixed value, is followed successively by 0x14,0x10,0x00,0x02; The 9th byte is H1; The 10th~17 byte is fixed value, all is 0x00.
The MCSS server is received after this bag, if correctly, can return the bag of following form:
Content | Bytes range | Fixed value |
Version | 1 | 0x01 |
Fixed value | 2 | 0xfd |
Length | 3~4 | 0x06 |
Fixed value | 5 | 0x00 |
H1 | 6 | -- |
The 1st byte is version number; 2 bytes of a kind of bamboo are fixed value 0xfd; The the 3rd to 4 byte is the length of this bag, is 0x06 temporarily at present; The 5th byte is fixed value, is 0x00; The 6th byte is H1.
If wrong (generally can not make mistakes) can return the bag of following form:
Content | Bytes range | Fixed value |
Version | 1 | 0x01 |
Fixed value | 2 | Oxfc |
Length | 3~4 | 0x05 |
Cause | 5 | -- |
The 1st byte is version number; The 2nd byte is fixed value 0xfc; The the 3rd to 4 byte is the length of this bag, is 0x05 temporarily at present; The 5th byte is the reason that makes a mistake, and does following regulation:
3 carry out the Hash authentication
In Session Open, eTerm front end and MCSS server need carry out the Hash authentication, and the downstream packets form is as follows:
Content | Bytes range | Fixed value |
Version | 1 | 0x01 |
Fixed value | 2 | 0xf6 |
Length | 3~4 | 0x84 |
Random code | 5~132 | -- |
The 1st byte is version number; The 2nd byte is fixed value 0xf6; The the 3rd to 4 byte is the length of this bag, is 0x84 temporarily at present; The the 5th to 132 byte is the Hash random code that the MCSS server produces, and stipulates as follows: 14 is YYYYMMDDHHMMSS (date Hour Minute Second), and the 15-20 position is 6 numerals, wherein
[7] [17] [23] [41] [66] [89] [90] [101] [125] and (be 0 at present divided by 10 remainder decision algorithm, gather [89]), [24] [40] [55] [56] [68] [87] [1l0] [116] are data encryption key, and [37] [71] are initial vector (initial value, down together).
After the eTerm front end was received the downstream packets of MCSS server, the uplink packet form that sends to the MCSS server was as follows:
Content | Bytes range | Fixed value |
Version | 1 | 0x01 |
Fixed value | 2 | 0xf7 |
Length | 3~4 | 0x0104 |
Version number | 5~12 | -- |
Reserved word | 13~132 | Keep |
Random code | 133~260 | -- |
The 1st byte is version number; The 2nd byte is fixed value 0xf7; The the 3rd to 4 byte is the length of this bag, is 0x0104 temporarily at present; The the 5th to 12 byte is the version number of eTerm; The the 13rd to 132 byte is reserve bytes; The 133rd~260 Hash random code for the generation of eTerm front end, stipulate as follows: [0-16] random number, [6] [14] are as key, and [3] [13] are as initial vector.
4 instruction transmission
ETerm front end and MCSS server will transmit by packet format according to the rules.After finishing above step, just can send and receive and instruct, it is as follows that the eTerm front end sends to the up-downgoing packet format of MCSS server:
Content | Bytes range | Fixed value |
Version | 1 | 0x01 |
Fixed value | 2 | 0x00 |
Length | 3~4 | -- |
H1 | 5 | -- |
H2 | 6 | -- |
A1 | 7 | -- |
Fixed value | 8 | 0x01 |
RID | 9 | -- |
SID | 10 | -- |
… | … | … |
The 1st byte is version number; The 2nd byte is fixed value 0x00; The the 3rd to 4 byte is the length of this bag; The the 5th to 7 byte is respectively H1, H2, A1; The 8th byte is fixed value 0x01; The the 9th to 10 byte is respectively RID and SID; Remaining byte all has been the concrete data of transmission, and is surrounded by 0x02 and 0x03.
5 obtain news
If closed described eTerm front end, the operation that then will obtain news information before connecting.The uplink packet form is as follows:
The 1st byte is version number; The 2nd byte is fixed value 0xf9; The the 3rd to 4 byte is the length of this bag, is 0x44 temporarily at present; The 5th byte is respectively language version; The the 6th to 68 byte is reserve bytes.
The downstream packets form is as follows:
Content | Bytes range | Fixed value |
Version | 1 | 0x01 |
Fixed value | 2 | 0xf8 |
Length | 3~4 | -- |
News content | Character string | -- |
The 1st byte is version number; The 2nd byte is fixed value 0xf8; The the 3rd to 4 byte is the length of this bag; The byte of back is concrete news content, and form is a character string.
6 obtain the real user name
If transmission is the group user name, the operation that then will obtain the real user name.The uplink packet form is as follows:
The 1st byte is version number; The 2nd byte is fixed value 0xf5; The the 3rd to 4 byte is the length of this bag; The specific instructions of the byte of back for sending, form is XML.
The downstream packets form is as follows:
Content | Bytes range | Fixed value |
Version | 1 | 0x01 |
Fixed value | 2 | 0x14 |
Length | 3~4 | -- |
Receive order | XML | <username>The real user name</Username> |
The 1st byte is version number; The 2nd byte is fixed value 0xf4; The the 3rd to 4 byte is the length of this bag; The specific instructions of the byte of back for receiving, form is XML.
7 obtain video identification code
If video identification code is arranged, then to obtain and reply the operation of video identification code.The MCSS server sends downstream packets will for the cTerm front end, and form is as follows:
Content | Bytes range | Fixed value |
Version | 1 | 0x01 |
Fixed value | 2 | 0xf1 |
Length | 3~4 | -- |
The image encryption data | -- | 32 bytes are with head, and the back is the image encryption data |
The 1st byte is version number; The 2nd byte is fixed value 0xf1; The the 3rd to 4 byte is the length of this bag; The byte of back is the image encryption data, comprise 32 bytes with head.
After the eTerm front end is received above-mentioned bag, reply, response packet is as follows:
Content | Bytes range | Fixed value |
Version | 1 | 0x01 |
Fixed value | 2 | 0xf2 |
Length | 3~4 | 0x0104 |
Reserved word | 5~132 | Complete 0 |
Random code | 133~260 | 128 byte answer back codes |
The 1st byte is version number; The 2nd byte is fixed value 0xf2; The the 3rd to 4 byte is the length of this bag, is 0x0104 temporarily at present; The the 5th to 132 byte is reserve bytes, is complete 0 at present; The the 133rd to 260 byte is answer back code.
Wrong if (correct do not carry out this step operation), the MCSS server will be responded replying of eTerm front end, and form is as follows:
Content | Bytes range | Fixed value |
Version | 1 | 0x01 |
Fixed value | 2 | 0xff |
Length | 3~4 | -- |
Fixed value | 5 | 0x00 |
Error reason | -- | -- |
The 1st byte is version number; The 2nd byte is fixed value 0xff; The the 3rd to 4 byte is the length of this bag; The 5th byte is fixed value, is 0 at present; The byte of back is an error reason.
8 carry out main frame replys
Some host service function such as printing boarding card and luggage check, needs the eTerm front end to reply to main frame, and the uplink packet form is as follows:
Content | Bytes range | Fixed value |
Version | 1 | 0x01 |
Fixed value | 2 | 0xfb |
Length | 3~4 | 0x05 |
Fixed value | 5 | 0x00 |
The 1st byte is version number; The 2nd byte is fixed value 0xfb; The the 3rd to 4 byte is the length of this bag, is 5 at present; The 5th byte is fixed value, is 0 at present.
The downstream packets form is as follows:
Content | Bytes range | Fixed value |
Version | 1 | 0x01 |
Fixed value | 2 | 0xfa |
Length | 3~4 | 0x05 |
Fixed value | 5 | 0x00 |
The 1st byte is version number; The 2nd byte is fixed value 0xfa; The the 3rd to 4 byte is the length of this bag, is 5 at present; The 5th byte is fixed value, is 0 at present.
Claims (6)
1. the eTerm connected system based on ICP/IP protocol is characterized in that described eTerm connected system by eTerm front end, MCSS server, host computer system, open system, authentication module, and data transmission module.
2. eTerm connected system according to claim 1, wherein, described authentication module and data transmission module are between eTerm front end and MCSS server.
3. eTerm connected system according to claim 2, wherein, described authentication module comprises and sends connection request module, Hash authentication module, obtains/responder module and Session Open module etc., wherein obtain/responder module can obtain and reply video identification code.
4. eTerm connected system according to claim 2, wherein, described data transmission module comprises instruction transport module, news acquisition module, real user name acquisition module etc.
5. the eTerm method of attachment according to the arbitrary described eTerm connected system of claim 1-5 is characterized in that comprising the steps:
Step 1, eTerm front end will comprise the bag of information such as user name, password and issue the MCSS server, and the MCSS server returns the bag that contains configuration information will for the eTerm front end.
Step 2, eTerm front end will be carried out Session Open operation, and eTerm front end all will shield according to main frame with the MCSS server during this, open screen or reimbursement voucher screen send the fixing bag of form and communicate by letter.
Step 3 is carried out the Hash authentication.
Step 4, transfer instruction, eTerm front end and MCSS server will transmit by packet format according to the rules.
6. eTerm method of attachment according to claim 5 wherein, if closed described eTerm front end before connecting, is then carried out the step of obtaining news information; If transmission is the group user name, then to carry out the step of obtaining the real user name; If video identification code is arranged, then to obtain and reply the step of video identification code, and carry out the main frame response steps.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010106245517A CN102045365A (en) | 2010-12-30 | 2010-12-30 | ETerm connection system and method thereof based on TCP/IP protocol |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010106245517A CN102045365A (en) | 2010-12-30 | 2010-12-30 | ETerm connection system and method thereof based on TCP/IP protocol |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102045365A true CN102045365A (en) | 2011-05-04 |
Family
ID=43911135
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2010106245517A Pending CN102045365A (en) | 2010-12-30 | 2010-12-30 | ETerm connection system and method thereof based on TCP/IP protocol |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102045365A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102609265A (en) * | 2012-02-14 | 2012-07-25 | 中国民航信息网络股份有限公司 | eTerm application system based on mobile phone platform and method therefor |
CN107426333A (en) * | 2017-08-10 | 2017-12-01 | 中国民航信息网络股份有限公司 | Self-service move back changes label method of servicing and system |
CN111343141A (en) * | 2020-01-22 | 2020-06-26 | 中国民航信息网络股份有限公司 | User identity identification method and related equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1571398A (en) * | 2004-04-29 | 2005-01-26 | 上海交通大学 | Network safety isolating and information exchanging system and method based on proxy mapping |
CN1681260A (en) * | 2004-06-30 | 2005-10-12 | 中国银行股份有限公司 | Processing system between enterprise and bank service abutting joint |
CN101795448A (en) * | 2009-09-28 | 2010-08-04 | 恒宝股份有限公司 | Enterprise management system based on wireless download technology |
CN101917492A (en) * | 2010-08-06 | 2010-12-15 | 北京乾唐视联网络科技有限公司 | Communication method and communication system of novel network |
-
2010
- 2010-12-30 CN CN2010106245517A patent/CN102045365A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1571398A (en) * | 2004-04-29 | 2005-01-26 | 上海交通大学 | Network safety isolating and information exchanging system and method based on proxy mapping |
CN1681260A (en) * | 2004-06-30 | 2005-10-12 | 中国银行股份有限公司 | Processing system between enterprise and bank service abutting joint |
CN101795448A (en) * | 2009-09-28 | 2010-08-04 | 恒宝股份有限公司 | Enterprise management system based on wireless download technology |
CN101917492A (en) * | 2010-08-06 | 2010-12-15 | 北京乾唐视联网络科技有限公司 | Communication method and communication system of novel network |
Non-Patent Citations (1)
Title |
---|
ETERM官网: "eTerm使用案例", 《WWW.ETERM.COM.CN/CACI/ETERM/ETERMFILE.JSP,ETERM使用案例》 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102609265A (en) * | 2012-02-14 | 2012-07-25 | 中国民航信息网络股份有限公司 | eTerm application system based on mobile phone platform and method therefor |
CN107426333A (en) * | 2017-08-10 | 2017-12-01 | 中国民航信息网络股份有限公司 | Self-service move back changes label method of servicing and system |
CN111343141A (en) * | 2020-01-22 | 2020-06-26 | 中国民航信息网络股份有限公司 | User identity identification method and related equipment |
CN111343141B (en) * | 2020-01-22 | 2022-03-22 | 中国民航信息网络股份有限公司 | User identity identification method and related equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103888422B (en) | Safety certificate update method, client, server | |
CN105072665B (en) | Networking control, cut-in method and corresponding terminal and equipment | |
CN101742480B (en) | Method and system for distributing initial key of slave security domain of intelligent card and mobile terminal | |
CN107179697A (en) | A kind of intelligent home equipment control method, apparatus and system | |
CN104902465B (en) | System of real name is opened an account remote writing-card method and system | |
CN102821085A (en) | Third party authorization login method, open platform and system | |
CN102932785A (en) | Rapid authentication method, system and equipment of wireless local area network | |
CN109525566A (en) | A kind of LoRaWan method for interchanging data based on enhanced MQTT message mechanism | |
CN104765580B (en) | A kind of bill printing intelligence control system for supporting cloud printing technique | |
CN107888603A (en) | A kind of registration of Internet of Things smart machine, authentication method and Internet of Things | |
CN104639656B (en) | A kind of cloud bill printing system for supporting orientation to print | |
CN107230257A (en) | A kind of verification method for electronic two-dimensional code ticket | |
CN104735606A (en) | Communication method and system based on wearable equipment | |
CN101247239A (en) | Authenticated authorization accounting system and implementing method thereof | |
CN101917408A (en) | Mobile phone two-dimensional code electronic receipt method based on C/S framework | |
CN102045365A (en) | ETerm connection system and method thereof based on TCP/IP protocol | |
US20130202018A1 (en) | Power line communcation method and power line communication system | |
CN100335987C (en) | Method for authenticating and charging a subscriber of a radio network | |
CN102572818A (en) | Application key management method and system of MTC group device | |
CN106507383A (en) | Real name auditing method, equipment and system | |
CN105120454B (en) | Information transferring method, networking cut-in method and corresponding terminal | |
CN109729000A (en) | A kind of instant communicating method and device | |
CN101436936A (en) | Access authentication method and system based on DHCP protocol | |
CN102215515B (en) | Data processing method, communication system and related equipment | |
CN103067910B (en) | Remotely open chucking method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20110504 |