Tiantong device data communication routing method, system, device and storage medium

By exchanging communication addresses through the voice channel of the Tiantong terminal and establishing a data transmission link using the Tiantong data channel, the problem of IP address addressing failure of the Tiantong terminal in the absence of an intermediate server is solved, and efficient point-to-point communication is achieved.

CN116781132BActive Publication Date: 2026-05-12GUANGZHOU HAIGE COMMUNICATION GROUP INCORPORATED COMPANY
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
GUANGZHOU HAIGE COMMUNICATION GROUP INCORPORATED COMPANY
Filing Date
2022-03-11
Publication Date
2026-05-12

AI Technical Summary

Technical Problem

When TianTong terminals transmit data without going through an intermediate server, they experience IP address addressing failures.

Method used

After exchanging communication addresses through the voice channel between Tiantong terminals and transmitting the Internet Protocol addresses of the local station and the peer through the voice channel, the connection is disconnected, and a handshake request is initiated through the Tiantong data channel to establish a data transmission link.

Benefits of technology

Without an intermediate server, point-to-point communication between Tiantong terminals was achieved, improving data transmission efficiency and success rate, and it is applicable to different types of Tiantong devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116781132B_ABST
    Figure CN116781132B_ABST
Patent Text Reader

Abstract

The application provides a method, system, device and storage medium for data communication routing of a trunking device, which comprises: performing a first call operation or a second call operation; the first call operation is a connection request for initiating a voice channel to a peer end, a communication address of a local station is transmitted to the peer end in a digital signal mode through the voice channel, a communication address of the peer end is received, and the voice channel is disconnected; the second call operation is a connection request for initiating a voice channel to a peer end, a communication address of a local station is transmitted to the peer end in a dual-tone multi-frequency signal mode through the voice channel, a communication address of the peer end is received, and the voice channel is disconnected; performing a handshake operation: a handshake request is initiated to the peer end through a trunking data channel according to the communication address of the peer end to establish a data transmission link, and data transmission is performed with the peer end through the trunking data channel. The method effectively solves the problem of IP data communication addressing failure between trunking terminals without setting up an intermediate server, and ensures the reliability of data transmission.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of Tiantong communication, and more specifically, to a data communication routing method, system, device, and storage medium for Tiantong equipment. Background Technology

[0002] The Tiantong-1 satellite mobile communication system is an independently developed and constructed satellite mobile communication system in China, consisting of a space segment, a ground segment, and Tiantong terminal equipment. The space segment comprises satellite transponders, while the ground segment includes a ground master station, a network control center, and a satellite control center. The ground master station, also known as a gateway station, is responsible for switching between the public telephone exchange, cellular communication networks, and mobile satellite communication networks. Tiantong terminal equipment accesses the mobile satellite communication network through the ground segment for mobile communication.

[0003] The Tiantong-1 satellite communication link generally supports three channels for data transmission: voice channel, SMS channel, and data channel.

[0004] The Tiantong terminal equipment, which uses SMS for communication, uses the phone number as the target address to communicate with the other end. The disadvantage is that each SMS data packet can only be sent with a maximum of 140 bytes, and the SMS real-time performance is poor. When the network is busy, the arrival time of the SMS cannot be predicted.

[0005] The Tiantong terminal, which uses voice channel communication, also uses telephone numbers as the target address to communicate with the other end. This method has good real-time performance, but its disadvantages are that the channel rate is limited to 2.4kbps, the bandwidth is narrow, and it must remain online during the call, which is expensive. In addition, each communication can only be point-to-point and cannot form a network.

[0006] Therefore, among the three data transmission channels, the most commonly used is the data channel, also known as the Tiantong data channel. This data channel transmission method is suitable for data communication between Tiantong terminals and the Internet. The channel rate is generally 9.6kbps, with some special devices reaching speeds up to 384kbps. The Internet uses a fixed IP address or domain name as the target address, and the Tiantong terminal connects to the server for bidirectional data communication. Since the IP address of the Tiantong-1 terminal after establishing a data channel link is not fixed after network access, Tiantong terminal devices typically need to register with an intermediate server with an independent IP address. When Tiantong terminals communicate with each other, they use the intermediate server for addressing to achieve bidirectional point-to-point communication. However, in some special application scenarios, due to security considerations or other reasons, it is inconvenient to set up an intermediate server, or other factors prevent the setup of an intermediate server. In such cases, Tiantong terminals may experience IP address addressing failures when communicating point-to-point via the data channel. Summary of the Invention

[0007] This invention aims to overcome at least one of the defects of the prior art and provides a data communication routing method, system, device and storage medium for Tiantong devices, which solves the problem of IP address addressing failure when Tiantong terminals transmit data without going through an intermediate server.

[0008] The technical solution adopted in this invention includes:

[0009] In a first aspect, the present invention provides a data communication routing method for a Tiantong device, comprising: performing a first call operation or a second call operation; the first call operation comprising: initiating a voice channel connection request to the peer based on the peer's communication number; after the voice channel connection is successful, transmitting the local station's communication address to the peer via the voice channel in digital signal mode; and disconnecting the voice channel connection after receiving the peer's communication address transmitted by the peer via the voice channel; the second call operation comprising: initiating a voice channel connection request to the peer based on the peer's communication number; after the voice channel connection is successful, transmitting the local station's communication address to the peer via the voice channel in dual-tone multi-frequency (DTMF) signal mode; and disconnecting the voice channel connection after receiving the peer's communication address transmitted by the peer via the voice channel; and performing a handshake operation; the handshake operation comprising: initiating a handshake request to the peer via the Tiantong data channel based on the peer's communication address to establish a data transmission link; and transmitting data with the peer via the Tiantong data channel after the data transmission link is successfully established.

[0010] Secondly, the present invention provides a Tiantong equipment data communication routing system, comprising: a Tiantong communication module and a main processing module; the Tiantong communication module is connected to the main processing module; the Tiantong communication module is responsible for realizing the interaction between the main processing module and the peer via Tiantong satellite, providing Tiantong voice channel data transmission function and Tiantong data channel data transmission function; the main processing module is used to initiate a connection request for the voice channel to the peer based on the peer's communication number, and after the voice channel connection is successful, transmit the local communication address to the peer in digital signal form through the voice channel, and disconnect the voice channel connection after receiving the peer's communication address transmitted by the peer through the voice channel; the main processing module is also used to initiate a handshake to establish a data transmission link with the peer through the Tiantong data channel based on the peer's communication address, and transmit data with the peer through the Tiantong data channel after the data transmission link is successfully established.

[0011] Thirdly, the present invention provides a data communication routing system for Tiantong equipment, comprising: a Tiantong communication module, a main processing module, and a dual-tone multi-frequency (DTMF) signal generation module; the Tiantong communication module is connected to the main processing module, and the DTMF signal generation module is connected to both the main processing module and the Tiantong communication module; the Tiantong communication module is responsible for enabling interaction between the main processing module, the DTMF signal generation module, and the peer via Tiantong satellite, providing Tiantong voice channel data transmission function and Tiantong data channel data transmission function; the main processing module is used to initiate a voice channel connection request to the peer based on the peer's communication number, and after the voice channel connection is successful, transmit the local station's communication address... The address is transmitted digitally to the dual-tone multi-frequency (DTMF) signal generation module; the DTMF signal generation module is used to transmit the local communication address to the peer via the voice channel in the form of a DTMF signal, and to receive the peer communication address transmitted by the peer via the voice channel, and to transmit the peer communication address digitally to the main processing module; the main processing module is also used to disconnect the voice channel after receiving the peer communication address; the main processing module is also used to initiate a handshake to establish a data transmission link with the peer via the TianTong data channel based on the peer communication address, and to transmit data with the peer via the TianTong data channel after the data transmission link is successfully established.

