CN105721101B - A kind of method and device for realizing civil aviaton's Message processing - Google Patents

A kind of method and device for realizing civil aviaton's Message processing Download PDF

Info

Publication number
CN105721101B
CN105721101B CN201410738407.4A CN201410738407A CN105721101B CN 105721101 B CN105721101 B CN 105721101B CN 201410738407 A CN201410738407 A CN 201410738407A CN 105721101 B CN105721101 B CN 105721101B
Authority
CN
China
Prior art keywords
message
type
acquisition
transit telegram
telegram machine
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.)
Active
Application number
CN201410738407.4A
Other languages
Chinese (zh)
Other versions
CN105721101A (en
Inventor
王政
梁清秀
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Civil Aviation Air Traffic Control Technology And Equipment Development Co ltd
Original Assignee
AERO-INFO TECHNOLOGIES Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by AERO-INFO TECHNOLOGIES Co Ltd filed Critical AERO-INFO TECHNOLOGIES Co Ltd
Priority to CN201410738407.4A priority Critical patent/CN105721101B/en
Publication of CN105721101A publication Critical patent/CN105721101A/en
Application granted granted Critical
Publication of CN105721101B publication Critical patent/CN105721101B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention provides a kind of method and devices for realizing civil aviaton's Message processing, comprising: obtains the agreement configuration parameter of each transit telegram machine;It include: identity, connection type, type of message, coding mode, decoding process and the message protocol parameter of transit telegram machine;Create logic channel corresponding with the connection type;Message identical with the type of message obtained is generated when monitoring the message of transit telegram machine transmission, after receiving the data flow of the message and handling according to the identity of the transit telegram machine of acquisition, decoding process and message protocol parameter the data flow received;The message of generation is passed into client;When client sends message to transit telegram machine, transit telegram machine is sent to by the logic channel created after handling the message to be sent.Inventive technique scheme has adapted to various network environments, various type of messages and coding mode, uniformly, rapidly realizes processing, reception, the correlation function for sending civil aviatons' MESSAGE EXCHANGEs such as message.

Description

A kind of method and device for realizing civil aviaton's Message processing
Technical field
The present invention relates to computer technology, espespecially a kind of method and device for realizing civil aviaton's Message processing.
Background technique
In the prior art, it when realizing civil aviaton's MESSAGE EXCHANGE function, needs to be handled as follows: (1) establishing and connect with transit telegram machine It connects;(2) it is established in connection and receives message monitoring device;(3) when having listened to message arrival, message data stream is received;(4) right Data stream obtains character visible string;(5) to character string parsing, obtain message each section content, as time of transmission, prefix, Header informations and the message text such as serial number, destination address, address of transmitting messages;(6) message each section content is assembled, to message It is encoded;(7) message is sent.
During the above-mentioned prior art is realized, there are following several respects:
Firstly, since the difference of demand and the difference of network environment, the connection with transit telegram machine may be TCP/RS232 etc. One of, each connection type requires different technologies and realizes, involves setting up connection, disconnects, connection status inspection It surveys, restore the junctional diversities problems such as connection automatically;
Secondly, type of message includes AFTN and SITA;Message coding mode includes ITA-2 and IA-5.Type of message and volume The diversity of code, it is desirable that every kind of situation requires specific technical treatment, and it is processed to affect coding, decoding, group report, solution report Journey;
Furthermore in actual environment, to adapt to different transit telegram machine environment, the message of identical coding mode may have difference Starting character and end mark, this be also required to coding, decoding link do different processing.
Finally, increasing a kind of new connection type, or a kind of new type of message, coding mode, or connection one When new transit telegram machine, extension of modifying to original realization is needed.
In existing realization civil aviaton MESSAGE EXCHANGE function, due to there are transit telegram machine connection type, type of message and coding and Three diverse problems of transit telegram machine environment, it is therefore desirable to be performed corresponding processing for different situations, increase civil aviaton's message The complexity of processing brings a large amount of cumbersome technologies and realizes, and workload is huge and easy error.
Summary of the invention
In order to solve the above-mentioned technical problems, the present invention provides a kind of method and device for realizing civil aviaton's Message processing, energy Enough adapt to various network environments, various type of messages and coding mode, uniformly, rapidly realization processing, receive, send message The correlation function of equal civil aviatons' MESSAGE EXCHANGE.
In order to reach the object of the invention, the present invention provides a kind of methods that civil aviaton's message is uniformly processed, comprising:
Obtain the agreement configuration parameter of each transit telegram machine;Wherein, agreement configuration parameter include: transit telegram machine identity, Connection type, type of message, coding mode, decoding process and message protocol parameter;
According to the connection type of the transit telegram machine of acquisition, logic channel corresponding with the connection type is created;
When monitoring the message of transit telegram machine transmission, the identity of the data flow of the message and the transit telegram machine according to acquisition is received Mark, decoding process and message protocol parameter generate the type of message phase with acquisition after handling the data flow received Same message;The message of generation is passed into client;
When client sends message to transit telegram machine, by the coding mode of acquisition and message protocol parameter to sending Message handled after by create logic channel be sent to transit telegram machine.
Further, connection type includes: transmission control protocol TCP connection or serial physical interface standards RS232 connection.
Further, this method further include:
When connection type is TCP connection, the parameter of TCP connection is established in setting with transit telegram machine;Wherein, parameter includes: master Machine IP address and port numbers;
When connection type is RS232 connection, it is arranged and establishes the parameter that RS232 is connect with transit telegram machine;Wherein, parameter packet It includes: serial ports title, baud rate, data bit, stop position.
Further, according to the connection type of the transit telegram machine of acquisition, logic channel corresponding with the connection type is created, Include:
When connection type is TCP connection, TCP logic channel is created;
When connection type is RS232 connection, RS232 logic channel is created.
Further, type of message includes: Aviation Fixed Telecommunications Network AFTN type or international telecommunication association SITA type.
Further, coding mode 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, receive the data flow of the message and according to the identity of the transit telegram machine of acquisition, decoding process and Message protocol parameter generates message identical with the type of message obtained after handling the data flow received, comprising:
The decoding process and message protocol parameter of the transit telegram machine are obtained according to the identity of the transit telegram machine of acquisition;
Acquisition report is decoded to the data flow of received message according to the decoding process of acquisition and message protocol parameter The character string of text;
The character string of the message of acquisition is parsed, the content of message is obtained;
According to the content of the message obtained after the type of message of acquisition and parsing, generate identical as the type of message obtained Message.
Further, the message to be sent is handled by the coding mode of acquisition and message protocol parameter, is wrapped It includes:
The content for obtaining the message to be sent, carries out group according to content of the type of message of acquisition to the message of acquisition Report;
According to the coding mode of acquisition and message protocol parameter, the word that coding obtains message is carried out to the message after group report Throttling.
The present invention also provides a kind of devices that civil aviaton's message is uniformly processed, comprising: configuration unit, communication unit, solution report With group declaration form member and coding and decoding unit;Wherein,
Configuration unit, for obtaining the agreement configuration parameter of each transit telegram machine;Wherein, agreement configuration parameter includes: transit telegram Identity, connection type, type of message, coding mode, decoding process and the message protocol parameter of machine;
Communication unit creates logic corresponding with the connection type for the connection type according to the transit telegram machine of acquisition Channel;It is also used to monitor the message of transit telegram machine transmission, when monitoring the message of transit telegram machine transmission, receives the data of the message Stream;
Unit is coded and decoded, after for receiving the data flow of the message when communication unit, is obtained according to configuration unit Identity, decoding process and the message protocol parameter of transit telegram machine handle the data flow received;
Solution report and group declaration form member, for coding and decoding unit the data flow received is handled after, generate with The identical message of the type of message of acquisition;
Communication unit is also used to the message of generation passing to client;
Code and decode unit, for when client sends message to transit telegram machine, by the coding mode of acquisition and Message protocol parameter handles the message to be sent;
Communication unit is also used to send message by the logic channel of creation and gives transit telegram machine.
Further, connection type includes: transmission control protocol TCP connection or serial physical interface standards RS232 connection.
Further, configuration unit is also used to:
When connection type is TCP connection, the parameter of TCP connection is established in setting with transit telegram machine;Wherein, parameter includes: master Machine IP address and port numbers;
When connection type is RS232 connection, it is arranged and establishes the parameter that RS232 is connect with transit telegram machine;Wherein, parameter packet It includes: serial ports title, baud rate, data bit, stop position.
Further, communication unit is specifically used for:
When connection type is TCP connection, TCP logic channel is created;
When connection type is RS232 connection, RS232 logic channel is created.
Further, type of message includes: Aviation Fixed Telecommunications Network AFTN type or international telecommunication association SITA type.
Further, coding mode 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 of transit telegram machine transmission, unit is coded and decoded, is specifically used for:
The decoding process and message protocol parameter of the transit telegram machine are obtained according to the identity of the transit telegram machine of acquisition;
Acquisition report is decoded to the data flow of received message according to the decoding process of acquisition and message protocol parameter The character string of text;And
Solution report and group declaration form member, parse specifically for the character string of the message to acquisition, obtain the content of message;
According to the content of the message obtained after the type of message of acquisition and parsing, generate identical as the type of message obtained Message.
Further, when client sends message to transit telegram machine, solution report and group declaration form member are specifically used for obtaining to be sent out The content of the message sent carries out a group report according to content of the type of message of acquisition to the message of acquisition;And
Unit is coded and decoded, specifically for the coding mode and message protocol parameter according to acquisition, after group report Message carries out the byte stream that coding obtains message.
Technical solution of the present invention includes: to obtain the agreement configuration parameter of each transit telegram machine;Wherein, arrange configuration parameter packet It includes: identity, connection type, type of message, coding mode, decoding process and the message protocol parameter of transit telegram machine;According to obtaining The connection type of the transit telegram machine obtained creates logic channel corresponding with the connection type;When the report for monitoring the transmission of transit telegram machine Wen Shi receives the data flow of the message and according to the identity of the transit telegram machine of acquisition, decoding process and message protocol parameter Message identical with the type of message obtained is generated after handling the data flow received;The message of generation is passed into visitor Family end;When client sends message to transit telegram machine, by the coding mode of acquisition and message protocol parameter to being sent Message handled after by create logic channel be sent to transit telegram machine.By according to different code encoding/decoding modes in the present invention And different type of messages handles message, can solve junctional diversity, type of message diversity and encoding and decoding The multifarious problem of mode;Meanwhile the processing in the present invention according to message protocol parameter and coding/decoding mode to message, It can solve the multifarious problem of transit telegram machine.To which technical solution of the present invention has adapted to various network environments, various type of messages And coding mode, uniformly, rapidly realize processing, reception, the correlation function for sending civil aviatons' MESSAGE EXCHANGEs such as message.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes part of this application, this hair Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is the flow chart for the method that the present invention realizes civil aviaton's Message processing;
Fig. 2 is the structural schematic diagram for the device that the present invention realizes civil aviaton's Message processing.
Specific embodiment
Attached drawing is used to provide to further understand technical solution of the present invention, and constitutes part of specification, with this The embodiment of application technical solution for explaining the present invention together, does not constitute the limitation to technical solution of the present invention.
Fig. 1 is the flow chart for the method that the present invention realizes civil aviaton's Message processing, as shown in Figure 1, comprising the following steps:
Step 101: obtaining the agreement configuration parameter of each transit telegram machine;Wherein, agreement configuration parameter includes: the body of transit telegram machine Part mark, connection type, type of message, coding mode, decoding process and message protocol parameter.
Wherein, connection type includes: transmission control protocol (TCP) connection or serial physical interface standards (RS232) connection.
Type of message includes: Aviation Fixed Telecommunications Network (AFTN) type or international telecommunication association (SITA) type.
Coding mode 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, this method further include: when connection type is TCP connection, setting establishes TCP connection with transit telegram machine Parameter;Wherein, parameter includes: host IP address and port numbers;
When connection type is RS232 connection, it is arranged and establishes the parameter that RS232 is connect with transit telegram machine;Wherein, parameter packet It includes: serial ports title, baud rate, data bit, stop position.
Step 102: according to the connection type of the transit telegram machine of acquisition, creating logic channel corresponding with the connection type.
It specifically includes: when connection type is TCP connection, creating TCP logic channel;
When connection type is RS232 connection, RS232 logic channel is created.
It should be noted that corresponding with the connection type logic channel of creation belong to it is well-known to those skilled in the art Conventional techniques are not intended to limit the invention method, and details are not described herein.Logic channel uses the pumping of Object-Oriented Design As method encapsulate different agreement connection otherness, unified different agreement connection creation mode;Object-Oriented Design Abstract method is also conventional techniques well known to those skilled in the art.
Step 103: when monitoring the message of transit telegram machine transmission, receiving the data flow of the message and the transit telegram according to acquisition Identity, decoding process and the message protocol parameter of machine generate the report with acquisition after handling the data flow received The identical message of literary type;The message of generation is passed into client;When client sends message to transit telegram machine, pass through acquisition Coding mode and message protocol parameter the message to be sent is handled after by create logic channel be sent to turn Report machine.
Wherein, when monitoring the message of transit telegram machine transmission, the data flow of the message and the transit telegram machine according to acquisition are received Identity, decoding process and message protocol parameter the data flow received is handled after generate with obtain message The identical message of type, comprising:
The decoding process and message protocol parameter of the transit telegram machine are obtained according to the identity of the transit telegram machine of acquisition;
Acquisition report is decoded to the data flow of received message according to the decoding process of acquisition and message protocol parameter The character string of text;
The character string of the message of acquisition is parsed, the content of message is obtained;
According to the content of the message obtained after the type of message of acquisition and parsing, generate identical as the type of message obtained Message.
It should be noted that message content is resolved to according to AFTN message format specification for the message of AFTN type Attribute element, this process are known as solving report;Attribute element is assembled into message content, this process is known as group report, that is, generates report The process of text.For SITA type message, message content is resolved to by attribute element according to SITA message format specification, this mistake Journey is known as solving report;Attribute element is assembled into message content, this process is known as group report, that is, generates the process of message.About such as What solution report, group report belong to conventional techniques well-known to those skilled in the art, are not intended to limit the invention, herein no longer It repeats.
When client sends message to transit telegram machine, by the coding mode of acquisition and message protocol parameter to sending Message handled, comprising:
The content for obtaining the message to be sent, carries out group according to content of the type of message of acquisition to the message of acquisition Report;
According to the coding mode of acquisition and message protocol parameter, coding is carried out to the message after group report and obtains the message Byte stream.
It should be noted that including the identity of transit telegram machine in the message that client is sent to transit telegram machine, so needing According to the identity of transit telegram machine in message, the coding mode and message protocol parameter of the transit telegram machine are obtained, it is then right again The client message to be sent is handled.
Wherein, client includes: dedicated message terminal or Commercial Air Service system.
It should be noted that in the present invention by according to different code encoding/decoding modes and different type of messages to message It is handled, can solve junctional diversity, type of message diversity and the multifarious problem of code encoding/decoding mode;Meanwhile it is right For different transit telegram machines, the message of identical coding/decoding mode may have different a starting character and end mark, in the present invention Processing according to message protocol parameter and coding/decoding mode to message can solve the multifarious problem of transit telegram machine.About such as The starting character and end mark of message are arranged according to the type of transit telegram machine for what, belong to the conventional techniques of this field, and do not have to The present invention is limited, details are not described herein.
Fig. 2 is the structural schematic diagram for the device that the present invention realizes civil aviaton's Message processing, as shown in Figure 2, comprising: configuration is single Member, communication unit, solution report and group declaration form member and coding and decoding unit.Wherein,
Configuration unit, for obtaining the agreement configuration parameter of each transit telegram machine;Wherein, agreement configuration parameter includes: transit telegram Identity, connection type, type of message, coding mode, decoding process and the message protocol parameter of machine.
Communication unit creates logic corresponding with the connection type for the connection type according to the transit telegram machine of acquisition Channel;It is also used to monitor the message of transit telegram machine transmission, when monitoring the message of transit telegram machine transmission, receives the data of the message Stream.
Unit is coded and decoded, after for receiving the data flow of the message when communication unit, is obtained according to configuration unit Identity, decoding process and the message protocol parameter of transit telegram machine handle the data flow received.
Solution report and group declaration form member, for coding and decoding unit the data flow received is handled after, generate with The identical message of the type of message of acquisition.
Communication unit is also used to the message of generation passing to client.
Code and decode unit, for when client sends message to transit telegram machine, by the coding mode of acquisition and Message protocol parameter handles the message to be sent.
Communication unit is also used to send message by the logic channel of creation and gives transit telegram machine.
Wherein, connection type includes: transmission control protocol (TCP) connection or serial physical interface standards (RS232) connection.
Type of message includes: Aviation Fixed Telecommunications Network (AFTN) type or international telecommunication association (SITA) type.
Coding mode 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 is specifically used for:
When connection type is TCP connection, the parameter of TCP connection is established in setting with transit telegram machine;Wherein, parameter includes: master Machine IP address and port numbers;
When connection type is RS232 connection, it is arranged and establishes the parameter that RS232 is connect with transit telegram machine;Wherein, parameter packet It includes: serial ports title, baud rate, data bit, stop position.
Wherein, communication unit is specifically used for:
When connection type is TCP connection, TCP logic channel is created;
When connection type is RS232 connection, RS232 logic channel is created.
Wherein, when monitoring the message of transit telegram machine transmission, unit is coded and decoded, is specifically used for:
The decoding process and message protocol parameter of the transit telegram machine are obtained according to the identity of the transit telegram machine of acquisition;
Acquisition report is decoded to the data flow of received message according to the decoding process of acquisition and message protocol parameter The character string of text;And
Solution report and group declaration form member, parse specifically for the character string of the message to acquisition, obtain the content of message;
According to the content of the message obtained after the type of message of acquisition and parsing, generate identical as the type of message obtained Message.
When client sends message to transit telegram machine, solution report and group declaration form member are specifically used for obtaining the message to be sent Content carries out a group report according to content of the type of message of acquisition to the message of acquisition;And
Unit is coded and decoded, specifically for the coding mode and message protocol parameter according to acquisition, after group report Message carries out the byte stream that coding obtains message.
This component is located in client, and wherein client includes: Commercial Air Service system and dedicated message terminal.Due to this group Part is located in client, so the message of generation is just passed to client by the component when monitoring the message of transit telegram machine transmission End, without being destined to client.
It should be noted that a packet check device can be added in communication unit, for detecting communication unit creation Logic channel to whether have transit telegram machine send message.In addition, above-mentioned apparatus can be set in the client, can also be used as One independent device connection client and transit telegram machine.
Technical solution of the present invention is described in detail combined with specific embodiments below.
Assuming that the present embodiment by the agreement configuration parameter of transit telegram machine be TCP connection, AFTN message and ITA-2 coding/ The elaboration that invention components are carried out for decoding.In conjunction with Fig. 2, specific implementation includes:
Firstly, being configured according to the agreement of transit telegram machine, setting establishes the parameter of TCP connection with transit telegram machine and AFTN message is assisted View;Wherein, parameter includes: host IP address and port numbers.The parameter of the TCP connection of setting and message protocol are sent into communication unit Member creates TCP logic channel.It with creation message monitoring device and is added on TCP logic channel in communication unit.Then, Transit telegram machine is connected by TCP logic channel, when monitoring the message of transit telegram machine transmission, the data flow of the message is received, to this The digital stream of message carries out the content of parsing acquisition message after ITA-2 decoding, according to AFTN type to the message obtained after parsing Content carries out a group report;Message after group report is passed into client.When client sends message to transit telegram machine, acquisition to be sent out The content of the message sent carries out a group report according to content of the AFTN type of acquisition to the message of acquisition;According to the coding staff of acquisition Formulas I TA-2 and AFTN message protocol carries out the byte stream that coding obtains message to the message after group report;By the byte stream of acquisition Transit telegram machine is sent to by the logic channel of creation.
Those of ordinary skill in the art will appreciate that all or part of the steps in the above method can be instructed by program Related hardware is completed, and described program can store in computer readable storage medium, such as read-only memory, disk or CD Deng.Optionally, one or more integrated circuits can be used also to realize in all or part of the steps of above-described embodiment.Accordingly Ground, each module/unit in above-described embodiment can take the form of hardware realization, can also use the shape of software function module Formula is realized.The application is not limited to the combination of the hardware and software of any particular form.
Although disclosed herein embodiment it is as above, the content only for ease of understanding the present invention and use Embodiment is not intended to limit the invention.Technical staff in any fields of the present invention is taken off not departing from the present invention Under the premise of the spirit and scope of dew, any modification and variation, but the present invention can be carried out in the form and details of implementation Scope of patent protection, still should be subject to the scope of the claims as defined in the appended claims.

Claims (16)

1. a kind of method for realizing civil aviaton's Message processing characterized by comprising
Obtain the agreement configuration parameter of each transit telegram machine;Wherein, agreement configuration parameter includes: the identity of transit telegram machine, connection Mode, type of message, coding mode, decoding process and message protocol parameter;
According to the connection type of the transit telegram machine of acquisition, logic channel corresponding with the connection type is created;
When monitoring the message of transit telegram machine transmission, the identity mark of the data flow of the message and the transit telegram machine according to acquisition is received Knowledge, decoding process and message protocol parameter generate identical as the type of message obtained after handling the data flow received Message, comprising:
The decoding process and message protocol parameter of the transit telegram machine are obtained according to the identity of the transit telegram machine of acquisition;
The data flow of the received message is decoded according to the decoding process of acquisition and message protocol parameter and obtains institute State the character string of message;
The character string of the message of acquisition is parsed, the content of the message is obtained;
According to the content of the message obtained after the type of message of acquisition and parsing, generate identical as the type of message obtained Message;The message of generation is passed into client;
When client sends message to transit telegram machine, by the coding mode and message protocol parameter of acquisition to the report to be sent Text handled after by create logic channel be sent to transit telegram machine.
2. the method according to claim 1, wherein the connection type includes: transmission control protocol TCP connection Or serial physical interface standards RS232 connection.
3. according to the method described in claim 2, it is characterized in that, this method further include:
When connection type is TCP connection, the parameter of TCP connection is established in setting with transit telegram machine;Wherein, parameter includes: host ip Address and port numbers;
When connection type is RS232 connection, it is arranged and establishes the parameter that RS232 is connect with transit telegram machine;Wherein, parameter includes: string Mouth title, baud rate, data bit, stop position.
4. method according to claim 1 or 2, which is characterized in that the connection type of the transit telegram machine according to acquisition, wound Build logic channel corresponding with the connection type, comprising:
When connection type is TCP connection, TCP logic channel is created;
When connection type is RS232 connection, RS232 logic channel is created.
5. the method according to claim 1, wherein the type of message includes: Aviation Fixed Telecommunications Network AFTN Type or international telecommunication association SITA type.
6. the method according to claim 1, wherein the coding mode includes: that ITA-2 coding or IA-5 are compiled Code;
The decoding process includes: ITA-2 decoding or IA-5 decoding.
7. the method according to claim 1, wherein the message protocol parameter includes: start of message (SOM) symbol and knot Beam symbol.
8. according to method described in claim 5-7 any one, which is characterized in that the coding mode by acquisition and Message protocol parameter handles the message to be sent, comprising:
The content for obtaining the message to be sent carries out a group report according to content of the type of message of acquisition to the message of acquisition;
According to the coding mode of acquisition and message protocol parameter, the word that coding obtains the message is carried out to the message after group report Throttling.
9. a kind of device for realizing civil aviaton's Message processing characterized by comprising configuration unit, communication unit, solution report and group report Unit and coding and decoding unit;Wherein,
Configuration unit, for obtaining the agreement configuration parameter of each transit telegram machine;Wherein, agreement configuration parameter includes: transit telegram machine Identity, connection type, type of message, coding mode, decoding process and message protocol parameter;
Communication unit creates logic channel corresponding with the connection type for the connection type according to the transit telegram machine of acquisition; It is also used to monitor the message of transit telegram machine transmission, when monitoring the message of transit telegram machine transmission, receives the data flow of the message;
Unit is coded and decoded, for when monitoring the message of transit telegram machine transmission, the coding and decoding unit to be specific to use In:
The decoding process and message protocol parameter of the transit telegram machine are obtained according to the identity of the transit telegram machine of acquisition;
The data flow of the received message is decoded according to the decoding process of acquisition and message protocol parameter and obtains institute State the character string of message;And
The solution report and group declaration form member, parse specifically for the character string of the message to acquisition, obtain the message Content;
According to the content of the message obtained after the type of message of acquisition and parsing, generate identical as the type of message obtained Message;
After the communication unit receives the data flow of the message, according to the identity mark for the transit telegram machine that the configuration unit obtains Know, decoding process and message protocol parameter handle the data flow received;
Solution report and group declaration form member, for after the coding and decoding unit handles the data flow received, generate and The identical message of the type of message of acquisition;
The communication unit is also used to the message of generation passing to client;
The coding and decoding unit, for when client sends message to transit telegram machine, by the coding mode of acquisition and Message protocol parameter handles the message to be sent;
The communication unit is also used to send message by the logic channel of creation and gives transit telegram machine.
10. device according to claim 9, which is characterized in that the connection type includes: that transmission control protocol TCP connects It connects or serial physical interface standards RS232 connection.
11. device according to claim 10, which is characterized in that the configuration unit is also used to:
When connection type is TCP connection, the parameter of TCP connection is established in setting with transit telegram machine;Wherein, parameter includes: host ip Address and port numbers;
When connection type is RS232 connection, it is arranged and establishes the parameter that RS232 is connect with transit telegram machine;Wherein, parameter includes: string Mouth title, baud rate, data bit, stop position.
12. device according to claim 9 or 10, which is characterized in that the communication unit is specifically used for:
When connection type is TCP connection, TCP logic channel is created;
When connection type is RS232 connection, RS232 logic channel is created.
13. device according to claim 9, which is characterized in that the type of message includes: Aviation Fixed Telecommunications Network AFTN Type or international telecommunication association SITA type.
14. device according to claim 9, which is characterized in that the coding mode includes: that ITA-2 coding or IA-5 are compiled Code;
The decoding process includes: ITA-2 decoding or IA-5 decoding.
15. device according to claim 9, which is characterized in that the message protocol parameter includes: start of message (SOM) symbol and knot Beam symbol.
16. device described in 3-15 any one according to claim 1, which is characterized in that reported when client is sent to transit telegram machine Wen Shi, the solution report and group declaration form member are specifically used for obtaining the content for the message to be sent, according to the type of message pair of acquisition The content of the message of acquisition carries out a group report;And
The coding and decoding unit, specifically for the coding mode and message protocol parameter according to acquisition, after group report Message carries out the byte stream that coding obtains the message.
CN201410738407.4A 2014-12-04 2014-12-04 A kind of method and device for realizing civil aviaton's Message processing Active CN105721101B (en)

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 CN105721101A (en) 2016-06-29
CN105721101B true 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)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111212054B (en) * 2019-12-30 2022-05-10 江苏星基航讯科技发展有限公司 General aviation message automatic processing system
CN115457810B (en) * 2022-09-23 2024-01-09 北京软通智慧科技有限公司 Method, device, electronic equipment and storage medium for merging flight operation data

