Satellite message transmission method and system, and terminal device

By using the ID or transmission code generated by the timestamp in Beidou short messages to correlate satellite messages, the problem of limited Beidou short message capacity is solved and more efficient message transmission and correlation display are achieved.

WO2024187928A9PCT designated stage expired Publication Date: 2024-10-17HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/070927
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-15
Filing Date
2024-01-05
Publication Date
2024-10-17

AI Technical Summary

Technical Problem

The message capacity of Beidou short messages in existing satellite communications is limited, resulting in limited information content when users send messages and the inability to effectively associate multiple messages.

Method used

By generating IDs or transmission codes of Beidou satellite messages based on timestamp information, the message capacity occupied by Beidou short messages is reduced and correlation between multiple messages is achieved.

Benefits of technology

It improves users' communication guarantee in no network environment, enhances the ability to display correlations between messages, reduces the occupation of Beidou short message capacity, and achieves a more intuitive display of message relationships.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024070927_17102024_PF_FP_ABST
    Figure CN2024070927_17102024_PF_FP_ABST
Patent Text Reader

Abstract

Provided in the embodiments of the present application are a satellite message transmission method and system, and a terminal device, which can indicate an identifier of a Beidou satellite message in a Beidou short packet and can reduce the occupation of a packet space, wherein the identifier of the Beidou satellite message can facilitate the association of a relationship between a plurality of messages including the Beidou satellite message. In the method, in response to an operation for instructing the sending of a satellite message, a first terminal device generates an identifier of the satellite message on the basis of timestamp information, and then sends both the identifier of the satellite message and the message content of the satellite message. Compared with generating an identifier of a satellite message by means of a general technique, generating an identifier of a satellite message on the basis of timestamp information can occupy less packet space.
Need to check novelty before this filing date? Find Prior Art

Description

Satellite message transmission method, system and terminal equipment

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office of the People's Republic of China on March 15, 2023, with application number 202310288193.4 and invention name "A Satellite Message Transmission Method, System and Terminal Equipment", the entire contents of which are incorporated by reference into this application. Technical Field

[0003] The present application relates to the field of terminal technology, and in particular to a satellite message transmission method, system and terminal device. Background Art

[0004] With the development and advancement of technology, the functions of terminal devices are gradually improving and enriching. Taking mobile phones as an example, more and more mobile phones now have Beidou short message communication service functions, which can provide users with communication guarantee in offline environments.

[0005] Due to satellite communication rate limitations, the message capacity for sending and receiving messages via satellite is currently limited. For example, in some implementations, Beidou short messages can only transmit a maximum of 400 bits of content. Furthermore, the recipient number, location information, and user-entered information all take up space in the Beidou short message. Therefore, there are significant limitations on the amount of information a user can actually enter in a Beidou short message.

[0006] Summary of the Invention

[0007] The present application provides a satellite message transmission method, system and terminal device, which can indicate the Beidou satellite message identifier in the Beidou short message and reduce the message space occupied; wherein, the Beidou satellite message identifier can facilitate the association of the relationship between multiple messages including the Beidou satellite message.

[0008] In a first aspect, embodiments of the present application provide a satellite message transmission method. In this method, a first terminal device generates a first message identifier based on first timestamp information in response to a first operation on a first interface, wherein the first operation is used to instruct the first terminal device to send a satellite message. The first terminal device then sends the first satellite message to a satellite, wherein the first satellite message includes the first message identifier and first message content.

[0009] In this method, a BeiDou satellite message identity document (ID) is generated based on timestamp information, which can reduce the message capacity occupied by the BeiDou satellite message ID. Furthermore, the BeiDou satellite message ID can be used to associate multiple messages, allowing users to more intuitively identify the relationship between messages.

[0010] In one possible design, generating the first message identifier based on the first timestamp information includes: performing a modulo processing on the first timestamp information using a first preset duration to obtain a modulo result; and generating the first message identifier based on the modulo result. Exemplarily, the first preset duration may be a preset maximum storage duration for satellite messages, such as 7 days. In some embodiments, generating the first message identifier based on the modulo result includes using the modulo result as the first message identifier.

[0011] In this design, the ID of the Beidou satellite message is generated by using timestamp information. Compared with the ID of the Beidou message generated by using general technology, the message capacity occupied by the Beidou short message can be reduced.

[0012] In one possible design, the method further includes: the first terminal device receiving a second satellite message transmitted by a satellite, the second satellite message including a second message identifier and second message content; wherein the second message identifier is the same as the first message identifier, and the second message content is a reply to the first message content. In some embodiments, the second message identifier can be understood as the first message identifier. After the first terminal device's communication partner receives the first message identifier and first message content transmitted by the first terminal device, when replying to the first terminal device, the reply message carries the first message identifier, thereby indicating, through the message identifier, that the reply message is a reply to the first message content. The first terminal device displays a second interface based on the second satellite message; wherein the second message content is displayed in association with the first message content in the second interface. It is understood that when a satellite message is transmitted, the satellite message carries the encoded message content and message identifier, and after receiving the second satellite message, the terminal device decodes the encoded message content and message identifier, determines the association between the messages based on the decoded message identifier, and displays the decoded message content. Although encoding and decoding are not described in the embodiments of this application, it is understood that messages can be encoded for transmission and decoded after reception.

[0013] In this design, the first terminal device matches the message identifier carried in the received satellite message with the message identifier of the message sent by the first terminal device, and can accurately obtain the association relationship between messages, thereby realizing the association display between messages, so that the user can more intuitively determine the relationship between messages.

[0014] In one possible design, before the first terminal device receives the second satellite message sent by the satellite, the method also includes: the first terminal device sends a first request message to the satellite in response to the second operation, and the first request message is used to request to obtain the satellite message to be received by the first terminal device.

[0015] In this design, the first terminal device can actively query the satellite to obtain the satellite messages to be received, thereby expanding the implementation of more scenarios without network connection and improving the user's communication security.

[0016] In one possible design, the first timestamp information is the current universal time coordinated (UTC) obtained by the first terminal device in response to the first operation.

[0017] In this design, by adopting UTC, the Beidou satellite message ID can be generated more accurately, avoiding problems such as duplication of Beidou satellite message IDs.

[0018] Based on the above various possible designs, the first satellite message is a Beidou satellite message.

[0019] In a second aspect, embodiments of the present application also provide another satellite message transmission method. In response to a first operation on a first interface, a first terminal device generates a first message identifier based on first timestamp information, wherein the first operation is used to instruct the first terminal device to send a satellite message. The first terminal device generates a first transmission code based on the first timestamp information, wherein the first transmission code is used to obtain the first message identifier. The first terminal device transmits a first satellite message to a satellite, wherein the first satellite message includes the first transmission code and first message content.

[0020] In this method, the BeiDou satellite message ID and transmission code are generated based on the timestamp information. The transmission code is then carried in the satellite message. The transmission code also indirectly indicates the BeiDou satellite message ID, which reduces the message capacity occupied by BeiDou short messages. Furthermore, the BeiDou satellite message ID can be used to associate multiple messages, allowing users to more intuitively identify the relationship between messages.

[0021] In one possible design, generating the first message identifier based on the first timestamp information includes: performing a modulo processing on the first timestamp information using a first preset duration to obtain a first modulo result; and generating the first message identifier based on the first modulo result. In one possible design, the first preset duration is greater than or equal to a preset storage duration for satellite messages. Exemplarily, the first preset duration can be a preset maximum storage duration for satellite messages, such as 7 days. In some embodiments, generating the first message identifier based on the first modulo result includes using the first modulo result as the first message identifier.

