[go: up one dir, main page]

WO2025011217A1 - Communication system and method, and terminal device - Google Patents

Communication system and method, and terminal device Download PDF

Info

Publication number
WO2025011217A1
WO2025011217A1 PCT/CN2024/095880 CN2024095880W WO2025011217A1 WO 2025011217 A1 WO2025011217 A1 WO 2025011217A1 CN 2024095880 W CN2024095880 W CN 2024095880W WO 2025011217 A1 WO2025011217 A1 WO 2025011217A1
Authority
WO
WIPO (PCT)
Prior art keywords
message
terminal device
reply
satellite
reply message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
PCT/CN2024/095880
Other languages
French (fr)
Chinese (zh)
Inventor
李霄哲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of WO2025011217A1 publication Critical patent/WO2025011217A1/en
Anticipated expiration legal-status Critical
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B7/00Radio transmission systems, i.e. using radiation field
    • H04B7/14Relay systems
    • H04B7/15Active relay systems
    • H04B7/185Space-based or airborne stations; Stations for satellite systems
    • H04B7/1853Satellite systems for providing telephony service to a mobile station, i.e. mobile satellite service
    • H04B7/18532Arrangements for managing transmission, i.e. for transporting data or a signalling message
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B7/00Radio transmission systems, i.e. using radiation field
    • H04B7/14Relay systems
    • H04B7/15Active relay systems
    • H04B7/185Space-based or airborne stations; Stations for satellite systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • H04W4/14Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/04Large scale networks; Deep hierarchical networks
    • H04W84/06Airborne or Satellite Networks

