A communication system, method, and terminal device
By actively querying through terminal devices and assisting the server, the signal weakening problem caused by channel dilution in BeiDou satellite communication was solved, enabling timely message reception in environments without terrestrial networks and improving the real-time performance and reliability of communication.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- HUAWEI TECH CO LTD
- Filing Date
- 2023-07-07
- Publication Date
- 2026-06-19
AI Technical Summary
In environments without terrestrial networks, when using BeiDou satellite communication, channel dilution within a multi-user area weakens the signal, preventing users from receiving timely replies and impacting the communication experience.
The terminal device actively queries and sends a request message to the satellite. The server obtains a response message that meets the conditions based on the location information and sends it to the terminal device, thereby realizing message reception and display within the area.
It improves the real-time performance and reliability of communication for users during field activities, ensuring that users can receive satellite messages in a timely manner, especially in multi-user areas or in the presence of obstructions.
Smart Images

Figure CN119276331B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of terminal technology, and in particular to a communication system, method, and terminal device. Background Technology
[0002] With the development and advancement of technology, the functions of terminal devices have gradually become more complete and abundant. More and more smartphones support two-way BeiDou satellite messaging technology, enabling them to send and receive messages via BeiDou satellites in environments without terrestrial networks, and conduct two-way communication with other smartphones, providing users with communication security in environments without terrestrial networks.
[0003] Due to the characteristics of BeiDou satellite communication, BeiDou satellites cannot proactively push reply messages to terminal devices. Users need to actively connect to BeiDou satellites and send a query request to receive a reply. When multiple users (situated individuals) are in an area simultaneously sending and receiving BeiDou satellite messages, the BeiDou satellite channel for each user will be diluted, resulting in a weaker BeiDou satellite signal. Furthermore, because mobile phone antennas have low power and limited ability to penetrate obstacles, situations may arise where they cannot connect to BeiDou satellites and cannot receive reply messages in a timely manner, thus affecting the user experience. Summary of the Invention
[0004] This application provides a communication system, method, and terminal device that receives satellite messages from other terminal devices corresponding to users within a certain area where the receiving terminal device is located. The certain area is a region with a radius of N kilometers centered on the location where the other terminal devices sent distress messages. This improves the real-time performance of receiving satellite response messages and more effectively ensures the communication activities of users in the field.
[0005] The above and other objectives will be achieved through the features in the independent claims, and further implementation methods are shown in the dependent claims, the specification and the drawings.
[0006] In a first aspect, a communication system is provided, the system comprising a first terminal device and a server, wherein the first terminal device is configured to send a first request message to a satellite, the first request message including information about a first location of the first terminal device when sending the first request message, wherein the first terminal device is in a state without network connection; the server is configured to receive the first request message from the first terminal device via a satellite, and obtain a first reply message satisfying a first condition based on the first location information in the first request message, the first condition including: the distance between the first location and a second location is less than or equal to a first distance, the second location being the location of a second terminal device that sent the first satellite message, and the first reply message being a reply message to the first satellite message; the server is further configured to send a first response message, the first response message including the first reply message; the first terminal device is configured to receive the first response message via a satellite and display the first reply message in the first response message.
[0007] In this system, a first terminal device without a network connection can actively query and receive regional satellite messages. By providing a function to receive satellite messages on the first terminal device, it can actively send a message query request message to the satellite. When the server receives this message, it obtains the location of the first terminal device from the message and iterates through the regional reply messages on the server to determine if the location of the first terminal device meets a first condition: the distance between the location of the first terminal device and the location associated with the regional reply message is less than or equal to a preset distance. The location associated with the regional reply message is the location of the second terminal device that sent the first satellite message. When the first condition is met, the regional satellite message intended for the second terminal device can also be sent to the first terminal device. Therefore, this system can be extended to enable the first terminal device to receive regional satellite messages, thereby improving the user's communication security.
[0008] Specifically, for example, if users A and B are traveling together in an area without network coverage, user A sends a BeiDou satellite message to friend A, and user B sends a BeiDou satellite message to friend B. Friend A sends a reply message to user A, but friend B does not. Because other users may be sending / receiving satellite messages in the area where users A and B are located (satellite channel dilution), or because there may be obstructions in the environment, user A may fail to connect to the satellite in the next satellite docking cycle, while user B may successfully connect. In this case, user B, having successfully connected to the satellite and received the reply message sent to user A, can notify user A, effectively ensuring timely communication.
[0009] In addition, it can be understood that both the first terminal device and the second terminal device can be understood as the transmitting end device or the distress device in a satellite communication scenario.
[0010] In conjunction with the first aspect, in some implementations of the first aspect, the system further includes a third terminal device, wherein the third terminal device is used to display a first interface, on which the first satellite message sent from the second terminal device and a first control are displayed, the first control being used to trigger a reply to the first satellite message; the third terminal device is also used to display a second interface in response to a first operation on the first control, on which a second control and a third control are displayed, the second control being used to edit the reply content of the first satellite message, the third control being used to set the reply message containing the reply content as a regional reply message; the third terminal device is also used to set the reply message as a regional reply message in response to a second operation on the third control, the reply message including the reply content; the third terminal device is also used to send the reply message to the server in response to a third operation on the second interface; the server is used to receive and store the reply message sent from the third terminal device, and to retrieve the first reply message that satisfies the first condition from the reply message set as a regional reply message.
[0011] In this implementation, the user can view the first satellite message sent by the second terminal device through the first interface of the third terminal device. It can be understood that the first interface of the third terminal device displays the message content after the first satellite message has been decoded, which may include, but is not limited to, text content, location information, etc.
[0012] Based on the user's interaction with the reply controls on the first interface, the input controls displayed on the second interface of the third terminal device allow for editing of the reply content to the first satellite message. Users can also select whether the reply is a regional reply message using a checkbox. Setting a regional reply message ensures that any device within a certain range of the second terminal device's location can receive and view the reply message. Understandably, when a user sends a regional reply message, the second interface of the third terminal device will display a privacy agreement to notify the user of the relevant privacy information.
[0013] After the user completes the information editing and sets the reply message to a regional reply message, the third-party terminal device responds to the send control and sends the reply message to the server. It can be understood that the third-party terminal device can be understood as a receiving device in a satellite communication scenario or equipment used by the rescue team, etc.
[0014] The third terminal device provides users with controls to set whether the reply message of the first satellite message is a regional reply message. Users can set this according to their actual situation, which facilitates user selection and improves the reliability of satellite communication.
[0015] In conjunction with the first aspect, in some implementations of the first aspect, the first response message further includes quantity indication information, which is used to indicate the number of remaining reply messages that meet the first condition to be received; and the quantity indication information is displayed on the first terminal device.
[0016] In this design, when the server finds multiple satellite messages that the first terminal device can receive and that meet the first condition, in addition to returning one of the satellite messages to the first terminal device, it can also indicate the number of remaining satellite messages to be received by the first terminal device. In this way, the first terminal device can display the quantity indication information to the user, allowing the user to continue receiving other satellite messages that meet the first condition, thereby improving communication timeliness.
[0017] In conjunction with the first aspect, in some implementations of the first aspect, the first response message further includes information about the second location, and the first terminal device is further configured to display the information about the second location in the first response message.
[0018] It is understandable that the second location in this system can be the location of the second terminal device when it sends the first satellite message. In this scenario, the first terminal device can know the location reached by the second terminal device and view the message information being sent at that location, thus promptly understanding the location the second terminal device has traversed and the information it has sent. Alternatively, the second location can also be the latest location of the second terminal device recorded by the server when it sends the first satellite message. In this scenario, the user holding the first terminal device can receive the latest location of the second terminal device and promptly arrive at the location of the second terminal device, notifying the user holding the second terminal device of the reply message received from the second terminal device, thereby improving the timeliness of satellite communication.
[0019] In conjunction with the first aspect, in some implementations of the first aspect, the first condition further includes: the duration for which the first reply message is stored on the server is less than or equal to a preset duration.
[0020] Understandably, when the server retrieves the first reply message that meets the first condition based on the information of the first position in the first request message, it needs to determine whether the storage time of the first reply message is less than or equal to a preset duration. Only when the storage time is less than or equal to the preset duration will the first reply message be sent to the first terminal device, ensuring that the user can receive the reply message from the most recent time and improving the timeliness of satellite communication.
[0021] In conjunction with the first aspect, in some implementations of the first aspect, the first request message includes a first user identifier corresponding to the first terminal device, and the first condition further includes: the first user identifier belongs to a first user identifier list.
[0022] It is understandable that when there are many devices within a certain range of the second terminal device, and the user sets up a regional reply message on the third terminal device, all these devices will receive the regional reply message. For the user of the third terminal device, it is not desirable for all users within that range to receive the regional reply message. This implementation method can prevent all users within that range from receiving the message. This implementation method improves the privacy of the messages sent by the user and provides privacy protection for the user.
[0023] In conjunction with the first aspect, in some implementations of the first aspect, any user identifier in the first user identifier list is a user identifier specified by the second terminal device when sending the first reply message.
[0024] In this scenario, the user can specify a user identifier on the third-party terminal device and send the specified user identifier to the server. When the server receives the first reply message, it determines whether the user identifier of the first terminal device included in the first request message reported by the first terminal device is within the specified user identifier range. This method allows users to manually set the users who need to receive reply messages from a specific region, further enhancing the privacy of user-sent messages and providing privacy protection.
[0025] In conjunction with the first aspect, in some implementations of the first aspect, the first satellite message includes a second user identifier corresponding to the second terminal device, and any user identifier in the first user identifier list has a friend relationship with the user corresponding to the second user identifier.
[0026] In this scenario, the user using the first terminal device and the user using the second terminal device are friends. That is, when the two users are friends and within a certain distance, the first terminal device can receive a regional reply message sent to the second terminal device. This implementation ensures that regional reply messages are only sent to friends. Since friends know each other, this further enhances the privacy of user-sent messages, providing privacy protection.
[0027] In conjunction with the first aspect, in some implementations of the first aspect, the first reply message includes the first satellite message, and the first terminal device displays the first satellite message in association.
[0028] In this design, satellite messages received by the first terminal device can be associated with messages sent by the second terminal device. Understandably, the associated message sent by the second terminal device could be included in the first reply message (in which case, due to satellite message length limitations, the associated message might be truncated); or the first terminal device could send a new query request to the server to retrieve the associated message from the second terminal device. This approach allows users to intuitively view the relationships between messages, improving the user experience.
[0029] Secondly, a communication method provided in the embodiments of this application is applied to a first terminal device, the method comprising:
[0030] Send a first request message to the satellite, the first request message including information about the first location of the first terminal device when sending the first request message, wherein the first terminal device is in a state without network connection; receive a first response message via the satellite, the first response message including a first reply message obtained by the server based on the first location information in the first request message, the first condition including: the distance between the first location and a second location is less than or equal to a first distance, the second location is the location of the second terminal device that sent the first satellite message, and the first reply message is a reply message to the first satellite message; display the first reply message in the first response message.
[0031] In conjunction with the second aspect, in some implementations of the second aspect, the first response message further includes quantity indication information, the method comprising:
[0032] The quantity indication information is displayed, which indicates the number of remaining reply messages that meet the first condition and are yet to be received.
[0033] In conjunction with the second aspect, in some implementations of the second aspect, the first response message further includes information about the second location, the method comprising:
[0034] Display information from the second location in the first response message.
[0035] In conjunction with the second aspect, in some implementations of the second aspect, the first condition further includes: the duration for which the first reply message is stored on the server is less than or equal to a preset duration.
[0036] In conjunction with the second aspect, in some implementations of the second aspect, the first request message includes a first user identifier corresponding to the first terminal device, and the first condition further includes: the first user identifier belongs to a first user identifier list.
[0037] In conjunction with the second aspect, in some implementations of the second aspect, any user identifier in the first user identifier list is a user identifier specified by the second terminal device when sending the first reply message.
[0038] In conjunction with the second aspect, in some implementations of the second aspect, the first satellite message includes a second user identifier corresponding to the second terminal device, and any user identifier in the first user identifier list has a friend relationship with the user corresponding to the second user identifier.
[0039] In conjunction with the second aspect, in some implementations of the second aspect, the first response message includes the first satellite message, and the method includes:
[0040] The first satellite message is displayed in conjunction with it.
[0041] Thirdly, a communication method provided in an embodiment of this application is applied to a server, the method comprising:
[0042] The system receives a first request message from a first terminal device via satellite. The first request message includes information about the first location of the first terminal device when it sent the first request message. The system obtains a first reply message that satisfies a first condition based on the first location information in the first request message. The first condition includes: the distance between the first location and a second location is less than or equal to a first distance, where the second location is the location of the second terminal device that sent the first satellite message, and the first reply message is a reply message to the first satellite message. The system then sends a first response message, which includes the first reply message.
[0043] In conjunction with the third aspect, in some implementations of the third aspect, the method includes:
[0044] The system receives and stores a reply message sent from a third terminal device, and retrieves the first reply message that satisfies the first condition from the reply message set as a regional reply message. The reply message contains a reply message and is a regional reply message set by the third terminal device.
[0045] Fourthly, a communication method provided in the embodiments of this application is applied to a third terminal device, the method comprising:
[0046] A first interface is displayed, showing a first satellite message and a first control sent from a second terminal device. The first control is used to trigger a response to the first satellite message. In response to a first operation on the first control, a second interface is displayed, showing a second control and a third control. The second control is used to edit the response content of the first satellite message, and the third control is used to set the response message containing the response content as a regional response message. In response to a second operation on the third control, the response message is set as a regional response message, and the response message includes the response content. In response to a third operation on the second interface, the response message is sent to the server.
[0047] Fifthly, a terminal device provided in an embodiment of this application includes a memory and one or more processors; wherein the memory is used to store computer program code, the computer program code including computer instructions; when the computer instructions are executed by the processor, the terminal device performs the method executed by the first terminal device in any possible design of the second aspect described above.
[0048] Sixthly, a terminal device provided in an embodiment of this application includes a memory and one or more processors; wherein the memory is used to store computer program code, the computer program code including computer instructions; when the computer instructions are executed by the processor, the terminal device performs the method executed by the first terminal device in any possible design of the fourth aspect above.
[0049] A seventh aspect is a server provided in an embodiment of this application, the server including a memory and one or more processors; wherein the memory is used to store computer program code, the computer program code including computer instructions; when the computer instructions are executed by the processor, the server causes the server to perform the method executed by the server in any of the possible designs in the third aspect above.
[0050] Eighthly, a storage medium provided in the embodiments of this application is provided, wherein a computer-readable medium stores a computer program (also referred to as code or instructions) that, when run on a computer, causes the computer to perform the method in any of the possible designs in the second aspect described above.
[0051] Ninth aspect, a computer program product provided in the embodiments of this application, the computer program product including: a computer program (also referred to as code or instructions), which, when the computer program is run, causes the computer to perform the method in any possible design of the second aspect above, or to perform the method in any possible design of the second aspect above.
[0052] In a tenth aspect, a storage medium provided in the embodiments of this application is provided, wherein the computer-readable medium stores a computer program (also referred to as code or instructions) that, when run on a computer, causes the computer to perform the method in any of the possible designs in the fourth aspect above.
[0053] Eleventhly, a computer program product provided in the embodiments of this application includes: a computer program (also referred to as code or instructions), which, when run, causes a computer to perform the method in any possible design of the second aspect above, or to perform the method in any possible design of the fourth aspect above.
[0054] It should be noted that the beneficial effects of the various designs of the terminal devices provided in the second to eleventh aspects of the embodiments of this application can be referred to the beneficial effects of any possible design in the first aspect, and will not be repeated here. Attached Figure Description
[0055] To more clearly illustrate the technical solutions in the embodiments of this disclosure or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this disclosure. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0056] Figure 1 This is a schematic diagram of the structure of a terminal device provided in an embodiment of this application.
[0057] Figure 2 This is a software structure block diagram of a terminal device provided in an embodiment of this application.
[0058] Figure 3 This is a schematic diagram of an application scenario provided by an embodiment of this application.
[0059] Figure 4(a) is a schematic diagram of an interface for sending and receiving BeiDou satellite messages provided in an embodiment of this application.
[0060] Figure 4(b) is a schematic diagram of an interface for sending and receiving BeiDou satellite messages provided in an embodiment of this application.
[0061] Figure 5 This is a schematic diagram illustrating an application scenario for a communication method provided in an embodiment of this application.
[0062] Figure 6-8 A set of interface diagrams provided for embodiments of this application.
[0063] Figure 9 This is a flowchart illustrating an embodiment of this application.
[0064] Figure 10-12 A set of interface diagrams provided for embodiments of this application.
[0065] Figure 13 This is a schematic flowchart illustrating a communication method provided in an embodiment of this application.
[0066] Figure 14 This is a schematic diagram of the structure of a communication system device provided in an embodiment of this application. Detailed Implementation
[0067] The terminology used in the following embodiments is for the purpose of describing particular embodiments only and is not intended to be limiting of this application. As used in the specification and appended claims of this application, the singular expressions “a,” “an,” “the,” “the,” “the,” and “this” are intended to also include expressions such as “one or more,” unless the context clearly indicates otherwise. It should also be understood that in the following embodiments of this application, “at least one” and “one or more” refer to one, two, or more than two. The term “and / or” is used to describe the relationship between related objects, indicating that three relationships may exist; for example, A and / or B can indicate: A alone, A and B simultaneously, or B alone, where A and B can be singular or plural. The character “ / ” generally indicates that the preceding and following related objects are in an “or” relationship.
[0068] References to "one embodiment" or "some embodiments" as described in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.
[0069] The following describes an electronic device, a user interface for such an electronic device, and embodiments for using such an electronic device. In some embodiments, the electronic device may be a portable electronic device that also includes other functions such as a personal digital assistant and / or music player, such as a mobile phone, tablet computer, wearable electronic device with wireless communication capabilities (such as a smartwatch), etc. Exemplary embodiments of the portable electronic device include, but are not limited to, portable electronic devices running iOS®, Android®, Microsoft®, or other operating systems. The aforementioned portable electronic device may also be other portable electronic devices, such as a laptop computer, etc. It should also be understood that in some other embodiments, the aforementioned electronic device may not be a portable electronic device, but a desktop computer.
[0070] For example, Figure 1 A schematic diagram of the structure of electronic device 100 is shown. Electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, antenna 1, antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headphone jack 170D, a sensor module 180, a compass 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc.
[0071] It is understood that the structures illustrated in the embodiments of this application do not constitute a specific limitation on the electronic device 100. In other embodiments of this application, the electronic device 100 may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0072] Processor 110 may include one or more processing units, such as application processors (APs), modem processors, graphics processing units (GPUs), image signal processors (ISPs), controllers, video codecs, digital signal processors (DSPs), baseband processors, and / or neural network processing units (NPUs). Different processing units may be independent components or integrated into one or more processors. In some embodiments, electronic device 101 may also include one or more processors 110. The controller can generate operation control signals based on instruction opcodes and timing signals to control instruction fetching and execution. In other embodiments, processor 110 may also include a memory for storing instructions and data. For example, the memory in processor 110 may be a cache memory. This memory can store instructions or data that processor 110 has just used or is reusing. If processor 110 needs to reuse the instruction or data, it can directly retrieve it from the memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the electronic device 101 in processing data or executing instructions.
[0073] In some embodiments, the processor 110 may include one or more interfaces. These interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a SIM card interface, and / or a USB interface, etc. The USB interface 130 is a USB standard-compliant interface, specifically a Mini USB interface, a Micro USB interface, a USB Type-C interface, etc. The USB interface 130 can be used to connect a charger to charge the electronic device 101, and can also be used for data transfer between the electronic device 101 and peripheral devices. The USB interface 130 can also be used to connect headphones for audio playback.
[0074] It is understood that the interface connection relationships between the modules illustrated in the embodiments of this application are merely illustrative and do not constitute a structural limitation on the electronic device 100. In other embodiments of this application, the electronic device 100 may also employ different interface connection methods or combinations of multiple interface connection methods as described in the above embodiments.
[0075] The charging management module 140 receives charging input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 receives charging input from the wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 receives wireless charging input via the wireless charging coil of the electronic device 100. While charging the battery 142, the charging management module 140 can also supply power to the electronic device via the power management module 141.
[0076] The power management module 141 connects the battery 142, the charging management module 140, and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, providing power to the processor 110, internal memory 121, external memory, display screen 194, camera 193, and wireless communication module 160, etc. The power management module 141 can also monitor parameters such as battery capacity, battery cycle count, and battery health status (leakage current, impedance). In some other embodiments, the power management module 141 may also be located within the processor 110. In other embodiments, the power management module 141 and the charging management module 140 may be located in the same device.
[0077] The wireless communication function of electronic device 100 can be realized through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor and baseband processor, etc.
[0078] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover one or more communication frequency bands. Different antennas can also be multiplexed to improve antenna utilization. For example, antenna 1 can be multiplexed as a diversity antenna for a wireless local area network. In some other embodiments, the antennas can be used in conjunction with tuning switches.
[0079] The mobile communication module 150 can provide solutions for wireless communication, including 2G / 3G / 4G / 5G, applied to the electronic device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves via antenna 1, and perform filtering, amplification, and other processing on the received electromagnetic waves before transmitting them to a modem processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modem processor and convert it into electromagnetic waves for radiation via antenna 1. In some embodiments, at least some functional modules of the mobile communication module 150 may be housed in the processor 110. In some embodiments, at least some functional modules of the mobile communication module 150 and at least some modules of the processor 110 may be housed in the same device.
[0080] The wireless communication module 160 can provide solutions for wireless communication applications on the electronic device 100, including wireless local area networks (WLANs) (such as wireless fidelity (WiFi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared (IR) technologies. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via antenna 2, performs frequency modulation and filtering of the electromagnetic wave signals, and sends the processed signal to processor 110. The wireless communication module 160 can also receive signals to be transmitted from processor 110, perform frequency modulation and amplification, and convert them into electromagnetic waves for radiation via antenna 2.
[0081] Electronic device 100 implements display functions through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations and for graphics rendering. Processor 110 may include one or more GPUs, which execute program instructions to generate or modify display information.
[0082] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel may be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a MiniLED, a MicroLED, a Micro-OLED, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include one or more display screens 194.
[0083] In some embodiments of this application, when the display panel uses materials such as OLED, AMOLED, and FLED, the above-mentioned Figure 1The display screen 194 can be bent. Here, "the display screen 194 can be bent" means that the display screen can be bent to any angle at any part and can maintain that angle. For example, the display screen 194 can be folded from the middle left to right. It can also be folded from the middle up to down.
[0084] The display screen 194 of electronic device 100 can be a flexible screen. Currently, flexible screens are attracting much attention due to their unique characteristics and enormous potential. Compared to traditional screens, flexible screens are highly flexible and bendable, providing users with new interaction methods based on their bendability and meeting more user needs for electronic devices. For electronic devices equipped with foldable displays, the foldable display can switch between a small screen in a folded state and a large screen in an unfolded state at any time. Therefore, users are increasingly using split-screen functionality on electronic devices equipped with foldable displays.
[0085] Electronic device 100 can perform shooting functions through ISP, camera 193, video codec, GPU, display screen 194 and application processor.
[0086] The ISP (Image Signal Processor) is used to process data fed back from the camera 193. For example, when taking a picture, the shutter is opened, and light is transmitted through the lens to the camera's photosensitive element. The light signal is converted into an electrical signal, and the camera's photosensitive element transmits the electrical signal to the ISP for processing, transforming it into an image visible to the naked eye. The ISP can also perform algorithmic optimization of image noise, brightness, and skin tone. The ISP can also optimize parameters such as exposure and color temperature of the shooting scene. In some embodiments, the ISP can be set in the camera 193.
[0087] Camera 193 is used to capture still images or videos. An object is projected onto a photosensitive element by generating an optical image through the lens. The photosensitive element can be a charge-coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, which is then passed to an ISP for conversion into a digital image signal. The ISP outputs the digital image signal to a DSP for processing. The DSP converts the digital image signal into image signals in standard RGB, YUV, or other formats. In some embodiments, electronic device 100 may include one or more cameras 193.
[0088] Digital signal processors (DSPs) are used to process digital signals. Besides digital image signals, they can also process other digital signals. For example, when electronic device 100 selects a frequency, the DSP can perform Fourier transforms on the frequency energy.
[0089] Video codecs are used to compress or decompress digital video. Electronic device 100 may support one or more video codecs. Thus, electronic device 100 can play or record videos in various encoding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
[0090] The external storage interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 through the external storage interface 120 to perform data storage functions. For example, music, video, and other files can be saved on the external memory card.
[0091] Internal memory 121 can be used to store one or more computer programs, which include instructions. Processor 110 can execute the instructions stored in internal memory 121, thereby causing electronic device 101 to perform the methods provided in some embodiments of this application, as well as various applications and data processing. Internal memory 121 may include a program storage area and a data storage area. The program storage area may store the operating system; the program storage area may also store one or more applications (such as a gallery, contacts, etc.). The data storage area may store data created during the use of electronic device 101 (such as photos, contacts, etc.). In addition, internal memory 121 may include high-speed random access memory, and may also include non-volatile memory, such as one or more disk storage components, flash memory components, universal flash storage (UFS), etc. In some embodiments, processor 110 can execute instructions stored in internal memory 121 and / or instructions stored in memory disposed in processor 110 to cause electronic device 101 to perform the methods provided in embodiments of this application, as well as other applications and data processing. Electronic device 100 can implement audio functions such as music playback and recording through audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, and application processor.
[0092] The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, a barometric pressure sensor 180C, a magnetic sensor 180D, an accelerometer sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.
[0093] The pressure sensor 180A is used to sense pressure signals and convert them into electrical signals. In some embodiments, the pressure sensor 180A can be disposed on the display screen 194. There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, and capacitive pressure sensors. A capacitive pressure sensor may include at least two parallel plates with conductive materials. When a force is applied to the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the pressure intensity based on the change in capacitance. When a touch operation is applied to the display screen 194, the electronic device 100 detects the intensity of the touch operation based on the pressure sensor 180A. The electronic device 100 can also calculate the touch position based on the detection signal from the pressure sensor 180A. In some embodiments, touch operations applied to the same touch position but with different touch operation intensities can correspond to different operation commands. For example, when a touch operation with an intensity less than a first pressure threshold is applied to the SMS application icon, a command to view an SMS message is executed. When a touch operation with an intensity greater than or equal to the first pressure threshold is applied to the SMS application icon, a command to create a new SMS message is executed.
[0094] The gyroscope sensor 180B can be used to determine the motion attitude of the electronic device 100. In some embodiments, the gyroscope sensor 180B can determine the angular velocity of the electronic device 100 around three axes (i.e., the X, Y, and Z axes). The gyroscope sensor 180B can be used for image stabilization. For example, when the shutter is pressed, the gyroscope sensor 180B detects the angle of the electronic device 100's shake, calculates the distance that the lens module needs to compensate based on the angle, and allows the lens to counteract the shake of the electronic device 100 through reverse movement, thus achieving image stabilization. The gyroscope sensor 180B can also be used in navigation and motion-sensing game scenarios.
[0095] The 180E accelerometer can detect the magnitude of acceleration of electronic device 100 in various directions (typically three axes). When electronic device 100 is stationary, it can detect the magnitude and direction of gravity. It can also be used to identify the posture of electronic devices and applied to applications such as screen orientation switching and pedometers.
[0096] The ambient light sensor 180L is used to sense the brightness of ambient light. The electronic device 100 can adaptively adjust the brightness of the display screen 194 based on the sensed ambient light brightness. The ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures. The ambient light sensor 180L can also work with the proximity sensor 180G to detect whether the electronic device 100 is in a pocket to prevent accidental touches.
[0097] The fingerprint sensor 180H is used to collect fingerprints. The electronic device 100 can utilize the characteristics of the collected fingerprints to achieve fingerprint unlocking, accessing application locks, taking photos with fingerprints, answering calls with fingerprints, etc.
[0098] Temperature sensor 180J is used to detect temperature. In some embodiments, electronic device 100 uses the temperature detected by temperature sensor 180J to execute a temperature handling strategy. For example, when the temperature reported by temperature sensor 180J exceeds a threshold, electronic device 100 performs thermal protection by reducing the performance of a processor located near temperature sensor 180J to reduce power consumption. In other embodiments, when the temperature is below another threshold, electronic device 100 heats battery 142 to prevent abnormal shutdown of electronic device 100 due to low temperature. In still other embodiments, when the temperature is below yet another threshold, electronic device 100 boosts the output voltage of battery 142 to prevent abnormal shutdown due to low temperature.
[0099] Touch sensor 180K, also known as a "touch panel," can be located on display screen 194. The touch sensor 180K and display screen 194 together form a touchscreen, also known as a "touch screen." Touch sensor 180K detects touch operations applied to or near it. The touch sensor can transmit the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through display screen 194. In other embodiments, touch sensor 180K may also be located on the surface of electronic device 100, in a different position than display screen 194.
[0100] Figure 2 This is a software structure block diagram of an electronic device 100 according to an embodiment of this application. The layered architecture divides the software into several layers, each with a clear role and function. Layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom: the application layer, the application framework layer, the Android runtime and system libraries, and the kernel layer. The application layer may include a series of application packages.
[0101] like Figure 2 As shown, the application package may include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, and SMS.
[0102] The application framework layer provides an application programming interface (API) and programming framework for the application layer's applications (APP). The application framework layer includes some predefined functions.
[0103] like Figure 2 As shown, the application framework layer may include a window manager, content provider, view system, phone manager, resource manager, notification manager, etc.
[0104] The window manager is used to manage window programs. The window manager can obtain the screen size, determine whether there is a status bar, lock the screen, capture the screen, etc.
[0105] Content providers store and retrieve data, making that data accessible to applications. This data may include videos, images, audio, made and received phone calls, browsing history and bookmarks, phone books, etc.
[0106] A view system includes visual controls, such as controls for displaying text and controls for displaying images. View systems can be used to build applications. A display interface can consist of one or more views. For example, a display interface including a text notification icon could include views for displaying text and views for displaying images.
[0107] The phone manager is used to provide communication functions for electronic device 100. For example, it manages call status (including connection and disconnection).
[0108] The file explorer provides applications with various resources, such as localized strings, icons, images, layout files, video files, and so on.
[0109] The notification manager allows applications to display notifications in the status bar. These notifications can be used to deliver informational messages and can disappear automatically after a short pause, requiring no user interaction. For example, the notification manager can be used to notify users of download completion or message alerts. The notification manager can also display notifications as icons or scrolling text in the top status bar, such as notifications from background applications, or as dialog boxes on the screen. Examples include displaying text messages in the status bar, emitting sounds, vibrating electronic devices, and flashing indicator lights.
[0110] System libraries can include multiple functional modules. For example: surface manager, media libraries, 3D graphics processing libraries (e.g., OpenGL ES), 2D graphics engines (e.g., SGL), etc.
[0111] The Surface Manager is used to manage the display subsystem and provides the blending of 2D and 3D layers for multiple applications.
[0112] The media library supports playback and recording of various common audio and video formats, as well as still image files. It supports multiple audio and video encoding formats, such as MPEG4, H.264, MP3, AAC, AMR, JPG, and PNG.
[0113] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
[0114] A 2D graphics engine is a graphics engine for 2D drawing.
[0115] The kernel layer is the layer between hardware and software. The kernel layer includes at least display drivers, camera drivers, audio drivers, and sensor drivers.
[0116] This application's embodiments can be applied to the field of terminal technology, specifically to application scenarios involving satellite messaging communication. The following embodiments use BeiDou satellite messaging as an example. The implementation of BeiDou-related technologies and functions can rely on satellites or satellite networks to achieve communication and services. Although the development of terrestrial communication technology can meet the needs of many user communication scenarios, it cannot achieve comprehensive coverage of terrestrial communication networks. Therefore, in areas where terrestrial communication networks do not exist or cannot exist, communication can be achieved based on BeiDou technology. This can be understood as the BeiDou satellite messaging (also known as "BeiDou short message," "BeiDou short message," etc.) communication service function, which can be achieved through satellites or satellite networks.
[0117] Before introducing the embodiments of this application, let's first introduce the technical terms related to the embodiments of this application:
[0118] Message Query Mechanism: Due to the mobile nature of BeiDou satellites, the BeiDou satellite communication system is a non-resident communication system, and the BeiDou satellites that terminal devices typically connect to switch as the BeiDou satellites move. Therefore, downlink transmission in the BeiDou network generally employs a message query mechanism. In this scenario, when the server receives a message sent to a terminal device that is in a state without network connection, it can generally store it first, waiting for the terminal device's message query request. It can be understood that the terminal device actively sends a message query request message to the connected BeiDou satellite, which is used by the terminal device to request the download of satellite messages to be received. After receiving the message query request message, the BeiDou satellite can query the server through the BeiDou Satellite Ground Information Processing Center whether the terminal device's message is stored. If it exists, the server sends the message to the BeiDou satellite through the BeiDou Satellite Ground Information Processing Center; finally, the BeiDou satellite delivers the message to the terminal device.
[0119] Figure 3 This is a diagram illustrating an application scenario where a user receives BeiDou satellite messages using their mobile phone. Figure 3 As can be seen from this, the application scenario may include, but is not limited to: user A's mobile phone 301, satellite 302, Beidou satellite ground information processing center 303, server 304, and relative / friend B's mobile phone 305. The process of this scenario is as follows:
[0120] S301, friend B replies to the BeiDou satellite message sent by user A to friend B on mobile phone 305, and sends the reply message to the server. It can be understood that the reply message may include a user identifier, such as the identifier of user A corresponding to mobile phone 301. Optionally, mobile phone 301 can provide the ability to send BeiDou satellite messages through an instant messaging application (APP), such as the Changlian application (APP). For example, mobile phone 301 can be understood as user Zhang San's mobile phone. A set of interfaces in Figure 4(a) shows the process of friend B receiving a BeiDou satellite message sent by user A through the Changlian APP. Interface 410 shows the user clicking the "Reply" button after receiving the message from user A to begin the reply operation; interface 420 shows the user editing the reply message and clicking the send button; interface 430 shows the interface after the reply message is sent.
[0121] Alternatively, user A's mobile phone 301 can also provide the ability to send BeiDou satellite messages via SMS service, such as an SMS app (or "message app"). This embodiment does not limit the app that can be used to send BeiDou satellite messages.
[0122] S302, mobile phone 301 sends a mail query request message when there is no network connection. It can be understood that the mail query request message can carry the user identifier corresponding to mobile phone 301.
[0123] S303, satellite 302 receives a letter query request message sent from mobile phone 301 and forwards the letter query request message to Beidou Satellite Ground Information Processing Center 303.
[0124] S304, the BeiDou Satellite Ground Information Processing Center 303 communicates with the ground communication network or other ground stations, forwarding the mail query request message received from satellite 302 to server 304. It can be understood that server 304 can be the server corresponding to the recipient determined by the BeiDou Satellite Ground Information Processing Center 303 based on the BeiDou satellite message.
[0125] S305, when the server 304 detects that a reply message from the mobile phone 301 is stored in the received email query request message, it returns a reply message to the Beidou Satellite Ground Information Processing Center 303.
[0126] S306, the Beidou satellite ground information processing center 303, upon receiving the reply message from the server 304, sends the reply message to the satellite 302.
[0127] S307, mobile phone 301 receives and parses the reply message sent by the satellite, and displays the content of the reply message on mobile phone 301. A set of interfaces in Figure 4(b) shows the process of user A receiving reply messages on mobile phone 301 through the Changlian APP. Among them, interface 440 shows the reply message received by the user after clicking the "Receive Message" button to receive the Beidou satellite message; interface 450 shows the process of mobile phone 301 finding the satellite; interface 460 shows that mobile phone 301 has successfully found the satellite and received the Beidou satellite message; interface 470 shows the reply message received from friend B Li Si on mobile phone 301 (as shown in preview card 602), and displays the number of messages to be received below preview card 602.
[0128] As can be seen from the above description, due to the characteristics of the BeiDou satellite system, it cannot proactively push messages to terminal devices. Users need to actively send query requests to receive a reply. Furthermore, both sending and receiving BeiDou satellite messages require the terminal device to be connected to the BeiDou satellite system. When multiple users (those trapped) exist in an area, the satellite channel will be diluted when simultaneously sending and receiving satellite messages. Combined with the low power of mobile phone antennas and their weak ability to penetrate obstacles, situations may arise where satellite messages cannot be sent to or received (e.g.,...). Figure 3 (If step S302 or S307 fails to execute, it will affect users' ability to receive BeiDou satellite messages.)
[0129] For example, users A and B are traveling together in an area without network coverage. User A sends a BeiDou satellite message to friend A, and user B sends a BeiDou satellite message to friend B. Friend A sends a reply message to user A, but friend B does not. Because other users may be sending / receiving satellite messages in the area where users A and B are located (satellite channel dilution), or there may be obstructions in the environment where users A and B are located, in the next satellite docking cycle, user A may fail to dock with the satellite while user B successfully docks. In this case, users A and B will still not receive a reply message.
[0130] In view of this, embodiments of this application provide a communication method. In this method, based on the receiving device receiving a BeiDou satellite message, the receiving device can also send a reply message to users within a certain area, where the certain area is a region with a radius of N kilometers centered on the ground coordinates at the time the message was sent. This method can expand to more application scenarios and provide better communication guarantees for users. In the scenario above, although user A fails to dock with the satellite, user B successfully docks with the satellite and can receive a reply message sent to user A. After receiving this reply message, user A can be notified, effectively ensuring the stability of communication.
[0131] To facilitate understanding of the communication method provided in this application, the following is combined with... Figures 5 to 12 The content shown describes the implementation process of the method provided in this application.
[0132] First, based on Figure 5 This paper introduces several possible application scenarios involved in the embodiments of this application.
[0133] Scenario A: The receiving device sends a regional reply message to the BeiDou satellite message.
[0134] The homepage 610 of the Changlian APP on mobile phone 306 owned by relative A may include a "BeiDou Satellite Message" card, which the user can click to view BeiDou satellite messages. The "BeiDou Satellite Message" card can display notifications of new messages, such as through numbers or red dots; this application does not limit the notification method. In response to the click on the "BeiDou Satellite Message" card, mobile phone 306 displays interface 620. Interface 602 shows a preview card 621 of the BeiDou satellite message received by relative A from Zhang San (the process of relative A receiving the BeiDou satellite message from Zhang San can be referred to...). Figure 9 Steps S901-S903) include, in the preview card 621, not only the sender information, message content, and location information carried in the message obtained from the BeiDou satellite message sent by Zhang San, but also a "reply" control 622. Control 622 can be used to reply to the BeiDou satellite message from Zhang San on the mobile phone 305A. It should be noted that although the received BeiDou satellite message is displayed in the form of a message card in the interface 620, the display format is not limited in this embodiment; for example, it can also be implemented using text content.
[0135] In response to the user's click on the "Reply" control 622, interface 630 is displayed; interface 630 is used for the recipient to reply to the BeiDou satellite message from Zhang San. In interface 630, mobile phone 306 can detect and respond to the user's editing operation, obtaining the reply content entered by the user in control 634. Below the reply content, control 631 for setting as a regional message is displayed. If the user checks this control, the reply message will be set as a regional reply message, indicating that the reply message can be received by users within a certain area. The certain area is a region with a radius of N kilometers centered on the location of the BeiDou satellite sent by Zhang San; if the user does not check this control, the reply message can only be received by the sender, Zhang San.
[0136] Understandably, the mobile phone 306 also provides a display area 632 for displaying multiple frequently used replies, allowing users to conveniently select frequently used replies and edit the reply content, thus saving users time and effort.
[0137] Interface 630 also contains control 633. When the user clicks 633, mobile phone 306 will pop up a prompt box for the regional reply message, which is used to inform the user of the purpose of the regional reply message and privacy agreement information.
[0138] Scenario B: Connection to BeiDou satellite fails without network connectivity, and reply messages cannot be received.
[0139] See Figure 7 This is a schematic diagram of the interface for receiving messages that cannot be replied to, provided in an embodiment of this application. In this embodiment, as... Figure 7 After sending a BeiDou satellite message, user A's mobile phone 301 can display interface 710. The user can click the "Receive Message" control 711 in interface 710. The "Receive Message" control 711 can be used by mobile phone 301 to actively request the accessed BeiDou satellite to query whether there is a reply message to be received.
[0140] In response to a user's click on the "Receive Message" control 711, mobile phone 301 can display interface 720. Interface 720 may include prompts indicating how to adjust the device's orientation, such as turning the phone to the right as shown in interface 720; it also includes a fan-shaped area indicating the target transmission direction of the phone's BeiDou satellite messages, and the central circle of the ring can be used to indicate how to adjust the phone's pitch angle. The user can adjust the device's orientation to align with the satellite according to the above prompts to send messages, query messages, and receive pending replies.
[0141] However, when obstacles exist around the user, such as being injured and confined to a house or cave, the phone's antenna power is relatively low, limiting its ability to penetrate obstacles, and the phone may be unable to connect to the satellite. Alternatively, if multiple users are simultaneously sending and receiving satellite messages within a satellite coverage area, the satellite channel used by each user is diluted, significantly reducing their chances of successfully connecting to the satellite, potentially leading to a failed connection. As shown in interface 730, although the user adjusts the phone's 301 orientation to search for a satellite according to the instructions, no usable satellite is found, as indicated in message 731, indicating a connection failure. Or, as shown in interface 740, although a satellite connection is established, the mail query message is not sent to the satellite due to channel dilution, as indicated in card 741, indicating a mail query message sending failure and inability to receive messages.
[0142] It should be noted that, Figure 7The example introduced uses Changlian APP (an instant messaging APP). In practice, the interactive window of Beidou satellite messages included in information APPs and other entry points can also provide a "Receive Message" control as shown in interface 710. This allows mobile phone 301 to actively request the accessed Beidou satellite to query whether there is a reply message to be received using the mail query mechanism.
[0143] Scenario C: Successfully connects to BeiDou satellite without network connection, and receives a reply message from the receiving area.
[0144] User B successfully connected to the BeiDou satellite using mobile phone 305. Their operation of sending emails to query messages is as follows: Figure 7 Interfaces 710 and 720 are shown in the diagram and will not be described further here. When the mobile phone 305 successfully connects to the satellite and receives a regional reply message, it will jump to interface 810. The fan-shaped area in interface 810 is used to indicate the satellite connection status. Preview card 811 displays the message of successful reception, and preview card 812 can be used to indicate the remaining X messages to be received, so as to prompt the user to continue receiving other messages to be received. In some embodiments, after a preset time, the mobile phone 305 may automatically change to display interface 820.
[0145] Interface 820 may include a preview card 821 for displaying the regional reply message received by mobile phone 301. Above the preview card 821, the type of the reply message will be displayed as a regional message, as shown in the prompt information 822, indicating that the reply message is a regional message. Since the regional reply message of Beidou satellite is not directly sent to user B using mobile phone 301, the sender and receiver of the regional reply message need to be displayed in the preview card 821. As shown in control 823, the regional reply message is a reply from Li Si to Zhang San. If user B is next to Zhang San at this time, he can tell Zhang San the message content, avoiding the problem that Zhang San cannot receive satellite messages due to the inability to connect to the satellite. In preview card 821, in addition to displaying the message source and message content (e.g., already departed, arrive as soon as possible), the specific geographical location of the sender of the reply message in that area can also be displayed, such as location card 824. After receiving the reply message in that area, if user B is not near B but is not far from B's location, he can move to that location to tell Zhang San the message content. This avoids the situation where the recipient of the reply message cannot notify the actual recipient, thus improving the efficiency of receiving satellites.
[0146] In interface 620, to facilitate prompting the user to continue receiving other pending messages, the preview card 821 for regional reply messages will indicate the remaining X pending regional reply messages, so as to prompt the user to continue receiving other pending regional reply messages.
[0147] It should be noted that scenarios A to C above are merely several possible scenarios described in the embodiments of this application. These scenarios can be combined, and this application does not limit the specific scenarios. For example, although the above scenarios use an individual as an example, in actual implementation, a third-party platform can also be used. Furthermore, the touch operations involved in the above scenarios can be implemented in, but are not limited to, the following ways: click operation, double-click operation, long-press operation, or voice command, etc., and can be implemented according to the configuration of the terminal device. Also, the network connection status involved in the above scenarios can include cellular networks, Wi-Fi networks, etc.; it can be understood that when there is no network connection, the terminal device can use the BeiDou satellite network for communication.
[0148] Based on the foregoing description of the interface processing effects achievable using the methods provided in this application, the following describes the implementation process of the communication method provided in this application, to illustrate how the methods provided in this application can achieve the aforementioned results. Figure 6 and Figure 8 The interface processing effect is shown, and the method provided in this application demonstrates how to achieve the effects described in scenarios A and C. This enables the sending and receiving of regional reply messages for BeiDou satellite messages, satisfying more satellite communication application scenarios and providing users with better communication guarantees.
[0149] Based on the content introduced in the above scenarios A1 and A2, and scenarios B1 and B2, Figure 8 This is a flowchart illustrating a communication method provided in an embodiment of this application. The method may include the following steps:
[0150] In step S901, the second terminal device sends a distress satellite message to the satellite. It can be understood that the distress satellite message carries the user identifier corresponding to the second terminal device and the location information of the second terminal device at the time of sending the distress satellite message. When the second terminal device sends the satellite message to the satellite, it can send it to at least one recipient.
[0151] In step S902, the satellite sends a distress satellite message to the server based on the distress satellite message from the second terminal device. It can be understood that the distress satellite message may carry the user identifier corresponding to the second terminal device and the location information of the sending terminal. It should be noted that the satellite can send the distress satellite message to the server through the BeiDou Satellite Ground Information Processing Center.
[0152] In step S903, the server sends a distress satellite message to the receiving device. It can be understood that the server can send the distress satellite message to the receiving device via a terrestrial network.
[0153] Step S904: The recipient views the distress satellite message sent by the second terminal device on the receiving device; edits the reply message, and selects the region for the reply message. The second terminal device can be, for example, a... Figure 5 The mobile phone 305 shown is a relative or friend A. Mobile phone 305 can reply to regional reply messages sent by Beidou satellites as described in scenario A. The specific process can be found in the content described in scenario A, and will not be repeated here.
[0154] In step S905, the receiving device returns a regional reply message to the server. For example, mobile phone 305 can send the reply message to the server via a communication network. In this case, the server can be the server corresponding to an instant messaging service, such as the Changlian server corresponding to the Changlian APP. Alternatively, similarly, mobile phone 305 can also send a reply message to the server via SMS. In this case, the server can be the server corresponding to a messaging app, such as the operator's app corresponding to the messaging app, or the manufacturer's server corresponding to mobile phone 305. It is understood that the reply message may include a user identifier, such as the user identifier corresponding to mobile phone 301. The user identifier may include, but is not limited to, a user number, device number, etc.; the device number can also be used to encrypt and decrypt the message. In some embodiments, the regional reply message sent by the user of the second terminal device carries an identifier for the regional reply message, used to notify the server that the message is a regional reply message.
[0155] Step S906: The server stores the region reply message. The server may include multiple microservices implementing different functions. These microservices can be deployed on the same server or on different servers in a server cluster. When the server stores a region reply message, it saves the location information of the distress message sending device corresponding to that region reply message. Specifically, the location coordinates of the region reply message and the saved location coordinates are used by the server to determine the distance between the location coordinates of the device receiving the reply message and the saved location coordinates.
[0156] In step S910, the first terminal device sends a mail query request message to the satellite. It can be understood that the mail query request message may carry the user identifier and location information corresponding to the first terminal device.
[0157] In step S911, the satellite sends a mail query request message to the server based on the mail query request message from the first terminal device. It can be understood that the mail query request message may carry the user identifier and location information corresponding to the first terminal device.
[0158] In step S912, the server receives the mail query request message, obtains the location information carried in the message, iterates through the area reply messages stored on the server, retrieves the location information of the distress message sending device saved in the area reply message in step S906, and constructs an area centered on the location information saved in the area reply message, with a radius of a preset first distance (e.g., 5 kilometers) on the server. It then determines whether the location carried in the mail query request message is within this area. If it is, the first terminal device can receive the area reply message. In other words, devices within a radius of N kilometers centered on the location of the distress message sending device corresponding to the area reply message can receive the area reply message.
[0159] by Figure 5 Taking user A's phone (301), user B's phone (305), and relative A's phone (306) as examples, when user A sends a BeiDou satellite message to relative A, they are 1 kilometer apart, and the current server's preset area for replying to messages has a radius of 5 kilometers (N is 5). When relative A replies to user A's BeiDou satellite message A, they check the box as follows: Figure 6 If the area reply message control 631 in interface 630 is selected, then Beidou satellite message A is area reply message A. The server receives area reply message A and stores it in its storage. If user B remains stationary (i.e., the distance between user B and user A when user A sends the Beidou satellite message to friend A is still 1 kilometer), then after user B sends a mail query request message, the server determines that the distance between the location coordinates reported in the mail query request and the location of the sending device corresponding to area reply message A (the location of user A when sending the satellite message) is 1 kilometer. Within a preset 5-kilometer range, user B can receive area reply message A.
[0160] Understandably, due to the special nature of satellite messages, users typically use them in emergency situations, and the number of satellite messages stored on the server is not large. Therefore, the number of regional reply messages will be even smaller, and the server's traversal of regional reply messages will not cause a performance degradation. Alternatively, in one scenario, a microservice for traversing regional reply messages can be deployed independently on the server to avoid affecting other microservices and improve server robustness.
[0161] It is understood that, in one embodiment, the regional reply message stored in the server has an expiration period. The storage time on the server must be less than or equal to a preset storage period. If the storage time exceeds the preset period, the server will ignore the expired regional reply message, and the first terminal device will not be able to receive the regional reply message even if it is within the circle set by the regional reply message.
[0162] In step S913, the server returns a region reply message to the satellite based on at least one region reply message found. It should be noted that the server can also return the retrieved reply message to the satellite through the BeiDou Satellite Ground Information Processing Center. Additionally, the server can respond to a mail query request message by returning a confirmation message, which can also be understood as receiving a receipt.
[0163] Understandably, in one embodiment, the at least one area response message found by the server can be sorted according to the earliest received time of the area response message. Therefore, returning an area response message to the satellite is the earliest response message sent to the server among all area response messages. This ensures that the earliest received area response message is sent to the device in that area in a timely manner. Furthermore, in some scenarios, the server will periodically clean up expired area response messages to prevent expired area response messages from occupying server storage and affecting server performance and processing efficiency.
[0164] Understandably, in one embodiment, when a user on the receiving device selects to set up a regional reply message, they specify one or more recipients for that regional reply message (e.g., a recipient whitelist). In step S905, the user identifiers of one or more recipients are sent to the server for storage. When the server iterates through the regional reply messages, it retrieves the user identifier of the first terminal device carried in the message query request message and determines whether the user identifier reported by the first terminal device is within the range of recipient user identifiers. If so, the regional reply message is sent to the first terminal device. This avoids impacting users within the region associated with the regional reply message, thus improving the user experience.
[0165] Furthermore, in one embodiment, the server stores the correspondence between the user identifier that sent the distress message and the corresponding regional reply message. When the server iterates through the regional reply messages, it can obtain the user identifier of the sender corresponding to the regional reply message, and determine whether the user corresponding to that user identifier has a friend relationship with the user identifier of the first terminal device carried in the mail query request message. If they do, the regional reply message is sent to the first terminal device. In this scenario, the regional reply message will be sent to the friend's device and will not affect non-friend users.
[0166] In another embodiment, the user of the first terminal device can form a temporary group with the user of the sender corresponding to the regional reply message. This temporary group operates under network conditions. When the server iterates through the regional reply messages, if it determines that the user identifier of the sender corresponding to the regional reply message and the user identifier of the first terminal device are in the same group, the regional reply message will be sent to the first terminal device, improving the flexibility of receiving regional reply messages.
[0167] In step S914, the first terminal device receives a response message sent by the satellite, which includes a regional reply message.
[0168] In step S915, the first terminal device displays the reply message information in the area of the response message on the terminal. For example... Figure 8 As shown in interface 820, after receiving a regional reply message, the first terminal device displays the regional reply message on the interface of the Changlian APP. In addition to displaying the reply message content, the first terminal device also displays information on the Changlian APP interface indicating the number of remaining regional reply messages to be received, based on the quantity indication information in the response message. Furthermore, while displaying the regional reply message content, it also displays the specific geographical location of the corresponding sender (i.e., the second terminal device) of the regional reply message. The specific process can be referred to the content introduced in scenario C, and will not be repeated here.
[0169] Optionally, the first terminal device parses the reply message and performs deduplication. For example, the first terminal device can perform deduplication based on, but is not limited to, the following conditions: BeiDou satellite message identifier, message number, message encoding, message version number, message source, message sender, message sending time, etc. It can be understood that deduplication can avoid receiving duplicate messages and avoid duplicate message quota statistics.
[0170] In step S916, the first terminal device sends a reception receipt to the satellite based on the received regional reply message. It can be understood that, in a network-free environment, the first terminal device can send the reception receipt to the satellite using BeiDou satellite messages. This reception receipt may carry an identifier of the reply message.
[0171] In step S917, the satellite receives the reception receipt from the first terminal device and sends the receipt to the server. It can be understood that the satellite can also forward the reception receipt to the server through the BeiDou Satellite Ground Information Processing Center.
[0172] In step S918, the server, based on the received receipt, identifies that the user corresponding to the first terminal device has received the region reply message. When the first terminal device sends a mail query request message again, the server will find that the user corresponding to the first terminal device has already received the region reply message, and the region reply message will no longer be sent to the first terminal device.
[0173] Understandably, once a second terminal device has received a reply message from a certain region, that reply message will not be sent to other terminal devices. At this point, the reply message has already been sent to the terminal device that actually needs to receive it, so there is no need to send it to other devices. This avoids overuse of regional reply messages and improves the channel utilization rate of BeiDou satellite messages.
[0174] It is understood that, in one embodiment, the first terminal device receives a reply message after sending a mail query request message. The received reply message may include a personal reply message and a regional reply message. It is understood that the personal reply message is the corresponding reply message to be received, found by the server based on the user identifier carried by the first terminal device. For example... Figure 10 As shown in interface 1010, user Xiao Chen of the first terminal device received a reply message from Wang Wu. If preview card 1011 shows the personal reply message received by the first terminal device, preview card 1012 will be displayed below the preview card, showing the personal reply message and regional reply message that the user of the first terminal device is waiting to receive.
[0175] Considering the unique nature of BeiDou messages, users can only receive one reply message at a time when retrieving messages via satellite. When the server receives a message query request, it detects both individual and regional reply messages. Generally, it prioritizes returning the individual reply messages to the terminal device first, and sends the remaining number of individual and regional reply messages to the user. This allows the user to access their personal reply message and also understand the remaining regional reply messages, preventing the lack of regional reply messages from affecting rescue efforts or message access for other stranded individuals. After retrieving their individual messages, the user will receive the regional reply message. Figure 10 As shown, when a user clicks the "Receive Messages" button on interface 1010, they are redirected to interface 1020. Interface 1020 displays the pending personal reply messages from interface 1010, as shown in preview card 1021. Below preview card 1021, preview card 1022 continues to display pending regional reply messages. In response to the user clicking the "Receive Messages" button on interface 1020, the user is redirected to interface 1030. Preview card 1031 on this interface displays the regional reply (including geographical location) already received from Li Si to Zhang San, and preview card 1032 is displayed below preview card 1031, indicating the remaining two pending regional reply messages to the user.
[0176] In one scenario, a regional response message from a BeiDou satellite can be linked to and displayed with information from the corresponding distress message for that region. This allows users who receive the regional message to better understand its content and make more informed decisions. For example... Figure 11 As shown, in interface 1110, the user received a regional reply message from Li Si to Zhang San. Clicking the control 1112 in the preview will jump to interface 1120, where the preview card 1121 displays the SOS message corresponding to the received regional reply message.
[0177] It is understandable that, in one embodiment, the reply message includes information about the distress message corresponding to the regional reply message. However, considering the length limitation of satellite messages, there is a possibility that the content of the distress message corresponding to the regional reply message may be truncated in this scenario. Furthermore, to avoid this situation, when obtaining the content of the distress message corresponding to the regional reply message, the first terminal device can send a mail query request message to obtain the distress message corresponding to the regional reply message. This step is consistent with steps 302-307 for obtaining personal messages, and will not be described again here.
[0178] In one embodiment, the location coordinates carried in the email query request message sent by the terminal device fall within the range of multiple regional reply messages, meaning there will be multiple regional reply messages. In this case, the server will obtain the time of the regional reply messages and prioritize returning the first received regional reply message to the terminal device. For example... Figure 12 As shown in interface 1210, the terminal device received three regional reply messages. Two of these messages were sent from Xiao Liu to Xiao Wu, at 15:00 and 16:16 on June 6, 2023, respectively. The third message was sent from Li Si to Zhang San at 16:00 on June 6, 2023. Although Xiao Liu sent two regional reply messages to Xiao Wu, the terminal device still followed the first-to-send rule when receiving regional reply messages to ensure timely receipt.
[0179] In conjunction with the above embodiments and related drawings, this application provides a communication method that can be used in situations such as... Figure 1 , Figure 2 Implemented in the terminal device shown. Figure 13 This is a schematic flowchart illustrating a communication method provided in an embodiment of this application, such as... Figure 13 As shown, the method may include the following steps:
[0180] In step S1301, the first terminal device sends a first request message to the satellite. The first request message includes information about the first location of the first terminal device when it sends the first request message, wherein the first terminal device is in a state without network connection.
[0181] In step S1302, the server receives a first request message from the first terminal device via satellite, and obtains a first reply message that meets the first condition based on the first location information in the first request message. The first condition includes: the distance between the first location and the second location is less than or equal to the first distance, the second location is the location of the second terminal device that sent the first satellite message, and the first reply message is a reply message to the first satellite message.
[0182] In step S1303, the server sends a first response message, which includes a first reply message.
[0183] In step S1304, the first terminal device receives the first response message via satellite and displays the first reply message in the first response message.
[0184] in, Figure 13 The specific implementation process can be found in the descriptions of the foregoing embodiments, and will not be repeated here.
[0185] In addition, embodiments of this application also provide a schematic diagram of the structure of a communication system device, such as... Figure 14 As shown, the device is applied to a first terminal device. The device provided in this embodiment includes:
[0186] Processing unit 1410, display unit 1420. Wherein:
[0187] The processing unit is configured to send a first request message to the satellite. The first request message includes information about the first location of the first terminal device when it sends the first request message, wherein the first terminal device is in a state without network connection.
[0188] The processing unit receives a first response message via satellite. The first response message contains a first reply message obtained by the server based on the first location information in the first request message, which satisfies a first condition. The first condition includes: the distance between the first location and the second location is less than or equal to the first distance, the second location is the location of the second terminal device that sent the first satellite message, and the first reply message is a reply message to the first satellite message.
[0189] The display unit displays the first reply message in the first response message. Based on the above embodiments, this application also provides a terminal device, which includes multiple functional modules; the multiple functional modules interact to implement the functions performed by the terminal device in the methods described in the embodiments of this 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 specific implementations. For example, executing... Figure 9 In the illustrated embodiment, the second terminal device executes step S901; or, for example, executes... Figure 9 Steps S910, S915, and S916 are performed by the first terminal device in the illustrated embodiment.
[0190] Based on the above embodiments, this application also provides a computer program product, which includes a computer program (also referred to as code or instructions) that, when run, causes a computer to perform the methods described in the embodiments of this application.
[0191] Based on the above embodiments, this application also provides a computer-readable storage medium storing a computer program, which, when executed by a computer, causes the computer to perform the methods described in the embodiments of this application.
[0192] Based on the above embodiments, this application also provides a chip for reading computer programs stored in a memory to implement the methods described in the embodiments of this application.
[0193] Based on the above embodiments, this application provides a chip system including a processor for supporting a computer device in implementing the methods described in the embodiments of this application. In one possible design, the chip system further includes a memory for storing necessary programs and data of the computer device. This chip system may be composed of chips or may include chips and other discrete devices. Those skilled in the art will understand that the embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this 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.
[0194] The apparatus provided in this embodiment can execute the above-described method embodiments, and its implementation principle and technical effect are similar, so they will not be described again here.
[0195] This application also provides an electronic device, including: a display screen, a processor, a memory, one or more sensors, a power button, an application program, and a computer program. The aforementioned devices can be connected via one or more communication buses. The one or more computer programs are stored in the memory and configured to be executed by the one or more processors. The one or more computer programs include instructions that can be used to cause the electronic device to perform various steps of the interface display methods in the aforementioned embodiments. For example, the processor may specifically be... Figure 1 The processor 110 shown above, the memory mentioned above can specifically be... Figure 1 The internal memory 121 shown and / or the external memory connected to the electronic device, the aforementioned display screen may specifically be... Figure 1 The display screen 194 shown above may contain sensors that are specifically designed for this purpose. Figure 1 The power button can be one or more sensors in the sensor module 180 shown. Figure 1 The power button 141 is shown. This application embodiment does not impose any limitations on this.
[0196] In addition, this application also provides a graphical user interface (GUI) on an electronic device, which specifically includes the graphical user interface displayed by the electronic device when executing the above-described method embodiments.
[0197] As used in the above embodiments, depending on the context, the terms "when..." or "after..." can be interpreted as meaning "if...", "after...", "in response to determining...", or "in response to detecting...". Similarly, depending on the context, the phrases "when..." or "if (the stated condition or event) is detected" can be interpreted as meaning "if...", "in response to determining...", "when (the stated condition or event) is detected", or "in response to detecting (the stated condition or event)".
[0198] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented, in whole or in part, as a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present invention are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium accessible to a computer or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid-state disk (SSD)). Where there is no conflict, the solutions in the above embodiments can be used in combination.
Claims
1. A communication system, characterized by The system includes a first terminal device and a server; The first terminal device is configured to send a first request message to the satellite. The first request message includes information about the first location of the first terminal device when it sends the first request message, wherein the first terminal device is in a state without network connection. The server is configured to receive the first request message from the first terminal device via satellite, and obtain a first reply message that satisfies a first condition based on the first location information in the first request message. The first condition includes: the distance between the first location and the second location is less than or equal to a first distance, the second location is the location of the second terminal device that sent the first satellite message, and the first reply message is a reply message to the first satellite message. The server is further configured to send a first response message, the first response message including the first reply message; The first terminal device is configured to receive the first response message via satellite and display the first reply message in the first response message.
2. The system according to claim 1, characterized in that, The system further includes a third terminal device; the third terminal device is used to display a first interface, in which the first satellite message sent from the second terminal device and a first control are displayed, and the first control is used to trigger a reply to the first satellite message; The third terminal device is further configured to respond to the first operation on the first control by displaying a second interface, in which a second control and a third control are displayed. The second control is configured to edit the reply content of the first satellite message, and the third control is configured to set the reply message containing the reply content as a regional reply message. The third terminal device is further configured to, in response to a second operation on the third control, set the reply message as a regional reply message, the reply message including the reply content; The third terminal device is also configured to send the reply message to the server in response to a third operation on the second interface; The server is configured to receive and store the reply message sent from the third terminal device, and retrieve the first reply message that satisfies the first condition from the reply message set as a regional reply message.
3. The system according to claim 1 or 2, characterized in that, The first response message also includes quantity indication information, which indicates the number of remaining reply messages that meet the first condition to be received; and the quantity indication information is displayed on the first terminal device.
4. The system of claim 1 or 2, wherein, The first response message also includes information about the second location, and the first terminal device is further configured to display the information about the second location in the first response message.
5. The system of claim 1 or 2, wherein, The first condition also includes: the first reply message is stored on the server for a duration less than or equal to a preset duration.
6. The system of claim 1 or 2, wherein, The first request message includes a first user identifier corresponding to the first terminal device, and the first condition further includes: the first user identifier belongs to the first user identifier list.
7. The system of claim 6, wherein, Any user identifier in the first user identifier list is the user identifier specified by the second terminal device when sending the first reply message.
8. The system of claim 6, wherein, The first satellite message includes a second user identifier corresponding to the second terminal device, and any user identifier in the first user identifier list has a friend relationship with the user corresponding to the second user identifier.
9. The system of claim 1 or 2, wherein, The first reply message includes the first satellite message, and the first terminal device displays the first satellite message in association.
10. A communication method, said method being applied to a first terminal device, characterized in that, The method includes: Send a first request message to the satellite. The first request message includes information about the first location of the first terminal device when it sends the first request message, wherein the first terminal device is in a state without network connection. The server receives a first response message via satellite. The first response message contains a first reply message obtained by the server based on the information of the first location in the first request message, which satisfies a first condition. The first condition includes: the distance between the first location and the second location is less than or equal to a first distance, the second location is the location of the second terminal device that sent the first satellite message, and the first reply message is a reply message to the first satellite message. Display the first reply message in the first response message.
11. The method of claim 10, wherein the first response message further comprises quantity indication information. The method includes: The quantity indication information is displayed, which indicates the number of remaining reply messages that meet the first condition and are yet to be received.
12. The method according to claim 10 or 11, characterized in that, The first response message also includes information about the second location, and the method includes: Display information from the second location in the first response message.
13. The method of claim 10 or 11, wherein, The first condition also includes: the first reply message is stored on the server for a duration less than or equal to a preset duration.
14. The method of claim 10 or 11, wherein, The first request message includes a first user identifier corresponding to the first terminal device, and the first condition further includes: the first user identifier belongs to the first user identifier list.
15. The method of claim 14, wherein, Any user identifier in the first user identifier list is the user identifier specified by the second terminal device when sending the first reply message.
16. The method of claim 14, wherein, The first satellite message includes a second user identifier corresponding to the second terminal device, and any user identifier in the first user identifier list has a friend relationship with the user corresponding to the second user identifier.
17. The method of claim 10 or 11, wherein, The first response message includes the first satellite message, and the method includes: The first satellite message is displayed in conjunction with it.
18. A communication method, the method being applied to a server, characterized by, The method includes: The system receives a first request message from a first terminal device via satellite. The first request message includes information about the first location of the first terminal device when it sends the first request message. A first reply message satisfying a first condition is obtained based on the information of the first location in the first request message. The first condition includes: the distance between the first location and the second location is less than or equal to a first distance, the second location is the location of the second terminal device that sent the first satellite message, and the first reply message is a reply message to the first satellite message. Send a first response message, which includes the first reply message.
19. The method of claim 18, wherein, The method includes: The system receives and stores a reply message sent from a third terminal device, and retrieves the first reply message that satisfies the first condition from the reply message set as a regional reply message. The reply message contains a reply message and is a regional reply message set by the third terminal device.
20. A terminal device, comprising: It includes at least one processor coupled to at least one memory, the at least one processor being configured to read a computer program stored in the at least one memory to perform the method as described in any one of claims 10 to 17.
21. A server, characterized by It includes at least one processor coupled to at least one memory, the at least one processor being configured to read a computer program stored in the at least one memory to perform the method as described in any one of claims 18 to 19.
22. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores instructions that, when executed on a computer, cause the computer to perform the method as described in any one of claims 10 to 17.
23. A computer program product comprising instructions, characterized in that, When the computer program product is run on a computer, it causes the computer to perform the method as described in any one of claims 10 to 17.