[0022] In one possible design, generating the first transmission code based on the first timestamp information includes: performing a modulo processing on the first timestamp information using a second preset duration to obtain a second modulo result; and generating the first transmission code based on the second modulo result. In one possible design, the second preset duration is greater than or equal to the maximum transmission duration required for a satellite message to be transmitted from the first terminal device to the server. Exemplarily, the second preset duration may be the maximum transmission duration required for a satellite message to be transmitted from the terminal device to be received by the server, for example, 4 minutes. In some embodiments, generating the first transmission code based on the second modulo result includes using the second modulo result as the first transmission code.

[0023] In this design, by using timestamp information to generate a transmission code and indirectly indicating the ID of the Beidou satellite message through the transmission code, the message capacity occupied by the Beidou short message can be reduced compared to the Beidou message ID generated by using general technology.

[0024] In one possible design, the method also includes: the first terminal device receives a second satellite message sent by a satellite, the second satellite message including a second message identifier and a second message content; wherein, the second message identifier is the same as the first message identifier, and the second message content is a reply content to the first message content; the first terminal device displays a second interface based on the second satellite message; wherein, in the second interface, the second message content is displayed in association with the first message content.

[0025] In one possible design, before the first terminal device receives the second satellite message sent by the satellite, the method also includes: the first terminal device sends a first request message to the satellite in response to the second operation, and the first request message is used to request to obtain the satellite message to be received by the first terminal device.

[0026] In one possible design, the first timestamp information is the current UTC obtained by the first terminal device in response to the first operation.

[0027] Based on the above various possible designs, the first satellite message is a Beidou satellite message.

[0028] In a third aspect, embodiments of the present application further provide a satellite message transmission method. In this method, a server receives a first satellite message from a first terminal device via a satellite, the first satellite message including a first transmission code and first message content, the first transmission code being used to obtain a first message identifier; the server obtains first timestamp information based on second timestamp information and the first transmission code; the first timestamp is earlier than the second timestamp; the server obtains the first message identifier based on the first timestamp information; and the server sends a first message to a second terminal device, the first message including the first message identifier and the first message content.

[0029] In this method, after a server parses a first transmission code from a satellite message, it can determine the first timestamp information corresponding to the generated first transmission code based on the encoding method of the first transmission code. Furthermore, based on the encoding method of the Beidou satellite message ID, the server can use the same encoding method to obtain the Beidou satellite message ID based on the first timestamp information. This method reduces the message capacity occupied by Beidou short messages when the Beidou satellite message ID needs to be transmitted.

[0030] In one possible design, the method also includes: the server receives a second message sent by the second terminal device, the second message including a second message identifier and a second message content; wherein, the second message identifier is the same as the first message identifier, and the second message content is a reply content of the first message content; the server sends a second satellite message to the satellite, the second satellite message including the second message identifier and the second message content.

[0031] In one possible design, the server obtains the first timestamp information based on the second timestamp information and the first transmission code, including: the server generates the second transmission code based on the second timestamp information; when it is determined that the second transmission code is the same as the first transmission code, determining that the first timestamp information is the second timestamp information; when it is determined that the second transmission code is different from the first transmission code, generating a transmission code based on timestamp information that is M preset time intervals earlier than the second timestamp information, until third timestamp information corresponding to a transmission code that is the same as the first transmission code is determined, and determining that the first timestamp information is the third timestamp information; wherein M is a positive integer taking values ​​in ascending order, the preset time interval is less than or equal to a first preset duration; and the first preset duration is a preset transmission duration for the first satellite message to be sent from the first terminal device to the server.

[0032] In one possible design, the second timestamp information is the current UTC obtained when the server receives the first satellite message.

[0033] Based on the above various possible designs, the first satellite message is a Beidou satellite message.

[0034] In a fourth aspect, an embodiment of the present application further provides a terminal device, comprising a memory and one or more processors; wherein the memory is used to store computer program code, and the computer program code comprises computer instructions; when the computer instructions are executed by the processor, the terminal device executes the method executed by the first terminal device in any possible design of the first aspect or the second aspect above.

[0035] In a fifth aspect, an embodiment of the present application further provides a terminal device, comprising modules / units for executing the method of any possible design of the first or second aspects above. These modules / units may be implemented in hardware, or corresponding software implementations may be executed in hardware.

[0036] In some embodiments, the terminal device may include a processing module and a communication module, wherein the processing module may be configured to generate a first message identifier based on first timestamp information in response to a first operation on a first interface, wherein the first operation is used to instruct the first terminal device to send a satellite message; and the communication module may be configured to send a first satellite message to a satellite, wherein the first satellite message includes the first message identifier and first message content.

[0037] In some other embodiments, the terminal device may include a processing module and a communication module, wherein the processing module is configured to generate a first message identifier based on first timestamp information in response to a first operation on a first interface, wherein the first operation is used to instruct the first terminal device to send a satellite message; the processing module is further configured to generate a first transmission code based on the first timestamp information, wherein the first transmission code is used to obtain the first message identifier; and the communication module is configured to send a first satellite message to a satellite, wherein the first satellite message includes the first transmission code and first message content.

[0038] In the sixth aspect, an embodiment of the present application further provides a server, comprising a memory and one or more processors; wherein the memory is used to store computer program code, and the computer program code comprises computer instructions; when the computer instructions are executed by the processor, the server executes the method executed by the server in any possible design in the third aspect above.

[0039] In a seventh aspect, an embodiment of the present application further provides a server comprising modules / units for executing the method in any one of the possible designs of the third aspect. These modules / units may be implemented by hardware, or by executing corresponding software implementations through hardware.

[0040] In some embodiments, the server may include a processing module and a communication module, wherein the communication module is configured to receive a first satellite message from a first terminal device via a satellite, the first satellite message including a first transmission code and a first message content, the first transmission code being used to obtain a first message identifier; the processing module is configured to obtain first timestamp information based on second timestamp information and the first transmission code, the first timestamp being earlier than the second timestamp; the processing module is further configured to obtain the first message identifier based on the first timestamp information; and the communication module is further configured to send a first message to a second terminal device, the first message including the first message identifier and the first message content.

[0041] In an eighth aspect, an embodiment of the present application further provides a satellite message transmission system, which may include at least the terminal device described in the fourth aspect and the server described in the sixth aspect.

[0042] In the ninth aspect, a computer-readable storage medium is provided, which stores a computer program (also referred to as code, or instructions) which, when executed on a computer, enables the computer to execute a method in any possible design of the first aspect, the second aspect, or the third aspect.

[0043] In the tenth aspect, a computer program product is provided, which includes: a computer program (also referred to as code, or instructions), which, when the computer program is run, enables the computer to execute the method in any possible design of the above-mentioned first aspect, the above-mentioned second aspect, or the above-mentioned third aspect.

[0044] In the eleventh aspect, a graphical user interface on a terminal device is also provided, which terminal device has a display screen, one or more memories, and one or more processors, and the one or more processors are used to execute one or more computer programs stored in the one or more memories, and the graphical user interface includes a graphical user interface displayed when the first terminal device executes any possible implementation method of the first aspect or the second aspect of the embodiment of the present application.

[0045] In the twelfth aspect, the present application also provides a chip, which is used to read a computer program stored in a memory and execute any of the above aspects and their possible methods for designing a terminal device to execute.

[0046] In a thirteenth aspect, the present application further provides a chip system, comprising a processor for supporting a computer device in implementing any of the above aspects and methods executed by a terminal device thereof. In one possible design, the chip system further comprises a memory for storing programs and data necessary for the computer device. The chip system may be composed of a chip alone, or may include a chip and other discrete components.

[0047] It should be noted that for the beneficial effects of the various designs of the terminal devices provided in the second to thirteenth aspects of the embodiments of the present application, please refer to the beneficial effects of any possible design in the first to third aspects, and no further details will be given here. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] FIG1 is a schematic diagram of a hardware architecture of a terminal device provided in an embodiment of the present application;

