Satellite terminal data forwarding method, satellite terminal data forwarding system and computer device

By introducing a forwarding terminal into the satellite terminal data forwarding system, data is parsed and processed to generate standard messages, solving the problem of low data forwarding efficiency between different satellite networks and achieving efficient data interaction.

CN119788163BActive Publication Date: 2026-03-27ZHEJIANG GEELY HLDG GRP CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-31
Publication Date
2026-03-27

AI Technical Summary

Technical Problem

In existing technologies, due to the different satellite networks, business scenarios, and data transmission methods of the calling and called terminals, a complete set of data forwarding schemes needs to be customized for each type of terminal. This results in low automation, low data forwarding efficiency, and a lack of unified standards.

Method used

By employing a satellite terminal data forwarding method, the forwarding terminal parses the data to be sent, performs preprocessing operations such as standard conversion or data splitting, generates standard messages, and sends them to the called terminal via the satellite network, thereby realizing the conversion from custom protocols to standard protocols and improving communication efficiency.

Benefits of technology

By introducing a forwarding terminal as an intermediary in a satellite network system, the calling and called terminals do not need to adapt to each other's data protocols; they only need to specify the communication address, which greatly improves communication efficiency and enables data interaction between different satellite networks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119788163B_ABST
    Figure CN119788163B_ABST
Patent Text Reader

Abstract

The embodiment of the application discloses a satellite terminal data forwarding method, a satellite terminal data forwarding system and a computer device. The satellite terminal data forwarding system comprises a forwarding terminal and a satellite terminal, the forwarding terminal is connected with the satellite terminal through a satellite network, and the method comprises the following steps: when obtaining to-be-sent data sent by a calling terminal, analyzing the to-be-sent data to obtain a message attribute and a message content; performing a preprocessing operation on the message content, the preprocessing operation comprising one of a standard conversion operation or a data splitting operation; generating a standard message from the message content after the preprocessing operation; determining a called terminal according to the message attribute, and sending the standard message to the called terminal through the satellite network. Therefore, the application can make the calling terminal and the called terminal both not need to adapt to the data protocol of the other party, only need the forwarding terminal to complete the conversion from the custom protocol to the standard communication protocol and forward the message to the other party, and greatly improve the communication efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The application belongs to the technical field of satellite communication, and particularly relates to a satellite terminal data forwarding method, a satellite terminal data forwarding system and a computer device. BACKGROUND

[0002] With the development of space communication technology, satellite terminal equipment has been widely applied in various fields. In common projects, data reported by terminals is acquired through a mobile communication network, and data processing is completed. However, if in an area where a mobile network cannot cover, such as a desert, a gobi, an ocean and the like, data reported by terminals must be returned to a background by satellite communication, and data forwarding work is completed by the background. The equipment that relies on satellite communication is called a satellite terminal. Data forwarding refers to forwarding of satellite terminal communication data, and data of a calling terminal is automatically forwarded to a called terminal by server-side analysis and adaptation. Managers do not need to maintain transmitted data, and the system automatically completes forwarding, greatly reducing the labor intensity of managers and improving management efficiency and management level. At present, in the forwarding work of satellite terminal communication data, due to different satellite networks, different business scenes and different data transmission modes of calling terminals and called terminals, a whole set of special data forwarding scheme needs to be separately customized for each type of terminal. The forwarding scheme usually includes a whole process scheme from data receiving, data analysis to data forwarding. The separately customized method has low automation degree and low data forwarding efficiency, and there is no uniform standard at present. How to improve the data forwarding efficiency between satellite terminals is a technical problem to be solved by technicians in the field.

[0003] The foregoing description is to provide general background information and does not necessarily constitute prior art. SUMMARY

[0004] Therefore, it is necessary to propose a satellite terminal data forwarding method, a satellite terminal data forwarding system and a computer device to effectively solve the problem of data forwarding of different satellite terminals.

[0005] The application solves the technical problem by adopting the following technical scheme:

[0006] The application provides a satellite terminal data forwarding method, which is applied to a forwarding terminal in a satellite terminal data forwarding system; the satellite terminal data forwarding system comprises the forwarding terminal and a satellite terminal, the forwarding terminal is connected with the satellite terminal through a satellite network, and the satellite terminal comprises a calling terminal and a called terminal; the method comprises the following steps: when obtaining to-be-sent data sent by the calling terminal, analyzing the to-be-sent data to obtain a message attribute and a message content; performing a preprocessing operation on the message content, the preprocessing operation comprising one of a standard conversion operation or a data splitting operation; generating a standard message from the message content after the preprocessing operation; determining the called terminal according to the message attribute, and sending the standard message to the called terminal through the satellite network.

[0007] In an optional embodiment of the application, the standard conversion operation comprises the following steps: obtaining first encoding information in the message attribute, the first encoding information being used to indicate an encoding form of the to-be-sent data; determining whether the first encoding information conforms to a preset message standard; if the first encoding information conforms to the preset message standard, skipping the standard conversion operation; if the first encoding information does not conform to the preset message standard, converting the message content according to the preset message standard; and / or obtaining second encoding information, the second encoding information being used to indicate an encoding form compatible with the called terminal; if the second encoding information is compatible with the first encoding information, skipping the standard conversion operation; if the second encoding information is not compatible with the first encoding information, converting the message content according to the second encoding information.