Definitions

  • the present application relates to the field of terminal technology, and in particular to a communication system, method and terminal device.
  • More and more smartphones support two-way Beidou satellite messaging technology.
  • messages can be sent and received through Beidou satellites, and two-way information communication can be carried out with other smartphones, providing users with communication guarantee in an environment without a ground network.
  • Beidou satellite Due to the characteristics of Beidou satellite communication, Beidou satellite cannot actively push reply messages to terminal devices. Users need to actively connect to Beidou satellite and send letter query requests to obtain reply messages. When there are multiple users (trapped people) in an area, sending and receiving Beidou satellite messages at the same time, the Beidou satellite channel of each user will be diluted, causing the Beidou satellite signal to weaken; and because the mobile phone antenna has low power and poor ability to cross obstacles, it will be impossible to connect to Beidou satellite and obtain reply messages in time, affecting the user experience.
  • the present application provides a communication system, method and terminal device, which receives satellite messages from users corresponding to other terminal devices in a certain area where the receiving terminal device is located according to the location of the receiving terminal device.
  • the certain area is an area with a radius of N kilometers, centered on the location when the other terminal device sends the distress message.
  • the real-time performance of receiving satellite reply messages is improved, and the communication activities of users in outdoor activities are more effectively guaranteed.
  • a communication system comprising a first terminal device and a server, wherein the first terminal device is used to send a first request message to a satellite, the first request message comprising information of a first position of the first terminal device when sending the first request message, wherein the first terminal device is in a state of no network connection; the server is used to receive the first request message from the first terminal device via a satellite, and obtain a first reply message that meets a first condition according to information of the first position in the first request message, the first condition comprising: a distance between the first position and a second position is less than or equal to a first distance, the second position is the position of the second terminal device that sends the first satellite message, and the first reply message is a reply message to the first satellite message; the server is further used to send a first response message, the first response message comprising the first reply message; the first terminal device is used to receive the first response message via a satellite, and display the first reply message in the first response message.
  • a first terminal device in a state of no network connection can receive a regional satellite message by actively querying.
  • the first terminal device can actively send a letter query request message to the satellite.
  • the server receives the letter query request message, it will obtain the location of the first terminal device in the query request message, and traverse the regional reply messages in the server to determine whether the location of the first terminal device meets the first condition, that is, the location of the first terminal device meets the regional reply message.
  • the distance between the locations associated with the regional reply message is less than or equal to the preset distance, and 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 sent to the second terminal device can also be sent to the first terminal device. Therefore, the system can be expanded to enable the first terminal device to receive the regional satellite message, thereby improving the user's communication security.
  • user A and user B travel together in an area without a network, user A sends a Beidou satellite message to friend A, and user B sends a Beidou satellite message to friend B, wherein friend A sends a reply message to user A, and friend B does not send a reply message to user B.
  • user B can receive a reply message sent to user A because the satellite docking is successful.
  • user A can be notified, which effectively ensures the timeliness of communication.
  • first terminal device and the second terminal device can both be understood as a sending device or a rescue party device in a satellite communication scenario, etc.
  • the system further includes a third terminal device, wherein the third terminal device is used to display a first interface, in which the first satellite message and a first control sent from the second terminal device are displayed, and the first control is 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, and display a second control and a third control in the second interface, wherein the second control is used to edit the reply content of the first satellite message, and the third control is 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, and the reply message includes 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 by the third terminal device, and obtain the first reply message that meets the first condition
  • the user can view the first satellite message sent by the second terminal device through the first interface of the third terminal device.
  • the message content displayed in the first interface of the third terminal device is the message content after the first satellite message is decoded, for example, it can include but is not limited to: text content, location information, etc.
  • the input control displayed on the second interface of the third terminal device edits the reply content of the first satellite message, and can check in the checkbox whether the reply message of the reply content is a regional reply message.
  • the role of setting the regional reply message is that as long as the device is within a certain range of the location of the second terminal device, it can receive the reply message and view the content of the reply message. It is understandable that when the user replies to the message in the communication area, the second interface of the third terminal device will pop up the privacy agreement information to notify the user of the relevant privacy information involved.
  • the third terminal device responds to the sending control and sends the reply message to the server. It can be understood that the third terminal device can be understood as a receiving terminal device or a rescuer's device in a satellite communication scenario.
  • the third terminal device provides the user with a control for setting whether the reply message to the first satellite message is a regional reply message.
  • the user can set it according to the actual situation, which facilitates the user's choice and improves the reliability of satellite communication.
  • the first response message also includes quantity indication information, and the quantity indication information is used to indicate the number of reply messages remaining to be received that meet the first condition; and the quantity indication information is displayed on the first terminal device.
  • the server when the server finds multiple satellite messages that can be received by the first terminal device and that meet the first condition, in addition to returning one of the satellite messages to the first terminal device, the server can also indicate the number of satellite messages remaining to be received by the first terminal device. In this way, the first terminal device can display the quantity indication information to the user, so that the user can continue to receive other satellite messages that meet the first condition and that are to be received, thereby improving the timeliness of communication.
  • the second position in the system can be the position where the second terminal device is when sending the first satellite message.
  • the first terminal device can know the position reached by the second terminal device, and view the message information at this position, and timely understand the position passed by the second terminal device and the information sent; or, the second position can also be the latest position of the second terminal device recorded by the server when sending the first satellite message.
  • the user holding the first terminal device can receive the latest position of the second terminal device, and arrive at the position of the second terminal device in time, and notify the user holding the second terminal device of the reply message received and sent to the second terminal device, thereby improving the timeliness of satellite communication.
  • the first condition also includes: the storage time of the first reply message on the server is less than or equal to a preset time.
  • the server obtains the first reply message that meets the first condition based on the information of the first position in the first request message, it is necessary to determine whether the storage time of the first reply message is less than or equal to the 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 most recent reply message, thereby improving the timeliness of satellite communication.
  • the first request message includes a first user identifier corresponding to the first terminal device, and the first condition also includes: the first user identifier belongs to a first user identifier list.
  • 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.
  • the user can specify a user ID on the third terminal device and send the specified user ID to the server.
  • the server obtains the first reply message, it determines whether the user ID of the first terminal device included in the first request message reported by the first terminal device is within the specified user ID. In this way, the user can set the users who need to receive the regional reply message, which further improves the privacy of the user's message sending and provides privacy protection for the user.
  • the second satellite message includes a second user identifier corresponding to the second terminal device, and a user corresponding to any user identifier in the first user identifier list is The users corresponding to the second user identifiers have a friend relationship.
  • the user using the first terminal device and the user using the second terminal device have a friend relationship, that is, when the two users using the first terminal device and the second terminal device are friends and are within a certain distance range, the first terminal device can receive the area reply message sent to the second terminal device.
  • This implementation method ensures that the area reply message is only sent to friends, because friends know each other, thus further improving the privacy of users sending messages and providing privacy protection for users.
  • the first reply message includes the first satellite message, and the first terminal device displays the first satellite message in association.
  • the satellite message received by the first terminal device can be associated with the message sent by the second terminal device. It is understandable that the message sent by the associated second terminal device can be in the first reply message. At this time, due to the length limit of the satellite message, the message sent by the associated second terminal device may be truncated; or the first terminal device can send a letter query request again to obtain the message sent by the associated second terminal device from the server. In this way, the user can intuitively view the association relationship between the messages, which improves the user experience.
  • a communication method is provided in an embodiment of the present application, the method is applied to a first terminal device, and the method includes:
  • a first request message is sent to a satellite, wherein the first request message includes information of a first position of the first terminal device when the first request message is sent, wherein the first terminal device is in a state of no network connection; a first response message is received via a satellite, wherein the first response message includes a first reply message satisfying a first condition obtained by a server according to the information of the first position in the first request message, wherein the first condition includes: a distance between the first position and a second position is less than or equal to a first distance, the second position is the position of the second terminal device that sends the first satellite message, and the first reply message is a reply message of the first satellite message; and the first reply message in the first response message is displayed.
  • the first response message further includes quantity indication information
  • the method includes:
  • the quantity indication information is displayed, where the quantity indication information is used to indicate the number of reply messages remaining to be received that meet the first condition.
  • the first response message further includes information about the second position, and the method includes:
  • the first condition also includes: the storage time of the first reply message on the server is less than or equal to a preset time.
  • the first request message includes a first user identifier corresponding to the first terminal device, and the first condition also includes: the first user identifier belongs to a first user identifier list.
  • 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.
  • the second satellite message includes a second user identifier corresponding to the second terminal device, and a user corresponding to any user identifier in the first user identifier list has a friend relationship with a user corresponding to the second user identifier.
  • the first reply message includes the first Satellite message, the method comprising:
  • the first satellite message is displayed in association.
  • a communication method is provided in an embodiment of the present application, and the method is applied to a server, and is characterized in that the method includes:
  • a first request message is received from a first terminal device via a satellite, wherein the first request message includes information of a first position of the first terminal device when the first request message is sent; a first reply message that satisfies a first condition is obtained according to the information of the first position in the first request message, wherein the first condition includes: a distance between the first position and a second position is less than or equal to a first distance, the second position is a position of a second terminal device that sends a first satellite message, and the first reply message is a reply message of the first satellite message; and a first response message is sent, wherein the first response message includes the first reply message.
  • the method includes:
  • a communication method is provided in an embodiment of the present application, the method is applied to a third terminal device, and the method includes:
  • a first interface is displayed, in which a first satellite message and a first control sent from a second terminal device are displayed, wherein the first control is used to trigger a reply to the first satellite message; in response to a first operation on the first control, a second interface is displayed, in which a second control and a third control are displayed, wherein the second control is used to edit the reply content of the first satellite message, and the third control is used to set a reply message containing the reply content as a regional reply message; in response to a second operation on the third control, the reply message is set as a regional reply message, and the reply message includes the reply content; in response to a third operation on the second interface, the reply message is sent to the server.
  • a terminal device in an embodiment of the present application, the terminal device comprising a memory and one or more processors; wherein the memory is used to store computer program code, and the computer program code comprises computer instructions; when the computer instructions are executed by the processor, the terminal device executes the method executed by the first terminal device in any possible design in the above-mentioned second aspect.
  • a terminal device comprising a memory and one or more processors; wherein the memory is used to store computer program code, and the computer program code comprises computer instructions; when the computer instructions are executed by the processor, the terminal device executes the method executed by the first terminal device in any possible design in the fourth aspect above.
  • a server comprising a memory and one or more processors; wherein the memory is used to store computer program code, and the computer program code comprises computer instructions; when the computer instructions are executed by the processor, the server executes the method executed by the server in any possible design in the third aspect above.
  • a storage medium in an embodiment of the present application, wherein the computer-readable medium stores a computer program (also referred to as code or instruction).
  • a computer program also referred to as code or instruction.
  • a computer program product comprising: a computer program (also referred to as code, or instruction), which, when executed, enables the computer to execute the above A method in any possible design of the second aspect, or executing a method in any possible design of the above second aspect.
  • a computer program also referred to as code, or instruction
  • a storage medium in an embodiment of the present application, and the computer-readable medium stores a computer program (also referred to as code, or instruction).
  • a computer program also referred to as code, or instruction.
  • the computer program executes a method in any possible design in the fourth aspect.
  • a computer program product for an embodiment of the present application, and the computer program product includes: a computer program (also referred to as code, or instruction), which, when the computer program is run, enables the computer to execute a method in any possible design of the second aspect above, or execute a method in any possible design of the fourth aspect above.
  • a computer program also referred to as code, or instruction
  • FIG1 is a schematic diagram of the structure of a terminal device provided in an embodiment of the present application.
  • FIG2 is a software structure block diagram of a terminal device provided in an embodiment of the present application.
  • FIG3 is a schematic diagram of an application scenario provided in an embodiment of the present application.
  • FIG4 is a schematic diagram of an interface for sending and receiving Beidou satellite messages provided in an embodiment of the present application.
  • FIG5 is a schematic diagram of an application scenario applicable to a communication method provided in an embodiment of the present application.
  • 6-8 are a set of interface schematic diagrams provided in an embodiment of the present application.
  • FIG. 9 is a schematic diagram of a process provided in an embodiment of the present application.
  • 10-12 are a set of interface schematic diagrams provided in an embodiment of the present application.
  • FIG13 is a schematic flowchart of a communication method provided in an embodiment of the present application.
  • FIG14 is a schematic diagram of the structure of a communication system device provided in an embodiment of the present application.
  • a and/or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural.
  • the character "/” generally indicates that the objects associated before and after are in an "or” relationship.
  • references to "one embodiment” or “some embodiments” in this specification mean that a particular feature, structure or characteristic described in conjunction with the embodiment is included in one or more embodiments of the present application.
  • the phrases “in one embodiment”, “in some embodiments”, “in some other embodiments”, “in some other embodiments”, etc. appearing in different places in this specification do not necessarily refer to the same embodiment, but mean “one embodiment”.
  • the terms “include”, “comprising”, “having” and their variations all mean “including but not limited to”, unless otherwise specifically emphasized.
  • the electronic device may be a portable electronic device that also includes other functions such as a personal digital assistant and/or a music player function, such as a mobile phone, a tablet computer, a wearable electronic device with a wireless communication function (such as a smart watch), etc.
  • portable electronic devices include but are not limited to portable electronic devices equipped with iOS?, Android?, Microsoft? or other operating systems.
  • the above-mentioned portable electronic device may also be other portable electronic devices, such as a laptop computer (Laptop), etc. It should also be understood that in some other embodiments, the above-mentioned electronic device may not be a portable electronic device, but a desktop computer.
  • FIG1 shows a schematic diagram of the structure of an electronic device 100.
  • the 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, an antenna 1, an 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, an earphone interface 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.
  • SIM subscriber identification module
  • the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 100.
  • the electronic device 100 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently.
  • the components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
  • the processor 110 may include one or more processing units, for example: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and/or a neural network processor (neural-network processing unit, NPU), etc.
  • different processing units may be independent components or integrated in one or more processors.
  • the electronic device 101 may also include one or more processors 110.
  • the controller may generate an operation control signal according to the instruction opcode and the timing signal to complete the control of fetching and executing instructions.
  • a memory may also be set in the processor 110 for storing instructions and data.
  • the memory in the processor 110 may be a high-speed cache memory.
  • the memory may save instructions or data that the processor 110 has just used or circulated. If the processor 110 needs to use the instruction or data again, it can be directly called 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.
  • the processor 110 may include one or more interfaces.
  • the interface 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.
  • the USB interface 130 is an interface that complies with the USB standard specification, and can specifically be a Mini USB interface, a Micro USB interface, 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 to transfer data between the electronic device 101 and a peripheral device.
  • the USB interface 130 can also be used to connect headphones to play audio through the headphones.
  • the interface connection relationship between the modules illustrated in the embodiment of the present application is only a schematic illustration and does not constitute a structural limitation on the electronic device 100.
  • the electronic device 100 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
  • the charging management module 140 is used to receive charging input from a charger.
  • the charger may be a wireless charger or a wired charger.
  • the charging management module 140 may receive charging input from a wired charger through the USB interface 130.
  • the charging management module 140 may receive wireless charging input through a wireless charging coil of the electronic device 100. While the charging management module 140 is charging the battery 142, it may also power the electronic device through the power management module 141.
  • the power management module 141 is used to connect 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, and supplies power to the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, and the wireless communication module 160.
  • the power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle number, battery health status (leakage, impedance), etc.
  • the power management module 141 can also be set in the processor 110.
  • the power management module 141 and the charging management module 140 can also be set in the same device.
  • the wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.
  • 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 a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of antennas.
  • antenna 1 can be reused as a diversity antenna for a wireless local area network.
  • the antenna can be used in combination with a tuning switch.
  • the mobile communication module 150 can provide solutions for wireless communications including 2G/3G/4G/5G, etc., applied to the electronic device 100.
  • the mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc.
  • the mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation.
  • the mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1.
  • at least some of the functional modules of the mobile communication module 150 can be set in the processor 110.
  • at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.
  • the wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (WiFi) networks), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the electronic device 100.
  • 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 the antenna 2, modulates the frequency of the electromagnetic wave signal and performs filtering, and sends the processed signal to the processor 110.
  • the wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency of it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.
  • the electronic device 100 implements the display function through a GPU, a display screen 194, and an application processor.
  • the GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor.
  • the GPU is used to perform mathematical and geometric calculations for graphics rendering.
  • the processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
  • the display screen 194 is used to display images, videos, etc.
  • the display screen 194 includes a display panel.
  • the display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diodes (QLED), etc.
  • the electronic device 100 may include one or more display screens 194.
  • the display screen 194 in FIG. 1 can be bent.
  • the display screen 194 can be bent, which means that the display screen can be bent to any angle at any position and can be maintained at the angle.
  • the display screen 194 can be folded in half from the middle to the left or right. It can also be folded in half from the middle to the top or bottom.
  • the display screen 194 of the electronic device 100 can be a flexible screen.
  • the flexible screen has attracted much attention for its unique characteristics and huge potential.
  • flexible screens have the characteristics of strong flexibility and bendability, which can provide users with a new interaction method based on bendable characteristics, and can meet users' more needs for electronic devices.
  • the foldable display screen on the electronic device can be switched between a small screen in a folded form and a large screen in an unfolded form at any time. Therefore, users use the split-screen function on electronic devices equipped with a foldable display screen more and more frequently.
  • the electronic device 100 can realize the shooting function through the ISP, the camera 193, the video codec, the GPU, the display screen 194 and the application processor.
  • the ISP is used to process the data fed back by the camera 193. For example, when taking a photo, the shutter is opened, and the light is transmitted to the camera photosensitive element through the lens. The light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converts it into an image visible to the naked eye.
  • the ISP can also perform algorithm optimization on the noise, brightness, and skin color of the image. The ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, the ISP can be set in the camera 193.
  • the camera 193 is used to capture still images or videos.
  • the object generates an optical image through the lens and projects it onto the photosensitive element.
  • the photosensitive element can be a charge coupled device (CCD) or a complementary metal oxide semiconductor (CMOS) phototransistor.
  • CMOS complementary metal oxide semiconductor
  • the photosensitive element converts the optical signal into an electrical signal, and then passes the electrical signal to the ISP to be converted into a digital image signal.
  • the ISP outputs the digital image signal to the DSP for processing.
  • the DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format.
  • the electronic device 100 may include one or more cameras 193.
  • the digital signal processor is used to process digital signals, and can process not only digital image signals but also other digital signals. For example, when the electronic device 100 is selecting a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.
  • Video codecs are used to compress or decompress digital videos.
  • the electronic device 100 may support one or more video codecs. In this way, the electronic device 100 may play or record videos in a variety of coding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
  • MPEG Moving Picture Experts Group
  • MPEG2 MPEG2, MPEG3, MPEG4, etc.
  • the external memory 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 memory interface 120 to implement data Storage function. For example, save music, videos and other files in an external memory card.
  • the internal memory 121 can be used to store one or more computer programs, which include instructions.
  • the processor 110 can enable the electronic device 101 to perform the methods provided in some embodiments of the present application, as well as various applications and data processing, etc. by running the above instructions stored in the internal memory 121.
  • the internal memory 121 may include a program storage area and a data storage area.
  • the program storage area can store an operating system; the program storage area can also store one or more applications (such as a gallery, contacts, etc.).
  • the data storage area can store data (such as photos, contacts, etc.) created during the use of the electronic device 101.
  • the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more disk storage components, a flash memory component, a universal flash storage (UFS), etc.
  • the processor 110 can enable the electronic device 101 to perform the methods provided in the embodiments of the present application, as well as other applications and data processing, by running instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor 110.
  • the electronic device 100 can implement audio functions such as music playing and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.
  • the sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration 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, and the like.
  • the pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal.
  • the pressure sensor 180A can be set on the display screen 194.
  • the capacitive pressure sensor can be a parallel plate including at least two conductive materials.
  • the electronic device 100 determines the intensity of the pressure according to the change in capacitance.
  • the electronic device 100 detects the touch operation intensity according to the pressure sensor 180A.
  • the electronic device 100 can also calculate the touch position according to the detection signal of the pressure sensor 180A.
  • touch operations acting on the same touch position but with different touch operation intensities can correspond to different operation instructions. For example: when a touch operation with a touch operation intensity less than the first pressure threshold acts on the short message application icon, an instruction to view the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, an instruction to create a new short message is executed.
  • the gyro sensor 180B can be used to determine the motion posture of the electronic device 100.
  • the angular velocity of the electronic device 100 around three axes i.e., X, Y, and Z axes
  • the gyro sensor 180B can be used for anti-shake shooting. For example, when the shutter is pressed, the gyro sensor 180B detects the angle of the electronic device 100 shaking, calculates the distance that the lens module needs to compensate based on the angle, and allows the lens to offset the shaking of the electronic device 100 through reverse movement to achieve anti-shake.
  • the gyro sensor 180B can also be used for navigation and somatosensory game scenes.
  • the acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in all directions (generally three axes). When the electronic device 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of the electronic device and is applied to applications such as horizontal and vertical screen switching and pedometers.
  • the ambient light sensor 180L is used to sense the ambient light brightness.
  • the electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived 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 cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in a pocket, so as to Prevent accidental touch.
  • the fingerprint sensor 180H is used to collect fingerprints.
  • the electronic device 100 can use the collected fingerprint characteristics to implement fingerprint unlocking, access application locks, fingerprint photography, fingerprint call answering, etc.
  • the temperature sensor 180J is used to detect temperature.
  • the electronic device 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the electronic device 100 reduces the performance of a processor located near the temperature sensor 180J to reduce power consumption and implement thermal protection. In other embodiments, when the temperature is lower than another threshold, the electronic device 100 heats the battery 142 to avoid abnormal shutdown of the electronic device 100 due to low temperature. In other embodiments, when the temperature is lower than another threshold, the electronic device 100 performs a boost on the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.
  • the touch sensor 180K is also called a "touch panel”.
  • the touch sensor 180K can be set on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, also called a "touch screen”.
  • the touch sensor 180K is used to detect touch operations acting on or near it.
  • the touch sensor can pass 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 the display screen 194.
  • the touch sensor 180K can also be set on the surface of the electronic device 100, which is different from the position of the display screen 194.
  • FIG2 is a software structure diagram of the electronic device 100 of an embodiment of the present application.
  • the layered architecture divides the software into several layers, each layer has a clear role and division of labor.
  • the layers communicate with each other through software interfaces.
  • the Android system is divided into four layers, from top to bottom, namely, the application layer, the application framework layer, the Android runtime (Android runtime) and the system library, and the kernel layer.
  • the application layer can include a series of application packages.
  • the application package may include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, and short message.
  • the application framework layer provides application programming interface (API) and programming framework for the application APP in the application layer.
  • API application programming interface
  • the application framework layer includes some predefined functions.
  • the application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, and the like.
  • the window manager is used to manage window programs.
  • the window manager can obtain the size of the display screen, determine whether there is a status bar, lock the screen, capture the screen, etc.
  • Content providers are used to store and retrieve data and make it accessible to applications.
  • the data may include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
  • the view system includes visual controls, such as controls for displaying text, controls for displaying images, etc.
  • the view system can be used to build applications.
  • a display interface can be composed of one or more views.
  • a display interface including a text notification icon can include a view for displaying text and a view for displaying images.
  • the phone manager is used to provide communication functions of the electronic device 100, such as management of call status (including connecting, hanging up, etc.).
  • the resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.
  • the notification manager enables applications to display notification information in the status bar. It can be used to convey notification-type messages and can disappear automatically after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc.
  • the notification manager can also be a notification that appears in the system top status bar in the form of an icon or scroll bar text, such as a notification of an application running in the background, or a notification that appears on the screen in the form of a dialog window. For example, a text message may be displayed in the status bar, a prompt sound may be emitted, an electronic device may vibrate, an indicator light may flash, etc.
  • the system library can include multiple functional modules, such as surface manager, media libraries, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.
  • functional modules such as surface manager, media libraries, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.
  • the surface manager is used to manage the display subsystem and provide the fusion of 2D and 3D layers for multiple applications.
  • the media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc.
  • the media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG and PNG, etc.
  • the 3D graphics processing library is used to implement 3D graphics drawing, image rendering, synthesis and layer processing.
  • a 2D graphics engine is a drawing engine for 2D drawings.
  • the kernel layer is the layer between hardware and software.
  • the kernel layer includes at least display driver, camera driver, audio driver, and sensor driver.
  • Beidou satellite messages are used as examples in the following embodiments.
  • the realization of Beidou-related technologies and functions can rely on satellites or satellite networking, etc., to achieve communications and services.
  • Beidou technology can be understood as Beidou satellite messages (also known as "Beidou short messages", “Beidou short messages”, etc.) Communication service functions, which can be achieved with the help of satellites or satellite networking.
  • the Beidou satellite communication system is a non-resident communication system, and the Beidou satellite to which the terminal device is generally connected switches as the Beidou satellite moves. Therefore, the downlink transmission of the Beidou network is generally implemented using a letter query mechanism.
  • the server when the server receives a message sent to a terminal device that is not connected to the network, it can generally store it first and wait for the letter query request from the terminal device. It can be understood that the terminal device actively sends a letter query request message to the Beidou satellite to which it is connected.
  • the letter query request message is used by the terminal device to request the download of the satellite message to be received; after the Beidou satellite receives the letter query request message, it can query the server through the Beidou satellite ground information processing center whether there is a letter for the terminal device stored. If there is, the server sends the letter to the Beidou satellite through the Beidou satellite ground information processing center; finally, the Beidou satellite sends the letter to the terminal device.
  • Figure 3 is a schematic diagram of an application scenario in which a user uses a mobile phone to receive Beidou satellite messages.
  • 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 friend B's mobile phone 305.
  • the process of this scenario is as follows:
  • a set of interfaces in Figure 4 (a) shows the process of friend B receiving the Beidou satellite message sent by user A through the Changlian APP.
  • interface 410 is the user clicking the "Reply" button to start the reply operation after receiving the message from user A;
  • interface 420 is the user clicking the send button after editing the reply message;
  • interface 430 is the interface after the reply message is sent.
  • user A's mobile phone 301 may also provide the capability of sending Beidou satellite messages via a short message service.
  • a short message APP or "message APP", etc.
  • This embodiment does not limit the APP that provides the ability to send Beidou satellite messages.
  • the mobile phone 301 sends a letter query request message when there is no network connection. It can be understood that the letter query request message can carry the user identifier corresponding to the mobile phone 301.
  • the satellite 302 receives the letter query request message sent from the mobile phone 301, and forwards the letter query request message to the Beidou satellite ground information processing center 303.
  • Beidou satellite ground information processing center 303 communicates with the ground communication network or other ground stations, and forwards the letter query request message received from satellite 302 to server 304. It can be understood that server 304 can be a server corresponding to the recipient determined by Beidou satellite ground information processing center 303 based on Beidou satellite message.
  • the Dou satellite ground information processing center 303 after receiving the reply message returned by the server 304, the Dou satellite ground information processing center 303 sends the reply message to the satellite 302.
  • 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.
  • the set of interfaces in Figure 4(b) shows the process of user A receiving the reply message through the Changlian APP on mobile phone 301.
  • interface 440 is the user clicking the "Receive Message" button to receive the reply message of the Beidou satellite message
  • interface 450 shows the process of mobile phone 301 searching for satellites
  • interface 460 shows that mobile phone 301 successfully searches for satellites and receives Beidou satellite messages
  • interface 470 is the Changlian APP on mobile phone 301 showing that the reply message sent by friend B Li Si is received (as shown in preview card 602), and the number of messages to be received is displayed below preview card 602.
  • Beidou satellite cannot actively push messages to terminal devices, and users need to actively send letter query requests to obtain reply messages; and when sending and receiving Beidou satellite messages, terminal devices must be connected to Beidou satellites to send and receive.
  • terminal devices When there are multiple users (trapped persons) in an area, when sending and receiving satellite messages at the same time, their satellite channels will be diluted, and the mobile phone antenna has low power and weak ability to cross obstacles, and there will be a situation where satellite messages cannot be sent to the satellite or cannot be received (such as the failure of step S302 or S307 in Figure 3), which affects the user's receipt of Beidou satellite messages.
  • user A and user B travel together in an area without network.
  • User A sends a Beidou satellite message to friend A
  • user B sends a Beidou satellite message to friend B.
  • Friend A sends a reply message to user A, but friend B does not send a reply message to user B.
  • user A fails to dock with the satellite in the next satellite docking cycle, while user B successfully docks with the satellite. In this case, users A and B still do not receive a reply message.
  • an embodiment of the present application provides a communication method.
  • the receiving end device can also send a reply message of the Beidou satellite message to the users in a certain area, wherein the certain area is an area with a radius of N kilometers centered on the ground coordinates when the sending end sends the message.
  • the certain area is an area with a radius of N kilometers centered on the ground coordinates when the sending end sends the message.
  • Scenario A The receiving device sends a regional reply message to the Beidou satellite message.
  • the home page interface 610 of the Changlian APP on the mobile phone 306 held by friend A may include a "Beidou Satellite Message” card, and the user may click on the "Beidou Satellite Message” card to view the Beidou Satellite Message.
  • the "Beidou Satellite Message” card may display a reminder of a new message, for example, in the form of a number or a red dot, etc., and the present application does not limit the reminder method.
  • the mobile phone 306 displays an interface 620.
  • a preview card 621 of the Beidou Satellite Message sent by Zhang San is displayed, which shows that friend A receives a Beidou Satellite Message sent by Zhang San (the process of friend A receiving a Beidou Satellite Message sent by Zhang San can refer to steps S901-S903 of FIG. 9).
  • the preview card 621 not only the sender information, message content, and location information carried by the Beidou Satellite Message sent by Zhang San, etc., may be included, but also a "Reply" control 622; wherein the control 622 can be used to implement a reply to the Beidou Satellite Message from Zhang San on the mobile phone 305A.
  • the received Beidou satellite message is displayed in the form of a message card in the interface 620, the display form is not limited in the embodiment of the present application, for example, it can also be implemented in the form of text content.
  • an interface 630 is displayed; the interface 630 is used for the recipient to reply to the Beidou satellite message from Zhang San.
  • the mobile phone 306 can be used to detect and respond to the user's editing operation, and obtain the reply content entered by the user in the control 634. Below the reply content, a control 631 set as a regional message will be displayed.
  • 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, and the certain area is centered on the position of the Beidou satellite sent from Zhang San and has a radius of N kilometers; if the user does not check the control, the reply message can only be received by the sender Zhang San.
  • the mobile phone 306 can also provide a display area 632 for displaying multiple commonly used reply words, so that the user can easily select commonly used reply words and edit the reply content, which can save the user's operations.
  • Scenario B Failed to connect to the Beidou satellite without a network connection, and could not receive reply messages.
  • FIG 7 is a schematic diagram of an interface for a message that cannot be replied to provided in an embodiment of the present application.
  • an interface 710 can be displayed, and the user can click a "receive message" control 711 in the interface 710.
  • the "receive message” control 711 can be used for the mobile phone 301 to actively request to query whether there is a reply message to be received from the connected Beidou satellite using a letter query mechanism.
  • the mobile phone 301 may display an interface 720.
  • prompt information for indicating the adjustment of the device posture may be included, such as turning the mobile phone to the right as shown in the interface 720; a fan-shaped area is also included to indicate the target transmission direction of the Beidou satellite message of the mobile phone, and the center circle of the ring can be used to indicate the adjustment of the pitch angle of the mobile phone.
  • the user can adjust the posture of the device to align with the satellite according to the above prompt information to send a letter query message to obtain a reply message to be received.
  • the mobile phone may not be able to connect to the satellite because the mobile phone antenna has low power and poor ability to traverse obstacles; or when there are multiple trapped persons in an area covered by a certain satellite and they are simultaneously sending and receiving satellite messages, the satellite channel used by each trapped person will be diluted, and the success rate of connecting to the satellite will be greatly reduced, and the user may not be able to successfully connect to the satellite.
  • the user adjusts the posture of the mobile phone 301 according to the instruction information to search for satellites, no satellites that can be used are found.
  • prompt message 731 the connection fails because the satellite cannot be found.
  • the letter query message is not sent to the satellite because the channel is diluted.
  • the letter query message fails to be sent and the message cannot be received.
  • FIG7 uses the Changlian APP (an instant messaging APP) as an example for introduction.
  • a “Receive Message” control as shown in interface 710 may also be provided in the interactive window of the Beidou satellite message included in the information APP and other portals, so that the mobile phone 301 can actively request the connected Beidou satellite to query whether there is a reply message to be received using a letter query mechanism.
  • Scenario C Successfully connect to BeiDou satellite without network connection, and receive area reply message.
  • a preview card 821 for displaying the regional reply message received by the mobile phone 301 may be included.
  • the type of the reply message is a regional message, as shown in the prompt information 822, indicating that the reply message is a regional message.
  • the sender and receiver of the regional reply message need to be displayed in the preview card 821 of the regional reply message, as shown in the control 823.
  • the regional reply message is a reply from Li Si to Zhang San.
  • the message content can be told to Zhang San, avoiding the problem that Zhang San cannot receive satellite messages due to the inability to connect to the satellite.
  • the preview card 821 in addition to displaying the source of the message and the content of the message (such as: already set off, arrive as soon as possible), the specific geographical location of the sender of the regional reply message can also be displayed, such as the location card 824.
  • the sending of the preview card 821 of the regional reply message will prompt the user of the remaining X regional reply messages to be received, so as to prompt the user to continue to receive other regional reply messages to be received.
  • the above-mentioned scenes A to C are only several possible scenes introduced in the embodiments of the present application.
  • the various scenes can also be combined, and the present application does not limit the specific scenes.
  • individuals are used as examples in the above-mentioned scenes, a third-party platform can also be used in actual implementation.
  • the touch operations involved in the above-mentioned scenes can be implemented by but not limited to the following methods: click operation, double-click operation, long press operation, or voice command, etc., which can be implemented according to the form of terminal device configuration during specific implementation.
  • the network connection status involved in the above-mentioned scenes may 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.
  • the implementation process of the communication method provided in the present application is introduced below to illustrate how to use the method provided in the present application to achieve the interface processing effects shown in Figures 6 and 8 introduced above, and how to use the method provided in the present application to achieve the effects shown in the scenes A and C introduced above.
  • it is possible to send and receive regional reply messages of Beidou satellite messages meet more satellite communication application scenarios, and provide users with better communication guarantees.
  • FIG8 is a flow chart of a communication method provided by an embodiment of the present application.
  • the flow of the method may include the following steps:
  • Step S901 The second terminal device sends a satellite distress message to a satellite. It can be understood that the satellite distress message carries a user identifier corresponding to the second terminal device and location information of the second terminal device when the satellite distress message is sent. When the second terminal device sends a satellite distress message to a satellite, it can be sent to at least one recipient.
  • Step S902 The satellite sends a distress satellite message to the server based on the distress satellite message from the second terminal device. It is understood that the distress satellite message may carry a user identifier corresponding to the second terminal device and location information for sending the distress satellite message. It should be noted that the satellite may send the distress satellite message to the server through the Beidou satellite ground information processing center.
  • Step S903 The server sends a distress satellite message to the receiving device. It is understandable that the server can send the distress satellite message to the receiving device via a ground network.
  • Step S904 the recipient views the distress satellite message sent by the second terminal device on the receiving device; edits the reply message, and checks the regional reply message.
  • the second terminal device can be, for example, the mobile phone 305 of friend A shown in FIG5 , and the mobile phone 305 can reply to the regional reply message of the Beidou satellite message as described in scenario A.
  • the specific process can be involved in the content described in scenario A, which will not be repeated here.
  • Step S905 the receiving device returns the regional reply message to the server.
  • the mobile phone 305 can send the reply message to the server through the communication network, and the server can be the server corresponding to the instant messaging service, such as the Changlian server corresponding to the Changlian APP.
  • the mobile phone 305 can also send a reply message to the server via SMS, and the server can be the server corresponding to the information APP, such as the operator APP corresponding to the information APP, or the server can also be the manufacturer server corresponding to the mobile phone 305.
  • the reply message can include a user identifier, for example, it can include the user identifier corresponding to the mobile phone 301, and the user identifier can include but is not limited to the user number, the device number, etc.; wherein the device number can also be used to implement encryption and decryption of the message, etc.
  • the regional reply message sent by the user of the second terminal device carries the identifier of the regional reply message, which is used to notify the server that the message is a regional reply message.
  • Step S906 the server stores the regional reply message.
  • the server may include multiple microservices for implementing different functions, and different microservices may be deployed in the same server or in different servers in the server cluster.
  • the server When the server stores the regional reply message, it will save the location information of the device sending the distress message corresponding to the regional reply message, that is, the regional reply message and the location coordinates are used by the server to determine the distance between the location coordinates of the device that received the reply message and the saved location coordinates.
  • Step S910 The first terminal device sends a letter query request message to the satellite. It can be understood that the letter query request message may carry the user identification and location information corresponding to the first terminal device.
  • Step S911 The satellite sends a letter query request message to the server based on the letter query request message from the first terminal device. It can be understood that the letter query request message may carry the user identification and location information corresponding to the first terminal device.
  • Step S912 The server receives the letter query request message, obtains the location information carried in the letter query request message, traverses the regional reply messages stored in the server, obtains the location information of the device sending the distress message saved in the regional reply message in step S906, and constructs an area with the location information saved in the regional reply message as the center and the first distance preset in the server as the radius (such as 5 kilometers) as the center. It is determined whether the location carried in the letter query request message is within the area. If it is within the area, the first terminal device can receive the regional reply message. That is, the devices in the area with a radius of N kilometers, with the location of the device sending the distress message corresponding to the regional reply message as the center, All devices can receive the reply message of this area.
  • the server determines that the location coordinates reported by the sending letter query request are 1 km away from the location of the sending device corresponding to the regional reply message A (the location when user A sends the satellite message), and within the preset 5 km range, user B can receive the regional reply message A.
  • a microservice that traverses regional reply messages can be independently deployed in the server to avoid affecting other microservices and improve the robustness of the server.
  • the regional reply message stored in the server has a validity period, and its storage time on the server needs to be less than or equal to the preset storage time. If the storage time exceeds the preset time, 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 center of the circle set by the regional reply message.
  • Step S913 the server returns a regional reply message to the satellite based on the at least one regional reply message found. It should be noted that the server can also return the queried reply message to the satellite through the Beidou Satellite Ground Information Processing Center. In addition, the server can respond to the letter query request message and return a confirmation message, which can also be understood as a receipt.
  • At least one regional reply message found by the server can be sorted according to the earliest reception time of the regional reply message, so that the regional reply message returned to the satellite is the earliest reply message sent to the server among all regional reply messages. This ensures that the first received regional reply message is sent to the device in the area in a timely manner. Furthermore, in some scenarios, the server will periodically clean up expired regional reply messages to prevent expired regional reply messages from occupying the server's storage and affecting the server's performance and processing efficiency.
  • the user of the receiving device checks the setting of the regional reply message, he specifies one or more recipients of the regional reply message (e.g., a recipient whitelist), and sends the user identifiers of the one or more recipients to the server through step S905 for storage by the server.
  • the server traverses the regional reply message, it will obtain the user identifier of the first terminal device carried in the letter query request message, and determine whether the user identifier reported by the first terminal device is within the user identifier range of the recipient. If so, the regional reply message is sent to the first terminal device. This will not affect the users in the area associated with the regional reply message, thereby improving the user experience.
  • the server saves the corresponding relationship between the user ID of the sender of the distress message and the regional reply message corresponding to the regional reply message.
  • the server traverses the regional reply message, it can obtain the user ID of the sender corresponding to the regional reply message, and determine whether the user corresponding to the user ID and the user corresponding to the user ID of the first terminal device carried by the letter query request message have a friend relationship. If so, 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 users who are not friends.
  • the user of the first terminal device can form a temporary group with the user of the sender corresponding to the area reply message. It can be understood that the temporary group is operated under the condition of network.
  • the server traverses the area reply message if it is determined that the user identifier of the sender corresponding to the area reply message and the user identifier of the first terminal device are in the same group, the area reply message will be sent to the first terminal device, thereby improving the flexibility of receiving the area reply message.
  • Step S914 The first terminal device receives a response message sent by the satellite, and the response message includes a regional reply message.
  • Step S915 the first terminal device displays the information of the regional reply message in the response message on the terminal.
  • the first terminal device displays the regional reply message on the interface of the Changlian APP.
  • the first terminal device also displays information indicating the number of remaining regional reply messages to be received on the interface of the Changlian APP based on the quantity indication information in the response message.
  • the specific geographical location of the corresponding sender (i.e., the second terminal device) of the regional reply message is also displayed. The specific process can be involved in the content introduced in scenario C, which will not be repeated here.
  • the first terminal device parses the regional reply message and performs deduplication judgment.
  • the first terminal device can perform deduplication judgment based on but not limited to the following conditions: Beidou satellite message identifier, message number, message code, message version number, message source, message sender, message sending time, etc. It can be understood that deduplication judgment can avoid repeated reception of messages and avoid repeated message quota statistics.
  • Step S916 The first terminal device sends a receipt to the satellite based on the received regional reply message. It can be understood that when the first terminal device is not connected to the network, the receipt can be sent to the satellite in the form of a Beidou satellite message. The receipt can carry the identifier of the reply message.
  • Step S917 the satellite receives the receipt from the first terminal device and sends the receipt to the server. It is understandable that the satellite can also forward the receipt to the server through the Beidou satellite ground information processing center.
  • Step S918 The server identifies the user corresponding to the first terminal device as having received the regional reply message according to the receipt.
  • the server will find that the user corresponding to the first terminal device has received the regional reply message, and the regional reply message will no longer be sent to the first terminal device.
  • the area reply message will not be sent to other terminal devices.
  • the area reply message has been sent to the terminal device that actually needs to be checked, so it does not need to be sent to other devices, avoiding excessive use of area reply messages and improving the channel utilization rate of Beidou satellite messages.
  • the reply message obtained may include a personal reply message and a regional reply message.
  • the personal reply message is the server finding the corresponding reply message to be received according to the user identifier carried by the first terminal device.
  • a user of the first terminal device received a reply message from Wang Wu.
  • preview card 1011 is a personal reply message received by the first terminal device.
  • a preview card 1012 is displayed, showing the personal reply message and regional reply message to be received by the user of the first terminal device.
  • Beidou messages users can only receive one reply message at a time when they use satellites to check messages.
  • the server receives a letter query request message, it finds that the device has not only personal reply messages but also regional reply messages. Generally, it will give priority to returning personal reply messages to the terminal device, and send the remaining number of personal reply messages and regional reply messages to the user, so that the user can get personal reply messages and understand the reply messages in the area, so as to avoid the failure to receive regional reply messages affecting the rescue or message viewing of other trapped people.
  • the user has finished checking personal messages, he will check the regional reply messages. As shown in Figure 10, the user clicks the "Receive Message" button in interface 1010 and jumps to interface 1020.
  • the personal reply messages to be received in interface 1010 are displayed, such as the reply messages shown in preview card 1021.
  • preview card 1022 continues to display the regional reply messages to be received.
  • the user jumps to interface 1030.
  • Preview card 1031 under this interface displays the regional reply (including geographic location) that has been received from Li Si to Zhang San, and preview card 1032 is displayed under preview card 1031, prompting the user of the remaining 2 regional reply messages to be received.
  • the regional reply message of the Beidou satellite message can be associated with the information of the distress message corresponding to the regional reply message, so that the user who receives the regional message can better understand the content of the regional message and make a more correct judgment.
  • the user receives the regional reply message sent by Li Si to Zhang San, clicks the control 1112 in the preview video, and jumps to interface 1120, in which the preview card 1121 displays the distress message corresponding to the received regional reply message.
  • the reply message includes information about the distress message corresponding to the regional reply message, but considering the length limit of the satellite message, in this scenario, the content of the distress message corresponding to the regional reply message may be intercepted. Further, in order 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 letter query request message to obtain the distress message corresponding to the regional reply message. This step is consistent with steps 302-307 of obtaining personal messages and will not be repeated here.
  • the location coordinates carried in the letter query request message sent by the terminal device will be within the range of multiple regional reply messages, that is, there will be multiple regional reply messages.
  • the server will obtain the time of the regional reply message and give priority to returning the regional reply message received first to the terminal device.
  • interface 1210 shows that the terminal device has received three regional reply messages. Among them, Xiao Liu sent two regional reply messages to Xiao Wu, and the sending times were 15:00 and 16:16 on June 6, 2023, respectively. The other regional reply message was sent by Li Si to Zhang San, and the sending time was 16:00 on June 6, 2023. Xiao Liu sent two regional reply messages to Xiao Wu, but when the terminal device received the regional reply message, it still checked it according to the rule of sending first and receiving first, to ensure that the regional reply message was received in time.
  • an embodiment of the present application provides a communication method, which can be implemented in the terminal device shown in Figures 1 and 2.
  • Figure 13 is a schematic flow chart of a communication method provided by an embodiment of the present application. As shown in Figure 13, the method may include the following steps:
  • Step S1301 A first terminal device sends a first request message to a satellite, where the first request message includes information about a first location of the first terminal device when the first request message is sent, wherein the first terminal device is in a state of no network connection.
  • Step S1302 The server receives a first request message from a first terminal device via a satellite, and obtains a first reply message that satisfies a first condition based on information about a first position in the first request message.
  • the first condition includes: a distance between the first position and the second position is less than or equal to a first distance, the second position is a position of a second terminal device that sends the first satellite message, and the first reply message is a reply message to the first satellite message.
  • Step S1303 The server sends a first response message, which includes a first reply message.
  • Step S1304 The first terminal device receives the first response message via the satellite and displays the first reply message in the first response message.
  • an embodiment of the present application further provides a structural schematic diagram of an apparatus of a communication system, as shown in FIG14 , the apparatus is applied to a first terminal device, and the apparatus provided in this embodiment includes:
  • Processing unit 1410, display unit 1420 Wherein:
  • a processing unit configured to send a first request message to a satellite, wherein the first request message includes information of a first position of a first terminal device when the first request message is sent, wherein the first terminal device is in a state of no network connection;
  • the processing unit receives a first response message through a satellite, wherein the first response message includes a first reply message that satisfies a first condition obtained by the server according to information of the first position in the first request message, wherein the first condition includes: a distance between the first position and the second position is less than or equal to a first distance, the second position is a position of a second terminal device that sends the first satellite message, and the first reply message is a reply message of the first satellite message;
  • the display unit displays the first reply message in the first response message.
  • the present application also provides a terminal device, which includes multiple functional modules; the multiple functional modules interact with each other to implement the functions performed by the terminal device in each method described in the embodiments of the present application.
  • the multiple functional modules can be implemented based on software, hardware, or a combination of software and hardware, and the multiple functional modules can be arbitrarily combined or divided based on the specific implementation. For example, step S901 executed by the second terminal device in the embodiment shown in Figure 9; and for example, steps S910, S915 and S916 executed by the first terminal device in the embodiment shown in Figure 9.
  • the present application also provides a computer program product, which includes: a computer program (also referred to as code, or instructions), which enables a computer to execute the methods described in the embodiments of the present application when the computer program is executed.
  • a computer program also referred to as code, or instructions
  • the present application further provides a computer-readable storage medium, in which a computer program is stored.
  • a computer program is stored.
  • the computer program executes the methods described in the embodiments of the present application.
  • the present application further provides a chip, which is used to read a computer program stored in a memory to implement the methods described in the embodiments of the present application.
  • the present application provides a chip system, which includes a processor for supporting a computer device to implement the methods described in the embodiments of the present application.
  • the chip system also includes a memory, which is used to store the necessary programs and data of the computer device.
  • the chip system can be composed of a chip, or it can include a chip and other discrete devices.
  • the embodiments of the present application can be provided as a method, a system, or a computer program product. Therefore, the present application can adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware.
  • the present application can adopt 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 codes.
  • the device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be described here.
  • the embodiment of the present 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 above-mentioned devices can be connected via one or more communication buses.
  • the one or more computer programs are stored in the above-mentioned memory and are configured to be executed by the one or more processors, and the one or more computer programs include instructions, and the above-mentioned instructions can be used to enable the electronic device to perform the various steps of the interface display method in the above-mentioned embodiments.
  • the above-mentioned processor can be specifically the processor 110 shown in Figure 1
  • the above-mentioned memory can be specifically the internal memory 121 shown in Figure 1 and/or the external memory connected to the electronic device
  • the above-mentioned display screen can be specifically the display screen 194 shown in Figure 1
  • the above-mentioned sensor can be specifically one or more sensors in the sensor module 180 shown in Figure 1
  • the above-mentioned power button can be the power button 141 shown in Figure 1.
  • the embodiment of the present application does not impose any restrictions on this.
  • GUI graphical user interface
  • the term “when" or “after" may be interpreted to mean “if" or “after" or “in response to determining" or “in response to detecting", depending on the context.
  • the phrase “upon determining" or “if (the stated condition or event) is detected” may be interpreted to mean “if determining" or “in response to determining" or “upon detecting (the stated condition or event)” or “in response to detecting (the stated condition or event)", depending on the context.
  • the computer program product includes one or more computer instructions.
  • 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 computer-readable storage medium.
  • the computer instructions can be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.).
  • the computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated.
  • the available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk Solid State Disk (SSD)), etc.
  • SSD solid-state hard disk Solid State Disk

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Astronomy & Astrophysics (AREA)
  • General Physics & Mathematics (AREA)
  • Aviation & Aerospace Engineering (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

Embodiments of the present application provide a communication system and method, and a terminal device. A terminal device in the state of no network connection can not only actively query a satellite message of a user corresponding to a receiving terminal device, but also receive, on the basis of the location of the receiving terminal device, satellite messages of users corresponding to other terminal devices in a certain area where the receiving terminal device is located. The certain area is an area having a radius of N kilometers and centered on the location where other terminal devices send help-seeking messages. By means of the method, expansion to more application scenarios can be achieved, providing better communication guarantees for users.

Description

一种通信系统、方法以及终端设备A communication system, method and terminal device 技术领域Technical Field

本申请涉及终端技术领域,尤其涉及一种通信系统、方法以及终端设备。The present application relates to the field of terminal technology, and in particular to a communication system, method and terminal device.

背景技术Background Art

随着技术的发展和进步,终端设备的功能逐渐完善和丰富。越来越多的智能手机支持双向北斗卫星消息技术,在无地面网络的环境下可以通过北斗卫星发送和接收消息,与其他智能手机进行双向信息沟通,为用户提供无地面网络环境下的通信保障。With the development and progress of technology, the functions of terminal devices are gradually improved and enriched. More and more smartphones support two-way Beidou satellite messaging technology. In an environment without a ground network, messages can be sent and received through Beidou satellites, and two-way information communication can be carried out with other smartphones, providing users with communication guarantee in an environment without a ground network.

由于北斗卫星通信的特性,北斗卫星无法向终端设备主动推送回复消息,需要用户主动连接北斗卫星并发送信件查询请求才可以获取到回复消息。当一个区域内存在多个用户(受困者),同时收发北斗卫星消息时,每个用户的北斗卫星信道会被稀释,导致北斗卫星信号变弱;又因手机天线功率小,穿越障碍物的能力弱,会出现无法连接北斗卫星,无法及时获取到回复消息的情况,影响了用户的体验。Due to the characteristics of Beidou satellite communication, Beidou satellite cannot actively push reply messages to terminal devices. Users need to actively connect to Beidou satellite and send letter query requests to obtain reply messages. When there are multiple users (trapped people) in an area, sending and receiving Beidou satellite messages at the same time, the Beidou satellite channel of each user will be diluted, causing the Beidou satellite signal to weaken; and because the mobile phone antenna has low power and poor ability to cross obstacles, it will be impossible to connect to Beidou satellite and obtain reply messages in time, affecting the user experience.

发明内容Summary of the invention

本申请提供一种通信系统、方法以及终端设备,根据接收终端设备的位置接收该接收终端设备所在某一区域内的其他终端设备对应的用户的卫星消息。其中,某一区域是以其他终端设备发送求救消息时的位置为中心,半径为N公里内的区域。提升接收卫星回复消息的实时性,更有效地保障用户在野外活动的通信活动。The present application provides a communication system, method and terminal device, which receives satellite messages from users corresponding to other terminal devices in a certain area where the receiving terminal device is located according to the location of the receiving terminal device. The certain area is an area with a radius of N kilometers, centered on the location when the other terminal device sends the distress message. The real-time performance of receiving satellite reply messages is improved, and the communication activities of users in outdoor activities are more effectively guaranteed.

上述目标和其它目标将通过独立权利要求中的特征来达成,进一步的实现方式在从属权利要求、说明书和附图中体现。The above-mentioned and other objects are achieved by the features of the independent claims, with further implementations being apparent from the dependent claims, the description and the drawings.

第一方面,提供了一种通信系统,所述系统包括第一终端设备和服务器,其中,所述第一终端设备,用于向卫星发送第一请求报文,所述第一请求报文包括所述第一终端设备发送所述第一请求报文时的第一位置的信息,其中,所述第一终端设备处于无网络连接状态;所述服务器,用于通过卫星接收来自所述第一终端设备的所述第一请求报文,根据所述第一请求报文中的所述第一位置的信息获取满足第一条件的第一回复消息,所述第一条件包括:所述第一位置与第二位置之间的距离小于或等于第一距离,所述第二位置为发送第一卫星消息的第二终端设备的位置,所述第一回复消息为所述第一卫星消息的回复消息;所述服务器,还用于发送第一响应报文,所述第一响应报文包括所述第一回复消息;所述第一终端设备,用于通过卫星接收所述第一响应报文,并显示所述第一响应报文中的所述第一回复消息。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 used to send a first request message to a satellite, the first request message comprising information of a first position of the first terminal device when sending the first request message, wherein the first terminal device is in a state of no network connection; the server is used to receive the first request message from the first terminal device via a satellite, and obtain a first reply message that meets a first condition according to information of the first position in the first request message, the first condition comprising: a distance between the first position and a second position is less than or equal to a first distance, the second position is the position of the second terminal device that sends the first satellite message, and the first reply message is a reply message to the first satellite message; the server is further used to send a first response message, the first response message comprising the first reply message; the first terminal device is used to receive the first response message via a satellite, and display the first reply message in the first response message.

该系统中,处于无网络连接状态的第一终端设备可以通过主动查询方式,实现对一种区域卫星消息的接收。通过在第一终端设备上提供用于接收卫星消息功能,第一终端设备可以主动向卫星发送信件查询请求报文,当服务器收到该信件查询请求报文,会获取该查询请求报文中的第一终端设备的位置,并遍历服务器中的区域回复消息,判断第一终端设备的位置是否满足第一条件,即第一终端设备的位置与区 域回复消息关联的位置之间的距离小于或等于预设的距离,区域回复消息关联的位置为发送第一卫星消息的第二终端设备的位置;当满足第一条件时,发送给第二终端设备的区域卫星消息也可以发送给第一终端设备。因此,该系统可以扩展实现第一终端设备接收区域卫星消息,从而可以提升用户的通信保障。In the system, a first terminal device in a state of no network connection can receive a regional satellite message by actively querying. By providing a function for receiving satellite messages on the first terminal device, the first terminal device can actively send a letter query request message to the satellite. When the server receives the letter query request message, it will obtain the location of the first terminal device in the query request message, and traverse the regional reply messages in the server to determine whether the location of the first terminal device meets the first condition, that is, the location of the first terminal device meets the regional reply message. The distance between the locations associated with the regional reply message is less than or equal to the preset distance, and 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 sent to the second terminal device can also be sent to the first terminal device. Therefore, the system can be expanded to enable the first terminal device to receive the regional satellite message, thereby improving the user's communication security.

具体地,例如用户A和用户B结伴出行处于一个无网络的地区,用户A发送北斗卫星消息给亲友A,用户B发送北斗卫星消息给亲友B,其中,亲友A给用户A发送了回复消息,亲友B没有给用户B发送回复消息。因在用户A和B所处的区域内可能存在其他的用户在发送/接收卫星消息(卫星信道被稀释),或者用户A和B所处环境存在遮挡物,导致在下一个卫星对接周期内,用户A对接卫星失败,用户B对接卫星成功的情况。此时用户B因对接卫星成功且可以收到发送给用户A的回复消息,在收到该回复消息后,可以通知用户A,有效地保障了通讯的及时性。Specifically, for example, user A and user B travel together in an area without a network, user A sends a Beidou satellite message to friend A, and user B sends a Beidou satellite message to friend B, wherein friend A sends a reply message to user A, and friend B does not send a reply message to user B. Because there may be other users sending/receiving satellite messages (satellite channels are diluted) in the area where users A and B are located, or there are obstructions in the environment where users A and B are located, resulting in user A failing to dock with the satellite in the next satellite docking cycle, and user B successfully docking with the satellite. At this time, user B can receive a reply message sent to user A because the satellite docking is successful. After receiving the reply message, user A can be notified, which effectively ensures the timeliness of communication.

另外,可以理解,第一终端设备和第二终端设备均可以理解为卫星通信场景中的发送端设备或求救方设备等。In addition, it can be understood that the first terminal device and the second terminal device can both be understood as a sending device or a rescue party device in a satellite communication scenario, etc.

结合第一方面,在第一方面的某些实现方式中,所述系统还包括第三终端设备,其中,所述第三终端设备用于显示第一界面,在所述第一界面中显示来自所述第二终端设备发送的所述第一卫星消息和第一控件,所述第一控件用于触发对所述第一卫星消息进行回复;所述第三终端设备,还用于响应于对所述第一控件的第一操作,显示第二界面,在所述第二界面中显示第二控件和第三控件,所述第二控件用于编辑所述第一卫星消息的回复内容,所述第三控件用于设置包含所述回复内容的回复消息为区域回复消息;所述第三终端设备,还用于响应于对所述第三控件的第二操作,设置所述回复消息为区域回复消息,所述回复消息包括所述回复内容;所述第三终端设备,还用于响应于在所述第二界面上的第三操作,发送所述回复消息到所述服务器;所述服务器,用于接收来自所述第三终端设备发送的所述回复消息并存储,并在设置为区域回复消息的回复消息中获取满足所述第一条件的所述第一回复消息。In combination 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, in which the first satellite message and a first control sent from the second terminal device are displayed, and the first control is 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, and display a second control and a third control in the second interface, wherein the second control is used to edit the reply content of the first satellite message, and the third control is 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, and the reply message includes 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 by the third terminal device, and obtain the first reply message that meets the first condition in the reply message set as the regional reply message.

该实现方式中,用户可以通过第三终端设备的第一界面查看第二终端设备发送的所述第一卫星消息,可以理解的是,第三终端设备的第一界面中显示的为第一卫星消息解码之后的消息内容,例如可以包括但不限于:文本内容、位置信息等。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 message content displayed in the first interface of the third terminal device is the message content after the first satellite message is decoded, for example, it can include but is not limited to: text content, location information, etc.

基于用户对第一界面中的回复控件的操作,第三终端设备的第二界面显示的输入控件对第一卫星消息的回复内容进行编辑,并可以在复选控件中勾选该回复内容的回复消息是否为区域回复消息,设置该区域回复消息的作用是,只要在第二终端设备的位置的一定范围内的设备,都可以收到该回复消息并查看该回复消息的内容。可以理解的是,在用户沟通区域回复消息时,第三终端设备的第二界面会弹出隐私协议信息,以通知用户涉及的相关隐私信息。Based on the user's operation of the reply control in the first interface, the input control displayed on the second interface of the third terminal device edits the reply content of the first satellite message, and can check in the checkbox whether the reply message of the reply content is a regional reply message. The role of setting the regional reply message is that as long as the device is within a certain range of the location of the second terminal device, it can receive the reply message and view the content of the reply message. It is understandable that when the user replies to the message in the communication area, the second interface of the third terminal device will pop up the privacy agreement information to notify the user of the relevant privacy information involved.

在用户完成信息编辑并设置该回复消息为区域回复消息后,第三终端设备响应于发送控件,将该回复消息发送给服务器。可以理解,第三终端设备可以理解为卫星通信场景中的接收端设备或实施救援方的设备等。After the user completes the information editing and sets the reply message as a regional reply message, the third terminal device responds to the sending control and sends the reply message to the server. It can be understood that the third terminal device can be understood as a receiving terminal device or a rescuer's device in a satellite communication scenario.

第三终端设备上为用户提供了控件用于设置第一卫星消息的回复消息是否为区域回复消息,用户可以根据实际情况进行设置,方便了用户的选择,提升了卫星通信的可靠性。 The third terminal device provides the user with a control for setting whether the reply message to the first satellite message is a regional reply message. The user can set it according to the actual situation, which facilitates the user's choice and improves the reliability of satellite communication.

结合第一方面,在第一方面的某些实现方式中,所述第一响应报文还包括数量指示信息,所述数量指示信息用于指示剩余待接收的满足第一条件的回复消息的数量;以及,在所述第一终端设备显示所述数量指示信息。In combination with the first aspect, in certain implementations of the first aspect, the first response message also includes quantity indication information, and the quantity indication information is used to indicate the number of reply messages remaining to be received that meet the first condition; and the quantity indication information is displayed on the first terminal device.

该设计中,服务器查询到多条第一终端设备可以接收的满足第一条件卫星消息时,除了将其中一条卫星消息返回给第一终端设备,还可指示第一终端设备剩余待接收的卫星消息的数量。这样,第一终端设备可以将数量指示信息显示给用户,以实现用户继续接收其他待接收的满足第一条件的卫星消息,从而可以提升通信及时性。In this design, when the server finds multiple satellite messages that can be received by the first terminal device and that meet the first condition, in addition to returning one of the satellite messages to the first terminal device, the server can also indicate the number of satellite messages remaining to be received by the first terminal device. In this way, the first terminal device can display the quantity indication information to the user, so that the user can continue to receive other satellite messages that meet the first condition and that are to be received, thereby improving the timeliness of communication.

结合第一方面,在第一方面的某些实现方式中,所述第一响应报文还包括所述第二位置的信息,所述第一终端设备,还用于显示所述第一响应报文中的所述第二位置的信息。In combination with the first aspect, in certain implementations of the first aspect, the first response message also includes information about the second position, and the first terminal device is further used to display the information about the second position in the first response message.

可以理解,该系统中的第二位置可以为第二终端设备发送第一卫星消息时所处的位置,该场景下,第一终端设备可以知道第二终端设备所达到的位置,并查看在该位置进行的消息信息,及时地了解第二终端设备所经过的位置和发送的信息;或者,第二位置也可以是服务器记录的第二终端设备发送第一卫星消息时最新所处的位置,该场景下,持有第一终端设备的用户可以收到第二终端设备所在的最新位置,并及时到达第二终端设备所在的位置,将收到的发送给第二终端设备的回复消息通知给持有第二终端设备的用户,提升了卫星通信的及时性。It can be understood that the second position in the system can be the position where the second terminal device is when sending the first satellite message. In this scenario, the first terminal device can know the position reached by the second terminal device, and view the message information at this position, and timely understand the position passed by the second terminal device and the information sent; or, the second position can also be the latest position of the second terminal device recorded by the server when sending the first satellite message. In this scenario, the user holding the first terminal device can receive the latest position of the second terminal device, and arrive at the position of the second terminal device in time, and notify the user holding the second terminal device of the reply message received and sent to the second terminal device, thereby improving the timeliness of satellite communication.

结合第一方面,在第一方面的某些实现方式中,所述第一条件还包括:所述第一回复消息在所述服务器上存储的时长小于等于预设时长。In combination with the first aspect, in some implementations of the first aspect, the first condition also includes: the storage time of the first reply message on the server is less than or equal to a preset time.

可以理解的是,服务器中在根据第一请求报文中的第一位置的信息获取满足第一条件的第一回复消息时,需要判断第一回复消息的存储时间是否小于等于预设时长,只有当存储时间小于等于预设时长,才会将第一回复消息发送给第一终端设备,确保用户能收到最近时间的回复消息,提升了卫星通讯的及时性。It can be understood that when the server obtains the first reply message that meets the first condition based on the information of the first position in the first request message, it is necessary to determine whether the storage time of the first reply message is less than or equal to the 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 most recent reply message, thereby improving the timeliness of satellite communication.

结合第一方面,在第一方面的某些实现方式中,所述第一请求报文包括所述第一终端设备对应的第一用户标识,所述第一条件还包括:所述第一用户标识属于第一用户标识列表。In combination 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 also includes: the first user identifier belongs to a first user identifier list.

可以理解的是,当第二终端设备的一定范围内有很多设备,且用户在第三终端设备设置了区域回复消息,这些设备都将收到区域回复消息,对于第三终端设备的用户来说,并不想让该范围内所有用户收到该区域回复消息,该实现方式可以避免该区域范围所有用户收到消息,该实施方式提升了用户发送消息的隐私性,给用户带来了隐私保障。It is understandable that when there are many devices within a certain range of the second terminal device, and the user sets a regional reply message on the third terminal device, these devices will receive the regional reply message. For the user of the third terminal device, he does not want all users within the range to receive the regional reply message. This implementation method can avoid all users in the area from receiving the message. This implementation method improves the privacy of users sending messages and brings privacy protection to users.

结合第一方面,在第一方面的某些实现方式中,所述第一用户标识列表中任意用户标识为所述第二终端设备在发送所述第一回复消息时指定的用户标识。In combination 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.

该场景下,用户可以在第三终端设备上指定用户标识,并将指定的用户标识发送给服务器,服务器在获取第一回复消息时,判断第一终端设备上报的第一请求报文包括的第一终端设备的用户标识是否在指定的用户标识内。该方式下,用户可以自行设置需要接收区域回复消息的用户,进一步提升了用户发送消息的隐私性,给用户带来了隐私保障。In this scenario, the user can specify a user ID on the third terminal device and send the specified user ID to the server. When the server obtains the first reply message, it determines whether the user ID of the first terminal device included in the first request message reported by the first terminal device is within the specified user ID. In this way, the user can set the users who need to receive the regional reply message, which further improves the privacy of the user's message sending and provides privacy protection for the user.

结合第一方面,在第一方面的某些实现方式中,所述第二卫星消息包括所述第二终端设备对应的第二用户标识,所述第一用户标识列表中任意用户标识对应的用户与 所述第二用户标识对应的用户存在好友关系。In combination with the first aspect, in some implementations of the first aspect, the second satellite message includes a second user identifier corresponding to the second terminal device, and a user corresponding to any user identifier in the first user identifier list is The users corresponding to the second user identifiers have a friend relationship.

该场景下,使用第一终端设备的用户与使用第二终端设备的用户存在好友关系,也就是当使用第一终端设备和第二终端设备的两个用户为好友的情况下,且处于一定距离范围内,第一终端设备可以收到发送给第二终端设备的区域回复消息。该实现方式确保了区域回复消息仅发送给好友,因好友是彼此了解的,因此又进一步提升了用户发送消息的隐私性,给用户带来了隐私保障。In this scenario, the user using the first terminal device and the user using the second terminal device have a friend relationship, that is, when the two users using the first terminal device and the second terminal device are friends and are within a certain distance range, the first terminal device can receive the area reply message sent to the second terminal device. This implementation method ensures that the area reply message is only sent to friends, because friends know each other, thus further improving the privacy of users sending messages and providing privacy protection for users.

结合第一方面,在第一方面的某些实现方式中,所述第一回复消息包括所述第一卫星消息,所述第一终端设备关联显示所述第一卫星消息。In combination 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.

该设计中,第一终端设备接收的卫星消息可以关联第二终端设备发送的消息。可以理解的是,关联的第二终端设备发送的消息,可以是在第一回复消息中,此时由于卫星消息的长度限制,有可能导致关联第二终端设备发送的消息被截断;也可以是第一终端设备再次发送信件查询请求,向服务器获取关联的第二终端设备发送的消息。该方式下,用户可以直观地查看到消息之间的关联关系,提升了用户的使用体验。In this design, the satellite message received by the first terminal device can be associated with the message sent by the second terminal device. It is understandable that the message sent by the associated second terminal device can be in the first reply message. At this time, due to the length limit of the satellite message, the message sent by the associated second terminal device may be truncated; or the first terminal device can send a letter query request again to obtain the message sent by the associated second terminal device from the server. In this way, the user can intuitively view the association relationship between the messages, which improves the user experience.

第二方面,为本申请实施例提供的一种通信方法,该方法应用于第一终端设备,该方法包括:In a second aspect, a communication method is provided in an embodiment of the present application, the method is applied to a first terminal device, and the method includes:

向卫星发送第一请求报文,所述第一请求报文包括所述第一终端设备发送所述第一请求报文时的第一位置的信息,其中,所述第一终端设备处于无网络连接状态;通过卫星接收第一响应报文,所述第一响应报文中包含服务器根据所述第一请求报文中的所述第一位置的信息获取满足第一条件的第一回复消息,所述第一条件包括:所述第一位置与第二位置之间的距离小于或等于第一距离,所述第二位置为发送第一卫星消息的第二终端设备的位置,所述第一回复消息为所述第一卫星消息的回复消息;显示所述第一响应报文中的所述第一回复消息。A first request message is sent to a satellite, wherein the first request message includes information of a first position of the first terminal device when the first request message is sent, wherein the first terminal device is in a state of no network connection; a first response message is received via a satellite, wherein the first response message includes a first reply message satisfying a first condition obtained by a server according to the information of the first position in the first request message, wherein the first condition includes: a distance between the first position and a second position is less than or equal to a first distance, the second position is the position of the second terminal device that sends the first satellite message, and the first reply message is a reply message of the first satellite message; and the first reply message in the first response message is displayed.

结合第二方面,在第二方面的某些实现方式中,所述第一响应报文还包括数量指示信息,该方法包括:In conjunction with the second aspect, in some implementations of the second aspect, the first response message further includes quantity indication information, and the method includes:

显示所述数量指示信息,所述数量指示信息用于指示剩余待接收的满足第一条件的回复消息的数量。The quantity indication information is displayed, where the quantity indication information is used to indicate the number of reply messages remaining to be received that meet the first condition.

结合第二方面,在第二方面的某些实现方式中,所述第一响应报文还包括所述第二位置的信息,该方法包括:In conjunction with the second aspect, in some implementations of the second aspect, the first response message further includes information about the second position, and the method includes:

显示所述第一响应报文中的所述第二位置的信息。Display information about the second position in the first response message.

结合第二方面,在第二方面的某些实现方式中,所述第一条件还包括:所述第一回复消息在所述服务器上存储的时长小于等于预设时长。In combination with the second aspect, in certain implementations of the second aspect, the first condition also includes: the storage time of the first reply message on the server is less than or equal to a preset time.

结合第二方面,在第二方面的某些实现方式中,所述第一请求报文包括所述第一终端设备对应的第一用户标识,所述第一条件还包括:所述第一用户标识属于第一用户标识列表。In combination with the second aspect, in certain implementations of the second aspect, the first request message includes a first user identifier corresponding to the first terminal device, and the first condition also includes: the first user identifier belongs to a first user identifier list.

结合第二方面,在第二方面的某些实现方式中,所述第一用户标识列表中任意用户标识为所述第二终端设备在发送所述第一回复消息时指定的用户标识。In combination 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.

结合第二方面,在第二方面的某些实现方式中,所述第二卫星消息包括所述第二终端设备对应的第二用户标识,所述第一用户标识列表中任意用户标识对应的用户与所述第二用户标识对应的用户存在好友关系。In combination with the second aspect, in some implementations of the second aspect, the second satellite message includes a second user identifier corresponding to the second terminal device, and a user corresponding to any user identifier in the first user identifier list has a friend relationship with a user corresponding to the second user identifier.

结合第二方面,在第二方面的某些实现方式中,所述第一回复消息包括所述第一 卫星消息,该方法包括:In conjunction with the second aspect, in some implementations of the second aspect, the first reply message includes the first Satellite message, the method comprising:

关联显示所述第一卫星消息。The first satellite message is displayed in association.

第三方面,为本申请实施例提供的一种通信方法,该方法应用于服务器,其特征在于,所述方法包括:In a third aspect, a communication method is provided in an embodiment of the present application, and the method is applied to a server, and is characterized in that the method includes:

通过卫星接收来自第一终端设备的第一请求报文,所述第一请求报文包括所述第一终端设备发送所述第一请求报文时的第一位置的信息;根据所述第一请求报文中的所述第一位置的信息获取满足第一条件的第一回复消息,所述第一条件包括:所述第一位置与第二位置之间的距离小于或等于第一距离,所述第二位置为发送第一卫星消息的第二终端设备的位置,所述第一回复消息为所述第一卫星消息的回复消息;发送第一响应报文,所述第一响应报文包括所述第一回复消息。A first request message is received from a first terminal device via a satellite, wherein the first request message includes information of a first position of the first terminal device when the first request message is sent; a first reply message that satisfies a first condition is obtained according to the information of the first position in the first request message, wherein the first condition includes: a distance between the first position and a second position is less than or equal to a first distance, the second position is a position of a second terminal device that sends a first satellite message, and the first reply message is a reply message of the first satellite message; and a first response message is sent, wherein the first response message includes the first reply message.

结合第三方面,在第三方面的某些实现方式中,该方法包括:In conjunction with the third aspect, in some implementations of the third aspect, the method includes:

接收来自第三终端设备发送的回复消息并存储,并在设置为区域回复消息的回复消息中获取满足所述第一条件的所述第一回复消息,所述回复消息包含回复消息且为所述第三终端设备设置的区域回复消息。Receive and store a reply message sent from a third terminal device, and obtain the first reply message that meets the first condition in a reply message set as a regional reply message, wherein the reply message contains a reply message and is a regional reply message set for the third terminal device.

第四方面,为本申请实施例提供的一种通信方法,该方法应用于第三终端设备,该方法包括:In a fourth aspect, a communication method is provided in an embodiment of the present application, the method is applied to a third terminal device, and the method includes:

显示第一界面,在所述第一界面中显示来自第二终端设备发送的第一卫星消息和第一控件,所述第一控件用于触发对所述第一卫星消息进行回复;响应于对所述第一控件的第一操作,显示第二界面,在所述第二界面中显示第二控件和第三控件,所述第二控件用于编辑所述第一卫星消息的回复内容,所述第三控件用于设置包含所述回复内容的回复消息为区域回复消息;响应于对所述第三控件的第二操作,设置所述回复消息为区域回复消息,所述回复消息包括所述回复内容;响应于在所述第二界面上的第三操作,发送所述回复消息到所述服务器。A first interface is displayed, in which a first satellite message and a first control sent from a second terminal device are displayed, wherein the first control is used to trigger a reply to the first satellite message; in response to a first operation on the first control, a second interface is displayed, in which a second control and a third control are displayed, wherein the second control is used to edit the reply content of the first satellite message, and the third control is used to set a reply message containing the reply content as a regional reply message; in response to a second operation on the third control, the reply message is set as a regional reply message, and the reply message includes the reply content; in response to a third operation on the second interface, the reply message is sent to the server.

第五方面,为本申请实施例提供的一种终端设备,该终端设备包括存储器和一个或多个处理器;其中,所述存储器用于存储计算机程序代码,所述计算机程序代码包括计算机指令;当所述计算机指令被所述处理器执行时,使得所述终端设备执行上述第二方面中任一种可能设计中第一终端设备执行的方法。In a fifth aspect, a terminal device is provided in an embodiment of the present application, the terminal device comprising a memory and one or more processors; wherein the memory is used to store computer program code, and the computer program code comprises computer instructions; when the computer instructions are executed by the processor, the terminal device executes the method executed by the first terminal device in any possible design in the above-mentioned second aspect.

第六方面,为本申请实施例提供的一种终端设备,该终端设备包括存储器和一个或多个处理器;其中,所述存储器用于存储计算机程序代码,所述计算机程序代码包括计算机指令;当所述计算机指令被所述处理器执行时,使得所述终端设备执行上述第四方面中任一种可能设计中第一终端设备执行的方法。In the sixth aspect, a terminal device is provided in an embodiment of the present application, the terminal device comprising a memory and one or more processors; wherein the memory is used to store computer program code, and the computer program code comprises computer instructions; when the computer instructions are executed by the processor, the terminal device executes the method executed by the first terminal device in any possible design in the fourth aspect above.

第七方面,为本申请实施例提供的一种服务器,该服务器包括存储器和一个或多个处理器;其中,所述存储器用于存储计算机程序代码,所述计算机程序代码包括计算机指令;当所述计算机指令被所述处理器执行时,使得所述服务器执行上述第三方面中任一种可能设计中服务器执行的方法。In the seventh aspect, a server is provided in an embodiment of the present application, the server comprising a memory and one or more processors; wherein the memory is used to store computer program code, and the computer program code comprises computer instructions; when the computer instructions are executed by the processor, the server executes the method executed by the server in any possible design in the third aspect above.

第八方面,为本申请实施例提供的一种存储介质,计算机可读介质存储有计算机程序(也可以称为代码,或指令)当其在计算机上运行时,使得计算机执行上述第二方面中任一种可能设计中的方法。In an eighth aspect, a storage medium is provided in an embodiment of the present application, wherein the computer-readable medium stores a computer program (also referred to as code or instruction). When the computer program is run on a computer, the computer executes a method in any possible design in the second aspect described above.

第九方面,为本申请实施例提供的一种计算机程序产品,计算机程序产品包括:计算机程序(也可以称为代码,或指令),当计算机程序被运行时,使得计算机执行上述 第二方面中任一种可能设计中的方法,或执行上述第二方面中任一种可能设计中的方法。In a ninth aspect, a computer program product is provided in an embodiment of the present application, the computer program product comprising: a computer program (also referred to as code, or instruction), which, when executed, enables the computer to execute the above A method in any possible design of the second aspect, or executing a method in any possible design of the above second aspect.

第十方面,为本申请实施例提供的一种存储介质,计算机可读介质存储有计算机程序(也可以称为代码,或指令)当其在计算机上运行时,使得计算机执行上述第四方面中任一种可能设计中的方法。In the tenth aspect, a storage medium is provided in an embodiment of the present application, and the computer-readable medium stores a computer program (also referred to as code, or instruction). When the computer program is run on a computer, the computer executes a method in any possible design in the fourth aspect.

第十一方面,为本申请实施例提供的一种计算机程序产品,计算机程序产品包括:计算机程序(也可以称为代码,或指令),当计算机程序被运行时,使得计算机执行上述第二方面中任一种可能设计中的方法,或执行上述第四方面中任一种可能设计中的方法。In the eleventh aspect, a computer program product is provided for an embodiment of the present application, and the computer program product includes: a computer program (also referred to as code, or instruction), which, when the computer program is run, enables the computer to execute a method in any possible design of the second aspect above, or execute a method in any possible design of the fourth aspect above.

需要说明的是,本申请实施例第二方面至第十一方面提供的终端设备的各个设计的有益效果请参考第一方面任一种可能的设计的有益效果,此处不再赘述。It should be noted that for the beneficial effects of the various designs of the terminal devices provided in the second to eleventh aspects of the embodiments of the present application, please refer to the beneficial effects of any possible design in the first aspect, and will not be repeated here.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

为了更清楚地说明本公开实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本公开的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

图1为本申请实施例提供的一种终端设备的结构示意图。FIG1 is a schematic diagram of the structure of a terminal device provided in an embodiment of the present application.

图2为本申请实施例提供的一种终端设备的软件结构框图。FIG2 is a software structure block diagram of a terminal device provided in an embodiment of the present application.

图3为本申请实施例提供的一种应用场景示意图。FIG3 is a schematic diagram of an application scenario provided in an embodiment of the present application.

图4为本申请实施例提供的一种收发北斗卫星消息的界面示意图。FIG4 is a schematic diagram of an interface for sending and receiving Beidou satellite messages provided in an embodiment of the present application.

图5为本申请实施例提供的一种通信方法适用的应用场景示意图。FIG5 is a schematic diagram of an application scenario applicable to a communication method provided in an embodiment of the present application.

图6-8为本申请实施例提供的一组界面示意图。6-8 are a set of interface schematic diagrams provided in an embodiment of the present application.

图9为本申请实施例提供的一种流程示意图FIG. 9 is a schematic diagram of a process provided in an embodiment of the present application

图10-12为本申请实施例提供的一组界面示意图。10-12 are a set of interface schematic diagrams provided in an embodiment of the present application.

图13为本申请实施例提供的一种通信方法的示意性流程图。FIG13 is a schematic flowchart of a communication method provided in an embodiment of the present application.

图14为本申请实施例还提供的一种通信系统的装置的结构示意图。FIG14 is a schematic diagram of the structure of a communication system device provided in an embodiment of the present application.

具体实施方式DETAILED DESCRIPTION

以下实施例中所使用的术语只是为了描述特定实施例的目的,而并非旨在作为对本申请的限制。如在本申请的说明书和所附权利要求书中所使用的那样,单数表达形式“一个”、“一种”、“所述”、“上述”、“该”和“这一”旨在也包括例如“一个或多个”这种表达形式,除非其上下文中明确地有相反指示。还应当理解,在本申请以下各实施例中,“至少一个”、“一个或多个”是指一个、两个或两个以上。术语“和/或”,用于描述关联对象的关联关系,表示可以存在三种关系;例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B的情况,其中A、B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。The terms used in the following embodiments are only for the purpose of describing specific embodiments, and are not intended to be used as limitations on the present application. As used in the specification and the appended claims of the present application, the singular expressions "one", "a kind of", "said", "above", "the" and "this" are intended to also include expressions such as "one or more", unless there is a clear contrary indication in the context. It should also be understood that in the following embodiments of the present application, "at least one", "one or more" refer to one, two or more. The term "and/or" is used to describe the association relationship of associated objects, indicating that three relationships may exist; for example, A and/or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character "/" generally indicates that the objects associated before and after are in an "or" relationship.

在本说明书中描述的参考“一个实施例”或“一些实施例”等意味着在本申请的一个或多个实施例中包括结合该实施例描述的特定特征、结构或特点。由此,在本说明书中的不同之处出现的语句“在一个实施例中”、“在一些实施例中”、“在其他一些实施例中”、“在另外一些实施例中”等不是必然都参考相同的实施例,而是意味着“一 个或多个但不是所有的实施例”,除非是以其他方式另外特别强调。术语“包括”、“包含”、“具有”及它们的变形都意味着“包括但不限于”,除非是以其他方式另外特别强调。References to "one embodiment" or "some embodiments" in this specification mean that a particular feature, structure or characteristic described in conjunction with the embodiment is included in one or more embodiments of the present application. Thus, the phrases "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. appearing in different places in this specification do not necessarily refer to the same embodiment, but mean "one embodiment". One or more but not all embodiments”, unless otherwise specifically emphasized. The terms “include”, “comprising”, “having” and their variations all mean “including but not limited to”, unless otherwise specifically emphasized.

以下介绍电子设备、用于这样的电子设备的用户界面、和用于使用这样的电子设备的实施例。在一些实施例中,电子设备可以是还包含其它功能诸如个人数字助理和/或音乐播放器功能的便携式电子设备,诸如手机、平板电脑、具备无线通讯功能的可穿戴电子设备(如智能手表)等。便携式电子设备的示例性实施例包括但不限于搭载iOS?、Android?、Microsoft?或者其它操作系统的便携式电子设备。上述便携式电子设备也可以是其它便携式电子设备,诸如膝上型计算机(Laptop)等。还应当理解的是,在其他一些实施例中,上述电子设备也可以不是便携式电子设备,而是台式计算机。The following describes an electronic device, a user interface for such an electronic device, and an embodiment 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 a music player function, such as a mobile phone, a tablet computer, a wearable electronic device with a wireless communication function (such as a smart watch), etc. Exemplary embodiments of portable electronic devices include but are not limited to portable electronic devices equipped with iOS?, Android?, Microsoft? or other operating systems. The above-mentioned portable electronic device may also be other portable electronic devices, such as a laptop computer (Laptop), etc. It should also be understood that in some other embodiments, the above-mentioned electronic device may not be a portable electronic device, but a desktop computer.

示例性的,图1示出了电子设备100的结构示意图。电子设备100可以包括处理器110,外部存储器接口120,内部存储器121,通用串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180,指南针190,马达191,指示器192,摄像头193,显示屏194,以及用户标识模块(subscriber identification module,SIM)卡接口195等。Exemplarily, FIG1 shows a schematic diagram of the structure of an electronic device 100. The 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, an antenna 1, an 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, an earphone interface 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.

可以理解的是,本申请实施例示意的结构并不构成对电子设备100的具体限定。在本申请另一些实施例中,电子设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。It is to be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的部件,也可以集成在一个或多个处理器中。在一些实施例中,电子设备101也可以包括一个或多个处理器110。其中,控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。在其他一些实施例中,处理器110中还可以设置存储器,用于存储指令和数据。示例性地,处理器110中的存储器可以为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。这样就避免了重复存取,减少了处理器110的等待时间,因而提高了电子设备101处理数据或执行指令的效率。The processor 110 may include one or more processing units, for example: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and/or a neural network processor (neural-network processing unit, NPU), etc. Among them, different processing units may be independent components or integrated in one or more processors. In some embodiments, the electronic device 101 may also include one or more processors 110. Among them, the controller may generate an operation control signal according to the instruction opcode and the timing signal to complete the control of fetching and executing instructions. In some other embodiments, a memory may also be set in the processor 110 for storing instructions and data. Exemplarily, the memory in the processor 110 may be a high-speed cache memory. The memory may save instructions or data that the processor 110 has just used or circulated. If the processor 110 needs to use the instruction or data again, it can be directly called 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.

在一些实施例中,处理器110可以包括一个或多个接口。接口可以包括集成电路间(inter-integrated circuit,I2C)接口,集成电路间音频(nter-integrated circuit sound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purpose input/output,GPIO)接口,SIM卡接口,和/或USB接口等。其中,USB接口130是符合USB标准规范的接口,具体可以是Mini USB接口,Micro USB接口, USB Type C接口等。USB接口130可以用于连接充电器为电子设备101充电,也可以用于电子设备101与外围设备之间传输数据。该USB接口130也可以用于连接耳机,通过耳机播放音频。In some embodiments, the processor 110 may include one or more interfaces. The interface 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. Among them, the USB interface 130 is an interface that complies with the USB standard specification, and can specifically be a Mini USB interface, a Micro USB interface, 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 to transfer data between the electronic device 101 and a peripheral device. The USB interface 130 can also be used to connect headphones to play audio through the headphones.

可以理解的是,本申请实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对电子设备100的结构限定。在本申请另一些实施例中,电子设备100也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。It is understandable that the interface connection relationship between the modules illustrated in the embodiment of the present application is only a schematic illustration and does not constitute a structural limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.

充电管理模块140用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理模块140可以通过USB接口130接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块140可以通过电子设备100的无线充电线圈接收无线充电输入。充电管理模块140为电池142充电的同时,还可以通过电源管理模块141为电子设备供电。The charging management module 140 is used to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger through the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive wireless charging input through a wireless charging coil of the electronic device 100. While the charging management module 140 is charging the battery 142, it may also power the electronic device through the power management module 141.

电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110,内部存储器121,外部存储器,显示屏194,摄像头193,和无线通信模块160等供电。电源管理模块141还可以用于监测电池容量,电池循环次数,电池健康状态(漏电,阻抗)等参数。在其他一些实施例中,电源管理模块141也可以设置于处理器110中。在另一些实施例中,电源管理模块141和充电管理模块140也可以设置于同一个器件中。The power management module 141 is used to connect 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, and supplies power to the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle number, battery health status (leakage, impedance), etc. In some other embodiments, the power management module 141 can also be set in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 can also be set in the same device.

电子设备100的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.

天线1和天线2用于发射和接收电磁波信号。电子设备100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。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 a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.

移动通信模块150可以提供应用在电子设备100上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。The mobile communication module 150 can provide solutions for wireless communications including 2G/3G/4G/5G, etc., applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.

无线通信模块160可以提供应用在电子设备100上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,WiFi)网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块160可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。 The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (WiFi) networks), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the electronic device 100. 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 the antenna 2, modulates the frequency of the electromagnetic wave signal and performs filtering, and sends the processed signal to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency of it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.