[0012] Fourthly, the present invention provides an embedded device, including a memory and a processor, wherein the memory stores an embedded program, characterized in that the processor executes the embedded program to implement the above-mentioned Tiantong device data communication routing method.

[0013] Fifthly, the present invention provides an embedded device readable storage medium having an embedded program stored thereon, wherein the embedded program, when executed by a processor, implements the above-described Tiantong device data communication routing method.

[0014] Compared with the prior art, the beneficial effects of the present invention are as follows:

[0015] The data communication routing method for TianTong devices provided in this embodiment is used to solve the addressing failure problem when there is no intermediate server between TianTong terminals. The approach involves addressing through the voice channel between TianTong terminals. However, since the data transmission rate of the voice channel is relatively slow, it is only used to solve the addressing problem between terminals, but not as a data transmission channel. After obtaining the peer's communication address, a handshake request is initiated to the peer through the TianTong data channel, which has the fastest data transmission rate, to establish a data transmission link. After the link is successfully established, data interaction is performed through the TianTong data channel to achieve communication between TianTong terminals. This method is applicable to TianTong devices with or without voice channels supporting the transmission of custom data, demonstrating strong applicability. It cleverly utilizes the communication address of the TianTong terminal's voice channel, which has a small data transmission capacity. After obtaining the peer's communication address, the TianTong data channel is resumed for data transmission between terminals, ensuring data transmission efficiency and effectiveness while improving the success rate of establishing point-to-point communication between TianTong terminals and resolving the addressing failure problem. Attached Figure Description

[0016] Figure 1 This is a flowchart illustrating steps S110 to S120 of Embodiment 1 of the present invention.

[0017] Figure 2 This is a flowchart illustrating steps S111 to S120 of Embodiment 1 of the present invention.

[0018] Figure 3 This is a schematic diagram of the composition of the local communication address frame in Embodiment 1 of the present invention.

[0019] Figure 4 This is a flowchart illustrating steps S210 to S230 of Embodiment 2 of the present invention.

[0020] Figure 5 This is a flowchart illustrating steps S211 to S230 of Embodiment 2 of the present invention.

[0021] Figure 6 This is a flowchart illustrating steps S211 to S235 of Embodiment 2 of the present invention.

[0022] Figure 7 This is a flowchart illustrating steps S310 to S320 of Embodiment 3 of the present invention.

[0023] Figure 8 This is a flowchart illustrating steps S311 to S320 of Embodiment 3 of the present invention.

[0024] Figure 9 This is a schematic diagram of the composition of the local communication address frame in Embodiment 3 of the present invention.

[0025] Figure 10 This is a flowchart illustrating steps S410 to S430 of Embodiment 4 of the present invention.

[0026] Figure 11 This is a flowchart illustrating steps S411 to S430 of Embodiment 4 of the present invention.

[0027] Figure 12 This is a flowchart illustrating steps S411 to S435 of Embodiment 4 of the present invention.

[0028] Figure 13 This is a schematic diagram of the module composition of the Tiantong equipment communication routing system in Embodiment 5 of the present invention.

[0029] Figure 14 This is a schematic diagram of the module composition of the Tiantong equipment communication routing system according to Embodiment 6 of the present invention. Detailed Implementation

[0030] The accompanying drawings are for illustrative purposes only and should not be construed as limiting the invention. To better illustrate the following embodiments, some parts in the drawings may be omitted, enlarged, or reduced, and do not represent the actual product dimensions; it is understandable to those skilled in the art that some well-known structures and their descriptions may be omitted in the drawings.

[0031] Example 1

[0032] This embodiment provides a data communication routing method for Tiantong devices, applied to Tiantong terminal devices that support the transmission of custom data via voice channels. In certain special application scenarios, the communication network of the Tiantong terminal does not have an intermediate server. This invention innovatively proposes to utilize the Tiantong terminal's voice channel to interact with the peer's communication address and to use the Tiantong terminal's Tiantong data channel to conduct point-to-point communication with the peer, thereby solving the problem of communication address lookup failure in Tiantong terminals. Moreover, this method can be applied regardless of whether an intermediate server is present.

[0033] like Figure 1 As shown, the method includes the following steps:

[0034] S110. Execute the first call operation: Initiate a voice channel connection request to the other end based on the other end's communication number. After the voice channel connection is successful, transmit the local station's communication address to the other end in digital signal form through the voice channel. After receiving the other end's communication address transmitted through the voice channel, disconnect the voice channel connection.

[0035] In this step, the "peer terminal" refers to the other terminal that the TianTong terminal executing this method needs to communicate with; its communication number is generally its telephone number. Knowing the peer terminal's communication number, calling the peer terminal initiates a voice channel connection request. If the peer terminal answers / automatically answers, it indicates a successful voice channel connection, and the local communication address can be transmitted to the peer terminal as a digital signal through the voice channel. The local communication address includes the local Internet Protocol address and information indicating a request for the peer terminal to transmit its communication address. After transmission to the peer terminal, the peer terminal will transmit its communication address through the voice channel. This peer communication address includes the peer terminal's Internet Protocol address. The TianTong terminal executing this method then obtains the peer terminal's communication address and actively hangs up to disconnect the voice channel. This step solves the addressing problem between TianTong terminals through data transmission between voice channels.

[0036] In one specific implementation, in step S110, when transmitting the local station's communication address to the peer, what is transmitted is a pre-encapsulated local station communication address frame. Similarly, when the peer sends back its communication address, what is transmitted is also a pre-encapsulated peer communication address frame. Based on this, as... Figure 2 As shown, step 110 specifically includes the following steps:

[0037] S111. Initiate a voice channel connection request to the peer based on the peer's communication number. After the voice channel connection is successful, encapsulate the local communication address using the Serial Line Internet Protocol to obtain the local communication address frame, and transmit the local communication address frame to the peer in digital signal mode.

[0038] Serial Line Internet Protocol (SLIP) is a simple character-oriented protocol for encapsulating IP packets over serial lines. The local address frame includes the local network address and its verification information. This encapsulated local address frame acts as a request, asking the peer to return its address, similar to an Address Resolution Protocol (ARP) request.

[0039] like Figure 3 As shown, the format of the local communication address frame obtained by encapsulating the local communication address with the serial line Internet Protocol includes a frame header, SLIP frame content, and a frame trailer. The SLIP frame content includes the local Internet Protocol address and the verification information of the Internet Protocol address.

[0040] When encapsulating the local communication address using the Serial Line Internet Protocol (SLIP) to generate the SLIP frame content, 0xC0 or 0x7E is generally used as the frame header and trailer for the local communication address frame. When using 0xC0 as the frame header and trailer, if 0xC0 appears in the SLIP frame content, it is escaped as consecutive 0xDB and 0xDC; if 0xDB appears, it is escaped as consecutive 0xDB and 0xDD. When using 0x7E as the frame header and trailer, if 0x7E appears in the SLIP frame content, it is escaped as consecutive 0x7D and 0x5E; if 0x7D appears, it is escaped as consecutive 0x7D and 0x5D.

[0041] In a specific implementation, as an example, Table 1 shows a local communication address frame encapsulated in Serial Line Internet Protocol (ILP). This frame includes a frame header, frame type (local communication address frame is an addressing frame), local communication number (filled in BCD code), local Internet Protocol address (occupying 4 bytes), local Internet Protocol address verification information (occupying 4 bytes), peer communication number (filled in BCD code), peer Internet Protocol address (occupying 4 bytes), peer Internet Protocol address verification information (occupying 4 bytes), and frame trailer. The peer Internet Protocol address and its verification information in the local communication address frame are to be filled in by the peer when sending back a peer communication address frame (the peer communication address frame is an acknowledgment frame).