[0049] FIG2 is a block diagram of a software system architecture of a terminal device provided in an embodiment of the present application;

[0050] FIG3 is a diagram showing an application scenario in which a satellite message transmission method according to an embodiment of the present application is applicable;

[0051] FIG4 is a schematic diagram of an interface of a satellite message transmission method provided in an embodiment of the present application;

[0052] FIG5 is a flow chart of a satellite message transmission method according to an embodiment of the present application;

[0053] FIG6 is a second flow chart of a satellite message transmission method according to an embodiment of the present application;

[0054] FIG7 is a third flow chart of a satellite message transmission method provided in an embodiment of the present application;

[0055] FIG8 is a fourth flow chart of a satellite message transmission method provided in an embodiment of the present application. DETAILED DESCRIPTION

[0056] The embodiments of the present application will be described in detail below with reference to the accompanying drawings.

[0057] The embodiments of the present application can be applied to the field of terminal technology, and specifically can be applied to application scenarios involving satellite short message communications. In the following embodiments, satellite short messages are taken as Beidou short messages as examples. The implementation of Beidou related technologies and functions can rely on satellites or satellite networking, etc., to achieve communications and services, etc. Although the development of terrestrial communication technology can meet the needs of users in more communication scenarios, it is impossible to achieve comprehensive coverage of terrestrial communication networks. Therefore, in areas where some terrestrial communication networks do not exist or cannot exist, communication can be achieved based on Beidou technology, that is, Beidou messages (also known as "Beidou satellite messages", "Beidou short messages", "Beidou messages", "satellite messages", etc., which can be used interchangeably in the embodiments of the present application) communication service functions, which can achieve communication with the help of satellites or satellite networking.

[0058] In an optional embodiment, the transmitting device can send Beidou satellite messages to the receiving device in the form of Beidou short messages. The receiving device can reply to the Beidou satellite message via instant messaging technology or the operator's network. Based on this, the transmitting device can also actively query for reply messages through the Beidou satellite channel when there is no network connection, and can also obtain reply messages through the persistent connection channel with the server when there is a network connection.

[0059] Due to the limitations of Beidou satellite message usage, resources, and other factors, in order to improve the accuracy of communications including Beidou satellite messages, a group of interactive communication messages can be associated by carrying the Beidou satellite message identity document (ID) during the message interaction process. Optionally, a group of communication messages including Beidou satellite messages includes at least one Beidou satellite message, and the reply message may be a Beidou satellite message or may not be a Beidou satellite message. This application does not limit this. It is understood that a group of communication messages can be understood as the reply messages of both parties to the communication after the sending device initiates the communication.

[0060] However, due to the capacity limitations of Beidou short messages in satellite communications, such as a maximum transmission capacity of 400 bits, adding any information to a Beidou short message will reduce the amount of information that can be carried. When using common technologies to generate unique identifiers, they are typically represented as long integers, occupying 64 bits, thus reducing the actual amount of information that can be carried in a Beidou short message.

[0061] In light of this, embodiments of the present application provide a satellite message transmission method. This method provides a novel scheme for generating Beidou satellite message IDs. By generating Beidou satellite message IDs based on timestamps, the space occupied by Beidou satellite message IDs can be compressed. This not only enables the association between multiple messages to be determined using Beidou satellite message IDs, but also reduces the impact on the message capacity of Beidou short messages.

[0062] The embodiments of the present application can be applied to terminal devices with Beidou short message communication service functions, such as mobile phones, PCs, tablet computers, wearable devices (e.g., watches, bracelets, etc.), vehicle-mounted devices, augmented reality (AR) / virtual reality (VR) devices, laptops, ultra-mobile personal computers (UMPCs), netbooks, personal digital assistants (PDAs), smart home devices (e.g., smart TVs, smart speakers, etc.). It is understandable that the embodiments of the present application do not impose any restrictions on the specific type of terminal device.

[0063] The terminal devices to which the embodiments of the present application can be applied include, but are not limited to, Or terminal devices of other operating systems. The portable terminal device may also be other portable terminal devices, such as a laptop computer (Laptop) with a touch-sensitive surface (eg, a touch panel).

[0064] FIG1 shows a schematic diagram of the hardware structure of a possible terminal device. The terminal device 200 includes components such as a radio frequency (RF) circuit 210, a power supply 220, a processor 230, a memory 240, an input unit 250, a display unit 260, an audio circuit 270, a communication interface 280, and a wireless fidelity (Wi-Fi) module 290. Those skilled in the art will appreciate that the hardware structure of the terminal device 200 shown in FIG1 does not constitute a limitation on the terminal device 200. The terminal device 200 provided in the embodiment of the present application may include more or fewer components than shown, may combine two or more components, or may have different component configurations. The various components shown in FIG1 may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and / or application-specific integrated circuits.

[0065] The following is a detailed introduction to the various components of the terminal device 200 in conjunction with FIG1 :

[0066] The RF circuit 210 can be used to receive and transmit data during communications or calls. Specifically, after receiving downlink data from the base station, the RF circuit 210 sends it to the processor 230 for processing. Furthermore, it sends uplink data to the base station. Typically, the RF circuit 210 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low-noise amplifier (LNA), a duplexer, and the like.

[0067] In addition, the RF circuit 210 can also communicate with other devices via a wireless communication network. The wireless communication can use any communication standard or protocol, including but not limited to Global System of Mobile Communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), etc.

[0068] The terminal device 200 can also implement communication services and interact with other terminal devices. Therefore, the terminal device 200 needs to have a data transmission function, that is, the terminal device 200 needs to include a communication module. Although Figure 1 shows communication modules such as the RF circuit 210, the Wi-Fi module 290, and the communication interface 280, it is understandable that the terminal device 200 contains at least one of the above components or other communication modules for implementing communication (such as a Bluetooth module) for data transmission.

[0069] For example, when the terminal device 200 is a mobile phone, the terminal device 200 may include the RF circuit 210, and may also include the Wi-Fi module 290, or may include a Bluetooth module (not shown in Figure 1); when the terminal device 200 is a computer, the terminal device 200 may include the communication interface 280, and may also include the Wi-Fi module 290, or may include a Bluetooth module (not shown in Figure 1); when the terminal device 200 is a tablet computer, the terminal device 200 may include the Wi-Fi module, or may include a Bluetooth module (not shown in Figure 1).

[0070] Wi-Fi technology is a short-range wireless transmission technology. The terminal device 200 can connect to an access point (AP) via the Wi-Fi module 290 to access the data network. The Wi-Fi module 290 can be used to receive and send data during the communication process.

[0071] The terminal device 200 can be physically connected to other devices via the communication interface 280. Optionally, the communication interface 280 is connected to the communication interface of the other device via a cable to achieve data transmission between the terminal device 200 and the other device.

[0072] The memory 240 can be used to store software programs and modules. The processor 230 executes various functional applications and data processing of the terminal device 200 by running the software programs and modules stored in the memory 240. Optionally, the memory 240 may mainly include a program storage area and a data storage area. Among them, the program storage area can store an operating system (mainly including the corresponding software programs or modules of the kernel layer, system layer, application framework layer, and application layer).

[0073] In addition, the memory 240 may include a high-speed random access memory and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0074] The input unit 250 may be used to receive user input of various types of data objects such as numbers or characters, and to generate key signal inputs related to user settings and function control of the terminal device 200. Optionally, the input unit 250 may include a touch panel 251 and other input devices 252.