电子设备100通过GPU,显示屏194,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。The electronic device 100 implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.

显示屏194用于显示图像、视频等。显示屏194包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD)、有机发光二极管(organic light-emitting diode,OLED)、有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode,AMOLED)、柔性发光二极管(flex light-emitting diode,FLED)、Miniled、MicroLed、Micro-oLed、量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些实施例中,电子设备100可以包括1个或多个显示屏194。The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diodes (QLED), etc. In some embodiments, the electronic device 100 may include one or more display screens 194.

在本申请的一些实施例中,当显示面板采用OLED、AMOLED、FLED等材料时,上述图1中的显示屏194可以被弯折。这里,上述显示屏194可以被弯折是指显示屏可以在任意部位被弯折到任意角度,并可以在该角度保持,例如,显示屏194可以从中部左右对折。也可以从中部上下对折。In some embodiments of the present application, when the display panel is made of materials such as OLED, AMOLED, FLED, etc., the display screen 194 in FIG. 1 can be bent. Here, the display screen 194 can be bent, which means that the display screen can be bent to any angle at any position and can be maintained at the angle. For example, the display screen 194 can be folded in half from the middle to the left or right. It can also be folded in half from the middle to the top or bottom.

电子设备100的显示屏194可以是一种柔性屏,目前,柔性屏以其独特的特性和巨大的潜力而备受关注。柔性屏相对于传统屏幕而言,具有柔韧性强和可弯曲的特点,可以给用户提供基于可弯折特性的新交互方式,可以满足用户对于电子设备的更多需求。对于配置有可折叠显示屏的电子设备而言,电子设备上的可折叠显示屏可以随时在折叠形态下的小屏和展开形态下大屏之间切换。因此,用户在配置有可折叠显示屏的电子设备上使用分屏功能,也越来越频繁。The display screen 194 of the electronic device 100 can be a flexible screen. At present, the flexible screen has attracted much attention for its unique characteristics and huge potential. Compared with traditional screens, flexible screens have the characteristics of strong flexibility and bendability, which can provide users with a new interaction method based on bendable characteristics, and can meet users' more needs for electronic devices. For electronic devices equipped with a foldable display screen, the foldable display screen on the electronic device can be switched between a small screen in a folded form and a large screen in an unfolded form at any time. Therefore, users use the split-screen function on electronic devices equipped with a foldable display screen more and more frequently.

