CN-116781132-B - Method, system, equipment and storage medium for data communication path-finding of Tiantong equipment
Abstract
The invention provides a data communication path-finding method, a system, equipment and a storage medium of a Tiantong device, wherein the method comprises the steps of executing a first calling operation or a second calling operation; the first calling operation is to initiate a connection request of a voice channel to the opposite terminal, transmit the communication address of the own station to the opposite terminal in a digital signal mode through the voice channel and receive the communication address of the opposite terminal, disconnect the voice channel connection, the second calling operation is to initiate a connection request of the voice channel to the opposite terminal, transmit the communication address of the own station to the opposite terminal in a dual-tone multi-frequency signal mode through the voice channel and receive the communication address of the opposite terminal, disconnect the voice channel connection, and execute a handshake operation, namely, initiate a handshake request to the opposite terminal according to the communication address of the opposite terminal through a Tiantong data channel to establish a data transmission link, and perform data transmission with the opposite terminal through the Tiantong data channel. The method effectively solves the problem that IP data communication addressing fails when no intermediate server is set up between the Tiantong terminals, and ensures the reliability of data transmission.
Inventors
- HE XIANG
- LIN JIAQUN
- HUANG ZENGSHENG
- WEN SHUO
Assignees
- 广州海格通信集团股份有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20220311
Claims (11)
- 1. A method for data communication routing of a space communication device, comprising: Executing a first call operation or a second call operation; The first calling operation is to initiate a connection request of a voice channel to the opposite terminal according to the communication number of the opposite terminal, after the voice channel is successfully connected, the communication address of the home station is transmitted to the opposite terminal in a digital signal mode through the voice channel, and after the opposite terminal communication address transmitted by the opposite terminal is received through the voice channel, the connection of the voice channel is disconnected; The second call operation is that a connection request of the voice channel is initiated to the opposite terminal according to the communication number of the opposite terminal, after the voice channel is successfully connected, the communication address of the home station is transmitted to the opposite terminal in a dual-tone multi-frequency signal mode through the voice channel, and after the communication address of the opposite terminal transmitted by the opposite terminal is received through the voice channel, the connection of the voice channel is disconnected; performing a handshake operation; And the handshake operation is to initiate a handshake request to the opposite terminal through a Tiantong data channel according to the opposite terminal communication address so as to establish a data transmission link, and perform data transmission with the opposite terminal through the Tiantong data channel after the data transmission link is successfully established.
- 2. The method according to claim 1, wherein the handshaking operation further comprises, after the data transmission link is established successfully, establishing a mapping relationship between the communication number of the opposite terminal and the opposite terminal communication address obtained through the voice channel, or updating the opposite terminal communication address having established a mapping relationship with the communication number of the opposite terminal; Before executing the first call operation or the second call operation, determining whether the communication number of the opposite terminal has the opposite terminal communication address with the established mapping relation, if yes, not executing the first call operation or the second call operation, directly executing the handshake operation according to the opposite terminal communication address with the established mapping relation, and if no, executing the first call operation or the second call operation.
- 3. The method according to claim 2, wherein the handshaking operation further comprises recording a mapping time when the mapping relationship is established or updated after establishing the mapping relationship between the communication number of the opposite terminal and the opposite terminal communication address acquired through the voice channel or updating the opposite terminal communication address having established the mapping relationship with the communication number of the opposite terminal; when determining that the communication number of the opposite terminal has the opposite terminal communication address with the established mapping relation, the method specifically comprises the following steps: Determining whether the mapping time of the record corresponding to the established mapping relation exceeds a preset time threshold, if so, executing the first calling operation or the second calling operation; if not, the first calling operation or the second calling operation is not executed, and the handshake operation is directly executed according to the opposite-end communication address of the established mapping relation.
- 4. The method according to claim 2, wherein in the handshake operation, if the data transmission link fails to be established, deleting the mapping relation corresponding to the communication number of the opposite terminal, and redefining whether the communication number of the opposite terminal has the opposite terminal communication address of the mapping relation.
- 5. The method for routing data traffic for a space communication device according to claim 4, wherein, Deleting the corresponding established mapping relation of the communication number of the opposite terminal, and redefining whether the communication number of the opposite terminal has the opposite terminal communication address with the established mapping relation or not, wherein the method specifically comprises the following steps: Deleting the corresponding established mapping relation of the communication number of the opposite terminal, adding one to the failure times, determining whether the failure times exceed a preset failure times threshold, if not, re-determining whether the communication number of the opposite terminal has the opposite terminal communication address with the established mapping relation, and if so, ending the method.
- 6. The method for data communication routing of the space communication device according to any one of claims 1 to 5, wherein, Before executing the first call operation or the second call operation, the method further comprises: Judging whether the voice channel supports the transmission of the custom data, if so, executing the first calling operation, and if not, executing the second calling operation; In the first call operation, the communication address of the local station is transmitted to the opposite terminal in a digital signal manner through the voice channel, and the opposite terminal communication address transmitted by the opposite terminal is received through the voice channel, which specifically includes: Encapsulating a home station communication address by using a serial line internet protocol to obtain a home station communication address frame, transmitting the home station communication address frame to the opposite terminal in a digital signal mode, and receiving the opposite terminal communication address frame transmitted by the opposite terminal through the voice channel to obtain an opposite terminal communication address of the opposite terminal; the opposite-end communication address frame is obtained after the opposite-end communication address is encapsulated by the serial line internet protocol; in the second call operation, the communication address of the home station is transmitted to the opposite terminal in a dual-tone multi-frequency signal mode through the voice channel, and the opposite terminal communication address transmitted by the opposite terminal is received through the dual-tone multi-frequency channel, which specifically comprises: Encapsulating a home station communication address in a custom format to obtain a home station address communication address frame, generating a dual-tone multi-frequency signal bearing the home station communication address frame, transmitting the dual-tone multi-frequency signal bearing the home station communication address frame to the opposite terminal, and receiving the dual-tone multi-frequency signal bearing the opposite terminal communication address frame transmitted by the opposite terminal through the voice channel to obtain an opposite terminal communication address of the opposite terminal; the opposite terminal communication address frame is obtained by encapsulating the opposite terminal communication address in a custom format.
- 7. The method for routing data traffic for a space communication device according to claim 6, wherein, Encapsulating the communication address of the own station by using a serial line internet protocol to obtain a communication address frame of the own station, which specifically comprises the following steps: Encapsulating the communication address of the self station by using a serial line Internet protocol, and taking 0xC0 or 0x7E as the frame head and the frame tail of the communication address frame of the self station; When 0xC0 is used as the frame header and the frame tail, if the 0xC0 exists in the content of the communication address frame of the own station, the 0xC0 is converted into continuous 0xDB and 0xDC, and if the 0xDB exists in the content of the communication address frame of the own station, the 0xDB is converted into continuous 0xDB and 0xDD; when 0x7E is used as the frame header and the frame end, if the 0x7E is included in the content of the own station communication address frame, the 0x7E is converted into continuous 0x7D and 0x5E, and if the 0x7D is included in the content of the own station communication address frame, the 0x7D is converted into continuous 0x7D and 0x5D.
- 8. The data communication path-finding system of the Tiantong equipment is characterized by comprising a Tiantong communication module and a main processing module; the communication module is connected with the main processing module; The communication module is used for realizing interaction between the main processing module and the opposite terminal through a communication satellite, and providing a communication voice channel data transmission function and a communication data channel data transmission function; The main processing module is used for initiating a connection request of the voice channel to the opposite terminal according to the communication number of the opposite terminal, transmitting a communication address of the home station to the opposite terminal in a digital signal mode through the voice channel after the voice channel is successfully connected, and disconnecting the voice channel after receiving the opposite terminal communication address transmitted by the opposite terminal through the voice channel; the main processing module is also used for initiating handshake to the opposite terminal through a Tiantong data channel according to the opposite terminal communication address to establish a data transmission link, and carrying out data transmission with the opposite terminal through the Tiantong data channel after the data transmission link is successfully established.
- 9. The data communication path-finding system of the Tiantong equipment is characterized by comprising a Tiantong communication module, a main processing module and a dual-tone multi-frequency signal generating module; The Tiantong communication module is connected with the main processing module, and the dual-tone multi-frequency signal generation module is respectively connected with the main processing module and the Tiantong communication module; The communication module is used for realizing interaction between the main processing module, the dual-tone multi-frequency signal generating module and the opposite terminal through a communication satellite, and providing a communication voice channel data transmission function and a communication data channel data transmission function; The main processing module is used for initiating a connection request of a voice channel to the opposite terminal according to the communication number of the opposite terminal, and transmitting the communication address of the local station to the dual-tone multi-frequency signal generating module in a digital signal mode after the voice channel is successfully connected; The dual-tone multi-frequency signal generation module is used for transmitting the communication address of the home station to the opposite terminal in a dual-tone multi-frequency signal mode through the voice channel, receiving the opposite terminal communication address transmitted by the opposite terminal through the voice channel and transmitting the opposite terminal communication address to the main processing module; the main processing module is also used for disconnecting the voice channel after receiving the opposite-end communication address; the main processing module is also used for initiating handshake to the opposite terminal through a Tiantong data channel according to the opposite terminal communication address to establish a data transmission link, and carrying out data transmission with the opposite terminal through the Tiantong data channel after the data transmission link is successfully established.
- 10. An embedded device comprising a memory and a processor, wherein the memory stores an embedded program, and the embedded device is characterized in that the processor implements the data communication routing method of the space communication device according to any one of claims 1 to 7 when executing the embedded program.
- 11. An embedded device readable storage medium, on which an embedded device program is stored, characterized in that the embedded device program, when executed by a processor, implements the method for routing data communication of a space communication device according to any one of claims 1 to 7.
Description
Method, system, equipment and storage medium for data communication path-finding of Tiantong equipment Technical Field The present invention relates to the field of communication, and more particularly, to a data communication routing method, system, device and storage medium for a communication device. Background The Tiantong number one satellite mobile communication system is a satellite mobile communication system which is independently developed and built in China and consists of a space section, a ground section and Tiantong terminal equipment. The space section is a satellite transponder, and the ground section comprises a ground main station, a network control center and a satellite control center, wherein the ground main station is also called a gateway station or a gateway station and is responsible for switching public telephone switching network, cellular communication network and mobile satellite communication network. The Tiantong terminal equipment is accessed into a mobile satellite communication network through the ground section to carry out mobile communication. The Tiantong number one satellite communication link generally supports three channels of voice channels, short message channels and data channels for data transmission. The Tiantong terminal equipment adopting the short message mode for communication adopts the telephone number as a target address to communicate with the opposite terminal, and has the defects that only short message data packets with the byte not more than 140 can be sent each time, the real-time performance of the short message is poor, and the arrival time of the short message can not be predicted when the network is busy. The Tiantong terminal adopting the voice channel communication also adopts the telephone number as the target address to communicate with the opposite terminal, and the method has good instantaneity, and has the defects that the channel speed is limited to 2.4kbps, the bandwidth is narrow, the communication process must be kept online, the cost is high, and each communication can only be point-to-point and networking cannot be performed. Therefore, among the three data transmission channels, the data channel is most commonly used, and is also called as a Tiantong data channel, and the data transmission mode is adopted to be suitable for data communication between the Tiantong terminal and the internet, the channel speed is generally 9.6kbps, and the speed of some special devices can reach 384kbps. The Internet adopts a fixed IP or domain name as a target address, and the Tiantong terminal is connected to the server for bidirectional data communication. Because the IP address after the data channel link establishment is not fixed after the Tiantong one-number terminal accesses the network, the Tiantong terminal device needs to register with an intermediate server with an independent IP address under normal conditions, and when the Tiantong terminals communicate with each other, the two-way point-to-point communication is realized by addressing through the intermediate server. However, in some special application occasions, the intermediate server is inconvenient to set due to safety factors and the like, or in the occasion that the intermediate server cannot be set due to some factors, the problem that the address of the IP address fails when the Tiantong terminal performs point-to-point intercommunication through the data path exists. Disclosure of Invention The invention aims to overcome at least one defect of the prior art and provides a data communication path-finding method, a system, equipment and a storage medium of a Tiantong device, which are used for solving the problem that an IP address addressing fails when a Tiantong terminal does not transmit data through an intermediate server. The technical scheme adopted by the invention comprises the following steps: The invention provides a data communication path searching method of a Tiantong device, which comprises the steps of executing a first calling operation or a second calling operation, wherein the first calling operation is to initiate a connection request of a voice channel to an opposite end according to a communication number of the opposite end, after the voice channel is successfully connected, transmitting a local station communication address to the opposite end in a digital signal mode through the voice channel, and after receiving the opposite end communication address transmitted by the opposite end through the voice channel, disconnecting the voice channel, the second calling operation is to initiate a connection request of the voice channel to the opposite end according to the communication number of the opposite end, after the voice channel is successfully connected, transmitting the local station communication address to the opposite end in a dual-tone multi-frequency signal mode through the voice channel, and after receiving the opposite end communication address tr