[0075] The touch panel 251, also known as a touch screen, can collect user touch operations on or near it (for example, operations performed by a user using a finger, stylus, or any other suitable object or accessory on or near the touch panel 251) and drive corresponding connection devices according to a pre-set program. In this embodiment of the present application, the touch panel 251 can collect user operations on the display panel 261, such as a user's touch operation for replying to Beidou satellite messages in the interface displayed on the display panel 261.

[0076] Optionally, the other input devices 252 may include, but are not limited to, one or more of a physical keyboard, function keys (such as a volume control button, a switch button, etc.), a trackball, a mouse, a joystick, etc.

[0077] The display unit 260 can be used to display information content input by the user or information content provided to the user, as well as various menus of the terminal device 200. The display unit 260 is the display system of the terminal device 200, which is used to present an interface and realize human-computer interaction. The display unit 260 may include a display panel 261. Optionally, the display panel 261 can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc. In the embodiment of the present application, when the terminal device 200 is a Beidou satellite message receiver, the display unit 260 can be used to display an interface for the user so that the user can view the received Beidou satellite messages through the interface and reply to the Beidou satellite messages through the interface; or, when the terminal device 200 is a Beidou satellite message transmitter, the display unit 260 can also be used to display an interface for the user so that the user can send Beidou satellite messages through the interface and receive messages replied to by the receiver through the interface.

[0078] The processor 230 is the control center of the terminal device 200. It connects various components using various interfaces and lines, executes or runs software programs and / or modules stored in the memory 240, and calls data stored in the memory 240 to perform various functions of the terminal device 200 and process data, thereby implementing various services based on the terminal device 200. In the embodiment of the present application, the processor 230 can be used to implement the satellite message transmission method provided in the embodiment of the present application.

[0079] The terminal device 200 also includes a power supply 220 (such as a battery) for powering various components. Optionally, the power supply 220 can be logically connected to the processor 230 through a power management system, thereby managing charging, discharging, and power consumption through the power management system.

[0080] As shown in Figure 1, the terminal device 200 also includes an audio circuit 270, a microphone 271 and a speaker 272, which can provide an audio interface between the user and the terminal device 200. The audio circuit 270 can be used to convert audio data into a signal that can be recognized by the speaker 272, and transmit the signal to the speaker 272, which is converted into a sound signal for output by the speaker 272. The microphone 271 is used to collect external sound signals (such as the sound of a person speaking, or other sounds, etc.), and convert the collected external sound signals into signals that can be recognized by the audio circuit 270 and send them to the audio circuit 270. The audio circuit 270 can also be used to convert the signal sent by the microphone 271 into audio data, and then output the audio data to the RF circuit 210 to send it to, for example, another terminal device, or output the audio data to the memory 240 for subsequent further processing.

[0081] Although not shown, the terminal device 200 may further include a camera, at least one sensor, etc., which will not be described in detail here. The at least one sensor may include but is not limited to a pressure sensor, an air pressure sensor, an acceleration sensor, a distance sensor, a fingerprint sensor, a touch sensor, a temperature sensor, etc.

[0082] The operating system (OS) involved in the embodiments of the present application is the most basic system software running on the terminal device 200. The software system of the terminal device 200 can adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture. The embodiments of the present application use an operating system with a layered architecture as an example to illustrate the software system architecture of the terminal device 200.

[0083] Figure 2 is a block diagram of the software system architecture of a terminal device provided in an embodiment of the present application. As shown in Figure 2, the software system architecture of the terminal device can be a layered architecture. For example, the software can be divided into several layers, each with a clear role and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the operating system is divided into five layers, from top to bottom: the application layer, the application framework layer (framework, FWK), the runtime and system library, the kernel layer, and the hardware layer.

[0084] The application layer may include a series of application packages. As shown in Figure 2, the application layer may include a camera, settings, skin modules, a user interface (UI), third-party applications, etc. Among them, third-party applications may include wireless local area network (WLAN), music, calls, Bluetooth, video, memos, messages, etc. In the embodiment of the present application, we can focus on the instant messaging application (application, APP) (such as Changlian APP) or the information APP that the application layer can provide. The sending and receiving of Beidou satellite messages can be realized in the instant messaging APP or the information APP; among them, when the terminal device has no network service, the message can be sent in the form of Beidou short message.

[0085] In one possible implementation, applications can be developed using Java by calling the application programming interface (API) provided by the application framework layer. Developers can use the application framework layer to interact with the underlying operating system layers (e.g., the hardware layer, kernel layer, etc.) to develop their own applications. The application framework layer primarily provides a series of services and management systems for the operating system.

[0086] The application framework layer provides an application programming interface and programming framework for applications in the application layer. The application framework layer includes some predefined functions. As shown in Figure 2, the application framework layer can include an activity manager, a window manager, a content provider, a view system, a telephony manager, a resource manager, a notification manager, and so on.

[0087] The activity manager is used to manage the life cycle of each application and provide common navigation back functions, providing an interactive interface for all program windows.

[0088] The window manager manages windowed applications. It can determine the display size, determine whether a status bar is present, lock the screen, and take screenshots. Content providers store and retrieve data and make it accessible to applications. This data can include video, images, audio, incoming and outgoing calls, browsing history and bookmarks, and phone books.

[0089] The view system includes visual controls, such as those for displaying text and images. The view system is used to build applications. A display interface can consist of one or more views. For example, a display interface containing a text notification icon might include a view for displaying text and a view for displaying images.

[0090] The phone manager is used to provide communication functions for terminal devices, such as call status management (including answering, hanging up, etc.).

[0091] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.

[0092] The Notification Manager allows applications to display notifications in the status bar. These messages can be displayed briefly and then disappear automatically, without requiring user interaction. For example, the Notification Manager can be used to notify users of completed downloads and message reminders. The Notification Manager can also display notifications in the top status bar of the system as icons or scrolling text, such as notifications from background applications, or as dialog windows on the screen. Examples include displaying text messages in the status bar, emitting alert sounds, vibrating the device, or flashing indicator lights.

[0093] The runtime includes the core library and the virtual machine. The runtime is responsible for the scheduling and management of the operating system.

[0094] The core library consists of two parts: one containing the Java language's callable functions and the other containing the operating system's core libraries. The application layer and application framework layer run in a virtual machine. The virtual machine executes the Java files in the application layer and application framework layer as binary files. The virtual machine manages object lifecycles, stack management, thread management, security and exception management, and garbage collection.

[0095] The system library can include multiple functional modules, such as a surface manager, a media framework, a 3D graphics processing library (such as OpenGL ES), and a 2D graphics engine (such as SGL).

[0096] The surface manager is used to manage the display subsystem and provide the fusion of two-dimensional and 3D layers for multiple applications.

[0097] The media framework supports playback and recording of a variety of common audio and video formats, as well as static image files. The media framework can support a variety of audio and video encoding formats, such as MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.

[0098] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.

[0099] A 2D graphics engine is a drawing engine for 2D drawings.

[0100] In some embodiments, a three-dimensional graphics processing library may be used to draw a three-dimensional motion trajectory image, and a two-dimensional graphics engine may be used to draw a two-dimensional motion trajectory image.

[0101] The kernel layer is the layer between hardware and software. The kernel layer includes at least display driver, camera driver, audio driver, and sensor driver.

[0102] The hardware layer can include various sensors, such as accelerometers, gravity sensors, touch sensors, etc.

[0103] Typically, the terminal device 200 can run multiple applications simultaneously. In simpler cases, one application corresponds to one process, while in more complex cases, one application corresponds to multiple processes. Each process has a process number (process ID).

[0104] It should be understood that in the embodiments of the present application, "at least one of the following" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b or c can represent: a, b, c, a and b, a and c, b and c, or a, b and c, where a, b, c can be single or multiple. "Multiple" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships can exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and subsequent associated objects are in an "or" relationship.