[0042] Table 1

[0043]

[0044] In a preferred embodiment, during the transmission of the local communication address frame to the peer, multiple local communication address frames are sent cyclically in 18-byte increments per data packet. Since each local communication address frame has a header and trailer identifier, the peer can distinguish the information of each frame by extracting the header and trailer upon receiving the data packet. Simultaneously, it ensures that 18 bytes of information are received from the voice channel each time, while simultaneously transmitting 18 bytes of data packets, thereby guaranteeing the continuity of data transmission in the voice channel and maintaining synchronization with the TianTong network clock.

[0045] S112. Receive the peer communication address frame transmitted by the peer through the voice channel to obtain the peer communication address of the peer.

[0046] In this step, the peer communication address frame is also obtained by encapsulating the peer communication address using the Serial Line Internet Protocol (ILP). The peer communication address can be obtained from the peer communication address frame. The format of the peer communication address frame and the encapsulation process can be found in the corresponding processing instructions for the local station's communication address frame in step S111.

[0047] S113. Disconnect the voice channel;

[0048] S120. Perform handshake operation: Through the Tiantong data channel, initiate a handshake request to the peer based on the peer's communication address to establish a data transmission link. After the data transmission link is successfully established, transmit data with the peer through the Tiantong data channel.

[0049] After obtaining the peer's communication address through the voice channel, since the peer's communication address includes the peer's Internet Protocol (IP) address, a handshake request can be initiated through the Tiantong data channel based on the obtained peer's communication address. Keys are then exchanged to establish a data transmission link based on the Internet Protocol. In specific implementations, if the Internet Protocol is TCP / IP (Transmission Control Protocol / Internet Protocol), a three-way handshake is required to establish the TCP / IP data transmission link. Specifically, after exchanging keys with the peer, identity verification is required. If identity verification fails, the data transmission link establishment fails. If identity verification succeeds, the data transmission link is successfully established, and Tiantong terminals can communicate via the Tiantong data channel, achieving point-to-point communication between two Tiantong terminals.

[0050] The communication routing method for TianTong devices provided in this embodiment is particularly suitable for application scenarios where no intermediate server is established between TianTong terminals. Because the voice channel transmits data at a relatively slow rate, the communication addresses of the local station and the peer are exchanged via digital signals through the voice channel between TianTong terminals, thus solving the addressing problem between terminals. However, this voice channel is not used as a data transmission channel between TianTong terminals. After obtaining the peer's communication address, a handshake request is initiated to the peer through the TianTong data channel, which has the fastest data transmission rate, to establish a data transmission link. After the link is successfully established, data interaction is performed through the TianTong data channel, realizing communication between TianTong terminals. This method cleverly utilizes the communication address of the TianTong terminal's voice channel, which transmits relatively little data. After obtaining the peer's communication address, the TianTong data channel is resumed for data transmission between terminals, effectively solving the addressing failure problem that occurs when no intermediate server is established between TianTong terminals, while ensuring the efficiency and effectiveness of data transmission.

[0051] Example 2

[0052] Based on the same idea as Embodiment 1, this embodiment provides a communication routing method for Tiantong devices, applied to Tiantong terminal devices that support the transmission of custom data through voice channels. The difference from Embodiment 1 is that, before executing the first call operation, this method needs to determine whether there is a pre-established mapping relationship between the communication number and the communication address of the other end. Based on this, such as... Figure 4 As shown, the method includes the following steps:

[0053] S210. Determine if there is a peer communication address with which a mapping relationship has been established. If so, proceed to step S230; otherwise, proceed to step S220.

[0054] In this step, the mapping relationship between the peer's communication number and peer's communication address can be pre-established or updated or established after successful point-to-point communication with the peer in the past, and can be stored locally or in the cloud. By using the pre-established mapping relationship between the peer's communication number and peer's communication address, it is unnecessary to execute step S220 to obtain the peer's communication address through the voice channel. This method is suitable for peers that have previously successfully achieved point-to-point communication and whose corresponding mapping relationship is known to be stored. In this case, step S220 can be skipped and step S230 can be executed directly, saving the overall execution time and steps of the method. However, for peers conducting point-to-point communication for the first time, there is generally no pre-established mapping relationship between the peer's communication number and peer's communication address. Therefore, it is necessary to initiate a voice channel connection request to the peer using the peer's communication number to obtain the peer's peer's communication address.

[0055] In a preferred embodiment, the mapping relationship between each peer's communication number and its corresponding peer communication address is uniformly recorded in a mapping table for easy querying and confirmation.

[0056] In a preferred embodiment, the mapping relationship between each peer's communication number and its corresponding peer's communication address also records the time when the mapping relationship was established or updated, referred to as the mapping time. Based on this, as... Figure 5 As shown, step S210 specifically includes the following steps:

[0057] S211. Determine if there is a peer communication address with which a mapping relationship has been established. If so, proceed to step S212; otherwise, proceed to step S220.

[0058] S212. Determine whether the mapping time of the record corresponding to the established mapping relationship exceeds the preset time threshold. If yes, proceed to step S220; otherwise, proceed to step S230.

[0059] In this step, the time threshold is a preset value used as a standard to determine whether the mapping time of the mapping relationship has expired. If the mapping time of the record corresponding to the established mapping relationship exceeds the time threshold, it indicates that the information of the mapping relationship is not timely and that a certain amount of time has passed since its establishment / update. Therefore, the mapping relationship should not be used to determine the peer communication address corresponding to the communication number. Thus, step S220 needs to be executed to obtain the peer communication address through the voice channel to ensure the timeliness and accuracy of the obtained peer communication address. If the establishment time of the record corresponding to the established mapping relationship does not exceed the time threshold, it indicates that the information of the mapping relationship is timely, and step S230 can be executed directly.

[0060] S220. Execute the first call operation: Initiate a voice channel connection request to the other end based on the other end's communication number. After the voice channel connection is successful, encapsulate the local station's communication address with the serial line Internet Protocol to obtain the local station's communication address frame. Transmit the local station's communication address frame to the other end in digital signal mode. Receive the other end's communication address frame transmitted through the voice channel to obtain the other end's communication address. Disconnect the voice channel connection.

[0061] S230. Perform handshake operation based on the peer's communication address: Initiate a handshake request to the peer through the Tiantong data channel based on the peer's communication address to establish a data transmission link. After the data transmission link is successfully established, transmit data with the peer through the Tiantong data channel.

[0062] In this step, the peer communication address can be obtained from the peer communication address frame, or it can be a peer communication address that has been mapped to the peer's communication number, depending on the execution of the previous step before this step.

[0063] In this step, after initiating a handshake request to the peer, keys are exchanged and identity verification is performed. If the identity verification fails, the data transmission link establishment fails. If the identity verification succeeds, the data transmission link is successfully established, and the TianTong terminals can communicate point-to-point through the TianTong data channel.

[0064] In a preferred embodiment, when the data transmission link fails to establish, the established mapping relationship between the peer's communication number and the peer's address needs to be deleted. When the data transmission link is successfully established, the peer's communication address that has been mapped to the peer's communication number needs to be updated, or a mapping relationship between the peer's communication number and the peer's communication address needs to be established, and the mapping time needs to be recorded. Based on this, such as Figure 6 As shown, step S230 includes the following steps:

[0065] S231. Perform a handshake operation based on the peer's communication address: Through the Tiantong data channel, initiate a handshake request to the peer based on the peer's communication address to establish a data transmission link, exchange keys with the peer, and verify the identity and legitimacy. If the identity and legitimacy verification is successful, proceed to step S232; if the identity and legitimacy verification is unsuccessful, proceed to step S235.

[0066] S232. Transmit data with the peer through the Tiantong data channel and determine whether there is an established mapping relationship for the peer's communication number. If yes, proceed to step S233; otherwise, proceed to step S234.

[0067] S233. Update the peer communication address that has been mapped to the peer's communication number, and record the mapping time when updating. The execution of the method ends after the data transmission with the peer is completed.

[0068] In this step, since there is an established mapping relationship between the communication numbers of the other end, the specific process is to update the communication address of the other end that has already been mapped to the communication number of the other end to the communication address of the other end that has successfully established a data transmission link. At the same time, the mapping time at the time of the update is recorded so that the information in the mapping relationship is updated and the timeliness and accuracy of the information are maintained.

[0069] S234. Establish a mapping relationship between the peer's communication number and the peer's communication address obtained through the voice channel, and record the mapping time when the mapping is established. The execution of the method ends after the data transmission with the peer is completed.

[0070] In this step, since there is no established mapping relationship for the peer's communication number, but a data transmission link has been successfully established through the voice channel to the obtained peer's communication address, a new mapping relationship can be established between the peer's communication number and the peer's communication address. This will allow the peer's communication address to be obtained directly based on the mapping relationship when establishing point-to-point communication with the same peer again, without having to go through the voice channel again, thus improving the efficiency of point-to-point communication.

[0071] S235. Delete the established mapping relationship corresponding to the communication number of the other end, and re-execute step S211;

[0072] In this step, if the communication number of the other end has a corresponding established mapping relationship, then delete it and delete the mapping time recorded in the mapping relationship. If not, then directly re-execute step S211 to execute the subsequent steps of step S211 to obtain the communication address of the other end and re-request the establishment of the data transmission link.

[0073] In a preferred embodiment, before re-executing step S211 in step S235, it should be determined that the number of re-executions has not exceeded a certain threshold to avoid the method failing to terminate. Based on this, the specific execution process of step S235 is as follows:

[0074] Delete the established mapping relationship corresponding to the communication number of the other end, increment the failure count by one, and determine whether the failure count exceeds the preset failure count threshold. If not, repeat step S211; if so, end the execution of the method.

[0075] In this step, the failure count represents the number of times a data transmission link with the same peer has failed to be established. Each time a data transmission link establishment fails, step S235 is incremented by one to record the number of attempts. The count is automatically reset to zero when the method execution ends. The failure count threshold is a preset value used as a standard to determine if the number of failed attempts to establish a data transmission link with the peer is excessive; it represents the maximum allowed number of failures. If the failure count exceeds the threshold, it means that multiple attempts to establish a data transmission link with the peer, based on the peer's communication address obtained in the preceding steps, have all failed, exceeding the maximum allowed number of failures. In this case, the method execution should end, and the failure count should be reset to zero. If the failure count does not exceed the threshold, it means that continued attempts to establish a data transmission link with the peer are still allowed. Therefore, step S211 is re-executed to proceed with subsequent steps.

[0076] The communication routing method for Tiantong devices provided in this embodiment is particularly suitable for application scenarios where no intermediate server is established between Tiantong terminals. It pre-stores a mapping relationship between the communication number and address of the peer. First, it determines whether a corresponding mapping relationship exists, then determines whether to obtain the peer's communication address through the voice channel, or whether the peer's communication address can be directly obtained from the mapping relationship, thus more quickly initiating a handshake request to establish a data transmission link. Simultaneously, after each successful establishment of a data transmission link, the peer's communication address in the currently established mapping relationship needs to be updated to the currently obtained peer's communication address, or a new mapping relationship needs to be established based on the currently obtained peer's address and communication number. The mapping time at the time of update / establishment is recorded as a basis for judging the timeliness of the information in the mapping relationship, ensuring that the information in the recorded mapping relationship is timely and accurate. After each failure to establish a data transmission link, the established mapping relationship needs to be deleted to ensure that the erroneous data is not used again, thereby avoiding a decrease in the method's execution efficiency. Finally, regardless of whether the peer's communication address is obtained based on the mapping relationship or the voice channel, a handshake request is initiated to the peer through the Tiantong data channel with the fastest data transmission rate to establish a data transmission link. After the link is successfully established, data interaction is carried out through the Tiantong data channel to realize communication between Tiantong terminals, ensuring the efficiency and effectiveness of data transmission.

[0077] The method provided in this embodiment is based on the same concept as the method provided in Embodiment 1. Except for the addition of extra steps in the execution process to improve the efficiency of the overall method, the same steps or terms as in Embodiment 1, their definitions, functions, preferred or specific implementation methods, and the beneficial effects they bring are all the same as those described in Embodiment 1, and will not be repeated here.

[0078] Example 3

[0079] Based on the same idea as Embodiment 1, this embodiment provides a communication routing method for Tiantong devices. The difference from Embodiment 1 is that it is applied to Tiantong terminal devices where the Tiantong communication module's voice channel does not support the transmission of custom data, but supports the transmission of dual-tone multi-frequency (DTMF) signals. This device is equipped with a DTMF module, thus making adaptive changes when transmitting and encapsulating local communication address frames.

[0080] like Figure 7 As shown, the method includes the following steps:

[0081] S310. Execute the second call operation: Initiate a voice channel connection request to the other end based on the other end's communication number. After the voice channel connection is successful, transmit the local station's communication address to the other end through the voice channel in the form of dual-tone multi-frequency signal. After receiving the other end's communication address transmitted through the voice channel, disconnect the voice channel connection.

[0082] In this step, a call is made to the peer using the known communication number, initiating a voice channel connection request. The peer's response (either answering or automatically answering) indicates a successful voice channel connection. Data transmission within this channel uses Dual-Tone Multi-Frequency (DTMF) signals. The local communication address is transmitted to the peer via the voice channel. This local communication address includes the local Internet Protocol (IP) address and information indicating a request for the peer's communication address. After transmission to the peer, the peer will receive the peer's communication address via the voice channel using DTMF signals, obtain the peer's communication address, and actively disconnect to break the voice channel connection. This step resolves the addressing problem between TianTong terminals through the transmission of DTMF signals between voice channels.

[0083] In one specific implementation, in step S310, when transmitting the local station's communication address to the peer, what is transmitted is a pre-encapsulated local station communication address frame. Similarly, when the peer sends back its communication address, what is transmitted is also a pre-encapsulated peer communication address frame. Based on this, as... Figure 8 As shown, step 310 specifically includes the following steps:

[0084] S311. Initiate a voice channel connection request to the peer based on the peer's communication number. After the voice channel connection is successful, encapsulate the local communication address in a custom format to obtain a local communication address frame, generate a dual-tone multi-frequency (DTMF) signal to carry the local communication address frame, and transmit the DTMF signal carrying the local communication address frame to the peer.

[0085] The local communication address frame includes the local Internet Protocol address and the verification information of that Internet Protocol address. The encapsulated local communication address frame is equivalent to a request that can be used to request the other end to send back its communication address, indicating that the local communication address frame is similar to an Address Resolution Protocol (ARP) request.

[0086] like Figure 9 As shown, the format of a local communication address frame, obtained by encapsulating the local communication address in a custom format, includes a frame header, several address areas, separators between each address area, and a frame trailer. The address areas include the local Internet Protocol (IP) address and its verification information. When encapsulating the local communication address in a custom format, *#*# is typically used as the frame header and trailer. The address areas are represented by numbers 0-9 and end with the separator #.