电子设备100可以通过ISP、摄像头193、视频编解码器、GPU、显示屏194以及应用处理器等实现拍摄功能。The electronic device 100 can realize the shooting function through the ISP, the camera 193, the video codec, the GPU, the display screen 194 and the application processor.

ISP用于处理摄像头193反馈的数据。例如,拍照时,打开快门,光线通过镜头被传递到摄像头感光元件上,光信号转换为电信号,摄像头感光元件将所述电信号传递给ISP处理,转化为肉眼可见的图像。ISP还可以对图像的噪点、亮度、肤色进行算法优化。ISP还可以对拍摄场景的曝光、色温等参数优化。在一些实施例中,ISP可以设置在摄像头193中。The ISP is used to process the data fed back by the camera 193. For example, when taking a photo, the shutter is opened, and the light is transmitted to the camera photosensitive element through the lens. The light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converts it into an image visible to the naked eye. The ISP can also perform algorithm optimization on the noise, brightness, and skin color of the image. The ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, the ISP can be set in the camera 193.

摄像头193用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元件。感光元件可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(complementary metal-oxide-semiconductor,CMOS)光电晶体管。感光元件把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP加工处理。DSP将数字图像信号转换成标准的RGB,YUV等格式的图像信号。在一些实施例中,电子设备100可以包括1个或多个摄像头193。The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal oxide semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then passes the electrical signal to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format. In some embodiments, the electronic device 100 may include one or more cameras 193.