[0105] In addition, it should be understood that, in the description of this application, words such as "first" and "second" are only used for the purpose of distinguishing the description, and cannot be understood as indicating or implying relative importance, nor can they be understood as indicating or implying order.

[0106] It should be understood that the hardware structure of the terminal device can be as shown in Figure 1, and the software system architecture can be as shown in Figure 2, wherein the software programs and / or modules corresponding to the software system architecture in the terminal device can be stored in the memory 240, and the processor 230 can run the software programs and applications stored in the memory 240 to execute the process of a satellite message transmission method provided in an embodiment of the present application.

[0107] To facilitate understanding of the satellite message transmission method provided by the present application, the implementation process of the method provided by the present application is introduced below in conjunction with the contents shown in Figures 3 to 8.

[0108] Refer to Figure 3, which is a schematic diagram of an application scenario applicable to a satellite message transmission method provided in an embodiment of the present application. The application scenario may include but is not limited to: mobile phone A 301, satellite 302, server 303, and mobile phone B 304. Based on the application scenario shown in Figure 3, the communication process involving Beidou satellite messages is first introduced. Among them,

[0109] Mobile phone A 301 can be used to send Beidou satellite messages to satellite 302 using Beidou short messages when not connected to a network. Beidou satellite messages may include, but are not limited to, recipient numbers, message association identifiers, and other information. The message association identifier can be used to directly or indirectly indicate the ID of a Beidou satellite message, which can be used to determine the association between multiple messages. For example, FIG4 illustrates an interactive interface diagram of a satellite message transmission method provided in an embodiment of the present application. FIG4 may include interface 410 shown on mobile phone A 301. Interface 410 may be used to indicate the display interface after Zhang San sends a Beidou satellite message to recipients Li Si and Wang Wu via mobile phone A 301, and may include a preview card 401 for sending the Beidou satellite message. It should be noted that in the embodiments of the present application, the application used to implement the sending and receiving of Beidou satellite messages is not limited; for example, it can be an instant messaging app or a messaging app. Furthermore, although FIG4 displays Beidou satellite messages in the form of message cards, in actual implementation, they can also be displayed in the form of text content, and this application does not limit this.

[0110] Satellite 302 can be used to receive Beidou satellite messages from mobile phone A 301 and determine the recipient's corresponding server 303 based on the recipient's number carried in the Beidou satellite message. Satellite 302 can then send the Beidou satellite message to the recipient's corresponding server 303. Satellite 302 can send the Beidou satellite message to server 303 via a Beidou satellite ground information processing center (also referred to as a "ground station").

[0111] Server 303 can be configured to receive a Beidou satellite message sent from satellite 302 and determine the recipient's corresponding terminal device, such as mobile phone B 304, based on the recipient number carried in the Beidou satellite message. For example, server 303 can also be configured to parse the message association identifier carried in the Beidou satellite message to obtain the Beidou satellite message ID. Furthermore, server 303 can be configured to send the Beidou satellite message, including the Beidou satellite message ID, to mobile phone B 304.

[0112] Mobile phone B 304 can be used to receive Beidou satellite messages sent from server 303; the Beidou satellite messages can include the Beidou satellite message ID. For example, Figure 4 also includes interface 420 shown on mobile phone B 304. Interface 420 can be used to indicate the display interface after recipient Li Si receives the Beidou satellite message from Zhang San via mobile phone B 304, and can include a preview card 402 for receiving the Beidou satellite message. As can be seen from interface 420, preview card 402 includes a "Reply" control, through which the user can reply to the message of mobile phone A 301.

[0113] Mobile phone B 304 can also be used to reply to a received Beidou satellite message in response to a user's touch operation on the "Reply" control. For example, FIG4 may also include interface 430 shown on mobile phone B 304. Interface 430 may be used to indicate a reply interface for recipient Li Si to the Beidou satellite message from Zhang San. This reply interface may include a preview card 403 for replying to the Beidou satellite message. Furthermore, based on the reply to Zhang San's Beidou satellite message, preview card 403 may be displayed in conjunction with preview card 402 shown in interface 420, for example, as an overlay as shown in interface 430. This allows the user to intuitively determine that the two messages are associated with each other in the form of replies.

[0114] Then, mobile phone B 304 can also be used to send a reply message to the server 303. The reply message can carry the ID of the Beidou satellite message to indicate which Beidou satellite message the reply message is for.

[0115] The server 303 may also be configured to receive a reply message from mobile phone B 304 and store the reply message.

[0116] In some embodiments, when mobile phone A 301 is disconnected from a network, due to the mobility of Beidou satellites, it is difficult for them to actively initiate downlink communications. In general, after sending a Beidou satellite message, mobile phone A 301 can proactively query satellite 302 using a message query mechanism to determine whether there are any pending messages. To this end, mobile phone A 301 can also send a message download request message to satellite 302. After receiving the message download request message, the satellite can continue to send a message download request message to server 303. This message download request message can include at least one of a contact number on mobile phone A 301 and a message association identifier. For example, the contact number on mobile phone A 301 can be Zhang San's number.

[0117] Server 303 may also be configured to receive a message download request message from satellite 302 and query whether a corresponding to-be-received message exists based on the contact number and / or message association identifier of mobile phone A 301 carried in the message download request message. Exemplarily, upon detecting the existence of a corresponding reply message, server 303 returns the corresponding reply message to satellite 302.

[0118] Satellite 302 is also used to receive a reply message returned from server 303 and send the reply message to mobile phone A 301; wherein the reply message can carry a message association identifier, which can be used to directly or indirectly indicate the ID of the Beidou satellite message, and the ID of the Beidou satellite message can be used to determine the association relationship between multiple messages.

[0119] Mobile phone A 301 can be used to receive a reply message sent from satellite 302, obtain the Beidou satellite message ID based on the message association identifier carried in the reply message, and display an interface based on the Beidou satellite message ID. For example, FIG4 may also include interface 440 shown on mobile phone A 301. Interface 440 can be used to indicate the display interface after Zhang San receives Li Si's reply message. This display interface may include a preview card 404 for the received reply message. Based on the Beidou satellite message ID carried in the reply message, preview card 404 can be displayed in conjunction with preview card 401 shown in interface 410, for example, by displaying an overlay as shown in interface 440. This allows the user to intuitively determine that the two messages are associated as replies.

[0120] It should be noted that the touch operations mentioned above can be implemented through, but not limited to, the following methods: click, double-click, long press, or voice commands, and the specific implementation can be implemented according to the terminal device configuration. Furthermore, the network connection status involved in the above scenarios can include cellular networks, Wi-Fi networks, etc.; it is understood that when there is no network connection, the terminal device can communicate using the Beidou satellite network.

[0121] Based on the above description of the interface processing effects that can be achieved by using the method provided in the embodiment of this application, the following describes the implementation process of the satellite message transmission method provided in this application to illustrate how to use the method provided in this application to achieve the interface processing effect shown in Figure 4 described above. This can realize the reply to Beidou satellite messages and the reception of reply messages, which can meet more Beidou communication application scenarios and provide users with better communication guarantee.

[0122] In an optional embodiment, refer to FIG5 , which is a flow chart of a satellite message transmission method provided in an embodiment of the present application. The flow may include:

[0123] Step 501: The first terminal device obtains the message content of the Beidou satellite message and generates the ID of the Beidou satellite message.

