CN105721101A - Method and apparatus for realizing civil aviation message processing - Google Patents
Method and apparatus for realizing civil aviation message processing Download PDFInfo
- Publication number
- CN105721101A CN105721101A CN201410738407.4A CN201410738407A CN105721101A CN 105721101 A CN105721101 A CN 105721101A CN 201410738407 A CN201410738407 A CN 201410738407A CN 105721101 A CN105721101 A CN 105721101A
- Authority
- CN
- China
- Prior art keywords
- message
- telegram machine
- transit telegram
- connected mode
- type
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 76
- 238000012545 processing Methods 0.000 title claims abstract description 20
- 238000004891 communication Methods 0.000 claims description 23
- 238000012544 monitoring process Methods 0.000 claims description 16
- 230000005540 biological transmission Effects 0.000 claims description 9
- 230000006870 function Effects 0.000 abstract description 4
- 230000003044 adaptive effect Effects 0.000 abstract 1
- 238000007796 conventional method Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 4
- 238000005314 correlation function Methods 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 238000012806 monitoring device Methods 0.000 description 2
- 238000001514 detection method Methods 0.000 description 1
- 238000011084 recovery Methods 0.000 description 1
Landscapes
- Communication Control (AREA)
Abstract
The invention provides a method and apparatus for realizing civil aviation message processing. The method comprises the steps: acquiring convention configuration parameters for each retransmitter, wherein the convention configuration parameters include the identifier, the connecting mode, the message type, the coding mode, the decoding mode and the message protocol parameter; creating a logic channel corresponding to the connecting mode; when a message transmitted from one retransmitter is monitored, receiving the data flow of the message and generating a message with the message type being the same with the obtained message after processing the received data flow according to the obtained identifier, decoding mode and message protocol parameter of the retransmitter; transmitting the generated message to a client; and when the client transmits the message to the retransmitter, processing the message to be transmitted and then transmitting the message to the retransmitter through the created logic channel. The technical scheme of the method and apparatus for realizing civil aviation message processing can be adaptive to various network environments and various message types and coding modes, and can uniformly and quickly realize the related functions for civil aviation message switching, such as processing, receiving and transmitting messages.
Description
Technical field
The present invention relates to computer technology, espespecially a kind of method realizing civil aviaton's Message processing and device.
Background technology
In prior art, it is achieved during civil aviaton's MESSAGE EXCHANGE function, it is necessary to be handled as follows: (1) is set up with transit telegram machine and is connected;(2) on connecting, reception message monitoring device is set up;(3) when having listened to message and having arrived, message data stream is received;(4) to data stream, it is thus achieved that character visible string;(5) to character string parsing, it is thus achieved that message each several part content, such as time of transmission, prefix, serial number, destination address, the header information such as address of transmitting messages, and message text;(6) assemble message each several part content, message is encoded;(7) message is sent.
In above-mentioned existing techniques in realizing, the problem that there are following several respects:
First, difference due to the difference of demand and network environment, connection with transit telegram machine is probably the one in TCP/RS232 etc., and each connected mode is required for different technology and realizes, and involves setting up connections, disconnects, the junctional diversity problem such as connection status detection, automatically recovery connection;
Secondly, type of message includes AFTN and SITA;Message coding mode includes ITA-2 and IA-5.The multiformity of type of message and coding, it is desirable to every kind of situation is required for specific technical finesse, have impact on coding, decoding, group report, solves report processing procedure;
Furthermore, in actual environment, for adapting to different transit telegram machine environment, the message of identical coded system is likely to be of different starting characters and end mark, and this is also required to do different process in coding, decoding link.
Finally, increasing a kind of new connected mode, or a kind of new type of message, coded system, or when connecting a new transit telegram machine, it is necessary to extension that original realization is modified.
Existing realize in civil aviaton's MESSAGE EXCHANGE function, owing to there are transit telegram machine connected mode, type of message and coding and three diverse problems of transit telegram machine environment, it is thus desirable to process accordingly for different situations, add the complexity of civil aviaton's Message processing, bring technology realization loaded down with trivial details in a large number, and workload is huge and easily makes mistakes.
Summary of the invention
In order to solve above-mentioned technical problem, the invention provides a kind of method realizing civil aviaton's Message processing and device, can adapt to various network environment, various type of message and coded system, uniformly, rapidly realization process, receive, send the correlation function of civil aviaton's MESSAGE EXCHANGE such as message.
In order to reach the object of the invention, the invention provides the method that a kind of civil aviaton message is uniformly processed, including:
Obtain the agreement configuration parameter of each transit telegram machine;Wherein, agreement configuration parameter includes: the identity of transit telegram machine, connected mode, type of message, coded system, decoding process and message protocol parameter;
Connected mode according to the transit telegram machine obtained, creates the logic channel corresponding with this connected mode;
When monitoring the message that transit telegram machine sends, after receiving the data stream of this message and according to the identity of transit telegram machine obtained, decoding process and message protocol parameter, the data stream received being processed, generate the message identical with the type of message of acquisition;The message of generation is passed to client;
When client sends message to transit telegram machine, after the message to send being processed by the coded system obtained and message protocol parameter, the logic channel by creating is sent to transit telegram machine.
Further, connected mode includes: transmission control protocol TCP connects or serial physical interface standards RS232 connects.
Further, the method also includes:
When connected mode is TCP connection, arranges and set up the TCP parameter being connected with transit telegram machine;Wherein, parameter includes: host IP address and port numbers;
When connected mode is RS232 connection, arranges and set up the RS232 parameter being connected with transit telegram machine;Wherein, parameter includes: serial ports title, baud rate, data bit, stopping position.
Further, the connected mode according to the transit telegram machine obtained, create the logic channel corresponding with this connected mode, including:
When connected mode is TCP connection, create TCP logic channel;
When connected mode is RS232 connection, create RS232 logic channel.
Further, type of message includes: AFTN AFTN type or international telecommunication association SITA type.
Further, coded system includes: ITA-2 coding or IA-5 coding;
Decoding process includes: ITA-2 decoding or IA-5 decoding.
Further, message protocol parameter includes: start of message (SOM) symbol and end mark.
Further, after receiving the data stream of this message and according to the identity of transit telegram machine obtained, decoding process and message protocol parameter, the data stream received being processed, generate the message identical with the type of message of acquisition, including:
Identity according to the transit telegram machine obtained obtains decoding process and the message protocol parameter of this transit telegram machine;
According to the decoding process obtained and message protocol parameter, the data stream of the message to receiving is decoded obtaining the character string of message;
The character string of the message obtained is resolved, it is thus achieved that the content of message;
Content according to the message obtained after the type of message obtained and parsing, generates the message identical with the type of message obtained.
Further, the message that send is processed by coded system and message protocol parameter by obtaining, including:
Obtain the content of the message to send, according to the type of message obtained, the content of the message of acquisition is carried out group and report;
According to the coded system obtained and message protocol parameter, the message after group report is encoded obtaining the byte stream of message.
Present invention also offers the device that a kind of civil aviaton message is uniformly processed, including: dispensing unit, communication unit, solution report and group declaration form are first and encode and decoding unit;Wherein,
Dispensing unit, for obtaining the agreement configuration parameter of each transit telegram machine;Wherein, agreement configuration parameter includes: the identity of transit telegram machine, connected mode, type of message, coded system, decoding process and message protocol parameter;
Communication unit, for the connected mode according to the transit telegram machine obtained, creates the logic channel corresponding with this connected mode;It is additionally operable to the message that monitoring transit telegram machine sends, when monitoring the message that transit telegram machine sends, receives the data stream of this message;
Coding and decoding unit, for, after communication unit receives the data stream of this message, processing the data stream received according to the identity of transit telegram machine, decoding process and the message protocol parameter that dispensing unit obtains;
Solve report and group declaration form is first, for, after the data stream received is processed by coding and decoding unit, generating the message identical with the type of message of acquisition;
Communication unit, is additionally operable to the message of generation is passed to client;
Coding and decoding unit, for when client sends message to transit telegram machine, the message that send is processed by coded system and message protocol parameter by obtaining;
Communication unit, is additionally operable to the logic channel by creating and sends message to transit telegram machine.
Further, connected mode includes: transmission control protocol TCP connects or serial physical interface standards RS232 connects.
Further, dispensing unit, it is additionally operable to:
When connected mode is TCP connection, arranges and set up the TCP parameter being connected with transit telegram machine;Wherein, parameter includes: host IP address and port numbers;
When connected mode is RS232 connection, arranges and set up the RS232 parameter being connected with transit telegram machine;Wherein, parameter includes: serial ports title, baud rate, data bit, stopping position.
Further, communication unit, specifically for:
When connected mode is TCP connection, create TCP logic channel;
When connected mode is RS232 connection, create RS232 logic channel.
Further, type of message includes: AFTN AFTN type or international telecommunication association SITA type.
Further, coded system includes: ITA-2 coding or IA-5 coding;
Decoding process includes: ITA-2 decoding or IA-5 decoding.
Further, message protocol parameter includes: start of message (SOM) symbol and end mark.
Further, when monitoring the message that transit telegram machine sends, encode and decoding unit, specifically for:
Identity according to the transit telegram machine obtained obtains decoding process and the message protocol parameter of this transit telegram machine;
According to the decoding process obtained and message protocol parameter, the data stream of the message to receiving is decoded obtaining the character string of message;And,
Solve report and group declaration form is first, specifically for the character string of the message obtained is resolved, it is thus achieved that the content of message;
Content according to the message obtained after the type of message obtained and parsing, generates the message identical with the type of message obtained.
Further, when client sends message to transit telegram machine, solve and report and the first content specifically for obtaining the message to send of group declaration form, according to the type of message obtained, the content of the message of acquisition is carried out group and report;And,
Coding and decoding unit, specifically for according to the coded system obtained and message protocol parameter, being encoded obtaining the byte stream of message to the message after group report.
Technical solution of the present invention includes: obtain the agreement configuration parameter of each transit telegram machine;Wherein, agreement configuration parameter includes: the identity of transit telegram machine, connected mode, type of message, coded system, decoding process and message protocol parameter;Connected mode according to the transit telegram machine obtained, creates the logic channel corresponding with this connected mode;When monitoring the message that transit telegram machine sends, after receiving the data stream of this message and according to the identity of transit telegram machine obtained, decoding process and message protocol parameter, the data stream received being processed, generate the message identical with the type of message of acquisition;The message of generation is passed to client;When client sends message to transit telegram machine, after the message to send being processed by the coded system obtained and message protocol parameter, the logic channel by creating is sent to transit telegram machine.By message being processed according to different code encoding/decoding modes and different type of messages in the present invention, it is possible to solve junctional diversity, type of message multiformity and the multifarious problem of code encoding/decoding mode;Meanwhile, the process to message according to message protocol parameter and coding/decoding mode in the present invention, it is possible to solve the multifarious problem of transit telegram machine.Thus, technical solution of the present invention has adapted to various network environment, various type of message and coded system, achieves the correlation function of civil aviaton's MESSAGE EXCHANGE such as process, reception, transmission message uniformly, rapidly.
Accompanying drawing explanation
Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes the part of the application, and the schematic description and description of the present invention is used for explaining the present invention, is not intended that inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the flow chart that the present invention realizes the method for civil aviaton's Message processing;
Fig. 2 is the structural representation that the present invention realizes the device of civil aviaton's Message processing.
Detailed description of the invention
Accompanying drawing is for providing being further appreciated by technical solution of the present invention, and constitutes a part for description, is used for explaining technical scheme, is not intended that the restriction to technical solution of the present invention together with embodiments herein.
Fig. 1 is the flow chart that the present invention realizes the method for civil aviaton's Message processing, as it is shown in figure 1, comprise the following steps:
Step 101: obtain the agreement configuration parameter of each transit telegram machine;Wherein, agreement configuration parameter includes: the identity of transit telegram machine, connected mode, type of message, coded system, decoding process and message protocol parameter.
Wherein, connected mode includes: transmission control protocol (TCP) connects or serial physical interface standards (RS232) connects.
Type of message includes: AFTN (AFTN) type or international telecommunication association (SITA) type.
Coded system includes: ITA-2 coding or IA-5 coding;And,
Decoding process includes: ITA-2 decoding or IA-5 decoding.
Message protocol parameter includes: start of message (SOM) symbol and end mark.
Further, the method also includes: when connected mode is TCP connection, arranges and sets up the TCP parameter being connected with transit telegram machine;Wherein, parameter includes: host IP address and port numbers;
When connected mode is RS232 connection, arranges and set up the RS232 parameter being connected with transit telegram machine;Wherein, parameter includes: serial ports title, baud rate, data bit, stopping position.
Step 102: the connected mode according to the transit telegram machine obtained, creates the logic channel corresponding with this connected mode.
Specifically include: when connected mode is TCP connection, create TCP logic channel;
When connected mode is RS232 connection, create RS232 logic channel.
It should be noted that create the logic channel corresponding with connected mode to belong to conventional techniques means well-known to those skilled in the art, it is not intended to limit the inventive method, does not repeat them here.Logic channel uses the abstract method of Object-Oriented Design to encapsulate the diversity that different agreement connects, and has unified the establishment mode that different agreement connects;The abstract method of Object-Oriented Design is also conventional techniques means well known to those skilled in the art.
Step 103: when monitoring the message that transit telegram machine sends, generates the message identical with the type of message of acquisition after receiving the data stream of this message and according to the identity of transit telegram machine obtained, decoding process and message protocol parameter, the data stream received being processed;The message of generation is passed to client;When client sends message to transit telegram machine, after the message to send being processed by the coded system obtained and message protocol parameter, the logic channel by creating is sent to transit telegram machine.
Wherein, when monitoring the message that transit telegram machine sends, the message identical with the type of message of acquisition is generated after receiving the data stream of this message and according to the identity of transit telegram machine obtained, decoding process and message protocol parameter, the data stream received being processed, including:
Identity according to the transit telegram machine obtained obtains decoding process and the message protocol parameter of this transit telegram machine;
According to the decoding process obtained and message protocol parameter, the data stream of the message to receiving is decoded obtaining the character string of message;
The character string of the message obtained is resolved, it is thus achieved that the content of message;
Content according to the message obtained after the type of message obtained and parsing, generates the message identical with the type of message obtained.
It should be noted that for the message of AFTN type, message content is resolved to attribute key element according to AFTN message format specification, this process is called solution report;Attribute key element is assembled into message content, and this process is called group report, namely generates the process of message.For SITA type message, according to SITA message format specification, message content being resolved to attribute key element, this process is called solution report;Attribute key element is assembled into message content, and this process is called group report, namely generates the process of message.About how to solve report, group report belong to conventional techniques means well-known to those skilled in the art, be not intended to limit the present invention, do not repeat them here.
When client sends message to transit telegram machine, the message that send is processed by coded system and message protocol parameter by obtaining, including:
Obtain the content of the message to send, according to the type of message obtained, the content of the message of acquisition is carried out group and report;
According to the coded system obtained and message protocol parameter, the message after group report is encoded obtaining the byte stream of described message.
It should be noted that, the message that client sends to transit telegram machine includes the identity of transit telegram machine, so needing according to the identity of transit telegram machine in message, obtaining coded system and the message protocol parameter of this transit telegram machine, the message then again client sent processes.
Wherein, client includes: special message terminal or Commercial Air Service system.
It should be noted that by message being processed according to different code encoding/decoding modes and different type of messages in the present invention, it is possible to solve junctional diversity, type of message multiformity and the multifarious problem of code encoding/decoding mode;Simultaneously for different transit telegram machines, the message of identical coding/decoding mode is likely to be of different starting characters and end mark, the process to message according to message protocol parameter and coding/decoding mode in the present invention, it is possible to solve the multifarious problem of transit telegram machine.About how, type according to transit telegram machine arranges starting character and the end mark of message, belongs to the conventional techniques means of this area, is not intended to limit the present invention, does not repeat them here.
Fig. 2 is the structural representation that the present invention realizes the device of civil aviaton's Message processing, as in figure 2 it is shown, include: dispensing unit, communication unit, solution report and group declaration form are first and encode and decoding unit.Wherein,
Dispensing unit, for obtaining the agreement configuration parameter of each transit telegram machine;Wherein, agreement configuration parameter includes: the identity of transit telegram machine, connected mode, type of message, coded system, decoding process and message protocol parameter.
Communication unit, for the connected mode according to the transit telegram machine obtained, creates the logic channel corresponding with this connected mode;It is additionally operable to the message that monitoring transit telegram machine sends, when monitoring the message that transit telegram machine sends, receives the data stream of this message.
Coding and decoding unit, for, after communication unit receives the data stream of this message, processing the data stream received according to the identity of transit telegram machine, decoding process and the message protocol parameter that dispensing unit obtains.
Solve report and group declaration form is first, for, after the data stream received is processed by coding and decoding unit, generating the message identical with the type of message of acquisition.
Communication unit, is additionally operable to the message of generation is passed to client.
Coding and decoding unit, for when client sends message to transit telegram machine, the message that send is processed by coded system and message protocol parameter by obtaining.
Communication unit, is additionally operable to the logic channel by creating and sends message to transit telegram machine.
Wherein, connected mode includes: transmission control protocol (TCP) connects or serial physical interface standards (RS232) connects.
Type of message includes: AFTN (AFTN) type or international telecommunication association (SITA) type.
Coded system includes: ITA-2 coding or IA-5 coding;And,
Decoding process includes: ITA-2 decoding or IA-5 decoding.
Message protocol parameter includes: start of message (SOM) symbol and end mark.
Wherein, communication unit, specifically for:
When connected mode is TCP connection, arranges and set up the TCP parameter being connected with transit telegram machine;Wherein, parameter includes: host IP address and port numbers;
When connected mode is RS232 connection, arranges and set up the RS232 parameter being connected with transit telegram machine;Wherein, parameter includes: serial ports title, baud rate, data bit, stopping position.
Wherein, communication unit, specifically for:
When connected mode is TCP connection, create TCP logic channel;
When connected mode is RS232 connection, create RS232 logic channel.
Wherein, when monitoring the message that transit telegram machine sends, encode and decoding unit, specifically for:
Identity according to the transit telegram machine obtained obtains decoding process and the message protocol parameter of this transit telegram machine;
According to the decoding process obtained and message protocol parameter, the data stream of the message to receiving is decoded obtaining the character string of message;And,
Solve report and group declaration form is first, specifically for the character string of the message obtained is resolved, it is thus achieved that the content of message;
Content according to the message obtained after the type of message obtained and parsing, generates the message identical with the type of message obtained.
When client sends message to transit telegram machine, solve and report and the first content specifically for obtaining the message to send of group declaration form, according to the type of message obtained, the content of the message of acquisition is carried out group and report;And,
Coding and decoding unit, specifically for according to the coded system obtained and message protocol parameter, being encoded obtaining the byte stream of message to the message after group report.
This assembly is arranged in client, and wherein client includes: Commercial Air Service system and special message terminal.Owing to this assembly is arranged in client, so when monitoring the message that transit telegram machine sends, this assembly just passes to client the message generated, rather than is sent to client.
It should be noted that a packet check device can be added in communication unit, for detecting logic channel that communication unit creates to the message whether having transit telegram machine to send.It addition, said apparatus can be arranged in the client, it is also possible to connect client and transit telegram machine as an independent device.
Below in conjunction with specific embodiment, technical solution of the present invention is described in detail.
Assume that the present embodiment is that TCP connects, AFTN message and ITA-2 coding/decoding are the elaboration that invention components is carried out by example by the agreement configuration parameter of transit telegram machine.In conjunction with Fig. 2, implement and include:
First, configure according to the agreement of transit telegram machine, arrange and set up the TCP parameter being connected and AFTN message protocol with transit telegram machine;Wherein, parameter includes: host IP address and port numbers.The TCP the arranged parameter connected and message protocol are sent communication unit, creates TCP logic channel.At communication unit with creating message monitoring device and being added on TCP logic channel.Then, connect transit telegram machine by TCP logic channel, when monitoring the message that transit telegram machine sends, receive the data stream of this message, resolve, after the digital stream of this message is carried out ITA-2 decoding, the content obtaining message, according to AFTN type, the message content obtained after resolving carried out group report;Message after group report is passed to client.When client sends message to transit telegram machine, obtain the content of the message to send, carry out organizing report to the content of the message of acquisition according to the AFTN type obtained;According to the coded system ITA-2 obtained and AFTN message protocol, the message after group report is encoded obtaining the byte stream of message;The byte stream of acquisition is sent to transit telegram machine by the logic channel created.
One of ordinary skill in the art will appreciate that all or part of step in said method can be carried out instruction related hardware by program and complete, described program can be stored in computer-readable recording medium, such as read only memory, disk or CD etc..Alternatively, all or part of step of above-described embodiment can also use one or more integrated circuit to realize.Correspondingly, each module/unit in above-described embodiment can adopt the form of hardware to realize, it would however also be possible to employ the form of software function module realizes.The application is not restricted to the combination of the hardware and software of any particular form.
Although the embodiment that disclosed herein is as above, but described content is only the embodiment readily appreciating the present invention and adopt, and is not limited to the present invention.Technical staff in any art of the present invention; under the premise without departing from the spirit and scope that disclosed herein; any amendment and change can be carried out in the form implemented and details, but the scope of patent protection of the present invention, still must be as the criterion with the scope that appending claims defines.
Claims (18)
1. the method realizing civil aviaton's Message processing, it is characterised in that including:
Obtain the agreement configuration parameter of each transit telegram machine;Wherein, agreement configuration parameter includes: the identity of transit telegram machine, connected mode, type of message, coded system, decoding process and message protocol parameter;
Connected mode according to the transit telegram machine obtained, creates the logic channel corresponding with this connected mode;
When monitoring the message that transit telegram machine sends, after receiving the data stream of this message and according to the identity of transit telegram machine obtained, decoding process and message protocol parameter, the data stream received being processed, generate the message identical with the type of message of acquisition;The message of generation is passed to client;
When client sends message to transit telegram machine, after the message to send being processed by the coded system obtained and message protocol parameter, the logic channel by creating is sent to transit telegram machine.
2. method according to claim 1, it is characterised in that described connected mode includes: transmission control protocol TCP connects or serial physical interface standards RS232 connects.
3. method according to claim 2, it is characterised in that the method also includes:
When connected mode is TCP connection, arranges and set up the TCP parameter being connected with transit telegram machine;Wherein, parameter includes: host IP address and port numbers;
When connected mode is RS232 connection, arranges and set up the RS232 parameter being connected with transit telegram machine;Wherein, parameter includes: serial ports title, baud rate, data bit, stopping position.
4. method according to claim 1 and 2, it is characterised in that the described connected mode according to the transit telegram machine obtained, creates the logic channel corresponding with this connected mode, including:
When connected mode is TCP connection, create TCP logic channel;
When connected mode is RS232 connection, create RS232 logic channel.
5. method according to claim 1, it is characterised in that described type of message includes: AFTN AFTN type or international telecommunication association SITA type.
6. method according to claim 1, it is characterised in that described coded system includes: ITA-2 coding or IA-5 coding;
Described decoding process includes: ITA-2 decoding or IA-5 decoding.
7. method according to claim 1, it is characterised in that described message protocol parameter includes: start of message (SOM) symbol and end mark.
8. the method according to claim 5-7 any one, it is characterized in that, the data stream of described this message of reception also generates the message identical with the type of message of acquisition after the data stream received being processed according to the identity of transit telegram machine obtained, decoding process and message protocol parameter, including:
Identity according to the transit telegram machine obtained obtains decoding process and the message protocol parameter of this transit telegram machine;
According to the decoding process obtained and message protocol parameter, the data stream of the described message to receiving is decoded obtaining the character string of described message;
The character string of the described message obtained is resolved, it is thus achieved that the content of described message;
Content according to the described message obtained after the type of message obtained and parsing, generates the message identical with the type of message obtained.
9. the method according to claim 5-7 any one, it is characterised in that the message that send is processed by the described coded system by acquisition and message protocol parameter, including:
Obtain the content of the message to send, according to the type of message obtained, the content of the message of acquisition is carried out group and report;
According to the coded system obtained and message protocol parameter, the message after group report is encoded obtaining the byte stream of described message.
10. the device realizing civil aviaton's Message processing, it is characterised in that including: dispensing unit, communication unit, solution report and group declaration form are first and encode and decoding unit;Wherein,
Dispensing unit, for obtaining the agreement configuration parameter of each transit telegram machine;Wherein, agreement configuration parameter includes: the identity of transit telegram machine, connected mode, type of message, coded system, decoding process and message protocol parameter;
Communication unit, for the connected mode according to the transit telegram machine obtained, creates the logic channel corresponding with this connected mode;It is additionally operable to the message that monitoring transit telegram machine sends, when monitoring the message that transit telegram machine sends, receives the data stream of this message;
Coding and decoding unit, for, after described communication unit receives the data stream of this message, processing the data stream received according to the identity of transit telegram machine, decoding process and the message protocol parameter that described dispensing unit obtains;
Solve report and group declaration form is first, for, after the data stream received is processed by described coding and decoding unit, generating the message identical with the type of message obtained;
Described communication unit, is additionally operable to the message of generation is passed to client;
Described coding and decoding unit, for when client sends message to transit telegram machine, the message that send is processed by coded system and message protocol parameter by obtaining;
Described communication unit, is additionally operable to the logic channel by creating and sends message to transit telegram machine.
11. assembly according to claim 10, it is characterised in that described connected mode includes: transmission control protocol TCP connects or serial physical interface standards RS232 connects.
12. according to claim 11 at hardware, it is characterised in that described dispensing unit, it is additionally operable to:
When connected mode is TCP connection, arranges and set up the TCP parameter being connected with transit telegram machine;Wherein, parameter includes: host IP address and port numbers;
When connected mode is RS232 connection, arranges and set up the RS232 parameter being connected with transit telegram machine;Wherein, parameter includes: serial ports title, baud rate, data bit, stopping position.
13. the assembly according to claim 10 or 11, it is characterised in that described communication unit, specifically for:
When connected mode is TCP connection, create TCP logic channel;
When connected mode is RS232 connection, create RS232 logic channel.
14. assembly according to claim 10, it is characterised in that described type of message includes: AFTN AFTN type or international telecommunication association SITA type.
15. assembly according to claim 10, it is characterised in that described coded system includes: ITA-2 coding or IA-5 coding;
Described decoding process includes: ITA-2 decoding or IA-5 decoding.
16. assembly according to claim 10, it is characterised in that described message protocol parameter includes: start of message (SOM) symbol and end mark.
17. according to the assembly described in claim 14-16 any one, it is characterised in that when monitoring the message that transit telegram machine sends, described coding and decoding unit, specifically for:
Identity according to the transit telegram machine obtained obtains decoding process and the message protocol parameter of this transit telegram machine;
According to the decoding process obtained and message protocol parameter, the data stream of the described message to receiving is decoded obtaining the character string of described message;And,
Declaration form unit is reported and organized to described solution, specifically for the character string of the described message obtained is resolved, it is thus achieved that the content of described message;
Content according to the described message obtained after the type of message obtained and parsing, generates the message identical with the type of message obtained.
18. according to the assembly described in claim 14-16 any one, it is characterized in that, when client is to transit telegram machine transmission message, the content of described solution report and the first message sent specifically for acquisition of group declaration form, according to the type of message obtained, the content of the message of acquisition is carried out group and report;And,
Described coding and decoding unit, specifically for according to the coded system obtained and message protocol parameter, being encoded obtaining the byte stream of described message to the message after group report.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410738407.4A CN105721101B (en) | 2014-12-04 | 2014-12-04 | A kind of method and device for realizing civil aviaton's Message processing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410738407.4A CN105721101B (en) | 2014-12-04 | 2014-12-04 | A kind of method and device for realizing civil aviaton's Message processing |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105721101A true CN105721101A (en) | 2016-06-29 |
CN105721101B CN105721101B (en) | 2019-02-15 |
Family
ID=56144248
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410738407.4A Active CN105721101B (en) | 2014-12-04 | 2014-12-04 | A kind of method and device for realizing civil aviaton's Message processing |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105721101B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111212054A (en) * | 2019-12-30 | 2020-05-29 | 江苏星基航讯科技发展有限公司 | General aviation message automatic processing system |
CN115457810A (en) * | 2022-09-23 | 2022-12-09 | 北京软通智慧科技有限公司 | Method and device for merging flight operation data, electronic equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102571541A (en) * | 2010-12-24 | 2012-07-11 | 中兴通讯股份有限公司 | Message encoding-decoding method and device |
US8831795B2 (en) * | 2010-04-12 | 2014-09-09 | Flight Focus Pte. Ltd. | Data synchronisation for a flight information system |
CN104077927A (en) * | 2014-07-02 | 2014-10-01 | 中国民航大学 | Flight plan acceptance system applicable to general aviation flight and control method |
-
2014
- 2014-12-04 CN CN201410738407.4A patent/CN105721101B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8831795B2 (en) * | 2010-04-12 | 2014-09-09 | Flight Focus Pte. Ltd. | Data synchronisation for a flight information system |
CN102571541A (en) * | 2010-12-24 | 2012-07-11 | 中兴通讯股份有限公司 | Message encoding-decoding method and device |
CN104077927A (en) * | 2014-07-02 | 2014-10-01 | 中国民航大学 | Flight plan acceptance system applicable to general aviation flight and control method |
Non-Patent Citations (2)
Title |
---|
张卫华等: "基于C/S结构的航行电报系统的实现", 《中国民航飞行学院学报》 * |
黄拓晓: "民航自动转报通信技术研究", 《中国优秀硕士学位论文全文数据库 信息科技辑》 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111212054A (en) * | 2019-12-30 | 2020-05-29 | 江苏星基航讯科技发展有限公司 | General aviation message automatic processing system |
CN115457810A (en) * | 2022-09-23 | 2022-12-09 | 北京软通智慧科技有限公司 | Method and device for merging flight operation data, electronic equipment and storage medium |
CN115457810B (en) * | 2022-09-23 | 2024-01-09 | 北京软通智慧科技有限公司 | Method, device, electronic equipment and storage medium for merging flight operation data |
Also Published As
Publication number | Publication date |
---|---|
CN105721101B (en) | 2019-02-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Li et al. | Research based on OSI model | |
CN111083161A (en) | Data transmission processing method and device and Internet of things equipment | |
CN103841118B (en) | Method for constructing reliable two-way covert channel based on TCP effective loads | |
CN102761391B (en) | Oil field Internet of Things system communication method | |
US8023506B2 (en) | Method and provider edge device for advertising and processing pseudo-wire information | |
CN114071698B (en) | Ad hoc network data receiving and transmitting method and device with parameter dynamic configuration and state sensing | |
US9066162B2 (en) | Industrial controller apparatus capable of low error, ultra high-speed serial communication and method for driving same | |
CN108881302A (en) | Industrial Ethernet and BLVDS bus bar communication device and industrial control system | |
CN108616549A (en) | A kind of file uploading method and file server | |
CN105262740B (en) | A kind of big data transmission method and system | |
CN107835102B (en) | Method for decomposing protocol characteristics and decomposing fuzzy test | |
CN110809026B (en) | File processing method and device, electronic equipment and storage medium | |
CN101997721B (en) | A kind of telecommunication network management system, method and accordingly device | |
CN100484101C (en) | A method, system and device to transport the IPv6 message of Ethernet | |
CN105721101A (en) | Method and apparatus for realizing civil aviation message processing | |
CN109167729B (en) | Topology discovery method and device and multi-service transmission network system | |
CN106686011B (en) | Multi-view-field interaction method and device based on IMS communication | |
CN101650872B (en) | System and method for collecting power utilization information | |
CN108306755B (en) | Method and system for establishing management channel | |
JP5940632B2 (en) | Network grouping system and network grouping method | |
CN105119957A (en) | Information transmission method and device used for intelligent device | |
CN102833231B (en) | Dynamic Configuration under EoC Mixed cascading pattern | |
CN101615968A (en) | A kind of transmission method of time division multiplexing data services and device | |
CN1794673B (en) | Method of constructing local network using IP protocol | |
CN110493191B (en) | Windows platform data forwarding method and device, electronic equipment and readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20240125 Address after: No. 301 Weigou (East Campus), Chaoyang District, Beijing, 100015 Patentee after: Civil Aviation Air Traffic Control Technology and Equipment Development Co.,Ltd. Country or region after: China Address before: 100192 802, block B, science and technology wealth center, 8 Xueqing Road, Haidian District, Beijing Patentee before: AERO-INFO TECHNOLOGIES Co.,Ltd. Country or region before: China |