[0087] In a specific implementation, as an example, Table 2 shows a custom-encapsulated local communication address frame. This frame includes a frame header, frame type (local communication address frames are addressing frames), local communication number (filled in with numbers 0-9), local Internet Protocol address (filled in with numbers 0-9, 3 bytes per area, which can occupy several address areas), and checksum information for local Internet Protocol address (filled in with numbers 0-9, 3 bytes per area, which can occupy several address areas). The frame contains the following information: the peer's communication number (indicated by numbers 0-9), the peer's Internet Protocol address (indicated by numbers 0-9, with 3 bytes per area, which can occupy several address areas), the peer's Internet Protocol address verification information (indicated by numbers 0-9, with 3 bytes per area, which can occupy several address areas), and the frame trailer. The peer's Internet Protocol address and its verification information in the local communication address frame will be filled in by the peer when it sends back the peer communication address frame (which is an acknowledgment frame).

[0088] Table 2

[0089]

[0090] S312. Receive the dual-tone multi-frequency signal carrying the communication address frame of the other end transmitted through the voice channel to obtain the communication address of the other end.

[0091] In this step, the peer communication address frame is also obtained by encapsulating the peer communication address in a custom format and transmitting it back via the voice channel using a dual-tone multi-frequency (DTMF) signal. The data of the peer communication address frame can be obtained by parsing the DTMF signal, and the peer communication address can be obtained from the peer communication address frame. The format and encapsulation process of the peer communication address frame can be found in the corresponding processing instructions for the local station's communication address frame in step S311.

[0092] S313. Disconnect the voice channel;

[0093] S320. Perform handshake operation: Initiate a handshake request to the peer through the Tiantong data channel based on the peer's communication address to establish a data transmission link. After the data transmission link is successfully established, data transmission is performed with the peer through the Tiantong data channel.

[0094] Based on the obtained peer communication address, a handshake request is initiated to the peer via the Tiantong data channel, and keys are exchanged to establish a data transmission link based on the Internet Protocol. Specifically, after exchanging keys with the peer, identity verification is required. If identity verification fails, the data transmission link establishment fails. If identity verification succeeds, the data transmission link is successfully established, and Tiantong terminals can communicate with each other via the Tiantong data channel, realizing point-to-point communication between two Tiantong terminals.

[0095] Since some TianTong devices do not support voice channel transmission of custom data, the method provided in this embodiment is applied to TianTong devices that can only transmit custom data via Dual-Tone Multi-Frequency (DTMF). The method uses a voice channel between TianTong terminals to exchange communication addresses between the local station and the peer via DTMF signals, thereby solving the addressing problem between terminals. However, this channel does not serve as a data transmission channel between TianTong terminals. After obtaining the peer's communication address, a handshake request is initiated to the peer through the TianTong data channel, which has the fastest data transmission rate, to establish a data transmission link. After the link is successfully established, data exchange occurs through the TianTong data channel, enabling communication between TianTong terminals.

[0096] The method provided in this embodiment is based on the same concept as the method provided in Embodiment 1. Except that in this method, custom data is transmitted through a voice channel in the form of dual-tone multi-frequency signal to obtain the peer's communication address, the steps or terms that are the same as those in Embodiment 1, their definitions, functions, preferred or specific implementation methods, and the beneficial effects they bring are all the same as those described in Embodiment 1, and will not be repeated here.

[0097] Example 4

[0098] Based on the same ideas as Embodiments 2 and 3, this embodiment provides a communication routing method for Tiantong devices. The difference from Embodiment 2 is that this method is applied to Tiantong terminal devices that only support the transmission of custom data via dual-tone multi-frequency (DTMF) signals in the voice channel, thus making adaptive changes in the transmission and encapsulation of local communication address frames. The difference from Embodiment 3 is that before executing the second call operation, this method needs to determine whether there is a pre-established mapping relationship between the peer's communication number and peer's communication address. Based on this, such as... Figure 10 As shown, the method includes the following steps:

[0099] S410. Determine if there is a peer communication address with which a mapping relationship has been established. If so, proceed to step S430; otherwise, proceed to step S420.

[0100] In this step, the mapping relationship between the peer's communication number and communication address can be pre-established or updated or established after successful point-to-point communication with the peer in the past, and can be stored locally or in the cloud. By using the pre-established mapping relationship between the peer's communication number and communication address, it is unnecessary to execute step S420 to obtain the peer's communication address through the voice channel. This method is suitable for peers that have previously successfully achieved point-to-point communication and whose corresponding mapping relationship is known to be stored. In this case, step S420 can be skipped and step S430 can be executed directly, saving the overall execution time and steps of the method. However, for peers conducting point-to-point communication for the first time, there is generally no pre-established mapping relationship between the peer's communication number and communication address. Therefore, it is necessary to initiate a voice channel connection request to the peer using the peer's communication number to obtain the peer's communication address.

[0101] In a preferred embodiment, the mapping relationship between each peer's communication number and its corresponding peer communication address is uniformly recorded in a mapping table for easy querying and confirmation.

[0102] In a preferred embodiment, the mapping relationship between each peer's communication number and its corresponding peer's communication address also records the time when the mapping relationship was established or updated, referred to as the mapping time. Based on this, as... Figure 11 As shown, step S410 specifically includes the following steps:

[0103] S411. Determine if there is a peer communication address with which a mapping relationship has been established. If so, proceed to step S412; otherwise, proceed to step S420.

[0104] S412. Determine whether the mapping time of the record corresponding to the established mapping relationship exceeds the preset time threshold. If yes, proceed to step S420; otherwise, proceed to step S430.

[0105] S420. Execute the second call operation: Initiate a voice channel connection request to the other end based on the other end's communication number. After the voice channel connection is successful, encapsulate the local communication address in a custom format to obtain the local communication address frame, generate a dual-tone multi-frequency (DTMF) signal carrying the local communication address frame, transmit the DTMF signal carrying the local communication address frame to the other end, and receive the DTMF signal carrying the other end's communication address frame transmitted by the other end through the voice channel to obtain the other end's communication address, and disconnect the voice channel connection.

[0106] S430. Perform handshake operation based on the peer's communication address: Initiate a handshake request to the peer through the Tiantong data channel based on the peer's communication address to establish a data transmission link. After the data transmission link is successfully established, transmit data with the peer through the Tiantong data channel.

[0107] In this step, the peer communication address can be obtained from the peer communication address frame, or it can be a peer communication address that has been mapped to the peer's communication number, depending on the execution of the previous step before this step.

[0108] In a preferred embodiment, when the data transmission link fails to establish, the established mapping relationship between the peer's communication number and the peer's address needs to be deleted. When the data transmission link is successfully established, the peer's communication address that has been mapped to the peer's communication number needs to be updated, or a mapping relationship between the peer's communication number and the peer's communication address needs to be established, and the mapping time needs to be recorded. Based on this, such as Figure 12 As shown, step S430 includes the following steps:

[0109] S431. Perform a handshake operation based on the peer's communication address: Through the Tiantong data channel, initiate a handshake request to the peer based on the peer's communication address to establish a data transmission link, exchange keys with the peer, and verify the identity and legitimacy. If the identity and legitimacy verification is successful, proceed to step S432; if the identity and legitimacy verification fails, proceed to step S435.

[0110] S432. Transmit data with the peer through the Tiantong data channel and determine whether there is an established mapping relationship for the peer's communication number. If yes, proceed to step S433; otherwise, proceed to step S434.