数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。例如,当电子设备100在频点选择时,数字信号处理器用于对频点能量进行傅里叶变换等。The digital signal processor is used to process digital signals, and can process not only digital image signals but also other digital signals. For example, when the electronic device 100 is selecting a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.

视频编解码器用于对数字视频压缩或解压缩。电子设备100可以支持一种或多种视频编解码器。这样,电子设备100可以播放或录制多种编码格式的视频,例如:动态图像专家组(moving picture experts group,MPEG)1、MPEG2、MPEG3、MPEG4等。Video codecs are used to compress or decompress digital videos. The electronic device 100 may support one or more video codecs. In this way, the electronic device 100 may play or record videos in a variety of coding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.

外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展电子设备100的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据 存储功能。例如将音乐,视频等文件保存在外部存储卡中。The external memory 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 memory interface 120 to implement data Storage function. For example, save music, videos and other files in an external memory card.

内部存储器121可以用于存储一个或多个计算机程序,该一个或多个计算机程序包括指令。处理器110可以通过运行存储在内部存储器121的上述指令,从而使得电子设备101执行本申请一些实施例中所提供的方法,以及各种应用以及数据处理等。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统;该存储程序区还可以存储一个或多个应用(比如图库、联系人等)等。存储数据区可存储电子设备101使用过程中所创建的数据(比如照片,联系人等)等。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如一个或多个磁盘存储部件,闪存部件,通用闪存存储器(universal flash storage,UFS)等。在一些实施例中,处理器110可以通过运行存储在内部存储器121的指令,和/或存储在设置于处理器110中的存储器的指令,来使得电子设备101执行本申请实施例中所提供的方法,以及其他应用及数据处理。电子设备100可以通过音频模块170、扬声器170A、受话器170B、麦克风170C、耳机接口170D、以及应用处理器等实现音频功能。例如音乐播放、录音等。The internal memory 121 can be used to store one or more computer programs, which include instructions. The processor 110 can enable the electronic device 101 to perform the methods provided in some embodiments of the present application, as well as various applications and data processing, etc. by running the above instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area can store an operating system; the program storage area can also store one or more applications (such as a gallery, contacts, etc.). The data storage area can store data (such as photos, contacts, etc.) created during the use of the electronic device 101. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more disk storage components, a flash memory component, a universal flash storage (UFS), etc. In some embodiments, the processor 110 can enable the electronic device 101 to perform the methods provided in the embodiments of the present application, as well as other applications and data processing, by running instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor 110. The electronic device 100 can implement audio functions such as music playing and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.

传感器模块180可以包括压力传感器180A、陀螺仪传感器180B、气压传感器180C、磁传感器180D、加速度传感器180E、距离传感器180F、接近光传感器180G、指纹传感器180H、温度传感器180J、触摸传感器180K、环境光传感器180L、骨传导传感器180M等。The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration 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, and the like.

其中,压力传感器180A用于感受压力信号,可以将压力信号转换成电信号。在一些实施例中,压力传感器180A可以设置于显示屏194。压力传感器180A的种类很多,如电阻式压力传感器,电感式压力传感器,电容式压力传感器等。电容式压力传感器可以是包括至少两个具有导电材料的平行板。当有力作用于压力传感器180A,电极之间的电容改变。电子设备100根据电容的变化确定压力的强度。当有触摸操作作用于显示屏194,电子设备100根据压力传感器180A检测所述触摸操作强度。电子设备100也可以根据压力传感器180A的检测信号计算触摸的位置。在一些实施例中,作用于相同触摸位置,但不同触摸操作强度的触摸操作,可以对应不同的操作指令。例如:当有触摸操作强度小于第一压力阈值的触摸操作作用于短消息应用图标时,执行查看短消息的指令。当有触摸操作强度大于或等于第一压力阈值的触摸操作作用于短消息应用图标时,执行新建短消息的指令。Among them, the pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A can be set on the display screen 194. There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc. The capacitive pressure sensor can be a parallel plate including at least two conductive materials. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the intensity of the pressure according to the change in capacitance. When a touch operation acts on the display screen 194, the electronic device 100 detects the touch operation intensity according to the pressure sensor 180A. The electronic device 100 can also calculate the touch position according to the detection signal of the pressure sensor 180A. In some embodiments, touch operations acting on the same touch position but with different touch operation intensities can correspond to different operation instructions. For example: when a touch operation with a touch operation intensity less than the first pressure threshold acts on the short message application icon, an instruction to view the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, an instruction to create a new short message is executed.

陀螺仪传感器180B可以用于确定电子设备100的运动姿态。在一些实施例中,可以通过陀螺仪传感器180B确定电子设备100围绕三个轴(即X、Y和Z轴)的角速度。陀螺仪传感器180B可以用于拍摄防抖。示例性的,当按下快门,陀螺仪传感器180B检测电子设备100抖动的角度,根据角度计算出镜头模组需要补偿的距离,让镜头通过反向运动抵消电子设备100的抖动,实现防抖。陀螺仪传感器180B还可以用于导航,体感游戏场景。The gyro sensor 180B can be used to determine the motion posture of the electronic device 100. In some embodiments, the angular velocity of the electronic device 100 around three axes (i.e., X, Y, and Z axes) can be determined by the gyro sensor 180B. The gyro sensor 180B can be used for anti-shake shooting. For example, when the shutter is pressed, the gyro sensor 180B detects the angle of the electronic device 100 shaking, calculates the distance that the lens module needs to compensate based on the angle, and allows the lens to offset the shaking of the electronic device 100 through reverse movement to achieve anti-shake. The gyro sensor 180B can also be used for navigation and somatosensory game scenes.

加速度传感器180E可检测电子设备100在各个方向上(一般为三轴)加速度的大小。当电子设备100静止时可检测出重力的大小及方向。还可以用于识别电子设备姿态,应用于横竖屏切换,计步器等应用。The acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in all directions (generally three axes). When the electronic device 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of the electronic device and is applied to applications such as horizontal and vertical screen switching and pedometers.

环境光传感器180L用于感知环境光亮度。电子设备100可以根据感知的环境光亮度自适应调节显示屏194亮度。环境光传感器180L也可用于拍照时自动调节白平衡。环境光传感器180L还可以与接近光传感器180G配合,检测电子设备100是否在口袋里,以 防误触。The ambient light sensor 180L is used to sense the ambient light brightness. The electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived 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 cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in a pocket, so as to Prevent accidental touch.

指纹传感器180H用于采集指纹。电子设备100可以利用采集的指纹特性实现指纹解锁,访问应用锁,指纹拍照,指纹接听来电等。The fingerprint sensor 180H is used to collect fingerprints. The electronic device 100 can use the collected fingerprint characteristics to implement fingerprint unlocking, access application locks, fingerprint photography, fingerprint call answering, etc.

温度传感器180J用于检测温度。在一些实施例中,电子设备100利用温度传感器180J检测的温度,执行温度处理策略。例如,当温度传感器180J上报的温度超过阈值,电子设备100执行降低位于温度传感器180J附近的处理器的性能,以便降低功耗实施热保护。在另一些实施例中,当温度低于另一阈值时,电子设备100对电池142加热,以避免低温导致电子设备100异常关机。在其他一些实施例中,当温度低于又一阈值时,电子设备100对电池142的输出电压执行升压,以避免低温导致的异常关机。The temperature sensor 180J is used to detect temperature. In some embodiments, the electronic device 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the electronic device 100 reduces the performance of a processor located near the temperature sensor 180J to reduce power consumption and implement thermal protection. In other embodiments, when the temperature is lower than another threshold, the electronic device 100 heats the battery 142 to avoid abnormal shutdown of the electronic device 100 due to low temperature. In other embodiments, when the temperature is lower than another threshold, the electronic device 100 performs a boost on the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.

触摸传感器180K,也称“触控面板”。触摸传感器180K可以设置于显示屏194,由触摸传感器180K与显示屏194组成触摸屏,也称“触控屏”。触摸传感器180K用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏194提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器180K也可以设置于电子设备100的表面,与显示屏194所处的位置不同。The touch sensor 180K is also called a "touch panel". The touch sensor 180K can be set on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, also called a "touch screen". The touch sensor 180K is used to detect touch operations acting on or near it. The touch sensor can pass 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 the display screen 194. In other embodiments, the touch sensor 180K can also be set on the surface of the electronic device 100, which is different from the position of the display screen 194.

图2是本申请实施例的电子设备100的软件结构框图。分层架构将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在一些实施例中,将Android系统分为四层,从上至下分别为应用程序层,应用程序框架层,安卓运行时(Android runtime)和系统库,以及内核层。应用程序层可以包括一系列应用程序包。FIG2 is a software structure diagram of the electronic device 100 of an embodiment of the present application. The layered architecture divides the software into several layers, each layer has a clear role and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom, namely, the application layer, the application framework layer, the Android runtime (Android runtime) and the system library, and the kernel layer. The application layer can include a series of application packages.

如图2所示,应用程序包可以包括相机、图库、日历、通话、地图、导航、WLAN、蓝牙、音乐、视频、短信息等应用程序。As shown in FIG. 2 , the application package may include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, and short message.

应用程序框架层为应用程序层的应用程序APP提供应用编程接口(application programming interface,API)和编程框架,应用程序框架层包括一些预先定义的函数。The application framework layer provides application programming interface (API) and programming framework for the application APP in the application layer. The application framework layer includes some predefined functions.

如图2所示,应用程序框架层可以包括窗口管理器、内容提供器、视图系统、电话管理器、资源管理器、通知管理器等。As shown in FIG. 2 , the application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, and the like.

窗口管理器用于管理窗口程序,窗口管理器可以获取显示屏大小,判断是否有状态栏、锁定屏幕、截取屏幕等。The window manager is used to manage window programs. The window manager can obtain the size of the display screen, determine whether there is a status bar, lock the screen, capture the screen, etc.

内容提供器用来存放和获取数据,并使这些数据可以被应用程序访问。所述数据可以包括视频、图像、音频、拨打和接听的电话、浏览历史和书签、电话簿等。Content providers are used to store and retrieve data and make it accessible to applications. The data may include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.

视图系统包括可视控件,例如显示文字的控件,显示图片的控件等。视图系统可用于构建应用程序。显示界面可以由一个或多个视图组成的。例如,包括短信通知图标的显示界面,可以包括显示文字的视图以及显示图片的视图。The view system includes visual controls, such as controls for displaying text, controls for displaying images, etc. The view system can be used to build applications. A display interface can be composed of one or more views. For example, a display interface including a text notification icon can include a view for displaying text and a view for displaying images.

电话管理器用于提供电子设备100的通信功能。例如通话状态的管理(包括接通,挂断等)。The phone manager is used to provide communication functions of the electronic device 100, such as management of call status (including connecting, hanging up, etc.).

资源管理器为应用程序提供各种资源,比如本地化字符串、图标、图片、布局文件、视频文件等等。The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.

通知管理器使应用程序可以在状态栏中显示通知信息,可以用于传达告知类型的消息,可以短暂停留后自动消失,无需用户交互。比如通知管理器被用于告知下载完成,消息提醒等。通知管理器还可以是以图表或者滚动条文本形式出现在系统顶部状态栏的通知,例如后台运行的应用程序的通知,还可以是以对话窗口形式出现在屏幕上的通知。 例如在状态栏提示文本信息、发出提示音、电子设备振动、指示灯闪烁等。The notification manager enables applications to display notification information in the status bar. It can be used to convey notification-type messages and can disappear automatically after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also be a notification that appears in the system top status bar in the form of an icon or scroll bar text, such as a notification of an application running in the background, or a notification that appears on the screen in the form of a dialog window. For example, a text message may be displayed in the status bar, a prompt sound may be emitted, an electronic device may vibrate, an indicator light may flash, etc.

系统库可以包括多个功能模块。例如:表面管理器(surface manager)、媒体库(media libraries)、三维图形处理库(例如:OpenGL ES)、2D图形引擎(例如:SGL)等。The system library can include multiple functional modules, such as surface manager, media libraries, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.

表面管理器用于对显示子系统进行管理,并且为多个应用程序提供了2D和3D图层的融合。The surface manager is used to manage the display subsystem and provide the fusion of 2D and 3D layers for multiple applications.

媒体库支持多种常用的音频、视频格式回放和录制以及静态图像文件等。媒体库可以支持多种音视频编码格式,例如:MPEG4、H.264、MP3、AAC、AMR、JPG和PNG等。The media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG and PNG, etc.

三维图形处理库用于实现三维图形绘图、图像渲染、合成和图层处理等。The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, synthesis and layer processing.

2D图形引擎是2D绘图的绘图引擎。A 2D graphics engine is a drawing engine for 2D drawings.

内核层是硬件和软件之间的层。内核层至少包含显示驱动、摄像头驱动、音频驱动、传感器驱动。The kernel layer is the layer between hardware and software. The kernel layer includes at least display driver, camera driver, audio driver, and sensor driver.

本申请实施例可以应用于终端技术领域,具体可以适用于涉及卫星消息通信的应用场景中,以下实施例中以北斗卫星消息作为示例。北斗相关技术和功能的实现可以依托于卫星或卫星组网等,以实现通信和服务等。尽管地面通信技术的发展已经可以满足用户较多通信场景的需求,但无法实现地面通信网络的全面覆盖。因此,在一些地面通信网络不存在或无法存在的区域,可以基于北斗技术实现通信,可理解为北斗卫星消息(也可称为“北斗短消息”、“北斗短报文”等名称)通信服务功能,该功能可以借助卫星或卫星组网实现通信。The embodiments of the present application can be applied to the field of terminal technology, and specifically can be applied to application scenarios involving satellite message communications. Beidou satellite messages are used as examples in the following embodiments. The realization of Beidou-related technologies and functions can rely on satellites or satellite networking, etc., to achieve communications and services. Although the development of terrestrial communication technology can meet the needs of users in more communication scenarios, it is impossible to achieve comprehensive coverage of terrestrial communication networks. Therefore, in some areas where terrestrial communication networks do not exist or cannot exist, communications can be achieved based on Beidou technology, which can be understood as Beidou satellite messages (also known as "Beidou short messages", "Beidou short messages", etc.) Communication service functions, which can be achieved with the help of satellites or satellite networking.

在介绍本申请实施例的之前,先介绍和本申请实施例相关的技术名词:Before introducing the embodiments of the present application, the technical terms related to the embodiments of the present application are first introduced:

信件查询机制:基于北斗卫星的移动特性,北斗卫星通信系统为一个非常驻的通信系统,并且终端设备一般接入的北斗卫星随着北斗卫星移动而进行切换。因此,北斗网络的下行传输一般采用信件查询机制实现。该场景下,服务器在接收到向处于无网络连接状态的终端设备发送的消息时,一般可先进行存储,等待终端设备的信件查询请求。可以理解,终端设备向接入的北斗卫星主动发送信件查询请求报文,该信件查询请求报文用于终端设备请求下载待接收的卫星消息;北斗卫星接收到信件查询请求报文之后,可以通过北斗卫星地面信息处理中心向服务器查询是否存储有终端设备的信件,当存在时,服务器将信件通过北斗卫星地面信息处理中心发送到北斗卫星;最后,北斗卫星将该信件下发给终端设备。Letter query mechanism: Based on the mobile characteristics of Beidou satellites, the Beidou satellite communication system is a non-resident communication system, and the Beidou satellite to which the terminal device is generally connected switches as the Beidou satellite moves. Therefore, the downlink transmission of the Beidou network is generally implemented using a letter query mechanism. In this scenario, when the server receives a message sent to a terminal device that is not connected to the network, it can generally store it first and wait for the letter query request from the terminal device. It can be understood that the terminal device actively sends a letter query request message to the Beidou satellite to which it is connected. The letter query request message is used by the terminal device to request the download of the satellite message to be received; after the Beidou satellite receives the letter query request message, it can query the server through the Beidou satellite ground information processing center whether there is a letter for the terminal device stored. If there is, the server sends the letter to the Beidou satellite through the Beidou satellite ground information processing center; finally, the Beidou satellite sends the letter to the terminal device.

图3为用户使用手机接收北斗卫星消息的一种应用场景示意图。从图3中可以看出,该应用场景可包括但不限于:用户A手机301、卫星302、北斗卫星地面信息处理中心303、服务器304以及亲友B手机305,该场景的流程如下:Figure 3 is a schematic diagram of an application scenario in which a user uses a mobile phone to receive Beidou satellite messages. As can be seen from Figure 3, 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 friend B's mobile phone 305. The process of this scenario is as follows:

S301,亲友B在手机305对用户A发送的给亲友B的北斗卫星消息进行回复,将回复消息发送到服务器上。可以理解,回复消息中可以包括用户标识,例如可以包括手机301对应的用户A的标识。可选的,手机301可以通过即时通信应用程序(application,APP)提供发送北斗卫星消息的能力,如畅连应用程序(application,APP)。示例性的,手机301可以理解为用户张三的手机。图4(a)中的一组界面,展示了亲友B通过畅连APP接收用户A发送的北斗卫星消息的过程。其中,界面410为用户收到用户A的消息后点击“回复”按钮开始进行回复操作;界面420为用户编辑回复消息后点击发送按钮;界面430为回复消息发送之后的界面。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, for example, 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 (application, APP), such as the Changlian application (application, APP). Exemplarily, mobile phone 301 can be understood as the mobile phone of user Zhang San. A set of interfaces in Figure 4 (a) shows the process of friend B receiving the Beidou satellite message sent by user A through the Changlian APP. Among them, interface 410 is the user clicking the "Reply" button to start the reply operation after receiving the message from user A; interface 420 is the user clicking the send button after editing the reply message; interface 430 is the interface after the reply message is sent.

另一可选的,用户A手机301也可以通过短消息服务提供发送北斗卫星消息的能力, 例如短信息APP(或称为“信息APP”等)。本实施例对提供发送北斗卫星消息的APP不做限制。Alternatively, user A's mobile phone 301 may also provide the capability of sending Beidou satellite messages via a short message service. For example, a short message APP (or "message APP", etc.) This embodiment does not limit the APP that provides the ability to send Beidou satellite messages.

S302,手机301在无网络连接状态下发送信件查询请求报文,可以理解,信件查询请求报文中可以携带手机301对应的用户标识。S302, the mobile phone 301 sends a letter query request message when there is no network connection. It can be understood that the letter query request message can carry the user identifier corresponding to the mobile phone 301.

S303,卫星302接收来自手机301发送的信件查询请求报文,将信件查询请求报文转发到北斗卫星地面信息处理中心303。S303, the satellite 302 receives the letter query request message sent from the mobile phone 301, and forwards the letter query request message to the Beidou satellite ground information processing center 303.

S304,北斗卫星地面信息处理中心303与地面通信网络或其他地面站进行通信,将接收到卫星302发送的信件查询请求报文转发到服务器304。可以理解,服务器304可以为北斗卫星地面信息处理中心303基于北斗卫星消息确定的收件人对应的服务器。S304, Beidou satellite ground information processing center 303 communicates with the ground communication network or other ground stations, and forwards the letter query request message received from satellite 302 to server 304. It can be understood that server 304 can be a server corresponding to the recipient determined by Beidou satellite ground information processing center 303 based on Beidou satellite message.

S305,服务器304基于接收到的信件查询请求报文,在检测到存储有手机301的回复消息时,向北斗卫星地面信息处理中心303返回回复消息。S305, based on the received letter query request message, when the server 304 detects that the reply message of the mobile phone 301 is stored, it returns a reply message to the Beidou satellite ground information processing center 303.

S306,斗卫星地面信息处理中心303在收到服务器304返回的回复消息,将回复消息发送给卫星302。S306, after receiving the reply message returned by the server 304, the Dou satellite ground information processing center 303 sends the reply message to the satellite 302.

S307,手机301接收并解析卫星发送的回复消息,并在手机301上显示回复消息的内容。图4(b)中的一组界面,展示了用户A在手机301设备上通过畅连APP显示接收回复消息的过程。其中,界面440为用户点击“接收消息”按钮接收北斗卫星消息的回复消息;界面450显示了手机301寻星的过程;界面460显示了手机301寻星成功并接收到北斗卫星消息;界面470为手机301上的畅连APP显示接收到亲友B李四发送的回复消息(如预览卡片602所示),并在预览卡片602下方显示待接收消息的数量的信息。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. The set of interfaces in Figure 4(b) shows the process of user A receiving the reply message through the Changlian APP on mobile phone 301. Among them, interface 440 is the user clicking the "Receive Message" button to receive the reply message of the Beidou satellite message; interface 450 shows the process of mobile phone 301 searching for satellites; interface 460 shows that mobile phone 301 successfully searches for satellites and receives Beidou satellite messages; interface 470 is the Changlian APP on mobile phone 301 showing that the reply message sent by friend B Li Si is received (as shown in preview card 602), and the number of messages to be received is displayed below preview card 602.