[0124] In a possible embodiment, the first terminal device uses the current timestamp information to generate the ID of the Beidou satellite message. Exemplarily, the current timestamp information can be determined, for example, by universal time coordinated (UTC). Generally, UTC is a time unit in seconds (S), and the UTC time of the terminal device is calibrated by the Beidou satellite. Since Beidou satellite messages generally require manual editing by users, in order to reduce the amount of calculation, it can be considered in units of minutes; and due to the usage restrictions and resource restrictions of Beidou satellites, and the usage scenarios of Beidou satellite messages (generally used in a more urgent state without network connection), Beidou satellite messages can have a preset storage validity period. Exemplarily, the ID of the Beidou satellite message generated based on UTC can refer to the following formula 1:

[0125] Where (ID) in Formula 1 B It can represent the ID of the Beidou satellite message after conversion to binary. (ID) D Beidou satellite message ID that can be expressed in decimal format; UTC N1 It can represent the current UTC when the first terminal device generates the ID of the Beidou satellite message; It can be used to convert UTC time in seconds to UTC time in minutes; % can be used to perform a modulo operation; X can be used to indicate a preset storage validity period; C can be used to indicate an integer ≥ 0, which can be a custom constant to avoid conflicts in Beidou satellite message IDs.

[0126] For example, in the embodiment of the present application, X is 7 days as an example, and a custom configuration can be made in actual implementation. When X is 7, (X*24*60)=10800, (ID) D Convert to (ID) B After that, it can occupy at least 14 bits. This can reduce the space occupied by Beidou short messages compared to long-type identifiers generated by general technology (usually occupying 64 bits).

[0127] It can be understood that based on the Beidou satellite message ID calculated in the manner shown in Formula 1, when X is 7, the Beidou satellite message ID will not be reused within 7 days, so the problem of incorrect message association will not occur. In addition, after generating the ID of the Beidou satellite message, the first terminal device can simultaneously enable the timing of the Beidou satellite message. When the timing reaches a preset duration threshold, the Beidou satellite message can be cleared; for example, the preset duration threshold can be (X*24*60+C), or it can also be X*24*60, etc. When X is 7, the Beidou satellite message can be stored for 7 days, so the Beidou satellite message ID corresponding to the Beidou satellite message will not affect the ID value of the Beidou satellite message in the next cycle.

[0128] In step 502, the first terminal device sends a Beidou short message (also referred to as a "Beidou satellite message" in this embodiment of the present application) to the satellite. The Beidou short message carries the Beidou satellite message ID. For example, the first terminal device may frame the Beidou satellite message based on the message content and Beidou satellite message ID obtained in step 501, and send the Beidou short message to the satellite. Furthermore, it is understood that the Beidou short message may also carry, but is not limited to, one or more recipient numbers, the location information of the first terminal device, and the like.

[0129] In step 503, the satellite sends a BeiDou short message to the server, which carries the BeiDou satellite message ID. For example, the satellite can send the BeiDou short message to the server via the BeiDou Satellite Ground Information Processing Center. It is understood that the satellite or the BeiDou Satellite Ground Information Processing Center can determine one or more servers corresponding to one or more recipients based on one or more recipient numbers included in the BeiDou short message. Multiple recipients can correspond to the same server or different servers, which is not limited in this application.

[0130] In step 504, the server sends a Beidou short message to the second terminal device. The Beidou short message carries the Beidou satellite message ID. For example, the server can determine the second terminal device corresponding to the recipient based on the recipient number in the Beidou short message. It should be understood that while Figure 5 illustrates a second terminal device corresponding to a single recipient, in actual implementation, the second terminal device can be determined based on the recipients included in the Beidou short message.

[0131] Step 505: The second terminal device obtains the message content of the reply message to the Beidou satellite message. For example, the second terminal device may display the received Beidou satellite message to the user via a display interface and may also provide the user with controls for replying to the Beidou satellite message, such as shown in interface 420 in FIG. Then, in response to the user's touch operation to reply to the Beidou satellite message, the second terminal device may obtain the message content of the reply message to the Beidou satellite message, such as shown in interface 420 in FIG.

[0132] In step 506, the second terminal device sends a reply message (also referred to as a "reply message" in this embodiment of the present application) to the server. The reply message carries the ID of the Beidou satellite message. For example, the second terminal device may frame the reply message based on the message content of the reply message obtained in step 505 and the ID of the Beidou satellite message received in step 504 to obtain the reply message.

[0133] Step 507: The server stores the reply message. It is understood that when the first terminal device, which is disconnected from the network, receives the reply message, it needs to proactively query the reply message using the mail query mechanism. The server can first store the reply message. Furthermore, to avoid wasting storage resources, the server can also set a preset storage duration, for example, 7 days.

[0134] Step 508: The first terminal device sends a letter query request message to the satellite. The letter query request message may include the contact number on the first terminal device and / or the Beidou satellite message ID. The contact number and / or the Beidou satellite message ID on the first terminal device can be used by the server to query whether there is a reply message to be received by the first terminal device.

[0135] Step 509: The satellite sends a letter query request message to the server. For example, the satellite may also send the letter query request message via Beidou satellite ground information processing. Similarly, the letter query request message may include the contact number of the first terminal device and / or the Beidou satellite message ID. The contact number and / or Beidou satellite message ID of the first terminal device can be used by the server to query whether there is a reply message to be received by the first terminal device.

[0136] In step 510, the server checks whether a reply message exists in response to the letter query request message. For example, the server may query storage for a reply message corresponding to the contact number and / or Beidou satellite message ID on the first terminal device based on the contact number and / or Beidou satellite message ID on the first terminal device. If a reply message exists, the server proceeds to step 511.

[0137] In step 511, the server sends a reply message to the satellite, which carries the Beidou satellite message ID. For example, the server can send the reply message to the satellite via the Beidou Satellite Ground Information Processing Center. It will be appreciated that when the server or the Beidou Satellite Ground Information Processing Center sends the reply message to the satellite, it can be sent via the Beidou satellite channel using a Beidou short message format, thereby enabling uplink communication with the Beidou satellite.

[0138] Step 512: The satellite sends a reply message to the first terminal device, and the reply message carries the ID of the Beidou satellite message.

[0139] Step 513: The first terminal device displays the content of the reply message based on the Beidou satellite message ID. For example, as shown in interface 440 of FIG. 4 , mobile phone A can display the decoded content of the reply message in the form of preview card 404 . Preview card 404 shows that mobile phone A can display multiple messages with the same Beidou satellite message ID in an associated manner, such as by overlaying them as shown in interface 440 .

[0140] In another optional embodiment, refer to FIG6 , which is another flow chart of a satellite message transmission method provided in an embodiment of the present application. The flow chart may include:

[0141] Step 501: The first terminal device obtains the content of the BeiDou satellite message and generates an ID of the BeiDou satellite message. The first terminal device generates the ID of the BeiDou satellite message as described in FIG5 and will not be described in detail here.

[0142] Step 601: The first terminal device generates a first transmission code based on the ID of the Beidou satellite message.

[0143] In a possible implementation, the ID of the Beidou satellite message can be determined by the timestamp information when the first terminal device generates the ID of the Beidou satellite message (for ease of distinction in the following embodiments, referred to as the first timestamp information); and the maximum transmission time required for the Beidou satellite message to be sent from the first terminal device to the server does not exceed Y minutes (min), for example, Y can be 1 min, or 2 min, or 3 min, or 4 min, etc., and can be customized according to actual business conditions during specific implementation. Among them, 1 min converted to binary occupies 1 bit, and 2 min to 4 min converted to binary occupies 2 bits. Therefore, compared to the space occupied by the ID of the Beidou satellite message, secondary compression can be achieved through the transmission code, thereby further reducing the message capacity occupied by the Beidou short message.

[0144] Based on this, the first terminal device can generate a Beidou satellite message ID based on the first timestamp information and a first transmission code based on the first timestamp information. In this way, the first transmission code can be transmitted in the Beidou short message. It can be understood that the first transmission code can be used to indicate the first timestamp information, so that the Beidou satellite message ID can be further calculated based on the first timestamp information.