[0111] S433. Update the peer communication address that has been mapped to the peer's communication number, and record the mapping time when updating. The execution of the method ends after the data transmission with the peer is completed.

[0112] S434. Establish a mapping relationship between the peer's communication number and the peer's communication address obtained through the dual-tone multi-frequency channel, and record the mapping time when the mapping is established. The execution of the method ends after the data transmission with the peer is completed.

[0113] S435. Delete the established mapping relationship corresponding to the communication number of the other end, and re-execute step S411;

[0114] In this step, if the communication number of the other end has a corresponding established mapping relationship, then delete it and delete the mapping time recorded in the mapping relationship. If not, then directly re-execute step S411 to execute the subsequent steps of step S411 to obtain the communication address of the other end and re-request the establishment of the data transmission link.

[0115] In a preferred embodiment, before re-executing step S411 in step S435, it should be determined that the number of re-executions has not exceeded a certain threshold to avoid the method failing to terminate. Based on this, the specific execution process of step S435 is as follows:

[0116] Delete the established mapping relationship corresponding to the communication number of the other end, increment the failure count by one, and determine whether the failure count exceeds the preset failure count threshold. If not, repeat step S411; if so, end the execution of the method.

[0117] Since some Tiantong devices do not support the transmission of custom data via voice channels, the method provided in this embodiment is applied to Tiantong devices that can only transmit custom data via voice channels using dual-tone multi-frequency (DTMF) signals. This method pre-stores a mapping relationship between the peer's communication number and communication address, enabling faster handshake requests to establish a data transmission link. Simultaneously, after each successful establishment of a data transmission link, the peer's communication address in the established mapping relationship needs to be updated, or a new mapping relationship needs to be established, and the mapping time during the update / establishment is recorded as a basis for judging the timeliness of the information in the mapping relationship, ensuring that the information in the recorded mapping relationship is timely and accurate. After each failed establishment of a data transmission link, the established mapping relationship needs to be deleted to ensure that the erroneous data is not reused, thereby avoiding a decrease in the method's execution efficiency.

[0118] The method provided in this embodiment is based on the same concept as the methods provided in embodiments 2 and 3. Except for the differences mentioned above, the steps or terms that are the same as those in embodiments 2 and 3, their definitions, functions, preferred or specific implementation methods, and the beneficial effects they bring are the same as those described in embodiments 2 and 3, and will not be repeated here.

[0119] Example 5

[0120] Based on the same ideas as in Embodiments 1 and 2, this embodiment provides a Tiantong device communication routing system that can execute the methods provided in Embodiments 1 and 2.

[0121] like Figure 13As shown, the system includes:

[0122] TianTong communication module 510 and main processing module 520.

[0123] The Tiantong communication module 510 is connected to the main processing module 520. In a specific implementation, the Tiantong communication module 510 and the main processing module 520 transmit data through a serial port.

[0124] In this embodiment, the main processing module 520 can transmit custom data in the voice channel via a serial port.

[0125] The Tiantong communication module 510 is responsible for enabling data interaction between the main processing module 520 and the other end via the Tiantong satellite, providing Tiantong voice channel data transmission function and Tiantong data channel data transmission function.

[0126] The main processing module 520 is used to initiate a voice channel connection request to the peer based on the peer's communication number. After the voice channel connection is successful, the local communication address is transmitted to the peer in digital signal form through the voice channel. After receiving the peer's communication address transmitted through the voice channel, the voice channel connection is disconnected.

[0127] Specifically, when the main processing module 520 interacts with the peer, it first transmits the data to the Tiantong communication module 510 via serial port, and then the Tiantong communication module 510 transmits the data to the peer via Tiantong satellite. Alternatively, the peer transmits the data to the Tiantong communication module 510 via Tiantong satellite, and then the Tiantong communication module 510 sends the data back to the main processing module 520 via serial port.

[0128] In a specific implementation, the main processing module 520 includes:

[0129] The voice call module 521 is used to initiate a voice channel connection request to the other end based on the other end's communication number, and is also used to disconnect the voice channel connection after obtaining the other end's communication address through the voice channel.

[0130] The data encapsulation and transmission module 522 is used to encapsulate the local communication address using the serial line Internet Protocol after the voice channel connection is successful to obtain the local communication address frame, transmit the local communication address frame to the other end in the form of a digital signal, and receive the other end's communication address frame transmitted by the other end through the voice channel to obtain the other end's communication address.

[0131] The peer communication address frame is obtained by encapsulating the peer communication address using the Serial Line Internet Protocol.

[0132] The TianTong data transmission module 523 is used to initiate a handshake to establish a data transmission link with the peer through the TianTong data channel based on the peer's communication address, and to transmit data with the peer through the TianTong data channel after the data transmission link is successfully established.

[0133] In a preferred embodiment, the Tiantong data transmission module 523 includes:

[0134] The TianTong data transmission submodule 5231 is used to initiate a handshake to establish a data transmission link with the peer through the TianTong data channel based on the peer's communication address, and to transmit data with the peer through the TianTong data channel after the data transmission link is successfully established.

[0135] The mapping relationship processing submodule 5232 is used to establish a mapping relationship between the communication number of the other end and the communication address of the other end after the data transmission link is successfully established, or to update the communication address of the other end that has already been mapped to the communication number of the other end, and is also used to determine whether the communication number of the other end has a communication address that has been mapped.

[0136] The voice call module 521 is also used to perform no operation when the mapping relationship processing submodule 5232 determines whether there is a peer communication address with which a mapping relationship has been established.

[0137] In a preferred embodiment, the mapping relationship processing submodule 5232 is further configured to record the mapping time when establishing or updating the mapping relationship after establishing a mapping relationship between the peer's communication number and the peer's communication address, or updating the peer's communication address that has already established a mapping relationship with the peer's communication number, and to determine whether the mapping time recorded for the established mapping relationship exceeds a preset time threshold after determining that the peer's communication number has a peer's communication address with which a mapping relationship has been established.

[0138] The voice call module 521 is also used to not perform any operation when the mapping relationship processing submodule 5232 determines that the communication number of the other end has an established mapping relationship with the communication address of the other end and the mapping time has not exceeded the time threshold.

[0139] In a preferred embodiment, the mapping relationship processing submodule 5232 is further configured to delete the established mapping relationship corresponding to the communication number of the other end when the Tiantong data transmission submodule 5231 determines that the data transmission link establishment has failed, increment the failure count by one, and determine whether the failure count exceeds a preset failure count threshold.

[0140] The voice call module 521 is also used to re-request the establishment of the voice channel when the mapping relationship processing submodule 5232 determines that the number of failures has not exceeded the failure number threshold.

[0141] In a specific implementation, the system also includes a main control module 530, which is used for user interface expansion and configuration management of each module.

[0142] In a specific implementation, the main processing module 520 and the main control module 530 can be merged into one module as software modules and run on the same processor.

[0143] The system provided in this embodiment is based on the same concept as the methods provided in embodiments 1 and 2, and is used to execute the methods provided in embodiments 1 and 2. Therefore, the same terms, functions, definitions, roles, preferred or specific implementation methods, and beneficial effects are the same as those described in embodiments 1 and 2, and will not be repeated here.

[0144] Example 6

[0145] Based on the same ideas as in Embodiments 3 and 4, this embodiment provides a Tiantong device communication routing system that can execute the methods provided in Embodiments 3 and 4.

[0146] like Figure 14 As shown, the system includes:

[0147] The system includes a TianTong communication module 610, a main processing module 620, and a dual-tone multi-frequency signal generation module 630.