Citations (3)

* Cited by examiner, † Cited by third party
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

Patent Citations (3)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
Title
基于C/S结构的航行电报系统的实现;张卫华等;《中国民航飞行学院学报》;20040331;第15卷(第2期);第48-50、64页
民航自动转报通信技术研究;黄拓晓;《中国优秀硕士学位论文全文数据库 信息科技辑》;20140515;第1、5-16页

Also Published As

Publication number Publication date
CN105721101A (en) 2016-06-29

Similar Documents

Publication Publication Date Title
CN107147657B (en) Coding and decoding method and communication equipment suitable for multi-machine reliable communication
CN103856361B (en) Realize the method and system of remote debugging
CN111083161A (en) Data transmission processing method and device and Internet of things equipment
US9674315B2 (en) Methods for dynamically binding header field identifiers in a network control protocol
CN103841118B (en) Method for constructing reliable two-way covert channel based on TCP effective loads
CN104811358B (en) A kind of wireless communication method of network home appliance
CN109495572A (en) A kind of Internet of things system and its network communication method, device and storage medium
CN105262740B (en) A kind of big data transmission method and system
JP5716133B2 (en) Industrial controller device capable of low error rate and ultra-high speed serial communication and driving method thereof
CN103428227A (en) IP covert communication method based on Huffman encoding
CN104092790B (en) Base station master-slave communication method and system
CN105721101B (en) A kind of method and device for realizing civil aviaton's Message processing
CN103607264A (en) 3G network-based in-band data transmission method
CN100484101C (en) A method, system and device to transport the IPv6 message of Ethernet
CN105119969B (en) A kind of exchange method for putting inspection data format and point inspection data
CN106211801B (en) Data processing method and device
CN106686011B (en) Multi-view-field interaction method and device based on IMS communication
CN110167193A (en) WiFi matches network method and WiFi equipment automatically
CN102523150B (en) A kind of methods, devices and systems of channel message process
JP5940632B2 (en) Network grouping system and network grouping method
CN111131213A (en) Method for realizing R-GOOSE electric power message
WO2016070679A1 (en) Network state synchronizing method and apparatus
Wani et al. Ethernet enabled digital i/o control in embedded systems
CN106209565B (en) A kind of tunnel method for reliable transmission and device based on fountain codes
CN103905147B (en) Data processing method, sending device, receiving device and communication system

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