[0145] Exemplarily, the first terminal device generates the first transmission code based on the first timestamp information by referring to the following formula 2-1:

[0146] Among them, (TC1) in formula 2-1 B It can represent the first transmission code after conversion to binary, (TC1) D The first transmission code that can represent decimal; UTC N1 It can represent the current UTC when the first terminal device generates the ID of the Beidou satellite message (referred to as the first UTC in the following embodiments for ease of distinction); It can be used to indicate the conversion of second-level UTC to minute-level UTC time; % can be used to indicate a remainder operation; Y can be used to indicate the maximum pre-configured transmission time for a Beidou short message to be sent from the first terminal device to the server.

[0147] For example, taking Y as 4 minutes, (TC1) D The possible values ​​are 0, 1, 2, 3, corresponding to (TC1) B The values ​​are 00, 01, 10, 11.

[0148] Step 502': the first terminal device sends a Beidou short message to the satellite, where the Beidou short message carries the first transmission code.

[0149] Step 503 ′: the satellite sends a BeiDou short message to the server, where the BeiDou short message carries the first transmission code.

[0150] It can be understood that step 502' is similar to step 502 described in FIG5, and step 503' is similar to step 503 described in FIG5, except that the Beidou short message transmitted in step 502' and step 502' carries the first transmission code.

[0151] Step 602: The server determines the ID of the Beidou satellite message based on the first transmission code.

[0152] Corresponding to the first terminal device generating the first transmission code based on the first timestamp information, the server can determine the first timestamp information based on the same rule. For example, the server can generate the second transmission code based on the current timestamp information when the server receives the Beidou short message (referred to as the second timestamp information for ease of distinction in the following embodiments), as shown in the following formula 2-2:

[0153] Among them, (TC2) in formula 2-2 B It can represent the second transmission code after conversion to binary, (TC2) D A second transmission code that can represent decimal; UTC N2 It can indicate the UTC corresponding to the Beidou satellite message received by the server (referred to as the second UTC in the following embodiments for ease of distinction); It can be used to convert seconds-level UTC to minutes-level UTC time. % can be used to perform a modulo operation. Y can be used to represent the pre-configured maximum transmission time for a Beidou short message from the first terminal device to the server. y can represent a variable constant and can be 0 during the server's initial calculation.

[0154] For example, taking Y as 4 minutes, (TC2) D The possible values ​​are 0, 1, 2, 3, corresponding to (TC2) B The values ​​are 00, 01, 10, 11.

[0155] Furthermore, the server determines whether the second transmission code is the same as the first transmission code. If they are the same, the UTC N2 with UTC N1 Same; if not, UTC can be determined N2 with UTC N1 If they are different, the server can use UTC N2 The calculation is continued by moving forward 1 minute at a time. For example, at this time, y in Formula 2-2 can be set to 1, and the second transmission code is recalculated until the timestamp information corresponding to the second transmission code is found when the second transmission code is the same as the first transmission code. It should be noted that Formula 2-2 is only an optional example and is not used to limit the actual formula used in the specific calculation when implementing this application. For example, the first UTC can be 00:03, then the first transmission code is 3, and the second UTC is 00:04. The second transmission code obtained by the server in the first calculation is 0, and it can be determined that the second transmission code is different from the first transmission code; then, the server can move forward 1 minute (that is, 00:03) based on 00:04 for a second calculation, and obtain a second transmission code of 3. At this time, the second transmission code is the same as the first transmission code, and the server can determine that the first UTC is obtained.

[0156] Based on the obtained first UTC, the server generates the ID of the Beidou satellite message in the same manner as the first terminal device generates the ID of the Beidou satellite message. For example, the server may generate the ID of the Beidou satellite message based on Formula 1.

[0157] Based on the above introduction, by using the transmission code in the Beidou short message to indirectly indicate the ID of the Beidou satellite message, in the scenario where the association relationship of multiple messages can be determined based on the ID of the Beidou satellite message, the occupancy of the Beidou short message capacity can be reduced, avoiding affecting the actual content carried in the Beidou short message.

[0158] Step 504: The server sends a Beidou short message to the second terminal device, where the Beidou short message carries the ID of the Beidou satellite message.

[0159] It should be noted that, in some other optional embodiments, the second terminal device may also determine the ID of the Beidou satellite message based on the first transmission code. In this embodiment, the Beidou short message received by the second terminal device from the server may carry the first transmission code.

[0160] Step 505: The second terminal device obtains the message content of the reply message to the Beidou satellite message.

[0161] Step 506: The second terminal device sends a reply message to the server, and the reply message carries the ID of the Beidou satellite message.

[0162] Step 507: The server stores the reply message.

[0163] Step 508: The first terminal device sends a letter query request message to the satellite.

[0164] Step 509: The satellite sends a letter query request message to the server.

[0165] Step 510: The server responds to the letter query request message and queries whether there is a reply message.

[0166] Step 511: The server sends a reply message to the satellite, and the reply message carries the ID of the Beidou satellite message.

[0167] Step 512: The satellite sends a reply message to the first terminal device, and the reply message carries the ID of the Beidou satellite message.

[0168] Step 513: The first terminal device displays the message content of the reply message based on the ID of the Beidou satellite message.

[0169] The implementation process of step 504 to step 513 can refer to the content introduced in Figure 5, and will not be repeated here.

[0170] The method provided in the embodiments of the present application generates a Beidou satellite message ID based on timestamp information, which can reduce the message capacity occupied by the Beidou satellite message ID in Beidou short messages. Alternatively, generating a Beidou satellite message ID and transmission code based on timestamp information can also reduce the message capacity occupied by Beidou short messages. Furthermore, using Beidou satellite message IDs, multiple messages can be associated, allowing users to more intuitively identify the relationship between messages.

[0171] In other embodiments, FIG7 is a schematic diagram of a process flow of a satellite message transmission method provided in an embodiment of the present application. The process may include:

[0172] Step 701: A first terminal device generates a first message identifier based on first timestamp information in response to a first operation on a first interface, where the first operation is used to instruct the first terminal device to send a satellite message.

[0173] Step 702: The first terminal device sends a first satellite message to a satellite, where the first satellite message includes the first message identifier and first message content.

[0174] In some further embodiments, FIG8 is a schematic diagram of a process flow of a satellite message transmission method provided in an embodiment of the present application. The process may include:

[0175] Step 801: A first terminal device generates a first message identifier based on first timestamp information in response to a first operation on a first interface, where the first operation is used to instruct the first terminal device to send a satellite message.

[0176] Step 802: The first terminal device generates a first transmission code based on the first timestamp information, where the first transmission code is used to obtain the first message identifier.

[0177] Step 803: The first terminal device sends a first satellite message to a satellite, where the first satellite message includes the first transmission code and first message content.

[0178] Based on the above embodiments, the present application further provides a terminal device, which includes multiple functional modules; the multiple functional modules interact with each other to implement the functions performed by the terminal device in each method described in the embodiments of the present application. The multiple functional modules can be implemented based on software, hardware, or a combination of software and hardware, and the multiple functional modules can be arbitrarily combined or divided based on the specific implementation. For example, steps 701 and 702 performed by the first terminal device in the embodiment shown in Figure 7 are executed. Alternatively, steps 801 to 803 performed by the first terminal device in the embodiment shown in Figure 8 can also be executed.

[0179] Based on the above embodiments, the present application further provides a terminal device, comprising at least one processor and at least one memory, wherein the at least one memory stores computer program instructions. When the terminal device is running, the at least one processor performs the functions performed by the terminal device in each method described in the embodiments of the present application. For example, steps 701 and 702 performed by the first terminal device in the embodiment shown in FIG. 7 may be performed. Alternatively, steps 801 to 803 performed by the first terminal device in the embodiment shown in FIG. 8 may also be performed.