[0148] The Tiantong communication module 610 is connected to the main processing module 620. In a specific implementation, the Tiantong communication module 610 and the main processing module 620 transmit data through a serial port.

[0149] The Tiantong communication module 610 is connected to the dual-tone multi-frequency signal generation module 630. Specifically, the Tiantong communication module 610 and the dual-tone multi-frequency signal generation module 630 transmit data through the PCM (Pulse Code Modulation) interface.

[0150] The main processing module 620 is connected to the dual-tone multi-frequency (DTMF) signal generation module 630. Specifically, the main processing module 620 and the DTMF signal generation module 630 are connected via a serial port / SPI (Serial Peripheral Interface) / IIC (Inter-Integrated Circuit) interface.

[0151] In this embodiment, the main processing module 620 cannot transmit custom data in the voice channel via the serial port. Therefore, it is necessary to use the dual-tone multi-frequency signal generation module 630 to realize data transmission with the other end through the voice channel.

[0152] The Tiantong communication module 610 is responsible for enabling the main processing module 620 and the dual-tone multi-frequency signal generation module 630 to interact with the other end via the Tiantong satellite, providing Tiantong voice channel data transmission function and Tiantong data channel data transmission function.

[0153] The main processing module 620 is used to initiate a voice channel connection request to the peer based on the peer's communication number. After the voice channel connection is successful, the local communication address is transmitted to the dual-tone multi-frequency signal generation module 630 in the form of a digital signal.

[0154] The dual-tone multi-frequency (DTMF) signal generation module 630 is used to transmit the local station's communication address to the other end via a voice channel in the form of a DTMF signal, and to receive the other end's communication address transmitted via the voice channel, and then transmit the other end's communication address to the main processing module 620.

[0155] Specifically, when the Dual-Tone Multi-Frequency (DTMF) signal generation module 630 interacts with the peer, the DTMF signal generation module 630 carries the data on a DTMF signal, converts the DTMF signal into PCM format, and transmits it to the Tiantong communication module 610 through the PCM interface. The Tiantong communication module 610 then transmits the data to the peer via the Tiantong satellite. Alternatively, the peer first carries the data on a DTMF signal, converts the DTMF signal into PCM format, transmits it to the Tiantong communication module 610 via the Tiantong satellite, and then the Tiantong communication module 610 sends the data back to the DTMF signal generation module 630 through the PCM interface. The DTMF signal generation module 630 obtains the data transmitted by the peer by parsing the DTMF signal.

[0156] The main processing module 620 is also used to disconnect the voice channel after receiving the peer's communication address; to initiate a handshake to establish a data transmission link with the peer through the Tiantong data channel based on the peer's communication address; and to transmit data with the peer through the Tiantong data channel after the data transmission link is successfully established.

[0157] Specifically, when the main processing module 620 interacts with the peer, it first transmits the data to the Tiantong communication module 610 via serial port, and then the Tiantong communication module 610 transmits the data to the peer via Tiantong satellite. Alternatively, the peer transmits the data to the Tiantong communication module 610 via Tiantong satellite, and then the Tiantong communication module 610 sends the data back to the main processing module 620 via serial port.

[0158] In a specific implementation, the main processing module 620 includes:

[0159] The voice call module 621 is used to initiate a voice channel connection request to the other end based on the other end's communication number, and to disconnect the voice channel connection after receiving the other end's communication address.

[0160] The data encapsulation and transmission module 622 is used to encapsulate the local communication address in a custom format to obtain the local communication address frame after the voice channel connection is successful, and transmit it to the dual-tone multi-frequency signal generation module 630 in the form of a digital signal.

[0161] The TianTong data transmission module 623 is used to initiate a handshake to establish a data transmission link with the peer through the TianTong data channel based on the peer's communication address, and to transmit data with the peer through the TianTong data channel after the data transmission link is successfully established.

[0162] Based on this, the dual-tone multi-frequency (DTMF) signal generation module 630 is specifically used to generate a DTMF signal carrying the local station's communication address frame, transmit the DTMF signal carrying the local station's communication address frame to the other end, receive the DTMF signal carrying the other end's communication address frame transmitted by the other end through the voice channel, obtain the other end's communication address by parsing the DTMF signal, and transmit the other end's communication address to the Tiantong data transmission module 623 in the form of a digital signal.

[0163] The peer communication address frame is also obtained by encapsulating the peer communication address in a custom format.

[0164] In a preferred embodiment, the Tiantong data transmission module 623 includes:

[0165] The TianTong data transmission submodule 6231 is used to initiate a handshake to establish a data transmission link with the peer through the TianTong data channel based on the peer's communication address, and to transmit data with the peer through the TianTong data channel after the data transmission link is successfully established.

[0166] The mapping relationship processing submodule 6232 is used to establish a mapping relationship between the communication number of the other end and the communication address of the other end after the data transmission link is successfully established, or to update the communication address of the other end that has already been mapped to the communication number of the other end, and is also used to determine whether the communication number of the other end has a communication address that has been mapped.

[0167] The voice call module 621 is also used to perform no operation when the mapping relationship processing submodule 6232 determines whether the other end's communication number has an established mapping relationship with the other end's communication address.

[0168] In a preferred embodiment, the mapping relationship processing submodule 6232 is further configured to record the mapping time when establishing or updating the mapping relationship after establishing a mapping relationship between the peer's communication number and the peer's communication address, or updating the peer's communication address that has already established a mapping relationship with the peer's communication number, and to determine whether the mapping time recorded for the established mapping relationship exceeds a preset time threshold after determining that the peer's communication number has a peer's communication address with which a mapping relationship has been established.

[0169] The voice call module 621 is also used to not perform any operation when the mapping relationship processing submodule 6232 determines that the communication number of the other end has an established mapping relationship with the communication address of the other end and the mapping time has not exceeded the time threshold.

[0170] In a preferred embodiment, the mapping relationship processing submodule 6232 is further configured to delete the established mapping relationship corresponding to the communication number of the other end when the Tiantong data transmission submodule 6231 determines that the data transmission link establishment has failed, increment the failure count by one, and determine whether the failure count exceeds a preset failure count threshold.

[0171] The voice call module 621 is also used to re-request the establishment of the voice channel when the mapping relationship processing submodule 6232 determines that the number of failures has not exceeded the failure number threshold.

[0172] In a specific implementation, the system also includes a main control module 640, which is used for user interface expansion and configuration management of each module.

[0173] In a specific implementation, the main processing module 620 and the main control module 640 can be merged into one module as software modules and run on the same processor.

[0174] The system provided in this embodiment is based on the same concept as the methods provided in embodiments 3 and 4, and is used to execute the methods provided in embodiments 3 and 4. Therefore, the same terms, functions, definitions, roles, preferred or specific implementation methods, and beneficial effects are the same as those described in embodiments 3 and 4, and will not be repeated here.

[0175] Example 7

[0176] This embodiment provides an embedded device, including a memory and a processor. The memory stores an embedded program. The characteristic of this embodiment is that when the processor executes the embedded program, it implements the Tiantong device communication routing method described in any one of embodiments 1 to 4.

[0177] This embodiment also provides an embedded device readable storage medium on which an embedded program is stored. When the embedded program is executed by a processor, it implements the Tiantong device communication routing method described in any one of embodiments 1 to 4.

[0178] Obviously, the above embodiments of the present invention are merely examples for clearly illustrating the technical solution of the present invention, and are not intended to limit the specific implementation of the present invention. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the claims of the present invention should be included within the protection scope of the claims of the present invention.

Claims