[0008] In an optional embodiment of the application, the data splitting operation comprises the following steps: determining whether the data length of the message content exceeds an upper limit of the length; if the data length does not exceed the upper limit of the length, skipping the data splitting operation; if the data length exceeds the upper limit of the length, splitting the message content into a plurality of subsegment contents according to the data length and the upper limit of the length, and sequentially arranging the subsegment contents; generating the standard message from the message content after the preprocessing operation comprises the following steps: regarding the subsegment contents as the message content to generate a plurality of standard messages, and marking the standard messages as long messages; sending the standard message to the called terminal comprises the following steps: arranging the long messages according to the order of the corresponding subsegment contents, and sequentially sending the long messages to the called terminal.

[0009] In an optional embodiment of the application, generating the standard message from the message content after the preprocessing operation comprises the following steps: generating a header segment according to the message attribute and the message content, the header segment being used to store attribute information of the standard message, the attribute information comprising at least one of a message category and a receipt identifier; generating a control segment according to the message attribute, the control segment being used to control the called terminal to analyze the standard message, the control segment comprising at least one of a message category time-space identifier and a message serial number; generating a payload segment according to the message content, the payload segment being used to store effective content of the to-be-sent data, the effective content comprising at least one of a message encoding, an ID identifier, a data type and a payload content; and integrating the header segment, the control segment and the payload segment to obtain the standard message.

[0010] In an optional embodiment of the present application, the standard message is sent to the called terminal through the satellite network, comprising: when the standard message includes a receipt identifier, waiting for receiving the receipt information sent back by the called terminal after sending the standard message; sending the received receipt information back to the calling terminal; if the receipt information is not received after a predetermined time, re-sending the standard message until the receipt information is received, and / or generating and feeding back a failure information.

[0011] The present application also provides a satellite terminal data forwarding method applied to a satellite terminal in a satellite terminal data forwarding system; the method comprises the following steps: connecting with a forwarding terminal through a satellite network and receiving a standard message sent by the forwarding terminal; parsing the standard message to obtain the message content and outputting.

[0012] In an optional embodiment of the present application, the parsing of the standard message to obtain the message content and outputting comprises: judging whether the standard message is a long message; if not, determining the message content according to the standard message and outputting; if yes, continuously receiving the long message, parsing all the long messages to obtain multiple subsegment contents, and sequentially arranging the subsegment contents to obtain the message content and outputting.

[0013] In an optional embodiment of the present application, the parsing of the standard message to obtain the message content and outputting comprises: when the standard message includes a receipt identifier, generating a receipt information and returning to the forwarding terminal.

[0014] The present application also provides a satellite terminal data forwarding system, comprising: a forwarding terminal and a satellite terminal; the forwarding terminal is connected with at least one satellite terminal through a satellite network; the forwarding terminal is used to implement the satellite terminal data forwarding method applied to the forwarding terminal mentioned above; the satellite terminal is used to implement the satellite terminal data forwarding method applied to the satellite terminal mentioned above.

[0015] The present application also provides a computer device, comprising a processor and a memory; the processor is used to execute the computer program stored in the memory to implement the method as described above.

[0016] By using the embodiments of the present application, the following beneficial effects are achieved:

[0017] The present application can add a forwarding terminal in the satellite network system, which serves as an intermediary of multiple satellite networks, so that the calling terminal and the called terminal do not need to adapt to each other's data protocol, but only need to specify the communication address of the other party, and the conversion of the custom protocol to the standard communication protocol and the forwarding of the message to the other party are completed through the forwarding terminal, which greatly improves the communication efficiency.

[0018] The above description is only a summary of the technical solutions of the present application. In order to make the technical means of the present application more clear and understandable, and to enable the above and other purposes, characteristics and advantages of the present application to be more obvious and easy to understand, the following preferred embodiments are described in detail with reference to the accompanying drawings. It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the present application. BRIEF DESCRIPTION OF DRAWINGS