从如上介绍内容可以看出,由于北斗卫星的特性,北斗卫星无法向终端设备主动推送消息,需要用户主动发送信件查询请求才可以获取到回复消息;并且,在发送和接收北斗卫星消息时,终端设备都必须连接上北斗卫星才可以进行发送和接收。当一个区域内存在多个用户(受困者)时,在同时进行收发卫星消息时,其卫星信道会被稀释,再加上手机天线功率小,穿越障碍物的能力弱,会出现卫星消息无法发送到卫星或者无法接收到卫星消息的情况(如图3中步骤S302或S307执行失败),影响用户查收北斗卫星消息。As can be seen from the above introduction, due to the characteristics of Beidou satellite, Beidou satellite cannot actively push messages to terminal devices, and users need to actively send letter query requests to obtain reply messages; and when sending and receiving Beidou satellite messages, terminal devices must be connected to Beidou satellites to send and receive. When there are multiple users (trapped persons) in an area, when sending and receiving satellite messages at the same time, their satellite channels will be diluted, and the mobile phone antenna has low power and weak ability to cross obstacles, and there will be a situation where satellite messages cannot be sent to the satellite or cannot be received (such as the failure of step S302 or S307 in Figure 3), which affects the user's receipt of Beidou satellite messages.

例如用户A和用户B结伴出行处于一个无网络的地区,用户A发送北斗卫星消息给亲友A,用户B发送北斗卫星消息给亲友B,其中,亲友A给用户A发送了回复消息,亲友B没有给用户B发送回复消息。因在用户A和B所处的区域内可能存在其他的用户在发送/接收卫星消息(卫星信道被稀释),或者用户A和B所处环境存在遮挡物,导致在下一个卫星对接周期内,用户A对接卫星失败,用户B对接卫星成功的情况,该情况下用户A和用户B仍然未收到回复消息。For example, user A and user B travel together in an area without network. 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 send a reply message to user B. Because there may be other users sending/receiving satellite messages in the area where users A and B are located (the satellite channel is diluted), or there are obstructions in the environment where users A and B are located, user A fails to dock with the satellite in the next satellite docking cycle, while user B successfully docks with the satellite. In this case, users A and B still do not receive a reply message.

有鉴于此,本申请实施例提供了一种通信方法。该方法中,基于接收端设备接收到北斗卫星消息,接收端设备还可以实现对某一区域内的用户发送该北斗卫星消息的回复消息,其中,某一区域内是以发送端发送报文时的地面坐标的为中心,半径为N公里的区域。通过该方法,可以扩展更多的应用场景,为用户提供更好的通信保障。如上场景中虽然用户A对接卫星失败,但是用户B对接卫星成功且可以收到发送给用户A的回复消息,在收到该回复消息后,可以通知用户A,有效地保障了通讯的稳定性。In view of this, an embodiment of the present application provides a communication method. In this method, based on the receiving end device receiving the Beidou satellite message, the receiving end device can also send a reply message of the Beidou satellite message to the users in a certain area, wherein the certain area is an area with a radius of N kilometers centered on the ground coordinates when the sending end sends the message. Through this method, more application scenarios can be expanded to provide users with better communication guarantees. As in the above scenario, 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 the reply message, user A can be notified, which effectively ensures the stability of communication.

为了便于理解本申请提供的通信方法,以下结合图5至图12所示的内容,对采用本申请提供的方法的实现过程进行介绍。 In order to facilitate understanding of the communication method provided by the present application, the implementation process of the method provided by the present application is introduced below in combination with the contents shown in Figures 5 to 12.

首先,基于图5介绍本申请实施例涉及到的几种可能的应用场景。First, based on FIG. 5 , several possible application scenarios involved in the embodiments of the present application are introduced.

场景A,接收端设备发送北斗卫星消息的区域回复消息。Scenario A: The receiving device sends a regional reply message to the Beidou satellite message.

亲友A持有的手机306上的畅连APP的首页界面610上可以包括“北斗卫星消息”卡片,用户可以点击“北斗卫星消息”卡片查看北斗卫星消息。其中,“北斗卫星消息”卡片上可以显示有新消息的提醒,例如可通过数字或红点等形式进行提醒,本申请对提醒方式不进行限定。手机306响应于对“北斗卫星消息”卡片的点击操作,显示界面620。在界面602中,展示亲友A接收到来自张三发送的北斗卫星消息的预览卡片621(亲友A接收到张三发送的北斗卫星消息的过程,可以参考图9的步骤S901-S903),在预览卡片621中不仅可以包括基于张三发送的北斗卫星消息得到的发件人信息、消息内容和消息携带的位置信息等,还可以包括“回复”控件622;其中,控件622可用于实现在手机305A上回复来自张三的北斗卫星消息。需要说明的是,尽管界面620中以消息卡片形式展示接收到的北斗卫星消息,本申请实施例中不限定展示形式,例如还可通过文本内容等形式来实现。The home page interface 610 of the Changlian APP on the mobile phone 306 held by friend A may include a "Beidou Satellite Message" card, and the user may click on the "Beidou Satellite Message" card to view the Beidou Satellite Message. Among them, the "Beidou Satellite Message" card may display a reminder of a new message, for example, in the form of a number or a red dot, etc., and the present application does not limit the reminder method. In response to the click operation on the "Beidou Satellite Message" card, the mobile phone 306 displays an interface 620. In the interface 602, a preview card 621 of the Beidou Satellite Message sent by Zhang San is displayed, which shows that friend A receives a Beidou Satellite Message sent by Zhang San (the process of friend A receiving a Beidou Satellite Message sent by Zhang San can refer to steps S901-S903 of FIG. 9). In the preview card 621, not only the sender information, message content, and location information carried by the Beidou Satellite Message sent by Zhang San, etc., may be included, but also a "Reply" control 622; wherein the control 622 can be used to implement a 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 form is not limited in the embodiment of the present application, for example, it can also be implemented in the form of text content.

响应于用户对“回复”控件622的点击操作,显示界面630;界面630用于收件人对来自张三的北斗卫星消息进行回复。在界面630中,手机306可用于检测并响应于用户的编辑操作,获取用户在控件634中输入的回复内容。在回复内容的下方,会显示设置为区域消息的控件631,如用户勾选该控件,则该回复消息会被设置为区域回复消息,表示该回复消息可以被一定区域范围内的用户接收,一定区域范围为以来自张三发送的北斗卫星的位置为中心,半径为N公里的区域内;如用户不勾选该控件,则该回复消息只能被发送者张三接收。In response to the user's click operation on the "Reply" control 622, an interface 630 is displayed; the interface 630 is used for the recipient to reply to the Beidou satellite message from Zhang San. In the interface 630, the mobile phone 306 can be used to detect and respond to the user's editing operation, and obtain the reply content entered by the user in the control 634. Below the reply content, a control 631 set as a regional message will be displayed. If the user checks the 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, and the certain area is centered on the position of the Beidou satellite sent from Zhang San and has a radius of N kilometers; if the user does not check the control, the reply message can only be received by the sender Zhang San.

可以理解的是,手机306还可提供用于展示多条常用回复语的显示区域632,从而可以实现用户便捷地选择常用回复语,实现对回复内容的编辑,可以节省用户的操作。It is understandable that the mobile phone 306 can also provide a display area 632 for displaying multiple commonly used reply words, so that the user can easily select commonly used reply words and edit the reply content, which can save the user's operations.

界面630中还存在控件633,响应于用户点击633,手机306会弹出区域回复消息的提示框,用于提示用户区域回复消息的作用以及隐私协议信息。There is also a control 633 in the interface 630. In response to the user clicking 633, the mobile phone 306 will pop up a prompt box of the regional reply message to prompt the user the function of the regional reply message and the privacy agreement information.

场景B,无网络连接状态下连接北斗卫星失败,无法接收回复消息。Scenario B: Failed to connect to the Beidou satellite without a network connection, and could not receive reply messages.

参阅图7,为本申请实施例中提供的无法接收回复的消息的界面示意图。本申请实施例中,如图7中的用户A手机301在发送北斗卫星消息之后,可以显示界面710,用户可以点击界面710中的“接收消息”控件711,该“接收消息”控件711可用于手机301采用信件查询机制向接入的北斗卫星主动请求查询是否存在待接收的回复消息。Refer to Figure 7, which is a schematic diagram of an interface for a message that cannot be replied to provided in an embodiment of the present application. In the embodiment of the present application, after the mobile phone 301 of user A in Figure 7 sends a Beidou satellite message, an interface 710 can be displayed, and the user can click a "receive message" control 711 in the interface 710. The "receive message" control 711 can be used for the mobile phone 301 to actively request to query whether there is a reply message to be received from the connected Beidou satellite using a letter query mechanism.

手机301响应于用户对“接收消息”控件711的点击操作,可显示界面720。在界面720中,可以包括用于指示调整设备姿态的提示信息,如界面720中所示的向右转动手机;还包括了扇形区域用于指示手机的北斗卫星消息的目标发射方向,圆环的中心圆可用于指示调整手机的俯仰角度。用户可以根据如上的提示信息调整设备的姿态对准卫星用以发送信件查询消息获取待接收的回复消息。In response to the user clicking the "receive message" control 711, the mobile phone 301 may display an interface 720. In the interface 720, prompt information for indicating the adjustment of the device posture may be included, such as turning the mobile phone to the right as shown in the interface 720; a fan-shaped area is also included to indicate the target transmission direction of the Beidou satellite message of the mobile phone, and the center circle of the ring can be used to indicate the adjustment of the pitch angle of the mobile phone. The user can adjust the posture of the device to align with the satellite according to the above prompt information to send a letter query message to obtain a reply message to be received.

但是当用户周边存在一些障碍物,如原因受伤只能在房屋或者山洞中,此时由于手机天线的功率较小,穿越障碍物的能力弱,手机有可能无法对接上卫星;或者在某个卫星覆盖的区域内有多个受困者在同时收发卫星消息,对于每个受困者来说,其使用的卫星信道就被稀释了,其连接卫星的成功率会大大下降,有可能无法成功对接卫星。如界面730中所示,虽然用户根据指示信息调整手机301的姿态进行寻星,但是仍然没有找到可以是利用的卫星,如提示信息731所示,为寻找到卫星,连接失败。或者如界面740 所示,虽然连接上了卫星,但是因为信道被稀释,信件查询消息并没有发送到卫星,如卡片741所示,信件查询消息发送失败,无法接收消息。。However, when there are obstacles around the user, such as an injury that confines the user to a house or cave, the mobile phone may not be able to connect to the satellite because the mobile phone antenna has low power and poor ability to traverse obstacles; or when there are multiple trapped persons in an area covered by a certain satellite and they are simultaneously sending and receiving satellite messages, the satellite channel used by each trapped person will be diluted, and the success rate of connecting to the satellite will be greatly reduced, and the user may not be able to successfully connect to the satellite. As shown in interface 730, although the user adjusts the posture of the mobile phone 301 according to the instruction information to search for satellites, no satellites that can be used are found. As shown in prompt message 731, the connection fails because the satellite cannot be found. Or as shown in interface 740 As shown in FIG. 74 , although the satellite is connected, the letter query message is not sent to the satellite because the channel is diluted. As shown in card 741 , the letter query message fails to be sent and the message cannot be received.

需要说明的是,图7中以畅连APP(即时通信类APP)作为示例进行介绍的,实际也可以在信息APP等入口中包括的北斗卫星消息的交互窗口中,提供如界面710所示的“接收消息”控件,用于手机301采用信件查询机制向接入的北斗卫星主动请求查询是否存在待接收的回复消息。It should be noted that FIG7 uses the Changlian APP (an instant messaging APP) as an example for introduction. In fact, a “Receive Message” control as shown in interface 710 may also be provided in the interactive window of the Beidou satellite message included in the information APP and other portals, so that the mobile phone 301 can actively request the connected Beidou satellite to query whether there is a reply message to be received using a letter query mechanism.

场景C:无网络连接状态下连接北斗卫星成功,接收区域回复消息。Scenario C: Successfully connect to BeiDou satellite without network connection, and receive area reply message.

用户B使用手机305连接北斗卫星成功,其发送信件查询消息的操作如图7中的界面710和界面720所示,此处不再赘述。当手机305成功连接卫星并接收到区域回复消息,会跳转到界面810,界面810中的扇形区域用于指示连接卫星的状态,预览卡片811显示接收成功的信息,预览卡片812可用于指示剩余待接收的X条消息,以便于提示用户继续接收其他待接收的消息。在一些实施例中,在预设时长之后,手机305可自动变更为显示界面820。User B successfully connects to the Beidou satellite using mobile phone 305, and the operation of sending a letter query message is shown in interface 710 and interface 720 in Figure 7, which will not be repeated here. When 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 status of connecting to the satellite, preview card 811 displays the information 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 to receive other messages to be received. In some embodiments, after a preset time, mobile phone 305 can automatically change to display interface 820.

在界面820中,可以包括用于展示手机301接收到的区域回复消息的预览卡片821,在预览卡片821的上方,会显示该回复消息的类型为区域消息,如提示信息822所示,表示该回复消息为区域消息。因北斗卫星消息的区域回复消息并不是直接发送给使用301手机的用户B的,因此在区域回复消息的预览卡片821中需要显示该区域回复消息的发送者和接受者,如控件823所示,该区域回复消息是来自李四发给张三的回复,如果此时用户B在张三的身边,就可以将消息内容告诉张三,避免了张三因无法对接卫星收不到卫星消息的问题。在预览卡片821中,除了显示消息来源和消息内容(如:已经出发,尽快赶到)之外,还可以显示该区域回复消息的发送方的具体地理位置,如位置卡片824,用户B在收到该区域回复消息后,如果不在B的身边但距离B的位置不远,可以移动到该位置将信息内容告诉张三,避免了收到区域回复消息的接受者无法通知实际接受者的情况,提高了接收卫星的效率。In the interface 820, a preview card 821 for displaying the regional reply message received by the mobile phone 301 may be included. Above the preview card 821, it will be displayed that the type of the reply message is a regional message, as shown in the prompt information 822, indicating that the reply message is a regional message. Because the regional reply message of the Beidou satellite message is not directly sent to user B who uses the 301 mobile phone, the sender and receiver of the regional reply message need to be displayed in the preview card 821 of the regional reply message, as shown in the 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, the message content can be told to Zhang San, avoiding the problem that Zhang San cannot receive satellite messages due to the inability to connect to the satellite. In the preview card 821, in addition to displaying the source of the message and the content of the message (such as: already set off, arrive as soon as possible), the specific geographical location of the sender of the regional reply message can also be displayed, such as the location card 824. After receiving the regional reply message, if user B is not next to B but not far from B's location, he can move to the location to tell Zhang San the content of the message, thereby avoiding the situation where the recipient of the regional reply message cannot notify the actual recipient, thereby improving the efficiency of receiving satellites.

在界面620中,为了便于提示用户继续接收其他待接收的消息,在区域回复消息的预览卡片821的下发会提示用户剩余待接收的X条区域回复消息,以便于提示用户继续接收其他待接收的区域回复消息。In interface 620, in order to prompt the user to continue to receive other messages to be received, the sending of the preview card 821 of the regional reply message will prompt the user of the remaining X regional reply messages to be received, so as to prompt the user to continue to receive other regional reply messages to be received.

需要说明的是,上述场景A至场景C仅为本申请实施例中介绍的几种可能的场景,例如各个场景之间还可以进行结合,本申请对具体场景不进行限定。示例性的,尽管上述各场景中以个人作为示例,实际实现时,也可以为第三方平台。另外,上述各场景中涉及到的触控操作可以通过但不限于以下方式实现:点击操作、或双击操作、或长按操作、或语音指令等,具体实施时可以根据终端设备配置的形式进行实现。以及,上述各场景中涉及的有网络连接状态可以包括蜂窝网络、Wi-Fi网络等;可以理解,无网络连接状态时,终端设备可以采用北斗卫星网络进行通信。It should be noted that the above-mentioned scenes A to C are only several possible scenes introduced in the embodiments of the present application. For example, the various scenes can also be combined, and the present application does not limit the specific scenes. For example, although individuals are used as examples in the above-mentioned scenes, a third-party platform can also be used in actual implementation. In addition, the touch operations involved in the above-mentioned scenes can be implemented by but not limited to the following methods: click operation, double-click operation, long press operation, or voice command, etc., which can be implemented according to the form of terminal device configuration during specific implementation. In addition, the network connection status involved in the above-mentioned scenes may 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.

基于前述对采用本申请实施例提供的方法可以达到的界面处理效果进行说明的内容,以下介绍本申请提供的通信方法的实现过程,以用来说明如何采用本申请提供的方法达到前述介绍到的图6和图8所示的界面处理效果,以及如何采用本申请提供的方法达到前述介绍到的场景A和场景C所示的效果。从而可以实现发送北斗卫星消息的区域回复消息以及接收区域回复消息的,可以满足更多的卫星通信的应用场景,为用户提供更好的通信保障。 Based on the above description of the interface processing effect that can be achieved by the method provided in the embodiment of the present application, the implementation process of the communication method provided in the present application is introduced below to illustrate how to use the method provided in the present application to achieve the interface processing effects shown in Figures 6 and 8 introduced above, and how to use the method provided in the present application to achieve the effects shown in the scenes A and C introduced above. Thus, it is possible to send and receive regional reply messages of Beidou satellite messages, meet more satellite communication application scenarios, and provide users with better communication guarantees.

基于以上场景A1和场景A2、场景B1和场景B2介绍的内容,图8为本申请实施例提供的一种通信方法的流程示意图。该方法的流程可以包括以下步骤:Based on the contents of the above scenarios A1 and A2, scenarios B1 and B2, FIG8 is a flow chart of a communication method provided by an embodiment of the present application. The flow of the method may include the following steps:

步骤S901,第二终端设备向卫星发送求救卫星消息。可以理解,求救卫星消息中携带第二终端设备对应的用户标识和发送求救卫星消息时的第二终端设备的位置信息。第二终端设备向卫星发送卫星消息时,可以发送给至少一个收件人。Step S901: The second terminal device sends a satellite distress message to a satellite. It can be understood that the satellite distress message carries a user identifier corresponding to the second terminal device and location information of the second terminal device when the satellite distress message is sent. When the second terminal device sends a satellite distress message to a satellite, it can be sent to at least one recipient.

步骤S902,卫星基于来自第二终端设备的求救卫星消息,向服务器发送求救卫星消息。可以理解,求救卫星消息中可以携带第二终端设备对应的用户标识和发送求救卫星消息的位置信息。需要说明的是,卫星可以通过北斗卫星地面信息处理中心向服务器发送求救卫星消息。Step S902: The satellite sends a distress satellite message to the server based on the distress satellite message from the second terminal device. It is understood that the distress satellite message may carry a user identifier corresponding to the second terminal device and location information for sending the distress satellite message. It should be noted that the satellite may send the distress satellite message to the server through the Beidou satellite ground information processing center.

步骤S903,服务器发送求救卫星消息到接收端设备。可以理解,服务器可以通过地面网络将求救卫星消息发送给接收端设备。Step S903: The server sends a distress satellite message to the receiving device. It is understandable that the server can send the distress satellite message to the receiving device via a ground network.

步骤S904,收件人在接收端设备上查看第二终端设备发送的求救卫星消息;编辑回复消息,并勾选区域回复消息。其中,第二终端设备例如可以为图5示出的亲友A手机305,手机305可如场景A介绍的发送北斗卫星消息的区域回复消息进行回复,具体过程可以参与场景A介绍的内容,在此不再赘述。Step S904, the recipient views the distress satellite message sent by the second terminal device on the receiving device; edits the reply message, and checks the regional reply message. The second terminal device can be, for example, the mobile phone 305 of friend A shown in FIG5 , and the mobile phone 305 can reply to the regional reply message of the Beidou satellite message as described in scenario A. The specific process can be involved in the content described in scenario A, which will not be repeated here.

步骤S905,接收端设备返回区域回复消息到服务器。示例性的,手机305可以通过通信网络将回复消息发送到服务器,此时服务器可以为即时通信业务对应的服务器,例如畅连APP对应的畅连服务器。或者,同理,手机305也可以通过短信回复消息发送到服务器,此时服务器可以为信息APP对应的服务器,例如信息APP对应的运营商APP、或者此时服务器也可以为手机305对应的厂商服务器。可以理解,回复消息中可以包括用户标识,例如可以包括手机301对应的用户标识,用户标识比如可以包括但不限于用户号码、设备编号等;其中,设备编号还可用于实现消息的加密和解密等。在一些实施例中,第二终端设备的用户发送的区域回复消息中携带了区域回复消息的标识,用于通知服务器该消息是区域回复消息。Step S905, the receiving device returns the regional reply message to the server. Exemplarily, the mobile phone 305 can send the reply message to the server through the communication network, and the server can be the server corresponding to the instant messaging service, such as the Changlian server corresponding to the Changlian APP. Or, similarly, the mobile phone 305 can also send a reply message to the server via SMS, and the server can be the server corresponding to the information APP, such as the operator APP corresponding to the information APP, or the server can also be the manufacturer server corresponding to the mobile phone 305. It can be understood that the reply message can include a user identifier, for example, it can include the user identifier corresponding to the mobile phone 301, and the user identifier can include but is not limited to the user number, the device number, etc.; wherein the device number can also be used to implement encryption and decryption of the message, etc. In some embodiments, the regional reply message sent by the user of the second terminal device carries the identifier of the regional reply message, which is used to notify the server that the message is a regional reply message.

步骤S906,服务器存储区域回复消息。其中,服务器可以包括多个用于实现不同功能的微服务,不同的微服务可以部署在相同的服务器中,也可以部署在服务器集群的不同服务器中。当服务器存储区域回复消息时,会保存该区域回复消息对应的求救消息发送设备的位置信息,即区域回复消息与该位置坐标在该位置坐标用于服务器判断获取回复消息的设备的位置坐标与保存的位置坐标的距离。Step S906, the server stores the regional reply message. The server may include multiple microservices for implementing different functions, and different microservices may be deployed in the same server or in different servers in the server cluster. When the server stores the regional reply message, it will save the location information of the device sending the distress message corresponding to the regional reply message, that is, the regional reply message and the location coordinates are used by the server to determine the distance between the location coordinates of the device that received the reply message and the saved location coordinates.

步骤S910,第一终端设备向卫星发送信件查询请求报文。可以理解,信件查询请求报文中可以携带第一终端设备对应的用户标识和位置信息。Step S910: The first terminal device sends a letter query request message to the satellite. It can be understood that the letter query request message may carry the user identification and location information corresponding to the first terminal device.

步骤S911,卫星基于来自第一终端设备的信件查询请求报文,向服务器发送信件查询请求报文。可以理解,信件查询请求报文中可以携带第一终端设备对应的用户标识和位置信息。Step S911: The satellite sends a letter query request message to the server based on the letter query request message from the first terminal device. It can be understood that the letter query request message may carry the user identification and location information corresponding to the first terminal device.