1. A data communication routing method for Tiantong equipment, characterized in that, include: Execute the first call operation or the second call operation; The first call operation is to initiate a voice channel connection request to the peer based on the peer's communication number; after the voice channel connection is successful, the local communication address is transmitted to the peer in digital signal form through the voice channel; and after receiving the peer's communication address transmitted by the peer through the voice channel, the voice channel connection is disconnected. The second call operation is to initiate a connection request for the voice channel to the other end based on the other end's communication number; after the voice channel connection is successful, transmit the local station's communication address to the other end through the voice channel in the form of dual-tone multi-frequency signal; and after receiving the other end's communication address transmitted by the other end through the voice channel, disconnect the voice channel connection. Perform a handshake operation; The handshake operation involves initiating a handshake request to the peer through the Tiantong data channel based on the peer's communication address to establish a data transmission link. After the data transmission link is successfully established, data is transmitted with the peer through the Tiantong data channel.

2. The data communication routing method for Tiantong equipment according to claim 1, characterized in that, The handshake operation also includes: after the data transmission link is successfully established, establishing a mapping relationship between the communication number of the peer and the communication address of the peer obtained through the voice channel, or updating the peer communication address that has been mapped to the communication number of the peer. Before executing the first call operation or the second call operation, the method further includes: determining whether the communication number of the other end has a peer communication address with which a mapping relationship has been established; if so, the first call operation or the second call operation is not executed, and the handshake operation is directly executed based on the peer communication address with which a mapping relationship has been established; if not, the first call operation or the second call operation is executed.

3. The data communication routing method for Tiantong equipment according to claim 2, characterized in that, The handshake operation also includes: after establishing a mapping relationship between the communication number of the other end and the communication address of the other end obtained through the voice channel, or after updating the communication address of the other end that has been mapped to the communication number of the other end, recording the mapping time when establishing or updating the mapping relationship; When determining that the communication number of the other end has an established mapping relationship with the communication address of the other end, the specific steps include: If the mapping time of the record corresponding to the established mapping relationship exceeds a preset time threshold, then execute the first call operation or the second call operation; otherwise, do not execute the first call operation or the second call operation, and directly execute the handshake operation based on the peer communication address of the established mapping relationship.

4. The data communication routing method for Tiantong equipment according to claim 2, characterized in that, In the handshake operation, if the data transmission link fails to be established, the established mapping relationship corresponding to the communication number of the other end is deleted, and it is re-determined whether there is a peer communication address with an established mapping relationship for the communication number of the other end.

5. The data communication routing method for Tiantong equipment according to claim 4, characterized in that, Delete the established mapping relationship corresponding to the communication number of the other end, and re-determine whether there is a peer communication address with an established mapping relationship for the communication number of the other end, specifically including: Delete the established mapping relationship corresponding to the communication number of the other end, increment the failure count by one, and determine whether the failure count exceeds a preset failure count threshold. If not, re-determine whether there is a peer communication address with an established mapping relationship for the communication number of the other end; if so, end the method.

6. The data communication routing method for Tiantong equipment according to any one of claims 1 to 5, characterized in that, Before executing the first call operation or the second call operation, the following is also included: Determine whether the voice channel supports the transmission of custom data. If yes, execute the first call operation; otherwise, execute the second call operation. In the first call operation, the communication address of this station is transmitted to the peer station in digital signal form through the voice channel, and the communication address of the peer station transmitted by the peer station is received through the voice channel, specifically including: The local communication address is encapsulated using the Serial Line Internet Protocol to obtain a local communication address frame. The local communication address frame is transmitted to the peer in the form of a digital signal. The peer communication address frame transmitted by the peer is received through the voice channel to obtain the peer communication address of the peer. The peer communication address frame is obtained by encapsulating the peer communication address using the Serial Line Internet Protocol. In the second call operation, the local station's communication address is transmitted to the peer via the voice channel using a dual-tone multi-frequency (DTMF) signal, and the peer's communication address transmitted via the DTMF channel is received. Specifically, this includes: The communication address of this station is encapsulated in a custom format to obtain a communication address frame of this station address. A dual-tone multi-frequency (DTMF) signal carrying the communication address frame of this station is generated and transmitted to the peer end. The peer end communication address is obtained by receiving the DTMF signal carrying the peer end communication address frame transmitted by the peer end through the voice channel. The peer communication address frame is obtained by encapsulating the peer communication address in a custom format.

7. The data communication routing method for Tiantong equipment according to claim 6, characterized in that, The local communication address frame is obtained by encapsulating the local communication address using the Serial Line Internet Protocol (ILP), specifically including: The local communication address is encapsulated using the Serial Line Internet Protocol, with 0xC0 or 0x7E as the frame header and frame trailer of the local communication address frame; When 0xC0 is used as the frame header and frame trailer, if the content of the local communication address frame contains 0xC0, the 0xC0 is escaped to consecutive 0xDB and 0xDC. If the content of the local communication address frame contains 0xDB, the 0xDB is escaped to consecutive 0xDB and 0xDD. When 0x7E is used as the frame header and frame trailer, if the content of the local communication address frame contains 0x7E, the 0x7E is escaped as consecutive 0x7D and 0x5E. If the content of the local communication address frame contains 0x7D, the 0x7D is escaped as consecutive 0x7D and 0x5D.

8. A data communication routing system for Tiantong equipment, characterized in that, include: TianTong communication module and main processing module; The Tiantong communication module is connected to the main processing module; The Tiantong communication module is responsible for enabling the interaction between the main processing module and the peer via the Tiantong satellite, providing Tiantong voice channel data transmission function and Tiantong data channel data transmission function; The main processing module is used to initiate a connection request for the voice channel to the peer based on the peer's communication number. After the voice channel connection is successful, the local communication address is transmitted to the peer in digital signal form through the voice channel. After receiving the peer's communication address transmitted through the voice channel, the connection of the voice channel is disconnected. The main processing module is also used to initiate a handshake to establish a data transmission link with the peer through the Tiantong data channel based on the peer's communication address, and to transmit data with the peer through the Tiantong data channel after the data transmission link is successfully established.

9. A data communication routing system for Tiantong equipment, characterized in that, include: TianTong communication module, main processing module, and dual-tone multi-frequency signal generation module; The Tiantong communication module is connected to the main processing module, and the dual-tone multi-frequency signal generation module is connected to both the main processing module and the Tiantong communication module. The Tiantong communication module is responsible for enabling the interaction between the main processing module and the dual-tone multi-frequency signal generation module and the peer via the Tiantong satellite, providing Tiantong voice channel data transmission function and Tiantong data channel data transmission function; The main processing module is used to initiate a voice channel connection request to the peer based on the peer's communication number. After the voice channel connection is successful, the local station's communication address is transmitted to the dual-tone multi-frequency signal generation module in digital signal mode. The dual-tone multi-frequency (DTMF) signal generation module is used to transmit the local communication address to the peer via the voice channel in the form of a DTMF signal, and to receive the peer communication address transmitted by the peer via the voice channel, and to transmit the peer communication address to the main processing module. The main processing module is also used to disconnect the voice channel after receiving the peer communication address; The main processing module is also used to initiate a handshake to establish a data transmission link with the peer through the Tiantong data channel based on the peer's communication address, and to transmit data with the peer through the Tiantong data channel after the data transmission link is successfully established.

10. An embedded device comprising a memory and a processor, the memory storing an embedded program, characterized in that, When the processor executes the embedded program, it implements the data communication routing method for Tiantong equipment as described in any one of claims 1 to 7.

11. An embedded device readable storage medium having an embedded device program stored thereon, characterized in that, When the embedded device program is executed by the processor, it implements the Tiantong device data communication routing method according to any one of claims 1 to 7.