[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the drawings needed in the embodiments or the prior art description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.

[0020] Among them:

[0021] Figure 1 The flowchart of a satellite terminal data forwarding method applied to a forwarding terminal provided by an embodiment is shown in the figure.

[0022] Figure 2 The structural diagram of a satellite terminal data forwarding system provided by an embodiment is shown in the figure.

[0023] Figure 3 The application scenario diagram of a satellite terminal data forwarding method provided by an embodiment is shown in the figure.

[0024] Figure 4 The flowchart of a satellite terminal data forwarding method applied to a satellite terminal provided by an embodiment is shown in the figure.

[0025] Figure 5 The structural schematic diagram of a computer device provided by an embodiment is shown in the figure. DETAILED DESCRIPTION

[0026] The technical solutions in the embodiments of the present application will be described in detail below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only some embodiments of the present application, not all. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor are within the scope of protection of the present application.

[0027] Currently, in the forwarding of satellite terminal communication data, due to limitations such as different satellite networks, different service scenarios, and different data transmission methods for the calling and called terminals, a dedicated data forwarding scheme needs to be customized for each type of terminal. This forwarding scheme typically includes a complete process from data reception and parsing to data forwarding. Customized methods have low automation and low data forwarding efficiency, and there is currently no unified standard. To improve the communication efficiency between satellite terminals, this application proposes a satellite terminal data forwarding method. For a clear description of the method provided in this embodiment, please refer to... Figures 1-4 .

[0028] The satellite terminal 110 data forwarding method provided in this application is applied to the forwarding terminal 120 and the satellite terminal 110 of the satellite terminal 110 data forwarding system 10, respectively.

[0029] The satellite terminal 110 data forwarding system 10 includes a forwarding terminal 120 and a satellite terminal 110. The forwarding terminal 120 is connected to at least one satellite terminal 110 via a satellite network. The forwarding terminal 120 is used to implement the aforementioned satellite terminal 110 data forwarding method applied to the forwarding terminal 120. The satellite terminal 110 is used to implement the aforementioned satellite terminal 110 data forwarding method applied to the satellite terminal 110.

[0030] For the specific architecture of the satellite terminal 110 data forwarding system 10 used in this application, please refer to [reference needed]. Figure 2 .like Figure 2 The satellite terminal 110 data forwarding system 10 shown includes a forwarding terminal 120 and a satellite terminal 110. The forwarding terminal 120 is a device newly added in this application, which can be a server, management system, etc. The specific hardware structure is not limited, only a functional description is given.

[0031] The satellite terminal 110 can be further distinguished as a calling terminal 110a and a called terminal 110b: the calling terminal 110a is a satellite terminal 110 that initiates communication in a data interaction process; the called terminal 110b is a satellite terminal 110 that receives data in a data interaction process. Further, the satellite terminal 110 is a terminal device that can communicate and interact with other terminals through a satellite network. Specifically, the satellite terminal 110 can be, but is not limited to, a mobile phone, a tablet computer, a personal digital assistant (PDA), a mobile Internet device (MID), a wearable device (such as a smart watch), and the like. The satellite terminal 110 can process and display corresponding information through an application (such as an APP) and perform corresponding operations to improve efficiency. The satellite terminal 110 will complete information registration before performing the method, for example, a manager completes terminal information and satellite card information registration in a data center. The terminal information and the satellite card information are bound to each other through a satellite card number, one-to-one, and the satellite card number is unique.

[0032] Therefore, the application scenario of the method provided by the present application can refer to Figure 3 As shown in Figure 3 Although the forwarding terminal 120 is connected to the calling terminal 110a and the called terminal 110b, respectively, and belongs to the same satellite terminal 110 data forwarding system 10, the calling terminal 110a and the called terminal 110b can be in different satellite networks. For example Figure 3 As shown in, the forwarding terminal 120 and the calling terminal 110a are located in a satellite network A; the forwarding terminal 120 and the called terminal 110b are located in a satellite network B. Different satellite networks will result in different message standards and encoding methods within the networks. The problem is that the calling terminal 110a and the called terminal 110b cannot directly interact with each other, and the message standards need to be converted to unify the message standards of the two.

[0033] Based on this, the satellite terminal 110 data forwarding method applied to the forwarding terminal 120 provided by the present application is proposed, which includes steps S110-S130; and the satellite terminal 110 data forwarding method applied to the satellite terminal 110 includes steps S210-S220.

[0034] Step S110: When obtaining the to-be-sent data sent by the calling terminal, the to-be-sent data is parsed to obtain the message attribute and the message content.

[0035] In an embodiment, the calling terminal 110a sends the data to be sent to the satellite after establishing a connection with the satellite, the satellite sends a terminal message via the ground station at this time, and the ground station transmits the information to the forwarding terminal 120 through the cellular network. The forwarding terminal 120 can parse the data to be sent to obtain the message attribute and the message content. The parsing process can be to execute a function getDeviceInfo() to obtain terminal information TE by carrying a parameter satellite card number TR01 of the calling terminal 110a, and complete message decoding according to the data protocol type marked by the terminal information on the data to be sent. The message attribute is the control content for determining the storage of the message, including but not limited to, for example, the calling terminal ID, the called terminal ID, the satellite network in which they are located, the space-time information, etc. The message content and the effective content actually stored, such as text, picture, voice, video, etc.

[0036] Step S120: performing a preprocessing operation on the message content, the preprocessing operation including one of a standard conversion operation or a data splitting operation; and generating a standard message from the message content after the preprocessing operation is performed.

[0037] In an embodiment, after the message attribute and the message content are determined, the encapsulated message can be prepared for forwarding. As described above, it can be understood that the calling terminal 110a and the called terminal 110b can not have unified messages between each other, and therefore, the standard unified processing needs to be completed through the forwarding terminal 120 to convert into a standard protocol message, which is referred to as a standard message. Before conversion, a series of preprocessing operations can be performed to make the subsequent conversion process have higher processing efficiency. The preprocessing operation includes one of a standard conversion operation or a data splitting operation.

[0038] In an embodiment, the standard conversion operation includes: obtaining first encoding information in the message attribute, the first encoding information being used to indicate the encoding form of the data to be sent; judging whether the first encoding information conforms to a preset message standard; if the first encoding information conforms to the preset message standard, skipping the standard conversion operation; if the first encoding information does not conform to the preset message standard, converting the message content according to the preset message standard; and / or obtaining second encoding information, the second encoding information being used to indicate the encoding form compatible with the called terminal 110b; if the second encoding information is compatible with the first encoding information, skipping the standard conversion operation; if the second encoding information is not compatible with the first encoding information, converting the message content according to the second encoding information.

[0039] In an embodiment, the first encoding information in the message attribute is acquired, and the first encoding information is used to indicate the encoding form of the data to be sent. Whether the data to be sent is in the form corresponding to the standard message is determined by judging whether the first encoding information conforms to the preset message standard. If the first encoding information conforms to the preset message standard, it indicates that the data to be sent is already in a form that can be directly encapsulated and forwarded, and no additional processing is required, so the standard conversion operation can be directly skipped. Correspondingly, if the first encoding information does not conform to the preset message standard, the message content is converted according to the preset message standard, so as to ensure that the message content can be quickly used for standard conversion. In this way, the problem that the calling terminal 110a uses a custom communication protocol and the called terminal 110b uses a standard communication protocol is solved, and the custom protocol is converted to the standard communication protocol by the forwarding terminal 120 and the message is forwarded to the called terminal 110b.

[0040] If the calling terminal also uses the standard protocol forwarding system, no transcoding work is required, and data forwarding is directly completed, greatly improving communication efficiency.

[0041] Further, in other embodiments, in addition to converting the message content of the calling terminal 110a to a unified standard, it can also be determined whether the message standard of the calling terminal 110a is in an encoding form that is compatible with the called terminal 110b. Correspondingly, second encoding information indicating the encoding form compatible with the called terminal 110b needs to be acquired. Whether the message content needs to be subjected to a standard conversion operation is determined by judging whether the second encoding information is compatible with the first encoding information. If the second encoding information is compatible with the first encoding information, it indicates that no additional processing is required, and the standard conversion operation can be directly skipped. On the contrary, if the second encoding information is not compatible with the first encoding information, the message content needs to be converted according to the second encoding information, so that the standard of the message content can be in a form compatible with the second encoding information, or directly converted to the unified standard provided in the present application, so that the called terminal 110b can clearly understand the information sent by the calling terminal 110a.

[0042] The standard protocol defined in the present application can be a general-purpose protocol, which can basically meet the current satellite communication business scenario requirements. For example, the business types are as follows: 0x01-text message (does not contain special symbols GB2312 encoding, contains UTF-8 encoding), 0x02-picture (binary encoding), 0x03-voice (binary encoding), 0x04-device acquisition information, 0x05-SOS warning, 0x06-weather forecast, etc.

[0043] In an embodiment, the data splitting operation includes: determining whether the data length of the message content exceeds the length upper limit; if the data length does not exceed the length upper limit, skipping the data splitting operation; if the data length exceeds the length upper limit, splitting the message content into a plurality of sub-segment contents according to the data length and the length upper limit, and sequentially arranging the sub-segment contents; generating a standard message from the message content after the preprocessing operation, including: regarding the sub-segment contents as the message content to generate a multi-segment standard message, and marking the standard message as a long message; and sending the standard message to the called terminal 110b, including: arranging the long message according to the order of the corresponding sub-segment contents, and sequentially sending the long message to the called terminal 110b.

[0044] In an embodiment, in the conventional processing, the satellite network is usually applied to the case where other signals, for example, the cellular network is not applicable, that is, the network condition is relatively poor. Therefore, the single transmission of the data transmission based on the satellite network is usually limited by the length to ensure that the data can be transmitted more efficiently and accurately. Usually, the byte number limit of the single transmission is considered by the calling terminal 110a. However, in the method provided in the present application, since the forwarding terminal 120 is involved, the calling terminal 110a no longer needs to consider the byte number limit of the single transmission of the satellite link of the called terminal 110b. The forwarding terminal 120 judges whether to split the package according to the terminal registration information (maximum payload byte number) to reduce the transmission times of the data on the satellite link of the called terminal 110b and improve the transmission efficiency.

[0045] Specifically, it can be determined whether the data length of the message content exceeds the length upper limit. If the data length does not exceed the length upper limit, the data splitting operation is skipped, that is, the message content is directly encapsulated and sent in the subsequent process. For the message sent in this case, there is only one, which is called a short message. Correspondingly, if the data length exceeds the length upper limit, the message content needs to be split. Specifically, if the data length is divided by the length upper limit, the split number S = data length / length upper limit; if it is not an integer, the split number S = (data length / length upper limit) + 1. The long message payload is split according to the split number and the corresponding field is filled. A plurality of sub-segment contents are obtained by splitting, and the sub-segment contents have an arrangement order, for example, the first packet identifier H2 is 1, and the non-first packet value is 0.

[0046] In the subsequent process of generating a standard message, all sub-segment contents are regarded as message contents to generate a multi-segment standard message. All standard messages obtained in this case are marked as long messages, and the order corresponding to the sub-segment contents of the long messages is recorded. Further, in the subsequent sending process, the long messages will be sent in order according to the order of the sub-segment contents. The long message is encapsulated by the first packet and the non-first packet to reduce the total byte number of transmission and improve the transmission efficiency. The split long messages are spliced and sent one by one by executing the sendMessage method.

[0047] In an embodiment, the packet content after the pre-processing operation is executed is generated into a standard packet, including: generating a header segment according to the packet attribute and the packet content, the header segment being used to store attribute information of the standard packet, including at least one of a message type and a receipt identification; generating a control segment according to the packet attribute, the control segment being used to control the called terminal 110b to parse the standard packet, including at least one of a message type space-time identification and a message serial number; generating a payload segment according to the packet content, the payload segment being used to store effective content of the data to be sent, including at least one of a message encoding, an ID identification, a data type and a payload content; and aggregating the header segment, the control segment and the payload segment to obtain the standard packet.

[0048] In an embodiment, the standard packet provided by the present application includes a header segment, a control segment and a payload segment, which will be described one by one.

[0049] Firstly, the header segment is used to store attribute information of the standard packet, including at least one of a message type and a receipt identification. The content form of the header segment can refer to Table 1 shown as follows:

[0050]

[0051]

[0052] Table 1: Content of header segment

[0053] H1 stores a packet type, which is used to indicate a message type. The message type is the short message and the long message as described above, which will fill the content of H2. The short message is a message which does not need to be split according to the content of the message, and the message is transmitted once without being split; the long message is a message which needs to be split into multiple segments according to the content of the message, and the message is sent one by one. The long message is used to prevent the data from being too large to exceed the single data transmission capacity limit of the satellite link. H3 and H4 are used to record time identification and location identification in the message attribute, which are not necessarily included, and thus are not necessarily provided. H5 is an ACK identification, which is a receipt identification, and is used to make a receipt of the message, indicating that the data interaction party has received the message, and the format is consistent with the short message. The specific processing procedure will be described in detail below. H7 records the remaining length of the control segment and the remaining segment, which can be used to verify whether the message is completely sent.

[0054] Referring to Table 1, the length of each part of the header section is recorded, which is divided into fixed length and variable length integer. The actual length information used to indicate the corresponding data content. Fixed length: fixed size integer, which can be bit, byte. The identification bit in the header is recommended to be 1 bit, and the rest can be defined according to the actual business size. Variable length integer: unsigned integer, in order to save the byte overhead of transmission as much as possible, while retaining the ability to transmit large numbers, variable length integer is widely used in the protocol to encode numerical values. For values less than 128, it uses single-byte encoding. Larger values are processed as follows: the low 7 bits are used to encode data, and the most significant bit is used to indicate whether there are more bytes. Therefore, each byte can encode 128 numerical values and a continuation bit (continuation bit).

[0055] The specific length upper limit of the variable length integer can be referred to Table 2.

[0056] Number of bytes Minimum value Maximum value 1 0(0x00) 127 (0x7F) 2 128 (0x80, 0x01) 16,383 (0xFF, 0x7F) 3 16,384 (0x80, 0x80, 0x01) 2,097,151 (0xFF, 0xFF, 0x7F) 4 2,097,152 (0x80, 0x80, 0x80, 0x01) 268,435,455 (0xFF, 0xFF, 0xFF, 0x7F) N ... (0x80,..., 0x01) ... (0xFF,..., 0x7F)

[0057] Table 2: Variable length integer length table

[0058] The control section is generated according to the message attribute, and is used to control the called terminal 110b to parse the standard message, including at least one of the message category space-time identifier and the message sequence number. For the content form of the control section, please refer to Table 3:

[0059]

[0060]

[0061] Table 3: Control section content table

[0062] As shown in Table 3, the content of C1 and C5 is the message sequence number, the former is used to indicate the message ID, and the latter is unique to long messages, and records the arrangement order of each other in the long message. The content of C2-C4 is the space-time identifier, which records the space-time information of the message sending.

[0063] The payload section is generated according to the message content, and is used to store the effective content of the data to be sent. For the content form of the control section, please refer to Table 4:

[0064]

[0065]

[0066] Table 4: Payload section content table

[0067] As shown in Table 4, the load section includes at least one of message encoding, ID identification, data type, and load content. Among them, P3 is the message encoding, recording the encoding form of the message content; P1, P2, P5, and P6 are ID identification, recording the ID of the calling terminal 110a and the called terminal 110b, used to identify each other. P4 is the data type, recording the data type of the message content. P7 is the load and content, which is the actual storage content of the message content. The values of P3 and P4 can be defined by the actual business situation, for example, no special symbol text message, P3-0x1, P4-0x1; P1 and P5 are recommended to be filled in to reduce the total byte number. When the payload is a picture or voice, the original data can be split through the long message mechanism to ensure that the single word transmission byte number is less than or equal to the maximum load number limit of the satellite link single word transmission. It is recommended that the number of packets does not exceed 5, and a compression algorithm should be appropriately used to complete large data transmission.

[0068] Finally, the header section, the control section, and the load section are assembled to obtain the standard message disclosed in the present application. The standard message can be identified by the calling terminal 110a and the called terminal 110b. Through the standard message, data interaction between satellite terminals 110 is realized, so that the called terminal 110b does not need to adapt to the data protocol of the calling terminal 110a, and the called terminal 110b does not need to update the local program to adapt to the new data protocol when a new satellite manufacturer terminal or the calling terminal 110a protocol is iterated. Similarly, the calling terminal 110a does not need to care about the data protocol of the called terminal 110b, and only needs to specify the communication address (satellite phone number) of the called terminal 110b.

[0069] Step S130: determining the called terminal according to the message attribute, and sending the standard message to the called terminal through the satellite network.

[0070] In an embodiment, the method provided by the present application can support the interaction of satellite terminals 110 between different satellite networks. For example, referring to the application scenario diagram shown in Figure 3 The calling terminal 110a is located in satellite network A, and the called terminal 110b is located in satellite network B. The satellite terminals 110 between the two satellite networks cannot directly communicate. The forwarding terminal 120 can be simultaneously located in, or respectively interact with, the two satellite networks. Therefore, when the calling terminal 110a needs to interact with the called terminal 110b, the forwarding terminal 120 can first interact with the calling terminal 110a in the satellite network A to obtain the to-be-sent data, and then interact with the corresponding called terminal 110b in the satellite network B to send the standard message, thereby realizing the interaction of satellite terminals 110 between different satellite networks.

[0071] In an embodiment, the standard message is sent to the called terminal 110b through the satellite network, including: when the standard message includes a receipt identifier, waiting for the receipt information sent back by the called terminal 110b after sending the standard message; sending the obtained receipt information back to the calling terminal 110a; if the receipt information is not received after a predetermined time, re-sending the standard message until the receipt information is received, and / or generating and feeding back failure information.

[0072] In an embodiment, in the foregoing process of generating a standard message, it is explained that the receipt identifier may exist. The receipt identifier is used to indicate that the calling terminal 110a and the called terminal 110b support the reply mechanism, and the called terminal 110b can reply directly through the standard message without adapting the reply message of the calling terminal 110a. In other words, the calling terminal 110a needs to obtain the receipt information to determine that the data to be sent is completed. Therefore, when the forwarding terminal 120 generates the standard message, after identifying that the receipt identifier exists in the standard message, it is necessary to wait for the receipt information after sending the standard message to assist the interaction of the receipt information of both parties.

[0073] Specifically, the forwarding terminal 120 waits for the receipt information sent back by the called terminal 110b after sending the standard message. The receipt information is generated by the called terminal 110b, and the specific generation process will be described in detail in the satellite terminal 110 data forwarding method of the satellite terminal 110 of the calling terminal 110a in the following application, which will not be expanded here. If the receipt information is obtained within a predetermined time, the obtained receipt information is sent back to the calling terminal 110a to complete the reply of the calling terminal 110a and the called terminal 110b, and end this communication. The target ID in the receipt information, i.e. the satellite card number of the calling terminal 110a, can be obtained. It is used as a parameter to execute the getDeviceInfo function to obtain the terminal information TE, encapsulates the message (non-standard message) according to the TE04 field terminal data protocol type, and executes the sendMessage method to send the message to the calling terminal 110a satellite network. The calling terminal 110a receives the receipt information of the called terminal 110b, and obtains the state that the called terminal 110b message is received successfully.

[0074] The predetermined time is a preset time length, for example, which can be 60s. If the receipt information is not acquired within the predetermined time, it can be determined that the information sending of the standard message is timed out. To ensure the communication of the standard message, the standard message can be sent again, and the waiting is repeated until the receipt information is acquired. In other embodiments, if the standard message is repeatedly sent and the receipt information is not acquired, it means that there is a problem at the called terminal 110b or other conditions, and a failure information can be directly generated and fed back. The failure information is used to inform the calling terminal 110a that the sending of the to-be-sent data fails, and the reason for the sending failure can also be specifically included, so as to assist the personnel at the calling terminal 110a to understand the situation in time and facilitate the problem solving.

[0075] The foregoing describes the satellite terminal 110 data forwarding method applied to the forwarding terminal 120 in detail, and it can be seen from the method description process that the interaction of the standard message not only needs the participation of the forwarding terminal 120, but actually the satellite terminal 110 also needs to participate in the processing. For this, the application also correspondingly proposes a satellite terminal 110 data forwarding method applied to the satellite terminal 110, which includes steps S210-S220.

[0076] Step S210: A connection is established with the forwarding terminal through the satellite network, and the standard message sent by the forwarding terminal is received.

[0077] In an embodiment, the satellite terminal 110 is connected with the forwarding terminal 120 through the satellite network. Specifically, the satellite terminal 110 includes a calling terminal 110a and a called terminal 110b. The calling terminal 110a is the satellite terminal 110 that initiates communication in the data interaction process; and the called terminal 110b is the satellite terminal 110 that receives data in the data interaction process. Specifically, in the satellite terminal 110 data forwarding method applied to the satellite terminal 110 provided in the application, it is mainly applied to the called terminal 110b. The calling terminal 110a is mainly used to provide to-be-sent data, and the called terminal 110b needs to parse and process the standard message. As for the generation and sending process of the standard message, it has been described in detail in the foregoing, and will not be described here.

[0078] Step S220: The standard message is parsed to obtain the message content and output.

[0079] In an embodiment, the standard message is parsed to obtain the message content and output, including: determining whether the standard message is a long message; if it is not a long message, determining the message content according to the standard message and outputting; if it is a long message, continuously receiving the long message, parsing all the long message to obtain multiple subsegment contents, and sequentially arranging the subsegment contents to obtain the message content and output.

[0080] In one implementation, after receiving the standard message, the called terminal 110b needs to parse it to extract the payload content. The message type is determined; as mentioned earlier, messages can be divided into long messages and short messages. If it is a short message, it can be decoded according to the standard protocol to directly display the service information.

[0081] If it's a long message, all long messages are continuously received. After parsing, the payload is stored in a Map(Key, Value) structure, where each segment of the payload is called a sub-segment. The key KEY is a string concatenated with the message ID and packet sequence number, and the value Value is the payload; if it's the first packet, the total number of packets is stored. After all long messages are received, verification is performed. The Map's size() function is used to determine if the number of received packets equals the total number of packets, ensuring that all long messages are fully acquired. If they are equal, the Values ​​in the Map structure are merged according to the packet sequence number. After merging, the data is parsed based on the data encoding in the payload, and the business information is displayed.

[0082] In one embodiment, parsing a standard message to obtain and output the message content includes: when the standard message includes a receipt identifier, generating receipt information and returning it to the forwarding terminal 120.

[0083] In one implementation, the standard message may contain a receipt identifier, indicating that the called terminal 110b and the calling terminal 110a support a response mechanism, or that the calling terminal 110a needs to obtain receipt information to confirm that the standard message has been completely sent. If the called terminal 110b does not recognize the receipt identifier, it skips this step. If it does recognize it, it can encapsulate a response message according to the standard protocol format, filling in the corresponding fields to obtain the receipt information. The receipt information may include, but is not limited to, the following: message ID (ID of the received message); target ID (ID of the received message source). The called terminal 110b executes the sendPacket method to send the message to the target satellite network to return the receipt information.

[0084] Therefore, this application can add a forwarding terminal 120 to the satellite network system as an intermediary for multiple satellite networks, so that neither the calling terminal 110a nor the calling terminal 110a needs to adapt to the other's data protocol. They only need to specify the other party's communication address. All the conversion of the custom protocol to the standard communication protocol and the forwarding of messages to the other party are completed by the forwarding terminal 120, which greatly improves communication efficiency.

[0085] Figure 5 An internal structural diagram of a computer device in one embodiment is shown. This computer device can specifically be a terminal or a server. Figure 5As shown, the computer device includes a processor, a memory and a network interface connected through a system bus. The memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system, and can also store a computer program which, when executed by the processor, can enable the processor to implement the satellite terminal data forwarding method. The internal memory can also store a computer program which, when executed by the processor, can enable the processor to execute the satellite terminal data forwarding method. Those skilled in the art can understand that Figure 5 The structure shown in the figure is only a block diagram of part of the structure related to the scheme of the present application, and does not constitute a limitation on the computer device to which the scheme of the present application is applied. The specific computer device can include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0086] In one embodiment, the present application also provides a computer readable storage medium storing a computer program, which, when executed by a processor, enables the processor to perform the steps of the method described in any of the preceding embodiments. The specific computer can be the satellite terminal 110 or the forwarding terminal 120, and is not limited in particular.