步骤S912,服务器收到信件查询请求报文,获取信件查询请求报文中携带的位置信息,遍历存储在服务器中的区域回复消息,获取步骤S906中区域回复消息保存的求救消息发送设备的位置信息,构建一个以区域回复消息保存的位置信息为中心,在服务器中预设的第一距离为半径(如5公里)为圆心的区域,判断信件查询请求报文中携带的位置是否在该区域内,如果在该区域内,则第一终端设备可以接收该区域回复消息。即以区域回复消息对应的求救消息的发送设备的位置为中心,半径为N公里内的区域里的设 备都可以接收到该区域回复消息。Step S912: The server receives the letter query request message, obtains the location information carried in the letter query request message, traverses the regional reply messages stored in the server, obtains the location information of the device sending the distress message saved in the regional reply message in step S906, and constructs an area with the location information saved in the regional reply message as the center and the first distance preset in the server as the radius (such as 5 kilometers) as the center. It is determined whether the location carried in the letter query request message is within the area. If it is within the area, the first terminal device can receive the regional reply message. That is, the devices in the area with a radius of N kilometers, with the location of the device sending the distress message corresponding to the regional reply message as the center, All devices can receive the reply message of this area.

以图5中的用户A手机301、用户B手机305和亲友A手机306为例,用户A在发送北斗卫星消息给亲友A时,与用户B相距1公里,且当前服务器预设的区域回复消息的区域半径是5公里(N为5)。亲友A在回复给用户A的北斗卫星消息A时,勾选如图6的界面630中的区域回复消息控件631,则北斗卫星消息A为区域回复消息A。服务器收到区域回复消息A,保存在服务器的存储中。用户B在没有移动的情况下,即与用户A发送北斗卫星消息给亲友A时的距离还是1公里,则用户B在发送信件查询请求报文后,服务器判断该发送信件查询请求上报的位置坐标与区域回复消息A对应的发送消息设备的位置(用户A发送卫星消息时的位置)距离为1公里,在预设的5公里范围内,则用户B可以接收区域回复消息A。Taking the user A mobile phone 301, user B mobile phone 305 and friend A mobile phone 306 in Figure 5 as examples, when user A sends a Beidou satellite message to friend A, it is 1 km away from user B, and the regional radius of the regional reply message preset by the current server is 5 km (N is 5). When friend A replies to the Beidou satellite message A of user A, check the regional reply message control 631 in the interface 630 of Figure 6, then the Beidou satellite message A is the regional reply message A. The server receives the regional reply message A and saves it in the storage of the server. When user B does not move, that is, the distance from user A when sending the Beidou satellite message to friend A is still 1 km, then after user B sends the letter query request message, the server determines that the location coordinates reported by the sending letter query request are 1 km away from the location of the sending device corresponding to the regional reply message A (the location when user A sends the satellite message), and within the preset 5 km range, user B can receive the regional reply message A.

可以理解的是,因卫星消息的特殊性,用户一般在紧急情况下使用,服务器存储的卫星消息数量不会很多,因此区域回复消息的数量会更小,因此服务器遍历的区域回复消息的不会造成服务器性能降低。或者,在一种场景下,可以在服务器中独立部署遍历区域回复消息的微服务,避免对其他微服务造成影响,提升服务器的鲁棒性。It is understandable that due to the particularity of satellite messages, users generally use them in emergency situations, and the number of satellite messages stored in the server will not be large, so the number of regional reply messages will be smaller, so the regional reply messages traversed by the server will not cause server performance degradation. Alternatively, in one scenario, a microservice that traverses regional reply messages can be independently deployed in the server to avoid affecting other microservices and improve the robustness of the server.

可以理解的是,在一种实施例中,服务器中保存的区域回复消息是存在有效期的,其在服务器上存储的时长需要小于等于预设的保存时长,如存储的时间超过预设时长,则服务器会忽略掉该超期的区域回复消息,第一终端设备即使在该区域回复消息所设定的圆心范围内,也无法收到该区域回复消息。It can be understood that, in one embodiment, the regional reply message stored in the server has a validity period, and its storage time on the server needs to be less than or equal to the preset storage time. If the storage time exceeds the preset time, 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 center of the circle set by the regional reply message.

步骤S913,服务器基于查找到的至少一条区域回复消息,向卫星返回一条区域回复消息。需要说明的是,服务器也可以通过北斗卫星地面信息处理中心向卫星返回查询到的回复消息。另外,服务器可以响应于信件查询请求报文,返回确认消息,也可以理解为接收回执。Step S913, the server returns a regional reply message to the satellite based on the at least one regional reply message found. It should be noted that the server can also return the queried reply message to the satellite through the Beidou Satellite Ground Information Processing Center. In addition, the server can respond to the letter query request message and return a confirmation message, which can also be understood as a receipt.

可以理解的是,在一种实施例中,服务器查找到的至少一条区域回复消息,可以按照区域回复消息的最早接收时间排序,因此向卫星返回一条区域回复消息是所有区域回复消息中最早发送到服务器上的回复消息。这样保证了最先收到的区域回复消息及时地发送到在该区域内的设备上。进一步的,在一些场景下,服务器会定时清理过期的区域回复消息,避免过期区域回复消息占用服务器的存储,影响服务器的性能和处理效率。It is understandable that, in one embodiment, at least one regional reply message found by the server can be sorted according to the earliest reception time of the regional reply message, so that the regional reply message returned to the satellite is the earliest reply message sent to the server among all regional reply messages. This ensures that the first received regional reply message is sent to the device in the area in a timely manner. Furthermore, in some scenarios, the server will periodically clean up expired regional reply messages to prevent expired regional reply messages from occupying the server's storage and affecting the server's performance and processing efficiency.

可以理解的是,在一种实施例中,接收端设备的用户在勾选设置区域回复消息的同时,指定该区域回复消息的一个或多个收信人(例如收信人白名单),并通过步骤S905将一个或多个收信人的用户标识发送到服务器上由服务器进行保存,服务器在遍历区域回复消息时,会获取信件查询请求报文携带的第一终端设备的用户标识,判断第一终端设备上报的用户标识是否在收信人的用户标识范围内,如果在,则将该区域回复消息发送第一终端设备。这样不会对区域回复消息的所关联的区域内的用户造成影响,提升了用户的体验。It can be understood that, in one embodiment, when the user of the receiving device checks the setting of the regional reply message, he specifies one or more recipients of the regional reply message (e.g., a recipient whitelist), and sends the user identifiers of the one or more recipients to the server through step S905 for storage by the server. When the server traverses the regional reply message, it will obtain the user identifier of the first terminal device carried in the letter query request message, and determine whether the user identifier reported by the first terminal device is within the user identifier range of the recipient. If so, the regional reply message is sent to the first terminal device. This will not affect the users in the area associated with the regional reply message, thereby improving the user experience.

进一步的,在一种实施例中,服务器保存了区域回复消息对应的发送求救消息的用户标识与该区域回复消息的对应关系,当服务器在遍历区域回复消息时,可以获取到区域回复消息对应的发送方的用户标识,判断该用户标识对应的用户与信件查询请求报文携带的第一终端设备的用户标识对应的用户是否存在好友关系,如果存在,则将该区域回复消息发送第一终端设备。该场景下,区域回复消息会被发送到好友的设备上,不会影响到非好友的用户。 Furthermore, in one embodiment, the server saves the corresponding relationship between the user ID of the sender of the distress message and the regional reply message corresponding to the regional reply message. When the server traverses the regional reply message, it can obtain the user ID of the sender corresponding to the regional reply message, and determine whether the user corresponding to the user ID and the user corresponding to the user ID of the first terminal device carried by the letter query request message have a friend relationship. If so, 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 users who are not friends.

在另外一种实施例中,第一终端设备的用户可以与区域回复消息对应的发送方的用户可以组成临时群,可以理解,临时群是在有网络的条件下操作的。当服务器在遍历区域回复消息时,判断区域回复消息对应的发送方的用户标识与第一终端设备的用户标识在一个群内时,区域回复消息会被发送到第一终端设备上,提升了区域回复消息接收的灵活性。In another embodiment, the user of the first terminal device can form a temporary group with the user of the sender corresponding to the area reply message. It can be understood that the temporary group is operated under the condition of network. When the server traverses the area reply message, if it is determined that the user identifier of the sender corresponding to the area reply message and the user identifier of the first terminal device are in the same group, the area reply message will be sent to the first terminal device, thereby improving the flexibility of receiving the area reply message.

步骤S914,第一终端设备接收卫星下发的响应消息,该响应消息中包括了区域回复消息。Step S914: The first terminal device receives a response message sent by the satellite, and the response message includes a regional reply message.

步骤S915,第一终端设备在终端显示响应消息中的区域回复消息的信息。如图8的界面820所示,第一终端设备在接收到区域回复消息后,在畅连APP的界面上显示区域回复消息,除了显示回复消息内容,第一终端设备在畅连APP的界面上还会根据响应消息中的数量指示信息显示用于指示剩余待接收的区域回复消息的数量的信息。进一步的,在现实区域回复消息内容的同时,也显示该区域回复消息的对应的发送方(即第二终端设备)的具体地理位置,具体过程可以参与场景C介绍的内容,在此不再赘述。Step S915, the first terminal device displays the information of the regional reply message in the response message on the terminal. As shown in interface 820 of Figure 8, after receiving the 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 indicating the number of remaining regional reply messages to be received on the interface of the Changlian APP based on the quantity indication information in the response message. Furthermore, while displaying the content of the regional reply message, the specific geographical location of the corresponding sender (i.e., the second terminal device) of the regional reply message is also displayed. The specific process can be involved in the content introduced in scenario C, which will not be repeated here.

可选的,第一终端设备解析区域回复消息,进行去重判断。示例性,第一终端设备可以根据但不限于以下条件进行去重判断:北斗卫星消息标识、消息编号、消息编码、消息版本号、消息来源、消息发件人、消息发送时间等。可以理解,去重判断可避免重复接收消息以及避免重复的消息额度统计。Optionally, the first terminal device parses the regional reply message and performs deduplication judgment. Exemplarily, the first terminal device can perform deduplication judgment based on but not limited to the following conditions: Beidou satellite message identifier, message number, message code, message version number, message source, message sender, message sending time, etc. It can be understood that deduplication judgment can avoid repeated reception of messages and avoid repeated message quota statistics.

步骤S916,第一终端设备基于接收到的区域回复消息,向卫星发送接收回执。可以理解,第一终端设备无网环境下,可以采用北斗卫星消息形式向卫星发送接收回执。其中,该接收回执中可以携带回复消息的标识。Step S916: The first terminal device sends a receipt to the satellite based on the received regional reply message. It can be understood that when the first terminal device is not connected to the network, the receipt can be sent to the satellite in the form of a Beidou satellite message. The receipt can carry the identifier of the reply message.

步骤S917,卫星接收来自第一终端设备的接收回执,向服务器发送接收回执。可以理解,卫星也可以通过北斗卫星地面信息处理中心将接收回执转发给服务器。Step S917: the satellite receives the receipt from the first terminal device and sends the receipt to the server. It is understandable that the satellite can also forward the receipt to the server through the Beidou satellite ground information processing center.

步骤S918,服务器根据接收回执,标识第一终端设备对应的用户已接收区域回复消息。当第一终端设备再次发送信件查询请求报文时,服务器将会发现第一终端设备对应的用户已经接收过该区域回复消息,该区域回复消息不再发送给第一终端设备。Step S918: The server identifies the user corresponding to the first terminal device as having received the regional reply message according to the receipt. When the first terminal device sends a letter query request message again, the server will find that the user corresponding to the first terminal device has received the regional reply message, and the regional reply message will no longer be sent to the first terminal device.

可以理解的是,当第二终端设备已经接收过某一区域回复消息,则该区域回复消息将不会发送到其他终端设备上。此时该区域回复消息已经发送给实际需要查收的终端设备,因此不需要继续发送到其他设备上,避免区域回复消息的过度使用,提升北斗卫星消息的信道使用率。It is understandable that when the second terminal device has received a certain area reply message, the area reply message will not be sent to other terminal devices. At this time, the area reply message has been sent to the terminal device that actually needs to be checked, so it does not need to be sent to other devices, avoiding excessive use of area reply messages and improving the channel utilization rate of Beidou satellite messages.

可以理解,在一种实施例中,第一终端设备在发送信件查询请求报文获取回复消息,其获取的回复消息可以包括个人回复消息和区域回复消息。可以理解的是,个人回复消息为服务器根据第一终端设备携带的用户标识找到对应的待接收回复消息。如图10所示,界面1010中,第一终端设备的用户小陈收到了来自王五的回复消息,如预览卡片1011为第一终端设备收到的个人回复消息,在预览卡片下方,会显示预览卡片1012,显示了第一终端设备的用户待接收的个人回复消息和区域回复消息。It is understandable that, in one embodiment, when the first terminal device sends a letter query request message to obtain a reply message, the reply message obtained may include a personal reply message and a regional reply message. It is understandable that the personal reply message is the server finding the corresponding reply message to be received according to the user identifier carried by the first terminal device. As shown in FIG10 , in the interface 1010, Xiao Chen, a user of the first terminal device, received a reply message from Wang Wu. For example, preview card 1011 is a personal reply message received by the first terminal device. Below the preview card, a preview card 1012 is displayed, showing the personal reply message and regional reply message to be received by the user of the first terminal device.

考虑到北斗消息的特殊性,用户使用卫星查收消息时,一次只能接收一条回复消息。当服务器收到发送信件查询请求报文时,发现设备不仅存在个人回复消息,也存在区域回复消息,一般地,会优先将个人回复消息先返回给终端设备,并将个人回复消息剩余条数和区域回复消息剩余条数发给用户,方便用户获取个人回复消息同时,也了解区域内存在的会回复消息,避免未收到区域回复消息影响其他受困者的救援或者消息查看。 当用户查收完个人消息时,会查收到区域回复消息。如图10中所示,用户点击界面1010中的“接收消息”按钮,跳转到界面1020,在界面1020中,显示了1010界面中待接收的个人回复消息,如预览卡片1021所示的回复消息。在预览开篇1021的下发,预览卡片1022还继续显示待接收的区域回复消息。响应于用户点击界面1020中的“接收消息”按钮,跳转到界面1030,该界面下的预览卡片1031显示了已经收到的李四发给张三的区域回复(包括地理位置),并在预览卡片1031下显示预览卡片1032,提示用户剩余的2条待接收的区域回复消息。Considering the particularity of Beidou messages, users can only receive one reply message at a time when they use satellites to check messages. When the server receives a letter query request message, it finds that the device has not only personal reply messages but also regional reply messages. Generally, it will give priority to returning personal reply messages to the terminal device, and send the remaining number of personal reply messages and regional reply messages to the user, so that the user can get personal reply messages and understand the reply messages in the area, so as to avoid the failure to receive regional reply messages affecting the rescue or message viewing of other trapped people. When the user has finished checking personal messages, he will check the regional reply messages. As shown in Figure 10, the user clicks the "Receive Message" button in interface 1010 and jumps to interface 1020. In interface 1020, the personal reply messages to be received in interface 1010 are displayed, such as the reply messages shown in preview card 1021. When preview opening 1021 is issued, preview card 1022 continues to display the regional reply messages to be received. In response to the user clicking the "Receive Message" button in interface 1020, the user jumps to interface 1030. Preview card 1031 under this interface displays the regional reply (including geographic location) that has been received from Li Si to Zhang San, and preview card 1032 is displayed under preview card 1031, prompting the user of the remaining 2 regional reply messages to be received.

在一种情况下,北斗卫星消息的区域回复消息可以关联显示该区域回复消息对应的求救消息的信息,以便收到区域消息的用户更好的理解该区域消息的内容,做成更加正确的判断。如图11所示,界面1110中,用户收到了李四发给张三的区域回复消息,点击预览看片中的控件1112,会跳转到界面1120,该界面中的预览卡片1121显示了查收到的区域回复消息对应的求救消息。In one case, the regional reply message of the Beidou satellite message can be associated with the information of the distress message corresponding to the regional reply message, so that the user who receives the regional message can better understand the content of the regional message and make a more correct judgment. As shown in Figure 11, in interface 1110, the user receives the regional reply message sent by Li Si to Zhang San, clicks the control 1112 in the preview video, and jumps to interface 1120, in which the preview card 1121 displays the distress message corresponding to the received regional reply message.

可以理解的是,在一种实施例下,回复消息中包括了区域回复消息对应的求救消息的信息,但考虑到卫星消息的长度限制,该场景下会存在区域回复消息对应的求救消息的内容被截取的情况。进一步的,为了避免这种情况发生,在获取区域回复消息对应的求救消息的内容时,第一终端设备可以发送信件查询请求报文获取区域回复消息对应的求救消息,该步骤和获取个人消息的步骤302-307一致,此处不再赘述。It is understandable that, in one embodiment, the reply message includes information about the distress message corresponding to the regional reply message, but considering the length limit of the satellite message, in this scenario, the content of the distress message corresponding to the regional reply message may be intercepted. Further, in order 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 letter query request message to obtain the distress message corresponding to the regional reply message. This step is consistent with steps 302-307 of obtaining personal messages and will not be repeated here.

在一种实施例中,终端设备发送的信件查询请求报文中携带的位置坐标,会在多个区域回复消息的范围内,即会有多条区域回复消息,这种情况下,服务器会获取区域回复消息的时间,将先收到的区域回复消息优先返回给终端设备。如图12所示,界面1210中显示了终端设备收到了三条区域回复消息。其中小刘发给小吴两条区域回复消息,发送时间分别为2023年6月6日的15:00和16:16,另外一条区域回复消息时李四发给张三的,发送时间为2023年6月6号的16:00。经管小刘给小吴发送了两条区域回复消息,但是该终端设备在接收区域回复消息时,还是按照先发送先接收的规则查收,确保及时收到区域回复消息。In one embodiment, the location coordinates carried in the letter query request message sent by the terminal device will be within the range of multiple regional reply messages, that is, there will be multiple regional reply messages. In this case, the server will obtain the time of the regional reply message and give priority to returning the regional reply message received first to the terminal device. As shown in Figure 12, interface 1210 shows that the terminal device has received three regional reply messages. Among them, Xiao Liu sent two regional reply messages to Xiao Wu, and the sending times were 15:00 and 16:16 on June 6, 2023, respectively. The other regional reply message was sent by Li Si to Zhang San, and the sending time was 16:00 on June 6, 2023. Xiao Liu sent two regional reply messages to Xiao Wu, but when the terminal device received the regional reply message, it still checked it according to the rule of sending first and receiving first, to ensure that the regional reply message was received in time.

结合上述实施例及相关附图,本申请实施例提供了一种通信方法,该方法可以在如图1、图2所示的终端设备中实现。图13是本申请实施例提供的一种通信方法的示意性流程图,如图13所示,该方法可以包括以下步骤:In combination with the above embodiments and related drawings, an embodiment of the present application provides a communication method, which can be implemented in the terminal device shown in Figures 1 and 2. Figure 13 is a schematic flow chart of a communication method provided by an embodiment of the present application. As shown in Figure 13, the method may include the following steps:

步骤S1301,第一终端设备向卫星发送第一请求报文,第一请求报文包括第一终端设备发送第一请求报文时的第一位置的信息,其中,第一终端设备处于无网络连接状态。Step S1301: A first terminal device sends a first request message to a satellite, where the first request message includes information about a first location of the first terminal device when the first request message is sent, wherein the first terminal device is in a state of no network connection.

步骤S1302,服务器通过卫星接收来自第一终端设备的第一请求报文,根据第一请求报文中的第一位置的信息获取满足第一条件的第一回复消息,第一条件包括:第一位置与第二位置之间的距离小于或等于第一距离,第二位置为发送第一卫星消息的第二终端设备的位置,第一回复消息为第一卫星消息的回复消息。Step S1302: The server receives a first request message from a first terminal device via a satellite, and obtains a first reply message that satisfies a first condition based on information about a first position in the first request message. The first condition includes: a distance between the first position and the second position is less than or equal to a first distance, the second position is a position of a second terminal device that sends the first satellite message, and the first reply message is a reply message to the first satellite message.

步骤S1303,服务器发送第一响应报文,第一响应报文包括第一回复消息。Step S1303: The server sends a first response message, which includes a first reply message.

步骤S1304,第一终端设备通过卫星接收第一响应报文,并显示第一响应报文中的第一回复消息。Step S1304: The first terminal device receives the first response message via the satellite and displays the first reply message in the first response message.

其中,图13中的具体实现流程可参阅前述各实施例中介绍的内容,在此不再赘述。Among them, the specific implementation process in Figure 13 can refer to the contents introduced in the aforementioned embodiments, which will not be repeated here.

另外,本申请实施例还提供了一种通信系统的装置的结构示意图,如图14所示,该装置应用于第一终端设备,本实施例提供的装置包括: In addition, an embodiment of the present application further provides a structural schematic diagram of an apparatus of a communication system, as shown in FIG14 , the apparatus is applied to a first terminal device, and the apparatus provided in this embodiment includes:

处理单元1410,显示单元1420。其中:Processing unit 1410, display unit 1420. Wherein:

处理单元,用于向卫星发送第一请求报文,第一请求报文包括第一终端设备发送第一请求报文时的第一位置的信息,其中,第一终端设备处于无网络连接状态;A processing unit, configured to send a first request message to a satellite, wherein the first request message includes information of a first position of a first terminal device when the first request message is sent, wherein the first terminal device is in a state of no network connection;

处理单元,通过卫星接收第一响应报文,第一响应报文中包含服务器根据第一请求报文中的第一位置的信息获取满足第一条件的第一回复消息,第一条件包括:第一位置与第二位置之间的距离小于或等于第一距离,第二位置为发送第一卫星消息的第二终端设备的位置,第一回复消息为第一卫星消息的回复消息;The processing unit receives a first response message through a satellite, wherein the first response message includes a first reply message that satisfies a first condition obtained by the server according to information of the first position in the first request message, wherein the first condition includes: a distance between the first position and the second position is less than or equal to a first distance, the second position is a position of a second terminal device that sends the first satellite message, and the first reply message is a reply message of the first satellite message;

显示单元,显示第一响应报文中的第一回复消息。基于以上实施例,本申请还提供一种终端设备,所述终端设备包括多个功能模块;所述多个功能模块相互作用,实现本申请实施例所描述的各方法中终端设备所执行的功能。所述多个功能模块可以基于软件、硬件或软件和硬件的结合实现,且所述多个功能模块可以基于具体实现进行任意组合或分割。如执行图9所示实施例中第二终端设备执行的步骤S901;又如执行图9所示实施例中的第一终端设备执行的步骤S910,S915和S916。The display unit displays the first reply message in the first response message. Based on the above embodiments, the present application also provides a terminal device, which includes multiple functional modules; the multiple functional modules interact with each other to implement the functions performed by the terminal device in each method described in the embodiments of the present application. The multiple functional modules can be implemented based on software, hardware, or a combination of software and hardware, and the multiple functional modules can be arbitrarily combined or divided based on the specific implementation. For example, step S901 executed by the second terminal device in the embodiment shown in Figure 9; and for example, steps S910, S915 and S916 executed by the first terminal device in the embodiment shown in Figure 9.

