CN-122028110-A - Data compression method, system and related device in satellite communication system
Abstract
The application discloses a data compression method, a system and a related device in a Beidou communication system, wherein a terminal compresses a user ID of the terminal and encodes the compressed user ID into binary data, and then the terminal fills the binary data into a user ID field contained in frame header information of a first user frame generated by the terminal; the terminal sends a first user frame to the north-fighting network device. In this way, frame header overhead in the user frame may be reduced.
Inventors
- YAO ZHENDONG
- QIAN FENG
- LI ZHENZHOU
- ZHU YING
- LIN LIXIN
- YAO CHUTING
Assignees
- 华为技术有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20210913
- Priority Date
- 20210806
Claims (20)
- 1. A method of data compression in a satellite communications system, comprising: The method comprises the steps that a first terminal encodes a first user ID of the first terminal into binary first data, wherein the first user ID comprises second data and third data, the first data comprises binary fourth data and binary fifth data, the fourth data is obtained by encoding sixth data, the sixth data is obtained by compressing the second data, the data length of the sixth data is smaller than that of the second data, and the fifth data is obtained by encoding the third data; the first terminal sends a first user frame to the satellite network device, wherein the first user frame carries the first data.
- 2. The method of claim 1, wherein the first terminal encodes the first user ID of the first terminal into binary first data, comprising: The first terminal compresses second data in a first user ID of the first terminal into sixth data in a satellite link control SLC layer, wherein the first user ID consists of the second data and third data, and the data length of the sixth data is smaller than that of the second data; the first terminal encodes the sixth data into fourth data and the third data into fifth data at the SLC layer; The first terminal composes the fourth data and the fifth data into first data.
- 3. The method of claim 2, wherein the first terminal compresses the second data in the first user ID of the first terminal to sixth data at a satellite link control SLC layer, comprising: The first terminal maps the second data in the first user ID to the sixth data in a mapping table in the SCL layer, wherein the mapping table comprises a plurality of second data and a plurality of sixth data, the plurality of second data comprises the second data of the first value, the plurality of sixth data comprises the sixth data of the second value, and the second data of the first data is mapped to the sixth data of the second value.
- 4. The method of claim 2, wherein the first terminal compresses the second data in the first user ID of the first terminal to sixth data at a satellite link control SLC layer, comprising: and the first terminal subtracts a preset offset value from the second data in the first user ID in the SCL layer to obtain the sixth data.
- 5. The method of any of claims 2-4, wherein the first terminal encoding the sixth data into fourth data and the third data into fifth data at a satellite link control, SLC, layer comprises: the first terminal converts the sixth data into binary fourth data as decimal integer at the SLC layer, and converts the third data into binary fifth data as decimal integer.
- 6. The method of any of claims 1-5, wherein the first user ID is a mobile phone number, the second data is a national destination code NDC in the mobile phone number, and the third data is a client number SN in the mobile phone number.
- 7. The method according to any of claims 1-6, wherein before the first terminal encodes the first user ID of the first terminal into binary first data, the method further comprises: the first terminal detects a first operation, wherein the first operation is used for indicating the first terminal to send a first message to a second terminal; The first terminal compresses a second user ID of the second terminal at an application APP layer and then codes the compressed second user ID into seventh data; The first terminal generates a first message in the APP layer, wherein the first message comprises a message header and message data, the message header comprises the seventh data, and the message data comprises the content of the first message.
- 8. The method of claim 7, wherein the first terminal, after the APP layer generates the first message, further comprises: The first terminal transmits the first message to the SLC layer to obtain one or more satellite link control layer service data units SLC SDUs, wherein the one or more SLC SDUs comprise a first SLC SDU, The first terminal segments the first SLC SDU into one or more user frames including the first user frame.
- 9. The method according to any one of claims 1-8, further comprising: The first terminal receives a second user frame sent by the satellite network device, and the second user frame is sent to the first terminal by the second terminal; The first terminal decodes and decompresses a user ID field in frame header information of the second user frame in the SLC layer to obtain user ID data; The first terminal uploads the second user frame to a message data aggregation MDCP layer under the condition that the first terminal determines that the user ID data is the same as the first user ID; and discarding the second user frame by the first terminal under the condition that the first terminal determines that the user ID data is different from the first user ID.
- 10. The method of claim 9, wherein the first terminal decodes and decompresses a user ID field in header information of the second user frame at the SLC layer to obtain the first user ID of the first terminal, the method further comprising: The first terminal uploads the user data in the second user frame to an APP layer to obtain a second message; The first terminal decodes and decompresses a user ID field in the header of the second message in the APP layer to obtain the second user ID of the second terminal; and the first terminal determines that the second message is sent by the second terminal based on the second user ID.
- 11. A method of data compression in a satellite communications system, comprising: The satellite network equipment encodes a first user ID of a first terminal into binary first data, wherein the first user ID comprises second data and third data, the first data comprises binary fourth data and binary fifth data, the fourth data is obtained by encoding sixth data, the sixth data is obtained by compressing the second data, the data length of the sixth data is smaller than that of the second data, and the fifth data is obtained by encoding the third data; the satellite network device sends a second user frame to the first terminal, wherein the second user frame carries the first data.
- 12. The method of claim 11, wherein the satellite network device further comprises, prior to the satellite link control layer SLC encoding the first user ID of the first terminal into binary first data: The satellite network device obtains a first user ID of the first terminal.
- 13. The method of claim 12, wherein the satellite network device obtaining the first user ID of the first terminal comprises: The satellite network device receives a first user frame sent by the first terminal, and a user ID field in frame header information of the first user frame is used for indicating the first user ID of the first terminal; the satellite network device decodes the first user ID from the first user frame.
- 14. The method of claim 12, wherein the satellite network device obtaining the first user ID of the first terminal comprises: the satellite network device receives a first user frame sent by the first terminal, and a user ID field in frame header information of the first user frame is used for indicating the first data; the satellite network device decompresses and decodes the first data to obtain the first user ID.
- 15. The method of claim 12, wherein the satellite network device obtaining the first user ID of the first terminal comprises: The satellite network device receives a second message, wherein the second message is sent to the first terminal through the satellite network device by a second terminal, and the second message comprises a user ID field for indicating the first user ID of the first terminal; the satellite network device decodes the first user ID from a user ID field in a header of the second message.
- 16. The method according to any of claims 12-15, wherein the satellite network device, when encoding the first user ID of the first terminal into binary first data, comprises: The satellite network equipment compresses second data in a first user ID of the first terminal into sixth data in a satellite link control SLC layer, wherein the first user ID consists of the second data and third data, and the data length of the sixth data is smaller than that of the second data; The satellite network device encodes the sixth data into fourth data and the third data into fifth data at the SLC layer; the satellite network device composes the fourth data and the fifth data into first data.
- 17. The method of claim 16, wherein the satellite network device compressing the second data in the first user ID of the first terminal into sixth data at a satellite link control, SLC, layer, comprising: the satellite network device maps the second data in the first user ID to the sixth data in a mapping table in the SCL layer, wherein the mapping table comprises a plurality of second data and a plurality of sixth data, the plurality of second data comprises the second data of the first value, the plurality of sixth data comprises the sixth data of the second value, and the second data of the first data is mapped to the sixth data of the second value.
- 18. The method of claim 16, wherein the satellite network device compressing the second data in the first user ID of the first terminal into sixth data at a satellite link control, SLC, layer, comprising: And the satellite network equipment subtracts a preset offset value from the second data in the first user ID in the SCL layer to obtain the sixth data.
- 19. The method of any of claims 16-18, wherein the satellite network device encoding the sixth data into fourth data and the third data into fifth data at a satellite link control, SLC, layer comprises: the first terminal converts the sixth data into binary fourth data as decimal integer at the SLC layer, and converts the third data into binary fifth data as decimal integer.
- 20. The method according to any of claims 12-19, wherein the first user ID is a mobile phone number, the second data is a national destination code NDC in the mobile phone number, and the third data is a client number SN in the mobile phone number.
Description
Data compression method, system and related device in satellite communication system The present application is a divisional application, the application number of which is 202111069259.8, the application date of which is 2021, 09, 13, and the entire contents of which are incorporated herein by reference. Technical Field The application relates to the technical field of Beidou communication and compression, in particular to a data compression method, a data compression system and a related device in a satellite communication system. Background The Beidou satellite navigation system is an important infrastructure which is independently developed in China and integrates positioning, time service and communication. The Beidou short message system utilizes a Beidou satellite system to realize the sending of short message information. The method is particularly suitable for communication in areas where mobile communication is uncovered or not covered or the communication system is destroyed, such as oceans, deserts, grasslands, unmanned areas and the like. The short message system of the Beidou No. three satellite upgrades the short message technology system, so that the separation of military and civil signals is realized, and the national state opens some necessary resources of the Beidou short message system to civilian use on the premise of ensuring that the military requirements are completely met, and a communication protocol is required to be designed according to the characteristics of the Beidou short message system aiming at civilian service and equipment characteristics. Currently, in the beidou short message communication system, each user is assigned a user number for identifying the identity of the user, and the user number is also called a user ID. The method is limited by satellite communication receiving and transmitting capability of the current mass terminals, the frame header overhead of uplink and downlink transmission is reduced as much as possible, a BCD (Binary-Coded device) is adopted in the traditional mobile phone number coding mode, and more frame header overhead is wasted if the coding mode is adopted. Therefore, how to encode the user ID in the beidou system, to minimize the frame header overhead is called a problem to be solved by those skilled in the art. Disclosure of Invention The application provides a data compression method, a data compression system and a related device in a satellite communication system. In a first aspect, a data compression method in a satellite communication system is provided, where the method includes that a first terminal encodes a first user ID of the first terminal into binary first data at a satellite link control layer SLC, the first user ID includes second data and third data, the first data includes binary fourth data and binary fifth data, the fourth data is encoded by sixth data, the sixth data is compressed by the second data, a data length of the sixth data is smaller than that of the second data, the fifth data is encoded by the third data, the first terminal fills the first data into a user ID field in frame header information of a first user frame at the SLC layer, and the terminal sends the first user frame to a beidou network device. The first user ID may be a mobile phone number of the first terminal, the second data may be a domestic destination code NDC in the mobile phone number, and the third data may be a client number SN in the mobile phone number. Thus, the bits occupied by the user ID in the frame header information of the user frame can be reduced. When the terminal transmits the user frame to the north fight network device, the frame header overhead can be reduced. With reference to the first aspect, in one possible implementation manner, the first terminal encodes the first user ID of the first terminal into binary first data at the satellite link control layer SLC, where the first terminal compresses second data in the first user ID of the first terminal into sixth data at the SLC layer, the first user ID is composed of the second data and third data, the data length of the sixth data is smaller than that of the second data, the first terminal encodes the sixth data into fourth data at the SLC layer, the third data into fifth data, and the first terminal composes the fourth data and the fifth data into the first data. Thus, the bits occupied by the user ID in the frame header information of the user frame can be reduced. With reference to the first aspect, in one possible implementation manner, the first terminal compresses second data in a first user ID of the first terminal into sixth data in an SLC layer, which includes that the first terminal maps the second data in the first user ID into sixth data in a mapping table in the SCL layer, the mapping table includes second data with a plurality of values and sixth data with a plurality of values, the second data with a plurality of values includes the second data with a fir