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
decoding
connection
mode
encoding
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

Landscapes

  • Communication Control (AREA)

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

Method and device for realizing civil aviation message processing
Technical Field
The present invention relates to computer technology, and is especially method and apparatus for processing civil aviation message.
Background
In the prior art, when the civil aviation message exchange function is realized, the following processing needs to be performed: (1) establishing connection with a newspaper transferring machine; (2) establishing a message receiving monitor on the connection; (3) when the arrival of a message is monitored, receiving a message data stream; (4) decoding the data stream to obtain a visible character string; (5) analyzing the character strings to obtain the contents of each part of the message, such as header information of the message sending time, crown words, serial numbers, message receiving addresses, message sending addresses and the like, and the text of the message; (6) assembling contents of each part of the message, and encoding the message; (7) and sending the message.
In the above prior art implementation, there are the following problems:
firstly, due to different requirements and differences of network environments, the connection with the switching machine may be one of TCP/RS232 and the like, and each connection mode needs different technologies to be realized, which relates to the connection diversity problems of connection establishment, disconnection, connection state detection, automatic connection recovery and the like;
secondly, the message types comprise AFTN and SITA; the message coding modes comprise ITA-2 and IA-5. The diversity of message types and codes requires that each situation needs specific technical processing, and influences the processing processes of coding, decoding, packet reporting and report decoding;
moreover, in an actual environment, in order to adapt to different repeater environments, messages with the same encoding mode may have different start symbols and end symbols, which also requires different processing in encoding and decoding links.
Finally, when a new connection mode, or a new message type, a new coding mode, or a new relay machine is added, the original implementation needs to be modified and expanded.
In the existing function of realizing the exchange of civil aviation messages, due to the three diversity problems of the connection mode of the rebroadcasting machine, the message type and the code and the environment of the rebroadcasting machine, corresponding processing needs to be carried out according to different conditions, the complexity of processing the civil aviation messages is increased, a large amount of complex technical realization is brought, and the workload is huge and mistakes are easy to make.
Disclosure of Invention
In order to solve the technical problems, the invention provides a method and a device for realizing civil aviation message processing, which can adapt to various network environments, various message types and encoding modes and uniformly and quickly realize relevant functions of civil aviation message exchange such as message processing, message receiving and message sending.
In order to achieve the purpose of the invention, the invention provides a method for uniformly processing civil aviation messages, which comprises the following steps:
acquiring appointed configuration parameters of each newspaper transferring machine; wherein, the appointed configuration parameters comprise: identity mark, connection mode, message type, coding mode, decoding mode and message protocol parameter of the repeater;
according to the obtained connection mode of the repeater, a logical channel corresponding to the connection mode is established;
when a message sent by a relay transmitter is monitored, receiving a data stream of the message, processing the received data stream according to the obtained identity identifier, decoding mode and message protocol parameters of the relay transmitter, and then generating a message with the same type as the obtained message; transmitting the generated message to a client;
when the client sends the message to the message forwarding machine, the message to be sent is processed through the obtained coding mode and the message protocol parameters and then is sent to the message forwarding machine through the created logic channel.
Further, the connection mode includes: a transmission control protocol TCP connection or a serial physical interface standard RS232 connection.
Further, the method further comprises:
when the connection mode is TCP connection, setting parameters for establishing TCP connection with the rebroadcasting machine; wherein the parameters include: host IP address and port number;
when the connection mode is RS232 connection, setting parameters for establishing RS232 connection with the repeater; wherein the parameters include: serial port name, baud rate, data bit, stop bit.
Further, according to the obtained connection mode of the switching machine, a logical channel corresponding to the connection mode is created, including:
when the connection mode is TCP connection, a TCP logical channel is established;
when the connection mode is RS232 connection, an RS232 logical channel is created.
Further, the message types include: an aeronautical fixed telecommunications network AFTN type or an international telecommunications association SITA type.
Further, the encoding method includes: ITA-2 encoding or IA-5 encoding;
the decoding method comprises the following steps: ITA-2 decoding or IA-5 decoding.
Further, the message protocol parameters include: a message start character and an end character.
Further, receiving the data stream of the message, and generating a message of the same type as the obtained message after processing the received data stream according to the obtained identity, decoding mode and message protocol parameters of the relay device, including:
acquiring a decoding mode and message protocol parameters of the repeater according to the acquired identity of the repeater;
decoding the data stream of the received message according to the obtained decoding mode and the message protocol parameter to obtain a character string of the message;
analyzing the character string of the obtained message to obtain the content of the message;
and generating a message with the same type as the obtained message according to the type of the obtained message and the content of the message obtained after analysis.
Further, the processing the message to be sent through the obtained coding mode and the message protocol parameter includes:
acquiring the content of a message to be sent, and reporting the content of the acquired message according to the type of the acquired message;
and according to the obtained coding mode and the message protocol parameters, coding the message after packet report to obtain the byte stream of the message.
The invention also provides a device for uniformly processing civil aviation messages, which comprises: a configuration unit, a communication unit, a report decoding and grouping unit and an encoding and decoding unit; wherein,
the configuration unit is used for acquiring the appointed configuration parameters of each report forwarding machine; wherein, the appointed configuration parameters comprise: identity mark, connection mode, message type, coding mode, decoding mode and message protocol parameter of the repeater;
the communication unit is used for establishing a logic channel corresponding to the connection mode according to the obtained connection mode of the repeater; the monitoring system is also used for monitoring the message sent by the relay transmitter, and receiving the data stream of the message when the message sent by the relay transmitter is monitored;
the encoding and decoding unit is used for processing the received data stream according to the identity identifier, the decoding mode and the message protocol parameters of the repeater obtained by the configuration unit after the communication unit receives the data stream of the message;
a report decoding and report combining unit, which is used for generating the message with the same type as the obtained message after the coding and decoding unit processes the received data stream;
the communication unit is also used for transmitting the generated message to the client;
the encoding and decoding unit is used for processing the message to be sent through the obtained encoding mode and the message protocol parameter when the client sends the message to the message repeater;
and the communication unit is also used for sending the message to the repeater through the created logic channel.
Further, the connection mode includes: a transmission control protocol TCP connection or a serial physical interface standard RS232 connection.
Further, the configuration unit is further configured to:
when the connection mode is TCP connection, setting parameters for establishing TCP connection with the rebroadcasting machine; wherein the parameters include: host IP address and port number;
when the connection mode is RS232 connection, setting parameters for establishing RS232 connection with the repeater; wherein the parameters include: serial port name, baud rate, data bit, stop bit.
Further, the communication unit is specifically configured to:
when the connection mode is TCP connection, a TCP logical channel is established;
when the connection mode is RS232 connection, an RS232 logical channel is created.
Further, the message types include: an aeronautical fixed telecommunications network AFTN type or an international telecommunications association SITA type.
Further, the encoding method includes: ITA-2 encoding or IA-5 encoding;
the decoding method comprises the following steps: ITA-2 decoding or IA-5 decoding.
Further, the message protocol parameters include: a message start character and an end character.
Further, when monitoring the message sent by the relay transmitter, the encoding and decoding unit is specifically configured to:
acquiring a decoding mode and message protocol parameters of the repeater according to the acquired identity of the repeater;
decoding the data stream of the received message according to the obtained decoding mode and the message protocol parameter to obtain a character string of the message; and the number of the first and second groups,
the report decoding and report combining unit is specifically used for analyzing the character strings of the obtained messages to obtain the content of the messages;
and generating a message with the same type as the obtained message according to the type of the obtained message and the content of the message obtained after analysis.
Further, when the client sends a message to the report forwarding machine, the report decoding and reporting unit is specifically used for acquiring the content of the message to be sent, and performing reporting on the content of the acquired message according to the type of the acquired message; and the number of the first and second groups,
and the coding and decoding unit is specifically used for coding the packet after being grouped and reported according to the obtained coding mode and the message protocol parameters to obtain the byte stream of the packet.
The technical scheme of the invention comprises the following steps: acquiring appointed configuration parameters of each newspaper transferring machine; wherein, the appointed configuration parameters comprise: identity mark, connection mode, message type, coding mode, decoding mode and message protocol parameter of the repeater; according to the obtained connection mode of the repeater, a logical channel corresponding to the connection mode is established; when a message sent by a relay transmitter is monitored, receiving a data stream of the message, processing the received data stream according to the obtained identity identifier, decoding mode and message protocol parameters of the relay transmitter, and then generating a message with the same type as the obtained message; transmitting the generated message to a client; when the client sends the message to the message forwarding machine, the message to be sent is processed through the obtained coding mode and the message protocol parameters and then is sent to the message forwarding machine through the created logic channel. According to the invention, the message is processed according to different coding and decoding modes and different message types, so that the problems of connection diversity, message type diversity and coding and decoding mode diversity can be solved; meanwhile, the invention can solve the problem of diversity of the rebroadcasting machine according to the processing of the message protocol parameters and the coding/decoding mode. Therefore, the technical scheme of the invention is suitable for various network environments, various message types and encoding modes, and uniformly and quickly realizes the relevant functions of civil aviation message exchange such as message processing, message receiving and message sending.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a flow chart of a method for implementing civil aviation message processing according to the present invention;
fig. 2 is a schematic structural diagram of the device for implementing civil aviation message processing according to the present invention.
Detailed Description
The accompanying drawings are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the example serve to explain the principles of the invention and not to limit the invention.
Fig. 1 is a flowchart of a method for implementing civil aviation message processing according to the present invention, as shown in fig. 1, including the following steps:
step 101: acquiring appointed configuration parameters of each newspaper transferring machine; wherein, the appointed configuration parameters comprise: identity mark, connection mode, message type, coding mode, decoding mode and message protocol parameter of the repeater.
Wherein, the connected mode includes: a Transmission Control Protocol (TCP) connection or a serial physical interface standard (RS232) connection.
The message types include: an Aeronautical Fixed Telecommunications Network (AFTN) type or an international telecommunications association (SITA) type.
The encoding method comprises the following steps: ITA-2 encoding or IA-5 encoding; and the number of the first and second groups,
the decoding method comprises the following steps: ITA-2 decoding or IA-5 decoding.
The message protocol parameters include: a message start character and an end character.
Further, the method further comprises: when the connection mode is TCP connection, setting parameters for establishing TCP connection with the rebroadcasting machine; wherein the parameters include: host IP address and port number;
when the connection mode is RS232 connection, setting parameters for establishing RS232 connection with the repeater; wherein the parameters include: serial port name, baud rate, data bit, stop bit.
Step 102: and according to the obtained connection mode of the repeater, creating a logical channel corresponding to the connection mode.
The method specifically comprises the following steps: when the connection mode is TCP connection, a TCP logical channel is established;
when the connection mode is RS232 connection, an RS232 logical channel is created.
It should be noted that, creating the logical channel corresponding to the connection mode belongs to the conventional technical means known to those skilled in the art, and is not used to limit the method of the present invention, and will not be described herein again. The logical channel uses an abstract method of object-oriented design to encapsulate the difference of different protocol connections, and unifies the creation modes of the different protocol connections; abstract approaches to object-oriented design are also conventional technical approaches well known to those skilled in the art.
Step 103: when a message sent by a relay transmitter is monitored, receiving a data stream of the message, processing the received data stream according to the obtained identity identifier, decoding mode and message protocol parameters of the relay transmitter, and then generating a message with the same type as the obtained message; transmitting the generated message to a client; when the client sends the message to the message forwarding machine, the message to be sent is processed through the obtained coding mode and the message protocol parameters and then is sent to the message forwarding machine through the created logic channel.
When monitoring the message sent by the relay transmitter, receiving the data stream of the message, processing the received data stream according to the obtained identity identifier, decoding mode and message protocol parameter of the relay transmitter, and generating the message with the same type as the obtained message, wherein the method comprises the following steps:
acquiring a decoding mode and message protocol parameters of the repeater according to the acquired identity of the repeater;
decoding the data stream of the received message according to the obtained decoding mode and the message protocol parameter to obtain a character string of the message;
analyzing the character string of the obtained message to obtain the content of the message;
and generating a message with the same type as the obtained message according to the type of the obtained message and the content of the message obtained after analysis.
It should be noted that, for an AFTN type message, the message content is analyzed into attribute elements according to the AFTN message format specification, and this process is called a report resolution; the process of assembling the attribute elements into message contents is called as group report, i.e. the process of generating messages. For the SITA type message, the message content is analyzed into attribute elements according to the SITA message format specification, and the process is called report resolution; the process of assembling the attribute elements into message contents is called as group report, i.e. the process of generating messages. How to interpret and group report is a conventional technical means known to those skilled in the art, and is not intended to limit the present invention, and is not described herein.
When the client sends a message to the message repeater, the message to be sent is processed through the obtained coding mode and the message protocol parameters, and the processing method comprises the following steps:
acquiring the content of a message to be sent, and reporting the content of the acquired message according to the type of the acquired message;
and according to the obtained coding mode and the message protocol parameters, coding the message after packet report to obtain the byte stream of the message.
It should be noted that the message sent by the client to the relay machine includes the identity of the relay machine, so that the encoding mode and the message protocol parameter of the relay machine need to be acquired according to the identity of the relay machine in the message, and then the message to be sent by the client is processed.
Wherein, the client includes: a special message terminal or a civil aviation service system.
It should be noted that, in the present invention, by processing the packet according to different encoding and decoding modes and different packet types, the problems of connection diversity, packet type diversity and encoding and decoding mode diversity can be solved; meanwhile, for different relay devices, messages with the same encoding/decoding mode may have different initial symbols and end symbols. How to set the start symbol and the end symbol of the message according to the type of the forwarder belongs to the conventional technical means in the field, and is not used to limit the present invention, and the details are not described herein.
Fig. 2 is a schematic structural diagram of an apparatus for implementing civil aviation message processing according to the present invention, as shown in fig. 2, including: a configuration unit, a communication unit, a de-reporting and a grouping unit and an encoding and decoding unit. Wherein,
the configuration unit is used for acquiring the appointed configuration parameters of each report forwarding machine; wherein, the appointed configuration parameters comprise: identity mark, connection mode, message type, coding mode, decoding mode and message protocol parameter of the repeater.
The communication unit is used for establishing a logic channel corresponding to the connection mode according to the obtained connection mode of the repeater; and the monitoring module is also used for monitoring the message sent by the relay transmitter and receiving the data stream of the message when the message sent by the relay transmitter is monitored.
And the coding and decoding unit is used for processing the received data stream according to the identity identifier, the decoding mode and the message protocol parameters of the repeater, which are obtained by the configuration unit, after the communication unit receives the data stream of the message.
And the report decoding and grouping unit is used for generating the message with the same type as the obtained message after the coding and decoding unit processes the received data stream.
And the communication unit is also used for transmitting the generated message to the client.
And the coding and decoding unit is used for processing the message to be sent according to the obtained coding mode and the message protocol parameter when the client sends the message to the message repeater.
And the communication unit is also used for sending the message to the repeater through the created logic channel.
Wherein, the connected mode includes: a Transmission Control Protocol (TCP) connection or a serial physical interface standard (RS232) connection.
The message types include: an Aeronautical Fixed Telecommunications Network (AFTN) type or an international telecommunications association (SITA) type.
The encoding method comprises the following steps: ITA-2 encoding or IA-5 encoding; and the number of the first and second groups,
the decoding method comprises the following steps: ITA-2 decoding or IA-5 decoding.
The message protocol parameters include: a message start character and an end character.
Wherein, the communication unit is specifically configured to:
when the connection mode is TCP connection, setting parameters for establishing TCP connection with the rebroadcasting machine; wherein the parameters include: host IP address and port number;
when the connection mode is RS232 connection, setting parameters for establishing RS232 connection with the repeater; wherein the parameters include: serial port name, baud rate, data bit, stop bit.
Wherein, the communication unit is specifically configured to:
when the connection mode is TCP connection, a TCP logical channel is established;
when the connection mode is RS232 connection, an RS232 logical channel is created.
When monitoring the message sent by the repeater, the encoding and decoding unit is specifically configured to:
acquiring a decoding mode and message protocol parameters of the repeater according to the acquired identity of the repeater;
decoding the data stream of the received message according to the obtained decoding mode and the message protocol parameter to obtain a character string of the message; and the number of the first and second groups,
the report decoding and report combining unit is specifically used for analyzing the character strings of the obtained messages to obtain the content of the messages;
and generating a message with the same type as the obtained message according to the type of the obtained message and the content of the message obtained after analysis.
When the client sends a message to the report forwarding machine, the report decoding and report assembling unit is specifically used for acquiring the content of the message to be sent and assembling the content of the acquired message according to the type of the acquired message; and the number of the first and second groups,
and the coding and decoding unit is specifically used for coding the packet after being grouped and reported according to the obtained coding mode and the message protocol parameters to obtain the byte stream of the packet.
This subassembly is located the client, and wherein the client includes: a civil aviation service system and a special message terminal. Since the component is located in the client, when the message sent by the message forwarding machine is monitored, the component transmits the generated message to the client instead of sending the message to the client.
It should be noted that a message detector may be added to the communication unit, and is used to detect whether there is a message sent by the repeater or not through the logical channel created by the communication unit. In addition, the device can be arranged in the client side, or can be used as an independent device to connect the client side and the switching machine.
The technical solution of the present invention is described in detail with reference to the specific examples below.
In this embodiment, the components of the present invention are explained by taking the example that the agreed configuration parameters of the relay machine are TCP connection, AFTN message, and ITA-2 encoding/decoding. With reference to fig. 2, the specific implementation includes:
firstly, setting parameters for establishing TCP connection with a relay transmitter and an AFTN message protocol according to the agreed configuration of the relay transmitter; wherein the parameters include: host IP address and port number. And sending the set parameters of the TCP connection and the message protocol to a communication unit to create a TCP logical channel. A message listener is created at the communication unit and added to the TCP logical channel. Then, connecting the switching machine through a TCP logical channel, receiving the data stream of the message when monitoring the message sent by the switching machine, carrying out ITA-2 decoding on the digital stream of the message, then analyzing to obtain the content of the message, and carrying out group report on the content of the message obtained after analysis according to the AFTN type; and transmitting the messages after the group report to the client. When a client sends a message to a message forwarding machine, acquiring the content of the message to be sent, and performing group reporting on the content of the acquired message according to the acquired AFTN type; according to the obtained coding mode ITA-2 and the AFTN message protocol, coding the message after being grouped and reported to obtain a byte stream of the message; and sending the obtained byte stream to a repeater through the created logical channel.
It will be understood by those skilled in the art that all or part of the steps of the above methods may be implemented by instructing the relevant hardware through a program, and the program may be stored in a computer readable storage medium, such as a read-only memory, a magnetic or optical disk, and the like. Alternatively, all or part of the steps of the above embodiments may be implemented using one or more integrated circuits. Accordingly, each module/unit in the above embodiments may be implemented in the form of hardware, and may also be implemented in the form of a software functional module. The present application is not limited to any specific form of hardware or software combination.
Although the embodiments of the present invention have been described above, the above description is only for the convenience of understanding the present invention, and is not intended to limit the present invention. It will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (16)