基于以上实施例,本申请还提供一种计算机程序产品,计算机程序产品包括:计算机程序(也可以称为代码,或指令),当计算机程序被运行时,使得计算机执行本申请实施例所描述的各方法。Based on the above embodiments, the present application also provides a computer program product, which includes: a computer program (also referred to as code, or instructions), which enables a computer to execute the methods described in the embodiments of the present application when the computer program is executed.

基于以上实施例,本申请还提供一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机程序,当所述计算机程序被计算机执行时,使得所述计算机执行本申请实施例所描述的各方法。Based on the above embodiments, the present application further provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a computer, the computer executes the methods described in the embodiments of the present application.

基于以上实施例,本申请还提供了一种芯片,所述芯片用于读取存储器中存储的计算机程序,实现本申请实施例所描述的各方法。Based on the above embodiments, the present application further provides a chip, which is used to read a computer program stored in a memory to implement the methods described in the embodiments of the present application.

基于以上实施例,本申请提供了一种芯片系统,该芯片系统包括处理器,用于支持计算机装置实现本申请实施例所描述的各方法。在一种可能的设计中,所述芯片系统还包括存储器,所述存储器用于保存该计算机装置必要的程序和数据。该芯片系统,可以由芯片构成,也可以包含芯片和其他分立器件。本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Based on the above embodiments, the present application provides a chip system, which includes a processor for supporting a computer device to implement the methods described in the embodiments of the present application. In a possible design, the chip system also includes a memory, which is used to store the necessary programs and data of the computer device. The chip system can be composed of a chip, or it can include a chip and other discrete devices. It should be understood by those skilled in the art that the embodiments of the present application can be provided as a method, a system, or a computer program product. Therefore, the present application can adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application can adopt 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 codes.

本实施例提供的装置可以执行上述方法实施例,其实现原理与技术效果类似,此处不再述。The device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be described here.

本申请实施例还提供了一种电子设备,包括:显示屏、处理器、存储器、一个或多个传感器、电源键、应用程序以及计算机程序。上述各器件可以通过一个或多个通信总线连接。其中,该一个或多个计算机程序被存储在上述存储器中并被配置为被该一个或多个处理器执行,该一个或多个计算机程序包括指令,上述指令可以用于使电子设备执行上述各实施例中界面显示方法的各个步骤。示例性的,上述处理器具体可以为图1所示的处理器110,上述存储器具体可以为图1所示的内部存储器121和/或与电子设备连接的外部存储器,上述显示屏具体可以为图1所示的显示屏194,上述传感器具体可以为图1所示的传感器模块180中的一个或多个传感器,上述电源键可以为图1所示的电源键141。本申请实施例对此不做任何限制。 The embodiment of the present 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 above-mentioned devices can be connected via one or more communication buses. Among them, the one or more computer programs are stored in the above-mentioned memory and are configured to be executed by the one or more processors, and the one or more computer programs include instructions, and the above-mentioned instructions can be used to enable the electronic device to perform the various steps of the interface display method in the above-mentioned embodiments. Exemplarily, the above-mentioned processor can be specifically the processor 110 shown in Figure 1, the above-mentioned memory can be specifically the internal memory 121 shown in Figure 1 and/or the external memory connected to the electronic device, the above-mentioned display screen can be specifically the display screen 194 shown in Figure 1, the above-mentioned sensor can be specifically one or more sensors in the sensor module 180 shown in Figure 1, and the above-mentioned power button can be the power button 141 shown in Figure 1. The embodiment of the present application does not impose any restrictions on this.

另外,本申请实施例还提供了一种电子设备上的图形用户界面(graphical user interface,GUI),该图形用户界面具体包括电子设备在执行上述各方法实施例时显示的图形用户界面。In addition, an embodiment of the present application also provides a graphical user interface (GUI) on an electronic device, which specifically includes a graphical user interface displayed by the electronic device when executing the above-mentioned method embodiments.

以上实施例中所用,根据上下文,术语“当…时”或“当…后”可以被解释为意思是“如果…”或“在…后”或“响应于确定…”或“响应于检测到…”。类似地,根据上下文,短语“在确定…时”或“如果检测到(所陈述的条件或事件)”可以被解释为意思是“如果确定…”或“响应于确定…”或“在检测到(所陈述的条件或事件)时”或“响应于检测到(所陈述的条件或事件)”。As used in the above embodiments, the term "when..." or "after..." may be interpreted to mean "if..." or "after..." or "in response to determining..." or "in response to detecting...", depending on the context. Similarly, the phrase "upon determining..." or "if (the stated condition or event) is detected" may be interpreted to mean "if determining..." or "in response to determining..." or "upon detecting (the stated condition or event)" or "in response to detecting (the stated condition or event)", depending on the context.

在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本发明实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘Solid State Disk(SSD))等。在不冲突的情况下,以上各实施例的方案都可以组合使用。 In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in whole or in part in the form of 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, the process or function described in the embodiment of the present invention is generated in whole or in part. 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 computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk Solid State Disk (SSD)), etc. In the absence of conflict, the solutions of the above embodiments can be used in combination.

Claims (27)

一种通信系统,其特征在于,所述系统包括第一终端设备和服务器;A communication system, characterized in that the system comprises a first terminal device and a server; 所述第一终端设备,用于向卫星发送第一请求报文,所述第一请求报文包括所述第一终端设备发送所述第一请求报文时的第一位置的信息,其中,所述第一终端设备处于无网络连接状态;The first terminal device is used to send a first request message to a satellite, wherein the first request message includes information of a first position of the first terminal device when the first request message is sent, wherein the first terminal device is in a state of no network connection; 所述服务器,用于通过卫星接收来自所述第一终端设备的所述第一请求报文,根据所述第一请求报文中的所述第一位置的信息获取满足第一条件的第一回复消息,所述第一条件包括:所述第一位置与第二位置之间的距离小于或等于第一距离,所述第二位置为发送第一卫星消息的第二终端设备的位置,所述第一回复消息为所述第一卫星消息的回复消息;The server is configured to receive the first request message from the first terminal device via a satellite, and acquire a first reply message that satisfies a first condition according to information of the first position in the first request message, where the first condition includes: a distance between the first position and a second position is less than or equal to a first distance, the second position is a position of a second terminal device that sends 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, wherein the first response message includes the first reply message; 所述第一终端设备,用于通过卫星接收所述第一响应报文,并显示所述第一响应报文中的所述第一回复消息。The first terminal device is used to receive the first response message via a satellite and display the first reply message in the first response message. 根据权利要求1所述的系统,其特征在于,所述系统还包括第三终端设备;所述第三终端设备用于显示第一界面,在所述第一界面中显示来自所述第二终端设备发送的所述第一卫星消息和第一控件,所述第一控件用于触发对所述第一卫星消息进行回复;The system according to claim 1, characterized in that the system further comprises a third terminal device; the third terminal device is used to display a first interface, in which the first satellite message and a first control sent from the second terminal device are displayed, and the first control is used to trigger a reply to the first satellite message; 所述第三终端设备,还用于响应于对所述第一控件的第一操作,显示第二界面,在所述第二界面中显示第二控件和第三控件,所述第二控件用于编辑所述第一卫星消息的回复内容,所述第三控件用于设置包含所述回复内容的回复消息为区域回复消息;The third terminal device is further used to display a second interface in response to a first operation on the first control, and display a second control and a third control in the second interface, wherein the second control is used to edit the reply content of the first satellite message, and the third control is used 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 to be a regional reply message, wherein the reply message includes the reply content; 所述第三终端设备,还用于响应于在所述第二界面上的第三操作,发送所述回复消息到所述服务器;The third terminal device is further configured 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 by the third terminal device, and obtain the first reply message that meets the first condition from the reply message set as the area reply message. 根据权利要求1或2所述的系统,其特征在于,所述第一响应报文还包括数量指示信息,所述数量指示信息用于指示剩余待接收的满足第一条件的回复消息的数量;以及,在所述第一终端设备显示所述数量指示信息。The system according to claim 1 or 2 is characterized in that the first response message also includes quantity indication information, and the quantity indication information is used to indicate the number of reply messages remaining to be received that meet the first condition; and the quantity indication information is displayed on the first terminal device. 根据权利要求1-3任一项所述的系统,其特征在于,所述第一响应报文还包括所述第二位置的信息,所述第一终端设备,还用于显示所述第一响应报文中的所述第二位置的信息。The system according to any one of claims 1-3 is characterized in that the first response message also includes information about the second location, and the first terminal device is further used to display the information about the second location in the first response message. 根据权利要求1-4任一项所述的系统,其特征在于,所述第一条件还包括:所述第一回复消息在所述服务器上存储的时长小于等于预设时长。The system according to any one of claims 1-4 is characterized in that the first condition also includes: the storage time of the first reply message on the server is less than or equal to a preset time. 根据权利要求1-5任一项所述的系统,其特征在于,所述第一请求报文包括所述第一终端设备对应的第一用户标识,所述第一条件还包括:所述第一用户标识属于第一用户标识列表。 The system according to any one of claims 1-5 is characterized in that the first request message includes a first user identifier corresponding to the first terminal device, and the first condition also includes: the first user identifier belongs to a first user identifier list. 根据权利要求6所述的系统,其特征在于,所述第一用户标识列表中任意用户标识为所述第二终端设备在发送所述第一回复消息时指定的用户标识。The system according to claim 6 is characterized in that 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. 根据权利要求6所述的系统,其特征在于,所述第二卫星消息包括所述第二终端设备对应的第二用户标识,所述第一用户标识列表中任意用户标识对应的用户与所述第二用户标识对应的用户存在好友关系。The system according to claim 6 is characterized in that the second satellite message includes a second user identifier corresponding to the second terminal device, and a user corresponding to any user identifier in the first user identifier list has a friend relationship with a user corresponding to the second user identifier. 根据权利要求1-8任一项所述的系统,其特征在于,所述第一回复消息包括所述第一卫星消息,所述第一终端设备关联显示所述第一卫星消息。The system according to any one of claims 1 to 8, characterized in that the first reply message includes the first satellite message, and the first terminal device displays the first satellite message in association. 一种通信方法,所述方法应用于第一终端设备,其特征在于,所述方法包括:A communication method, the method being applied to a first terminal device, characterized in that the method comprises: 向卫星发送第一请求报文,所述第一请求报文包括所述第一终端设备发送所述第一请求报文时的第一位置的信息,其中,所述第一终端设备处于无网络连接状态;Sending a first request message to a satellite, wherein the first request message includes information of a first position of the first terminal device when the first request message is sent, wherein the first terminal device is in a state of no network connection; 通过卫星接收第一响应报文,所述第一响应报文中包含服务器根据所述第一请求报文中的所述第一位置的信息获取满足第一条件的第一回复消息,所述第一条件包括:所述第一位置与第二位置之间的距离小于或等于第一距离,所述第二位置为发送第一卫星消息的第二终端设备的位置,所述第一回复消息为所述第一卫星消息的回复消息;receiving a first response message through a satellite, wherein the first response message includes a first reply message satisfying a first condition obtained by the server according to information of the first position in the first request message, wherein the first condition includes: a distance between the first position and a second position is less than or equal to a first distance, the second position is a position of a second terminal device that sends the first satellite message, and the first reply message is a reply message of the first satellite message; 显示所述第一响应报文中的所述第一回复消息。Display the first reply message in the first response message. 根据权利要求10所述的方法,所述第一响应报文还包括数量指示信息,其特征在于,所述方法包括:According to the method of claim 10, the first response message also includes quantity indication information, characterized in that the method comprises: 显示所述数量指示信息,所述数量指示信息用于指示剩余待接收的满足第一条件的回复消息的数量。The quantity indication information is displayed, where the quantity indication information is used to indicate the number of reply messages remaining to be received that meet the first condition. 根据权利要求10或11所述的方法,其特征在于,所述第一响应报文还包括所述第二位置的信息,所述方法包括: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 comprises: 显示所述第一响应报文中的所述第二位置的信息。Display information about the second position in the first response message. 根据权利要求10-12任一项所述的方法,其特征在于,所述第一条件还包括:所述第一回复消息在所述服务器上存储的时长小于等于预设时长。The method according to any one of claims 10-12 is characterized in that the first condition also includes: the storage time of the first reply message on the server is less than or equal to a preset time. 根据权利要求10-13任一项所述的方法,其特征在于,所述第一请求报文包括所述第一终端设备对应的第一用户标识,所述第一条件还包括:所述第一用户标识属于第一用户标识列表。The method according to any one of claims 10-13 is characterized in that the first request message includes a first user identifier corresponding to the first terminal device, and the first condition also includes: the first user identifier belongs to a first user identifier list. 根据权利要求14所述的方法,其特征在于,所述第一用户标识列表中任意用户标识为所述第二终端设备在发送所述第一回复消息时指定的用户标识。The method according to claim 14 is characterized in that 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. 根据权利要求14所述的方法,其特征在于,所述第二卫星消息包括所述第二终端设备对应的第二用户标识,所述第一用户标识列表中任意用户标识对应的用户与所述第二用户标识对应的用户存在好友关系。The method according to claim 14 is characterized in that the second satellite message includes a second user identifier corresponding to the second terminal device, and a user corresponding to any user identifier in the first user identifier list has a friend relationship with a user corresponding to the second user identifier. 根据权利要求10-16任一项所述的方法,其特征在于,所述第一回复消息包括所述第一卫星消息,所述方法包括:The method according to any one of claims 10 to 16, wherein the first reply message includes the first satellite message, and the method comprises: 关联显示所述第一卫星消息。The first satellite message is displayed in association. 一种通信方法,所述方法应用于服务器,其特征在于,所述方法包括:A communication method, the method is applied to a server, characterized in that the method comprises: 通过卫星接收来自第一终端设备的第一请求报文,所述第一请求报文包括所述第一终端设备发送所述第一请求报文时的第一位置的信息;receiving a first request message from a first terminal device via a satellite, wherein the first request message includes information of a first location of the first terminal device when the first request message is sent; 根据所述第一请求报文中的所述第一位置的信息获取满足第一条件的第一回复 消息,所述第一条件包括:所述第一位置与第二位置之间的距离小于或等于第一距离,所述第二位置为发送第一卫星消息的第二终端设备的位置,所述第一回复消息为所述第一卫星消息的回复消息;Acquire a first reply satisfying a first condition according to the information of the first position in the first request message message, the first condition includes: a distance between the first position and the second position is less than or equal to a first distance, the second position is a position of a second terminal device that sends the first satellite message, and the first reply message is a reply message of the first satellite message; 发送第一响应报文,所述第一响应报文包括所述第一回复消息。A first response message is sent, where the first response message includes the first reply message. 根据权利要求18所述的方法,其特征在于,所述方法包括:The method according to claim 18, characterized in that the method comprises: 接收来自第三终端设备发送的回复消息并存储,并在设置为区域回复消息的回复消息中获取满足所述第一条件的所述第一回复消息,所述回复消息包含回复消息且为所述第三终端设备设置的区域回复消息。Receive and store a reply message sent from a third terminal device, and obtain the first reply message that meets the first condition in a reply message set as a regional reply message, wherein the reply message contains a reply message and is a regional reply message set for the third terminal device. 一种通信方法,所述方法应用于第三终端设备,其特征在于,所述方法包括:A communication method, the method being applied to a third terminal device, characterized in that the method comprises: 显示第一界面,在所述第一界面中显示来自第二终端设备发送的第一卫星消息和第一控件,所述第一控件用于触发对所述第一卫星消息进行回复;Displaying a first interface, in which a first satellite message and a first control sent from a second terminal device are displayed, wherein the first control is used to trigger a reply to the first satellite message; 响应于对所述第一控件的第一操作,显示第二界面,在所述第二界面中显示第二控件和第三控件,所述第二控件用于编辑所述第一卫星消息的回复内容,所述第三控件用于设置包含所述回复内容的回复消息为区域回复消息;In response to a first operation on the first control, a second interface is displayed, in which a second control and a third control are displayed, the second control is used to edit the reply content of the first satellite message, and the third control is used to set the reply message containing the reply content as a regional reply message; 响应于对所述第三控件的第二操作,设置所述回复消息为区域回复消息,所述回复消息包括所述回复内容;In response to a second operation on the third control, setting the reply message as a regional reply message, the reply message including the reply content; 响应于在所述第二界面上的第三操作,发送所述回复消息到所述服务器。In response to a third operation on the second interface, sending the reply message to the server. 一种终端设备,其特征在于,包括至少一个处理器,所述至少一个处理器与至少一个存储器耦合,所述至少一个处理器用于读取所述至少一个存储器所存储的计算机程序,以执行如权利要求10至17中任一项所述的方法。A terminal device, characterized in that it comprises at least one processor, wherein the at least one processor is coupled to at least one memory, and the at least one processor is used to read a computer program stored in the at least one memory to execute the method as described in any one of claims 10 to 17. 一种终端设备,其特征在于,包括至少一个处理器,所述至少一个处理器与至少一个存储器耦合,所述至少一个处理器用于读取所述至少一个存储器所存储的计算机程序,以执行如权利要求20中所述的方法。A terminal device, characterized in that it includes at least one processor, the at least one processor is coupled to at least one memory, and the at least one processor is used to read the computer program stored in the at least one memory to execute the method as described in claim 20. 一种服务器,其特征在于,包括至少一个处理器,所述至少一个处理器与至少一个存储器耦合,所述至少一个处理器用于读取所述至少一个存储器所存储的计算机程序,以执行如权利要求18至19中任一项所述的方法。A server, characterized in that it comprises at least one processor, wherein the at least one processor is coupled to at least one memory, and the at least one processor is used to read a computer program stored in the at least one memory to execute the method as described in any one of claims 18 to 19. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行如权利要求10至17中任一项所述的方法。A computer-readable storage medium, characterized in that instructions are stored in the computer-readable storage medium, and when the computer-readable storage medium is run on a computer, the computer is caused to execute the method as claimed in any one of claims 10 to 17. 一种包含指令的计算机程序产品,其特征在于,当所述计算机程序产品在计算机上运行时,使得所述计算机执行如权利要求10至17中任一项所述的方法。A computer program product comprising instructions, characterized in that when the computer program product is run on a computer, the computer is caused to execute the method according to any one of claims 10 to 17. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行如权利要求20中所述的方法。A computer-readable storage medium, characterized in that the computer-readable storage medium stores instructions, which, when executed on a computer, enable the computer to execute the method as claimed in claim 20. 一种包含指令的计算机程序产品,其特征在于,当所述计算机程序产品在计算机上运行时,使得所述计算机执行如权利要求20中所述的方法。 A computer program product comprising instructions, characterized in that when the computer program product is run on a computer, the computer is caused to execute the method as claimed in claim 20.
PCT/CN2024/095880 2023-07-07 2024-05-29 Communication system and method, and terminal device Pending WO2025011217A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202310833213.1 2023-07-07
CN202310833213.1A CN119276331A (en) 2023-07-07 2023-07-07 A communication system, method and terminal device

Publications (1)

Publication Number Publication Date
WO2025011217A1 true WO2025011217A1 (en) 2025-01-16

Family

ID=94116613

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2024/095880 Pending WO2025011217A1 (en) 2023-07-07 2024-05-29 Communication system and method, and terminal device

Country Status (2)

Country Link
CN (1) CN119276331A (en)
WO (1) WO2025011217A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20000013462A (en) * 1998-08-08 2000-03-06 윤종용 Emergency saving service system and method using satellite communication
CN107517447A (en) * 2017-10-10 2017-12-26 深圳市安择救援科技有限公司 A kind of emergency relief resource scheduling system
CN114465975A (en) * 2020-10-22 2022-05-10 华为技术有限公司 Content pushing method and device, storage medium and chip system
CN116170789A (en) * 2023-02-07 2023-05-26 湖北星纪时代科技有限公司 Information processing method, terminal, communication device, and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6166260B2 (en) * 2011-08-03 2017-07-19 ポルテ・コーポレイションPoLTE Corporation Multipath mitigation in object ranging and tracking using RF techniques with reduced attenuation
CN115706601B (en) * 2021-08-06 2024-09-17 华为技术有限公司 A transmission control method and related device in a satellite communication system
CN115662061B (en) * 2022-12-12 2023-03-10 深圳位置网科技有限公司 Alarming method, device and storage medium based on Beidou short message communication

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20000013462A (en) * 1998-08-08 2000-03-06 윤종용 Emergency saving service system and method using satellite communication
CN107517447A (en) * 2017-10-10 2017-12-26 深圳市安择救援科技有限公司 A kind of emergency relief resource scheduling system
CN114465975A (en) * 2020-10-22 2022-05-10 华为技术有限公司 Content pushing method and device, storage medium and chip system
CN116170789A (en) * 2023-02-07 2023-05-26 湖北星纪时代科技有限公司 Information processing method, terminal, communication device, and storage medium

Also Published As

Publication number Publication date
CN119276331A (en) 2025-01-07

Similar Documents

Publication Publication Date Title
US20220147228A1 (en) Display Method and Related Apparatus
US11683850B2 (en) Bluetooth reconnection method and related apparatus
JP7537828B2 (en) Device identification method and related apparatus
WO2021129688A1 (en) Display method and related product
WO2022257977A1 (en) Screen projection method for electronic device, and electronic device
WO2020216156A1 (en) Screen projection method and computing device
US12174795B2 (en) File management method, electronic device, and computer-readable storage medium
CN114449090B (en) Data sharing method, device, system and electronic equipment, storage medium, chip
CN103533248A (en) Image processing method, terminal and system
CN113689171B (en) A method and apparatus for integrating family schedules
CN114079691B (en) A device identification method and related device
CN112351411B (en) Information transmission method and electronic device
CN114040242A (en) Screen projection method and electronic equipment
WO2020133006A1 (en) Communication method based on bluetooth low energy, and related apparatus
US20240370218A1 (en) Screen sharing method and related device
US20240303024A1 (en) Display method, electronic device, and system
JP2023519614A (en) Device localization method and related apparatus
CN115460445A (en) Screen projection method of electronic equipment and electronic equipment
CN115016697A (en) Screen projection method, computer device, readable storage medium, and program product
KR102151705B1 (en) Method for obtaining image and an electronic device thereof
WO2024260222A1 (en) Communication system, method, and terminal device
WO2024260028A1 (en) Method for displaying floating window, and electronic device
EP4345590A1 (en) Task synchronization system and method, and device
WO2025011217A1 (en) Communication system and method, and terminal device
WO2024021691A9 (en) Display method and electronic device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 24838475

Country of ref document: EP

Kind code of ref document: A1