[0180] Based on the above embodiments, the present application also provides a computer program product, which includes: a computer program (also called code, or instructions), which, when executed, enables a computer to execute the methods described in the embodiments of the present application.

[0181] Based on the above embodiments, the present application further provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a computer, the computer executes the methods described in the embodiments of the present application.

[0182] Based on the above embodiments, the present application further provides a chip, which is used to read a computer program stored in a memory to implement the various methods described in the embodiments of the present application.

[0183] Based on the above embodiments, the present application provides a chip system, which includes a processor for supporting a computer device to implement the various methods described in the embodiments of the present application. In one possible design, the chip system also includes a memory, which is used to store the necessary programs and data for the computer device. The chip system can be composed of a chip, or it can include a chip and other discrete devices. It should be understood by those skilled in the art that the embodiments of the present application can be provided as a method, system, or computer program product. Therefore, the present application can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0184] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the present application. It should be understood that each flow and / or box in the flow chart and / or block diagram, as well as the combination of the flow chart and / or box in the flow chart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce a device for implementing the functions specified in one or more flow charts and / or one or more boxes in the block diagram.

[0185] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a product including an instruction device that implements the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.

[0186] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.

[0187] Obviously, those skilled in the art may make various modifications and variations to this application without departing from the scope of protection of this application. Thus, if these modifications and variations of this application fall within the scope of the claims of this application and their equivalents, this application is intended to include these modifications and variations.

Claims

1. A satellite message transmission method, characterized in that: include: The first terminal device generates a first message identifier based on first timestamp information in response to a first operation on a first interface, wherein the first operation is used to instruct the first terminal device to send a satellite message; The first terminal device sends a first satellite message to a satellite, where the first satellite message includes the first message identifier and first message content.

2. The method according to claim 1, characterized in that The generating a first message identifier based on the first timestamp information includes: Using a first preset time length to perform a modulo process on the first timestamp information to obtain a modulo result; The first message identifier is generated according to the modulo result.

3. The method according to claim 2, characterized in that The step of generating the first message identifier according to the remainder result includes: The remainder result is used as the first message identifier.

4. The method according to any one of claims 1 to 3, characterized in that The method further comprises: The first terminal device receives a second satellite message sent by a satellite, the second satellite message including a second message identifier and a second message content; wherein the second message identifier is the same as the first message identifier, and the second message content is a reply content of the first message content; The first terminal device displays a second interface based on the second satellite message; wherein, in the second interface, the second message content is displayed in association with the first message content.

5. The method according to claim 4, characterized in that Before the first terminal device receives the second satellite message sent by the satellite, the method further includes: In response to the second operation, the first terminal device sends a first request message to the satellite, where the first request message is used to request to obtain a satellite message to be received by the first terminal device.

6. The method according to any one of claims 1 to 5, characterized in that The first timestamp information is the current world standard time UTC acquired by the first terminal device in response to the first operation.

7. The method according to any one of claims 1 to 6, characterized in that The first satellite message is a Beidou satellite message.

8. A satellite message transmission method, characterized in that: include: The first terminal device generates a first message identifier based on first timestamp information in response to a first operation on a first interface, wherein the first operation is used to instruct the first terminal device to send a satellite message; The first terminal device generates a first transmission code based on the first timestamp information, where the first transmission code is used to obtain the first message identifier; The first terminal device sends a first satellite message to a satellite, where the first satellite message includes the first transmission code and first message content.

9. The method according to claim 8, characterized in that The generating a first message identifier based on the first timestamp information includes: Using a first preset time length to perform a modulo process on the first timestamp information to obtain a first modulo result; Generate the first message identifier according to the first modulus result.

10. The method according to claim 9, characterized in that The step of generating the first message identifier according to the first modulus result includes: The first modulo result is used as the first message identifier.

11. The method according to any one of claims 8 to 10, characterized in that The generating a first transmission code based on the first timestamp information comprises: Using a second preset time length to perform a modulo process on the first timestamp information to obtain a second modulo result; The first transmission code is generated according to the second modulo result.

12. The method according to claim 11, characterized in that The step of generating the first transmission code according to the second modulus result includes: The second modulo result is used as the first transmission code.

13. The method according to any one of claims 8 to 12, characterized in that The method further comprises: The first terminal device receives a second satellite message sent by a satellite, the second satellite message including a second message identifier and a second message content; wherein the second message identifier is the same as the first message identifier, and the second message content is a reply content of the first message content; The first terminal device displays a second interface based on the second satellite message; wherein, in the second interface, the second message content is displayed in association with the first message content.

14. The method according to claim 13, characterized in that Before the first terminal device receives the second satellite message sent by the satellite, the method further includes: In response to the second operation, the first terminal device sends a first request message to the satellite, where the first request message is used to request to obtain a satellite message to be received by the first terminal device.

15. The method according to claim 9, characterized in that The first preset duration is greater than or equal to a preset storage duration of the satellite message.

16. The method according to claim 11, characterized in that The second preset duration is greater than or equal to a maximum transmission duration required for a satellite message from the first terminal device to the server.

17. A satellite message transmission method, characterized in that: include: The server receives a first satellite message from a first terminal device via a satellite, where the first satellite message includes a first transmission code and first message content, and the first transmission code is used to obtain the first message identifier; The server obtains first timestamp information based on the second timestamp information and the first transmission code; The first timestamp is earlier than the second timestamp; The server obtains the first message identifier based on the first timestamp information; The server sends a first message to the second terminal device, where the first message includes the first message identifier and the first message content.

18. The method according to claim 17, characterized in that The method further comprises: The server receives a second message sent by the second terminal device, the second message including a second message identifier and a second message content; wherein the second message identifier is the same as the first message identifier, and the second message content is a reply content of the first message content; The server sends a second satellite message to the satellite, where the second satellite message includes the second message identifier and the second message content.

19. The method according to claim 17 or 18, characterized in that The server obtains first timestamp information based on the second timestamp information and the first transmission code, including: The server generates a second transmission code based on the second timestamp information; When it is determined that the second transmission code is the same as the first transmission code, determining the first timestamp information to be the second timestamp information; When it is determined that the second transmission code is different from the first transmission code, based on the M preset time intervals earlier than the second timestamp information The transmission code is generated by using the timestamp information of the first transmission code until the third timestamp information corresponding to the transmission code identical to the first transmission code is determined, and the first timestamp information is determined to be the third timestamp information; wherein, M is a positive integer that takes values ​​in ascending order, and the preset time interval is less than or equal to a first preset duration; and the first preset duration is a preset transmission duration for the first satellite message to be sent from the first terminal device to the server.

20. A terminal device, characterized in that: The method comprises at least one processor coupled to at least one memory, wherein the at least one processor is used to read a computer program stored in the at least one memory to execute the method according to any one of claims 1 to 7, or execute the method according to any one of claims 8 to 16.

21. A server, characterized in that: The system comprises at least one processor coupled to at least one memory, wherein the at least one processor is configured to read a computer program stored in the at least one memory to execute the method according to any one of claims 17 to 19.

22. A satellite message transmission system, characterized in that: The system comprises the terminal device as claimed in claim 20 and the server as claimed in claim 21.

23. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores instructions, which, when executed on a computer, enable the computer to execute the method according to any one of claims 1 to 7, or to execute the method according to any one of claims 8 to 16.

24. A computer program product comprising instructions, characterized in that When the computer program product is run on a computer, the computer is enabled to execute the method according to any one of claims 1 to 7 or the method according to any one of claims 8 to 16.