1. A method for realizing civil aviation message processing is characterized by comprising the following steps:
acquiring appointed configuration parameters of each newspaper transferring machine; wherein, the appointed configuration parameters comprise: identity mark, connection mode, message type, coding mode, decoding mode and message protocol parameter of the repeater;
according to the obtained connection mode of the repeater, a logical channel corresponding to the connection mode is established;
when monitoring the message sent by the relay transmitter, receiving the data stream of the message, processing the received data stream according to the obtained identity identifier, decoding mode and message protocol parameter of the relay transmitter, and generating the message with the same type as the obtained message, wherein the method comprises the following steps:
acquiring a decoding mode and message protocol parameters of the repeater according to the acquired identity of the repeater;
decoding the received data stream of the message according to the obtained decoding mode and the message protocol parameter to obtain the character string of the message;
analyzing the obtained character string of the message to obtain the content of the message;
generating a message with the same type as the obtained message according to the obtained message type and the content of the message obtained after analysis; transmitting the generated message to a client;
when the client sends the message to the message forwarding machine, the message to be sent is processed through the obtained coding mode and the message protocol parameters and then is sent to the message forwarding machine through the created logic channel.
2. The method of claim 1, wherein the connecting means comprises: a transmission control protocol TCP connection or a serial physical interface standard RS232 connection.
3. The method of claim 2, further comprising:
when the connection mode is TCP connection, setting parameters for establishing TCP connection with the rebroadcasting machine; wherein the parameters include: host IP address and port number;
when the connection mode is RS232 connection, setting parameters for establishing RS232 connection with the repeater; wherein the parameters include: serial port name, baud rate, data bit, stop bit.
4. The method according to claim 1 or 2, wherein the creating a logical channel corresponding to the connection mode according to the obtained connection mode of the switching machine comprises:
when the connection mode is TCP connection, a TCP logical channel is established;
when the connection mode is RS232 connection, an RS232 logical channel is created.
5. The method of claim 1, wherein the packet types include: an aeronautical fixed telecommunications network AFTN type or an international telecommunications association SITA type.
6. The method of claim 1, wherein the encoding comprises: ITA-2 encoding or IA-5 encoding;
the decoding method comprises the following steps: ITA-2 decoding or IA-5 decoding.
7. The method of claim 1, wherein the messaging protocol parameters comprise: a message start character and an end character.
8. The method according to any one of claims 5 to 7, wherein the processing the message to be sent according to the obtained encoding mode and message protocol parameter comprises:
acquiring the content of a message to be sent, and reporting the content of the acquired message according to the type of the acquired message;
and according to the obtained coding mode and the message protocol parameters, coding the message after packet report to obtain the byte stream of the message.
9. A device for realizing civil aviation message processing is characterized by comprising: a configuration unit, a communication unit, a report decoding and grouping unit and an encoding and decoding unit; wherein,
the configuration unit is used for acquiring the appointed configuration parameters of each report forwarding machine; wherein, the appointed configuration parameters comprise: identity mark, connection mode, message type, coding mode, decoding mode and message protocol parameter of the repeater;
the communication unit is used for establishing a logic channel corresponding to the connection mode according to the obtained connection mode of the repeater; the monitoring system is also used for monitoring the message sent by the relay transmitter, and receiving the data stream of the message when the message sent by the relay transmitter is monitored;
an encoding and decoding unit, configured to, when monitoring a packet sent by a relay transmitter, specifically:
acquiring a decoding mode and message protocol parameters of the repeater according to the acquired identity of the repeater;
decoding the received data stream of the message according to the obtained decoding mode and the message protocol parameter to obtain the character string of the message; and the number of the first and second groups,
the report decoding and report combining unit is specifically configured to parse the obtained character string of the message to obtain the content of the message;
generating a message with the same type as the obtained message according to the obtained message type and the content of the message obtained after analysis;
after the communication unit receives the data stream of the message, the received data stream is processed according to the identity, the decoding mode and the message protocol parameters of the relay machine obtained by the configuration unit;
a report decoding and report combining unit, configured to generate a message of the same type as the obtained message after the coding and decoding unit processes the received data stream;
the communication unit is also used for transmitting the generated message to the client;
the encoding and decoding unit is used for processing the message to be sent through the obtained encoding mode and the message protocol parameter when the client sends the message to the message forwarding machine;
and the communication unit is also used for sending the message to the repeater through the created logic channel.
10. The apparatus of claim 9, wherein the connection means comprises: a transmission control protocol TCP connection or a serial physical interface standard RS232 connection.
11. The apparatus of claim 10, wherein the configuration unit is further configured to:
when the connection mode is TCP connection, setting parameters for establishing TCP connection with the rebroadcasting machine; wherein the parameters include: host IP address and port number;
when the connection mode is RS232 connection, setting parameters for establishing RS232 connection with the repeater; wherein the parameters include: serial port name, baud rate, data bit, stop bit.
12. The apparatus according to claim 9 or 10, wherein the communication unit is specifically configured to:
when the connection mode is TCP connection, a TCP logical channel is established;
when the connection mode is RS232 connection, an RS232 logical channel is created.
13. The apparatus of claim 9, wherein the packet types comprise: an aeronautical fixed telecommunications network AFTN type or an international telecommunications association SITA type.
14. The apparatus of claim 9, wherein the encoding comprises: ITA-2 encoding or IA-5 encoding;
the decoding method comprises the following steps: ITA-2 decoding or IA-5 decoding.
15. The apparatus of claim 9, wherein the messaging protocol parameters comprise: a message start character and an end character.
16. The apparatus according to any one of claims 13 to 15, wherein when the client sends a message to the relay machine, the report decoding and grouping unit is specifically configured to obtain the content of the message to be sent, and group-report the obtained content of the message according to the obtained message type; and the number of the first and second groups,
the encoding and decoding unit is specifically configured to encode the packet after being configured to obtain the byte stream of the packet according to the obtained encoding mode and the packet protocol parameter.
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
CN111083161A (en) Data transmission processing method and device and Internet of things equipment
Bora et al. OSI reference model: An overview
CN101841441B (en) Test method and system for flow control device and data stream playback device
CN108881302A (en) Industrial Ethernet and BLVDS bus bar communication device and industrial control system
CN102480420A (en) Message sending method as well as message receiving method, device and system
CN107835102B (en) Method for decomposing protocol characteristics and decomposing fuzzy test
CN108093041A (en) Single channel VDI proxy servers and implementation method
CN102255906A (en) Data transmission and receiving methods, equipment and systems
CN105721101B (en) A kind of method and device for realizing civil aviaton's Message processing
CN105551220A (en) Remote data acquisition method for dry dust removal of converter gas
CN112737995B (en) Method, device and equipment for processing Ethernet frame and storage medium
CN109688071B (en) Flexible Ethernet message forwarding method and device
JP5940632B2 (en) Network grouping system and network grouping method
CN104702596A (en) Method and system for hiding and transmitting information based on data packet length
CN101309154B (en) Datagram sending method, sending apparatus and transmission system
CN103036984B (en) One-way flow detection method and network equipment
CN104717109A (en) Simulation testing method and system for wide area network links
CN103209041A (en) Data collection method for GSM-R (Global System for Mobile for Railways) network interface
CN106888121B (en) A kind of 1553B bus protocol emulation mode based on transmission of data blocks
CN108173699B (en) CPU high-efficiency processing method based on Marvell exchange chip when obtaining message source port
CN104994180A (en) Method for acquiring equipment management IP address
CN109600837B (en) System information generation method and device
CN101510901A (en) Communication method, communication apparatus and system between distributed equipment
Villegas Fronthaul Modelling for 5G Systems
CN102752291B (en) The data processing method of a kind of ALG and RTSP service 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