[0087] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be completed by a computer program instructing relevant hardware. The program can be stored in a non-volatile computer readable storage medium, and when executed, can include the processes of the above-mentioned embodiments. Any reference to memory, storage, database or other medium used in the embodiments provided by the present application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration but not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

[0088] It should be noted that, as used in this document, the terms "include," "includes," or "including" are used as the term is used in patent law; i.e., meaning "including but not limited to," or the like. Also, as used in this document, the terms "have," "has," "having," "with" or the like are used to describe useful, optional

[0089] It should be understood that, although terms such as first, second, third, etc. can be used in this disclosure to describe various information, the information should not be limited to these terms. These terms are only used to distinguish one category of information from another category of information. For example, without departing from the scope of this disclosure, first information can also be referred to as second information, and similarly, second information can also be referred to as first information. Depending on the context, the word "if' as used herein can be interpreted to mean "when" or "in response to determining" or "in response to ascertaining." Also, as used in this document, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context indicates otherwise. It will be further understood that the terms "comprises," "comprising," "includes," "including," and the like, when used in this document, specify the presence of stated features, steps, operations, elements, components, items, kinds, and / or groups but do not preclude the presence or addition of one or more other features, steps, operations, elements, components, items, kinds, and / or groups thereof. As used herein, the terms "or" and "and / or" are to be interpreted as inclusive or meaning any one or any combination. Therefore, "A, B or C" or "A, B and / or C" means "any of the following: A; B; C; A and B; A and C; B and C; A, B and C." An exception to this definition will occur only when a combination of elements, functions, steps or acts are in some way inherently mutually exclusive.

