Search

CN-121984560-A - Short message transmission method and device

CN121984560ACN 121984560 ACN121984560 ACN 121984560ACN-121984560-A

Abstract

The application provides a short message transmission method and a short message transmission device, which can be used in the technical field of satellite communication. Based on the method, message information of a first user terminal can be received, the message information comprises compression shortening messages and coding information, under the condition that a preset plurality of Huffman coding trees comprise Huffman coding trees pointed by the coding information, the compression short messages are decompressed by using the Huffman coding trees pointed by the coding information to obtain original short messages, each Huffman coding tree comprises Huffman codes corresponding to characters in a message communication scene, the Huffman codes are related to the occurrence frequency of the characters, and the original short messages are sent to a second user terminal.

Inventors

  • AI LUN
  • GE YUEFENG
  • CHU HENGLIN
  • WU YUFEI
  • XIONG YAZHOU
  • SHI YUWEI

Assignees

  • 中国时空信息集团有限公司

Dates

Publication Date
20260505
Application Date
20251209

Claims (19)

  1. 1. The short message transmission method is applied to a communication platform and is characterized by comprising the following steps: Receiving message information of a first user terminal, wherein the message information comprises compression shortening messages and coding information; Under the condition that a plurality of preset Huffman coding trees comprise Huffman coding trees pointed by the coding information, decompressing the compressed short message by using the Huffman coding trees pointed by the coding information to obtain an original short message, wherein each Huffman coding tree comprises Huffman codes corresponding to characters in a message communication scene, and the Huffman codes are related to the occurrence frequency of the characters; and sending the original short message to a second user terminal.
  2. 2. The short message transmission method as claimed in claim 1, wherein, The encoding information includes at least one of a tree identification and a version identification of a huffman encoding tree; in the Huffman coding tree, the coding length of the character is inversely related to the occurrence frequency of the character in the message communication scene.
  3. 3. The short message transmission method according to claim 1, wherein the method further comprises: collecting text data under various message communication scenes to obtain a character set under the message communication scenes; constructing a Huffman coding tree of each message communication scene according to the occurrence frequency of characters in the character set under each message communication scene; And distributing coding information to the constructed Huffman coding tree.
  4. 4. The short message transmission method according to claim 1, wherein the method further comprises: Based on the original short message, performing incremental update on the Huffman coding trees; and distributing coding information for the Huffman coding tree updated by each increment.
  5. 5. The short message transmission method according to any one of claims 1-4, further comprising: and sending the plurality of Huffman coding trees and corresponding coding information to the first user terminal and/or the second user terminal.
  6. 6. The method for transmitting short messages according to claim 1, wherein said sending the original short message to the second user terminal comprises: under the condition that the second user terminal is accessed to a ground public mobile communication network, determining an information transmission channel corresponding to the second user terminal; and pushing the original short message to equipment corresponding to the information transmission channel, so that the equipment sends the original short message to the second user terminal in a short message mode.
  7. 7. The method for transmitting short messages according to claim 1, wherein said sending said original short message to a second user terminal further comprises: And under the condition that the second user terminal is not accessed to the ground public mobile communication network, the original short message is sent to the second user terminal through satellite equipment.
  8. 8. The short message transmission method is applied to a first user terminal and is characterized by comprising the following steps: Under the condition that one or more preset Huffman coding trees meet compression conditions, compressing an original short message by using the one or more preset Huffman coding trees to obtain one or more compression shortening messages; Determining a first shortened message from the one or more shortened messages according to the compression rate; and sending message information to a communication platform, wherein the message information comprises the first shortened message and first coding information, and the first coding information points to a Huffman coding tree corresponding to the first shortened message.
  9. 9. The short message transmission method of claim 8, further comprising: and receiving a plurality of pre-trained Huffman coding trees and coding information thereof sent by the communication platform.
  10. 10. The short message transmission method according to claim 8, wherein, in the case that the preset one or more huffman coding trees satisfy the compression condition, compressing the original short message by using the preset one or more huffman coding trees to obtain one or more compressed short messages, including: Judging whether characters in the original short message exist in a character set pointed by each preset Huffman coding tree or not according to each preset Huffman coding tree; and if the short message exists, compressing the original short message by using the Huffman coding tree to obtain a corresponding compressed short message.
  11. 11. The short message transmission method of claim 8, further comprising: under the condition that one or more preset Huffman coding trees do not meet the compression condition, compressing the original short message by using a standby compression mode to obtain a second compression shortened message; And sending message information to a communication platform, wherein the message information comprises the second compression shortening message and second coding information, and the second coding information points to the standby compression mode.
  12. 12. The short message transmission method according to claim 8, wherein the encoded information occupies 1 byte, wherein the first M bits are used for representing a tree identifier of a huffman coding tree corresponding to the compressed short message, the last N bits are used for representing a version identifier of the huffman coding tree corresponding to the compressed short message, and the M and N are positive integers.
  13. 13. The short message transmission method of claim 8, further comprising: When the ground public mobile communication network is connected, receiving a plurality of new version Huffman coding trees and coding information sent by the communication platform, and updating a plurality of locally stored Huffman coding trees and coding information thereof.
  14. 14. A short message transmission device, applied to a communication platform, the device comprising: the receiving module is used for receiving the message information of the first user terminal, wherein the message information comprises compression shortening messages and coding information; the decompression module is used for decompressing the compressed short message by using the Huffman coding tree pointed by the coding information under the condition that the Huffman coding tree pointed by the coding information is included in a plurality of preset Huffman coding trees to obtain an original short message; And the sending module is used for sending the original short message to a second user terminal.
  15. 15. A communication platform, comprising: A memory and a processor, the processor and the memory are in communication connection, the memory stores computer instructions, and the processor implements the short message transmission method according to any one of claims 1 to 7 by executing the computer instructions.
  16. 16. A short message transmission device, applied to a first user terminal, comprising: The compression module is used for compressing the original short message by using one or more preset Huffman coding trees under the condition that the one or more preset Huffman coding trees meet the compression condition to obtain one or more compression shortening messages; the determining module is used for determining a first pressure shortening message in the one or more pressure shortening messages according to the compression rate; The sending module is used for sending message information to the communication platform, wherein the message information comprises the first shortened message and first coding information, and the first coding information points to a Huffman coding tree corresponding to the first shortened message.
  17. 17. A first user terminal, comprising: a memory and a processor, the processor and the memory being communicatively connected to each other, the memory having stored therein computer instructions, the processor implementing the short message transmission method of any of claims 8 to 13 by executing the computer instructions.
  18. 18. A computer storage medium storing computer program instructions which, when executed, implement the steps of the method of any one of claims 1 to 7 or 8 to 13.
  19. 19. A computer program product comprising a computer program which, when executed by a processor, implements the steps of the method of any one of claims 1 to 7 or claims 8 to 13.