[0090] It should be understood that, although each step in the flowchart in the embodiments of the present application is shown in sequence according to the arrow, these steps are not necessarily executed in sequence according to the arrow. Unless explicitly stated herein, the execution of these steps is not strictly limited in sequence, and they can be executed in other sequences. Moreover, at least part of the steps in the figure can include multiple sub-steps or multiple stages, which are not necessarily executed at the same time, but can be executed at different times, and the execution sequence is not necessarily sequential, but can be alternately executed with at least part of other steps or sub-steps or stages of other steps.

[0091] It should be noted that in this paper, step codes such as 310, 320 are used, the purpose is to express the corresponding content more clearly and simply, and it does not constitute a substantial limitation on the sequence. Those skilled in the art may perform 320 first and then perform 310, etc. when implementing, but these should be within the scope of protection of the present application.

[0092] The above-described embodiments only express several implementation manners of the present application, and the description is more specific and detailed, but it should not be understood as a limitation on the scope of the patent of the present application. It should be pointed out that, for those skilled in the art, without departing from the concept of the present application, a number of modifications and improvements can be made, which are all within the scope of protection of the present application. Therefore, the scope of protection of the patent of the present application should be subject to the appended claims.

Claims

1. A satellite terminal data forwarding method, characterized in that, A forwarding terminal is used in a satellite terminal data forwarding system; the satellite terminal data forwarding system includes the forwarding terminal and a satellite terminal, the forwarding terminal is connected to the satellite terminal through a satellite network, the satellite terminal includes a calling terminal and a called terminal; the calling terminal and the called terminal are located in different satellite networks, and the forwarding terminal is located in both the calling terminal and the called terminal's satellite network, the different satellite networks have different message standards and encoding methods; The method includes the following steps: When the data to be sent by the calling terminal is obtained, the data to be sent is parsed to obtain the message attributes and message content; The message content is subjected to preprocessing operations, which include either a standard conversion operation or a data splitting operation. The message content after the preprocessing operation is completed will be used to generate a standard message; The standard conversion operation includes: obtaining first encoding information from the message attributes, the first encoding information indicating the encoding format of the data to be sent; determining whether it conforms to a preset message standard based on the first encoding information; if it conforms to the preset message standard, skipping the standard conversion operation; if it does not conform to the preset message standard, converting the message content according to the preset message standard; and / or, obtaining second encoding information, the second encoding information indicating the encoding format compatible with the called terminal; if the second encoding information is compatible with the first encoding information, skipping the standard conversion operation; if the second encoding information is incompatible with the first encoding information, converting the message content according to the second encoding information. The step of generating a standard message from the message content after the preprocessing operation includes: generating a header segment based on the message attributes and the message content, wherein the header segment stores attribute information of the standard message, including at least one of message type and receipt identifier; generating a control segment based on the message attributes, wherein the control segment controls the called terminal to parse the standard message, including at least one of message type spatiotemporal identifier and message sequence number; generating a payload segment based on the message content, wherein the payload segment stores the valid content of the data to be sent, including at least one of message encoding, ID identifier, data type and payload content; and summarizing the header segment, the control segment, and the payload segment to obtain the standard message. The called terminal is determined based on the message attributes, and the standard message is sent to the called terminal through the satellite network.

2. The satellite terminal data forwarding method as described in claim 1, characterized in that, The data splitting operation includes: Determine whether the data length of the message content exceeds the maximum length limit; If the length limit is not exceeded, the data splitting operation is skipped; If the length exceeds the upper limit, the message content is split into multiple sub-segments based on the data length and the upper limit, and the sub-segments are arranged in order. The step of generating the standard message from the message content after the preprocessing operation is completed includes: The sub-segment content is treated as the message content to generate multiple standard messages, and the standard messages are marked as long messages; Sending the standard message to the called terminal includes: The long messages are arranged in the order of their corresponding sub-segments and sent sequentially to the called terminal.

3. The satellite terminal data forwarding method as described in claim 1, characterized in that, The step of sending the standard message to the called terminal via the satellite network includes: When the standard message includes a receipt identifier, after sending the standard message, wait to obtain the receipt information sent back by the called terminal; and send the obtained receipt information back to the calling terminal. If the receipt information is not received after the scheduled time, the standard message is resent until the receipt information is received, and / or a failure message is generated and fed back.

4. A satellite terminal data forwarding system, characterized in that, include: A relay terminal and a satellite terminal; the relay terminal is connected to at least one of the satellite terminals via a satellite network; The forwarding terminal is used to implement the method as described in any one of claims 1 to 3; The satellite terminal is used to establish a connection with the relay terminal through a satellite network and to receive standard messages sent by the relay terminal. Parse the standard message to obtain the message content and output it; The step of parsing the standard message to obtain message content and outputting it includes: determining whether the standard message is a long message; if it is not a long message, determining the message content based on the standard message and outputting it; if it is a long message, continuously receiving the long message, parsing all the long messages to obtain multiple segment contents; arranging the segment contents in order and merging them to obtain the message content and outputting it; when the standard message includes a receipt identifier, generating receipt information and returning it to the forwarding terminal.

5. A computer device, characterized in that, Including processor and memory; The processor is used to execute a computer program stored in the memory to implement the method as described in any one of claims 1 to 3.

Citation Information

Patent Citations

  • Device, system and method for message forwarding

    CN103415001A

  • Application layer receipt transmission method, system and device in Beidou communication system

    CN115694594A