Description

Short message transmission method and device Technical Field The present application relates to the field of satellite communications technologies, and in particular, to a method and an apparatus for transmitting a short message. Background In recent years, the satellite communication field presents two major development trends of low-orbit constellation scale deployment and high-bandwidth transmission technology. However, the high-bandwidth communication system relies on a complex technical architecture and a dedicated terminal device, and involves a complex signaling interaction mechanism in the access process, so that the overall use cost is high. In this context, narrowband communication based on satellite short messages still takes an important place in the market by virtue of its random access characteristics and convenient use experience, and is expected to continue to play a key role for a longer period of time in the future. Notably, a part of smartphones have realized support for satellite short message communication functions, and the technical progress remarkably enhances the communication guarantee capability of emergency communication and in a distress search and rescue scene. Currently, the transmission rate of a satellite short message system is generally in a narrow-band range of 1-2 kbps, and as the scale of users is continuously enlarged, the contradiction between the limited bandwidth resource and the transmission requirement is increasingly prominent. The data compression method widely applied to message transmission at present comprises Zstd, brotli, gzip and the like, wherein the core principle is based on dynamic fusion application of basic compression strategies of the first compression of repeated characters, the second compression based on entropy coding and the third deduction of context information. However, the existing data compression method applied to message transmission generally needs to dynamically call various compression strategies, more head and tail identification information is introduced into the compressed message, the starting cost is high, the compression efficiency is low in a short message transmission scene, and even the risk of data expansion exists. Disclosure of Invention The embodiment of the application aims to provide a short message transmission method and device, which can improve the compression efficiency in the short message transmission process and avoid data expansion. The present specification provides a short message transmission method applied to a communication platform, including: Receiving message information of a first user terminal, wherein the message information comprises compression shortening messages and coding information; Under the condition that a plurality of preset Huffman coding trees comprise Huffman coding trees pointed by the coding information, decompressing the compressed short message by using the Huffman coding trees pointed by the coding information to obtain an original short message, wherein each Huffman coding tree comprises Huffman codes corresponding to characters in a message communication scene, and the Huffman codes are related to the occurrence frequency of the characters; and sending the original short message to a second user terminal. In some embodiments, the encoding information includes at least one of a tree identification and a version identification of a huffman encoding tree; in the Huffman coding tree, the coding length of the character is inversely related to the occurrence frequency of the character in the message communication scene. In some embodiments, the above method further comprises: collecting text data under various message communication scenes to obtain a character set under the message communication scenes; constructing a Huffman coding tree of each message communication scene according to the occurrence frequency of characters in the character set under each message communication scene; And distributing coding information to the constructed Huffman coding tree. In some embodiments, the above method further comprises: Based on the original short message, performing incremental update on the Huffman coding trees; and distributing coding information for the Huffman coding tree updated by each increment. In some embodiments, the above method further comprises: and sending the plurality of Huffman coding trees and corresponding coding information to the first user terminal and/or the second user terminal. In some embodiments, sending the original short message to the second user terminal includes: under the condition that the second user terminal is accessed to a ground public mobile communication network, determining an information transmission channel corresponding to the second user terminal; and pushing the original short message to equipment corresponding to the information transmission channel, so that the equipment sends the original short message to the second user terminal in a short