Message sending method and electronic equipment

By shutting down unnecessary service modules and battery heating, the problem that small batteries and low-power devices could not meet the power supply voltage threshold for satellite communication was solved, thus achieving high-success-rate satellite communication.

CN121547091APending Publication Date: 2026-02-17HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511418386.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-02-28
Publication Date
2026-02-17

AI Technical Summary

Technical Problem

Small batteries and low-power devices, such as wearable devices, cannot meet the power supply voltage threshold requirements for satellite communications, leading to problems with satellite communications that cannot be achieved or have a low success rate.

Method used

By shutting down unnecessary service modules before sending satellite messages to reduce power and voltage consumption, and restoring service modules after successful transmission, combined with battery heating to maintain an appropriate temperature, the power supply voltage is ensured to meet requirements.

Benefits of technology

It improves the success rate of satellite communication for small batteries and low-power devices, and ensures normal communication in low-temperature environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121547091A_ABST
    Figure CN121547091A_ABST
Patent Text Reader

Abstract

The invention provides a message sending method and electronic equipment, and the method is applied to first electronic equipment, and comprises the steps: responding to a received first operation, and closing at least one service module in a running state in the first electronic equipment; wherein the first operation is used for indicating to send a satellite message; and sending the first message. The scheme provided by the invention can be used for realizing a satellite communication function and improving the success rate of satellite communication.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is a divisional application. The original application has the application number 202310233786.0 and the original application date is February 28, 2023. The entire contents of the original application are incorporated herein by reference. Technical Field

[0002] This application relates to the field of satellite communication technology, and in particular to a message transmission method and electronic device. Background Technology

[0003] Satellite communication is a technology that enables communication directly via satellite without relying on terrestrial communication networks. Based on satellite communication technology, communication devices can communicate with each other using satellites as relays. Compared to terrestrial communication, satellite communication has unique advantages, such as providing wider coverage and offering communication services to areas not covered by terrestrial networks; satellite base stations are less susceptible to natural disasters or external damage, exhibiting greater stability.

[0004] Currently, some electronic devices (such as mobile phones) have implemented satellite communication capabilities, allowing users to communicate outdoors in areas without terrestrial network coverage. However, some devices with smaller batteries and lower power consumption (such as wearable devices) cannot achieve satellite communication or have a very low success rate. How to implement reliable satellite communication on these devices remains a problem to be solved. Summary of the Invention

[0005] This application provides a message transmission method and electronic device for realizing satellite communication functions and improving the success rate of satellite communication.

[0006] In a first aspect, this application provides a message transmission method applied to a first electronic device. The method includes: responding to a received first operation, shutting down at least one service module in the first electronic device that is currently in operation; wherein the first operation is used to instruct the transmission of a satellite message; and transmitting a first message. The first message is a satellite message. Transmitting the first message may involve sending the first message to a satellite.

[0007] In this method, before sending a message to the satellite, the first electronic device shuts down at least one operating service module. This reduces the power and voltage consumption of other service modules, keeping the power supply voltage as high as possible to meet the voltage requirements for satellite message transmission and thus improving the success rate of satellite message transmission. Simultaneously, this method reduces interference from other services on satellite communication, further improving the success rate of satellite message transmission. This method can be applied to electronic devices with small battery size and low power consumption, solving the problem of these devices being unable to send satellite messages due to insufficient power supply voltage thresholds. In other words, it enables satellite message transmission using small-sized, low-power electronic devices while maintaining a high success rate.

[0008] In one possible design, the method further includes: restarting the at least one service module when a second message is received from the satellite; wherein the second message is used to confirm receipt of the first message.

[0009] In this method, by promptly restoring previously closed service modules when the satellite message is successfully transmitted, the previously closed services can be restored in a timely manner, ensuring the successful completion of satellite communication services while minimizing the impact on other services.

[0010] In one possible design, before shutting down at least one service module in the first electronic device that is in operation, the method further includes: determining that the power supply voltage of the first electronic device is less than or equal to a set first voltage and / or the battery charge of the first electronic device is less than or equal to a set first charge.

[0011] In this method, the first electronic device can perform the operation of shutting down the running business module when necessary, based on the actual scenario, which has high practicality and processing efficiency.

[0012] In one possible design, shutting down at least one service module in the first electronic device that is in operation includes: performing the operation of shutting down the service module in the first electronic device until the first electronic device meets the following conditions: the power supply voltage is greater than or equal to a set second voltage, and / or the battery charge is greater than or equal to a set second charge; wherein the second voltage is greater than the first voltage, and the second charge is greater than the first charge.

[0013] In this method, when the power supply voltage is greater than or equal to a set second voltage, and / or the battery charge is greater than or equal to a set second charge, the first electronic device can basically guarantee the successful transmission of satellite messages. At this time, the operation of shutting down other service modules is stopped, which can minimize the impact on other service modules while ensuring the successful transmission of satellite messages, thereby improving the overall processing efficiency of the first electronic device.

[0014] In one possible design, shutting down the service module in the first electronic device is performed by instructing the service module to stop receiving, processing, and outputting data, or by powering down the service module.

[0015] In this method, instructing the service module to stop receiving, processing, and outputting data, and powering down the service module, can both stop the service module from operating, thereby reducing the consumption of battery power and power supply voltage by the service module.

[0016] In one possible design, when the service module in the first electronic device is in operation for at least one of music playback service, location service, and transmission service, the operation of shutting down the service module in operation in the first electronic device is to instruct the service module to stop receiving, processing, and outputting data.

[0017] In one possible design, when the running service module in the first electronic device is at least one of a buzzer, audio receiver, audio player, motor, communication device, locator, and sensor, the operation of shutting down the running service module in the first electronic device is to power down the service module. In this way, the first electronic device can shut down the software service module.

[0018] In one possible design, before sending the first message to the satellite, the method further includes: in response to the first operation, heating the battery of the first electronic device when it is determined that the battery temperature of the first electronic device is below a set temperature. In this manner, the first electronic device can shut down its hardware service modules.

[0019] In this method, the first electronic device heats the battery to ensure its temperature remains within a relatively high range, thereby reducing or preventing the impact of excessively low battery temperature on message transmission. Therefore, this approach improves the success rate of satellite message transmission. Furthermore, the first electronic device can perform battery heating as needed before transmitting messages, based on the actual scenario, thus demonstrating high practicality and processing efficiency.

[0020] In one possible design, heating the battery of the first electronic device includes: heating the battery of the first electronic device for a set duration; or, heating the battery of the first electronic device until the battery temperature of the first electronic device is greater than or equal to the set temperature.

[0021] This method can prevent the battery from overheating, thereby ensuring the normal use of the battery and the normal operation of satellite communication services.

[0022] In one possible design, the first message includes a first user account, a second user account, and first content; wherein the first user account is the user account logged into the first electronic device; and the second user account includes a user account stored in the first electronic device for use as a receiving end.

[0023] In this method, the first electronic device can send out the content to be sent, i.e., the first content, through the first message, and can also indicate the sending end information and the receiving end information, so as to realize satellite communication between the sending end and the receiving end.

[0024] In one possible design, the second user account includes: a set default user account, or at least one target user account indicated by a received second operation; the first content includes: set default content, or target content indicated by a received third operation.

[0025] In this method, the first electronic device can determine the default message receiver itself or based on user operation. The first electronic device can also determine the default message content itself or based on user operation. This method offers high flexibility and helps improve the practicality of the solution.

[0026] In one possible design, the second operation is used to select the at least one target user account from at least one user account; the third operation is used to select the target content from at least one content; before shutting down at least one service module in the running state in response to the received first operation, the method further includes: receiving configuration information from a second electronic device, the configuration information including the at least one user account and the at least one content; and saving the configuration information.

[0027] In this method, the first electronic device can obtain and save candidate sender information and candidate message content from other electronic devices, thus enabling users to select senders and message content from the first electronic device side, resulting in high processing efficiency.

[0028] In one possible design, the first electronic device is a wearable device.

[0029] The method provided in this application can be applied to wearable devices, which can solve the problem that wearable devices cannot send satellite messages due to their small battery size and power, and achieve the effect of sending satellite messages while ensuring a high success rate.

[0030] In a second aspect, this application provides an electronic device including a memory and one or more processors; wherein the memory is used to store computer program code, the computer program code including computer instructions; when the computer instructions are executed by one or more processors, the electronic device causes the electronic device to perform the methods described in the first aspect or any possible design of the first aspect.

[0031] Thirdly, this application provides a computer-readable storage medium storing a computer program that, when run on a computer, causes the computer to perform the methods described in the first aspect or any possible design of the first aspect.

[0032] Fourthly, this application provides a computer program product comprising a computer program or instructions that, when executed on a computer, cause the computer to perform the methods described in the first aspect or any possible design of the first aspect.

[0033] Fifthly, this application provides a chip system including a processor and a memory, wherein the memory stores instructions; when the instructions are executed by the processor, they implement the methods described in the first aspect or any possible design of the first aspect. The chip system may be composed of chips or may include chips and other discrete devices.

[0034] For the beneficial effects described in the second to fifth aspects above, please refer to the description of the beneficial effects in the first aspect above, which will not be repeated here. Attached Figure Description

[0035] Figure 1 A schematic diagram of the hardware architecture of an electronic device provided in an embodiment of this application;

[0036] Figure 2 A schematic diagram of the software architecture of an electronic device provided in an embodiment of this application;

[0037] Figure 3 This application provides a schematic diagram of the architecture of a communication system.

[0038] Figure 4 A schematic diagram illustrating a message transmission method provided in an embodiment of this application;

[0039] Figure 5A schematic diagram of a control interface provided in an embodiment of this application;

[0040] Figure 6 A schematic diagram of a control interface provided in an embodiment of this application;

[0041] Figure 7 A schematic diagram of a control interface provided in an embodiment of this application;

[0042] Figure 8 A schematic diagram illustrating a communication system and message sending method provided in an embodiment of this application;

[0043] Figure 9 A schematic diagram illustrating a message transmission method provided in an embodiment of this application;

[0044] Figure 10 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0045] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the embodiments of this application will be further described in detail below with reference to the accompanying drawings. In the description of the embodiments of this application, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Therefore, a feature defined with "first" and "second" may explicitly or implicitly include one or more of that feature.

[0046] For ease of understanding, exemplary descriptions of concepts related to this application are provided for reference.

[0047] The electronic device can be a device with wireless connectivity. In some embodiments of this application, the electronic device also has a display function. In some embodiments of this application, the electronic device can be a portable device, such as a mobile phone, tablet computer, wearable device with wireless communication function (e.g., watch, bracelet, helmet, earphone, etc.), vehicle terminal device, augmented reality (AR) / virtual reality (VR) device, laptop computer, ultra-mobile personal computer (UMPC), netbook, personal digital assistant (PDA), smart home device (e.g., smart TV, smart speaker, etc.), smart robot, workshop equipment, wireless terminal in self-driving, wireless terminal in remote medical surgery, wireless terminal in smart grid, wireless terminal in transportation safety, wireless terminal in smart city, or wireless terminal in smart home, flying equipment (e.g., smart robot, hot air balloon, drone, airplane), etc.

[0048] Wearable devices are portable devices that users can wear directly on their bodies or integrate into their clothing or accessories. Optionally, the wearable devices in this application embodiment can be portable devices with wireless communication and display functions.

[0049] In some embodiments of this application, the electronic device may also be a portable terminal device that includes other functions such as a personal digital assistant and / or a music player. Exemplary embodiments of the portable terminal device include, but are not limited to, devices equipped with... Alternatively, it could be a portable terminal device with another operating system. The aforementioned portable terminal device could also be other portable terminal devices, such as a laptop computer with a touch-sensitive surface (e.g., a touch panel). It should also be understood that in some other embodiments of this application, the aforementioned electronic device may not be a portable terminal device, but rather a desktop computer with a touch-sensitive surface (e.g., a touch panel).

[0050] It should be understood that in the embodiments of this application, "at least one" means one or more, and "more than one" means two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can represent: a, b, c, a and b, a and c, b and c, or a, b, and c, where a, b, and c can be single or multiple.

[0051] In satellite communication, the transmission of satellite messages requires the power supply voltage to be maintained above a certain threshold range. Currently, some electronic devices, due to their small battery size and power consumption, cannot meet the power supply voltage threshold requirements for satellite message transmission. Therefore, these electronic devices cannot yet achieve satellite communication functions or have a very low success rate in satellite communication.

[0052] For example, current wearable devices, due to their small battery size, low power consumption, and the need to power multiple devices and modules simultaneously, cannot meet the voltage threshold requirements for satellite message transmission. Furthermore, interference from various services within the device can also affect the success rate of satellite message transmission. In low-temperature outdoor environments, the low battery temperature can also prevent successful satellite message transmission. Therefore, current wearable devices cannot yet support satellite message transmission.

[0053] To address the issue that some electronic devices cannot perform satellite communication functions or have a very low success rate in satellite communication, this application provides a message sending method and an electronic device. This solution can be used to achieve satellite communication functions while improving the success rate of satellite communication.

[0054] Optionally, the solution provided in this application embodiment can be applied to wearable devices. When the solution provided in this application embodiment is applied to wearable devices, it can achieve the effect of the wearable device sending satellite messages and ensure a high success rate of transmission.

[0055] See below. Figure 1 The structure of the electronic device to which the method provided in the embodiments of this application is applicable will be described.

[0056] like Figure 1As shown, the electronic device 100 may include a processor 110, a memory 120, a display screen 130, a charging management module 140, a power management module 141, a battery 142, antenna 1, antenna 2, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a sensor module 180, buttons 190, a motor 191, etc. Optionally, the electronic device 100 may also include a mobile communication module 150, a camera 192, etc.

[0057] The sensor module 180 may include a gyroscope sensor, an accelerometer, a proximity sensor, a touch sensor, a temperature sensor, a pressure sensor, a distance sensor, a magnetic sensor, an ambient light sensor, a barometric pressure sensor, etc.

[0058] Understandable, Figure 1 The electronic device 100 shown is merely an example and does not constitute a limitation on the electronic device. The electronic device may have more or fewer components than those shown in the figure, may combine two or more components, or may have different component configurations. Figure 1 The various components shown can be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and / or application-specific integrated circuits.

[0059] Processor 110 may include one or more processing units, such as application processors (APs), modem processors, graphics processing units (GPUs), image signal processors (ISPs), controllers, memory, video codecs, digital signal processors (DSPs), baseband processors, and / or neural network processing units (NPUs). Different processing units may be independent devices or integrated into one or more processors. The controller may serve as the central nervous system and command center of the electronic device 100. The controller can generate operation control signals based on instruction opcodes and timing signals to control instruction fetching and execution.

[0060] The processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. This memory can store instructions or data that the processor 110 has just used or that are used repeatedly. If the processor 110 needs to use the instruction or data again, it can retrieve it directly from the memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0061] The execution of the message sending method provided in this application embodiment can be controlled by the processor 110 or by calling other components, such as calling the processing program of this application embodiment stored in the memory 120 to control the wireless communication module 160 to perform data communication with other devices, thereby improving the intelligence and convenience of the electronic device 100 and enhancing the user experience. The processor 110 may include different devices. For example, when integrating a CPU and a GPU, the CPU and GPU can cooperate to execute the message sending method provided in this application embodiment. For example, some algorithms in the message sending method can be executed by the CPU, and other algorithms can be executed by the GPU to achieve faster processing efficiency.

[0062] Display screen 130 is used to display images, videos, etc. Display screen 130 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 (AMOLED), a flexible light-emitting diode (FLED), a miniature LED, a microLED, a quantum dot light-emitting diode (QLED), etc. In some embodiments, electronic device 100 may include one or N displays 130, where N is a positive integer greater than 1. Display screen 130 can be used to display information input by the user or information provided to the user, as well as various graphical user interfaces (GUIs). For example, display screen 130 can display photographs, etc.

[0063] In some embodiments, the display screen 130 may be a single flexible display screen, or it may be a splicing display screen composed of two rigid screens and a flexible screen located between the two rigid screens.

[0064] Camera 192 (either a front-facing camera or a rear-facing camera, or a single camera that can function as both) is used to capture still images or videos. Typically, camera 192 may include light-sensing elements such as a lens assembly and an image sensor. The lens assembly includes multiple lenses (convex or concave lenses) for collecting light signals reflected from the object being photographed and transmitting these signals to the image sensor. The image sensor then generates a raw image of the object being photographed based on the light signals.

[0065] The memory 120 can be used to store computer executable program code, which includes instructions. The processor 110 executes various functional applications and data processing of the electronic device 100 by running the instructions stored in the memory 120. The memory 120 may include a program storage area and a data storage area. The program storage area can store the operating system, application program code (such as message sending functions), etc. The data storage area can store data created during the use of the electronic device 100.

[0066] The memory 120 may also store one or more computer programs corresponding to the message transmission algorithm provided in the embodiments of this application. The one or more computer programs are stored in the memory 120 and configured to be executed by one or more processors 110. The one or more computer programs include instructions that can be used to perform the various steps in the following embodiments.

[0067] In addition, the memory 120 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, universal flash storage (UFS), etc.

[0068] In some embodiments of this application, a touch sensor, also referred to as a "touch panel," is used. The touch sensor can be disposed on the display screen 130, and the touch sensor and the display screen 130 together form a touch display screen, also referred to as a "touch screen." The touch sensor is used to detect touch operations applied to or near it. The touch sensor can transmit the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 130. In other embodiments, the touch sensor may also be disposed on the surface of the electronic device 100, in a different location than the display screen 130.

[0069] For example, the display screen 130 of the electronic device 100 can display a main interface, which includes icons for multiple applications (such as satellite communication applications). When a user taps the icon of a satellite communication application on the main interface using a touch sensor, the processor 110 is triggered to launch the satellite communication application and display the corresponding user interface. The user can then operate the display screen to control satellite communication-related functions.

[0070] The wireless communication function of electronic device 100 can be implemented through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor, and baseband processor.

[0071] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover one or more communication frequency bands. Different antennas can also be multiplexed to improve antenna utilization. For example, antenna 1 can be multiplexed as a diversity antenna for a wireless local area network. In some other embodiments, the antennas can be used in conjunction with tuning switches.

[0072] The mobile communication module 150 can provide solutions for wireless communication, including 2G / 3G / 4G / 5G, applied to the electronic device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves via antenna 1, and perform filtering, amplification, and other processing on the received electromagnetic waves before transmitting them to a modem processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modem processor and convert it into electromagnetic waves for radiation via antenna 1. In some embodiments, at least some functional modules of the mobile communication module 150 may be housed in the processor 110. In some embodiments, at least some functional modules of the mobile communication module 150 and at least some modules of the processor 110 may be housed in the same device. In this embodiment, the mobile communication module 150 can also be used for information interaction with other devices.

[0073] The modem processor may include a modulator and a demodulator. The modulator modulates the low-frequency baseband signal to be transmitted into a mid-to-high frequency signal. The demodulator demodulates the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After processing by the baseband processor, the low-frequency baseband signal is transmitted to the application processor. The application processor outputs sound signals through an audio device (not limited to speaker 170A, receiver 170B, etc.) or displays images or videos through the display screen 130. In some embodiments, the modem processor may be a separate device. In other embodiments, the modem processor may be independent of the processor 110 and may be housed in the same device as the mobile communication module 150 or other functional modules.

[0074] The wireless communication module 160 can provide solutions for wireless communication applications on the electronic device 100, including wireless local area networks (WLANs) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared (IR) technologies. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via antenna 2, performs frequency modulation and filtering of the electromagnetic wave signals, and sends the processed signal to processor 110. The wireless communication module 160 can also receive signals to be transmitted from processor 110, perform frequency modulation and amplification, and convert them into electromagnetic waves for radiation via antenna 2. In this embodiment, the wireless communication module 160 is used to establish connections with other electronic devices for data interaction. Alternatively, the wireless communication module 160 can be used to access access point devices, send control commands to other electronic devices, or receive data from other electronic devices.

[0075] In addition, the electronic device 100 can implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, and an application processor, such as music playback and recording. The electronic device 100 can receive key input 190, generating key signal inputs related to user settings and function control. The electronic device 100 can use a motor 191 to generate vibration alerts (such as vibration alerts for incoming calls).

[0076] It should be understood that, in practical applications, electronic device 100 may include more than Figure 1 The number of more or fewer components shown is not limited in the embodiments of this application. The illustrated electronic device 100 is merely an example, and the electronic device 100 may have more or fewer components than shown in the figure, may combine two or more components, or may have different component configurations. The various components shown in the figure may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and / or application-specific integrated circuits.

[0077] The software system of electronic device 100 can adopt a layered architecture, event-driven architecture, microkernel architecture, microservice architecture, or cloud architecture. A layered architecture divides the software into several layers, each with a clear role and function. Layers communicate with each other through software interfaces. For example, ... Figure 2 As shown, the software architecture can be divided into four layers, from top to bottom: the application layer, the application framework layer (Framework, FWK), the runtime and system libraries, and the (Linux) kernel layer.

[0078] The application layer is the top layer of the operating system and includes native operating system applications such as weather, calendar, music, telephone, address book, and satellite communication applications, as well as third-party applications. The applications discussed in this application embodiment are referred to as applications (APPs), which are software programs capable of performing one or more specific functions. Typically, multiple applications can be installed on an electronic device, such as a camera application. The applications mentioned below can be system applications pre-installed at the factory or third-party applications downloaded by the user from the network or obtained from other electronic devices during the use of the electronic device.

[0079] Of course, for developers, they can write applications and install them into this layer. In one possible implementation, the application can be developed using the Java language, by calling the application programming interface (API) provided by the application framework layer. Developers can then interact with the underlying operating system (such as the kernel layer) through the application framework to develop their own applications.

[0080] The application framework layer provides the API and programming framework for the application layer. It can include predefined functions. For example, the application framework layer may include a window manager, content provider, view system, phone manager, resource manager, notification manager, etc.

[0081] The window manager is used to manage window programs. The window manager can obtain the screen size, determine if a status bar is present, lock the screen (or display), and capture the screen, among other things.

[0082] Content providers are used to store and retrieve data, making that data accessible to applications. This data may include files (e.g., documents, videos, images, audio), text, and other information.

[0083] A view system includes visual controls, such as controls that display text, images, documents, and other content. View systems can be used to build applications. An interface in a display window can consist of one or more views. For example, a display interface including a text message notification icon could include a view that displays text and a view that displays images.

[0084] The phone manager provides communication functionality for electronic devices. The notification manager allows applications to display notification information in the status bar; it can be used to convey informative messages and can disappear automatically after a short pause without user interaction.

[0085] In some embodiments of this application, the application framework layer may include a satellite communication control service and a broadcast service. The satellite communication control service can be used to manage functional units, services, or devices within an electronic device to achieve satellite communication functionality. The satellite communication control service can also be used to communicate with other electronic devices through communication services within the electronic device; for example, it can obtain communication content and communication receiver information from other electronic devices during satellite communication. The broadcast service can be used to broadcast control information from the satellite communication control service to applications in the application layer, enabling applications in the application layer to perform corresponding operations based on the control information, thereby cooperating to achieve satellite communication functionality.

[0086] The runtime includes the core libraries and the virtual machine. The runtime is responsible for system scheduling and management.

[0087] The system's core library consists of two parts: one part contains the functionalities that the Java language needs to call, and the other part is the system's core library. The application layer and application framework layer run in a virtual machine. Taking Java as an example, the virtual machine executes the Java files in the application layer and application framework layer as binary files. The virtual machine is used to perform functions such as object lifecycle management, stack management, thread management, security and exception management, and garbage collection.

[0088] The system library can include multiple functional modules, such as a surface manager, media library, graphics processing library, and graphics processing engine. The surface manager manages the display subsystem and provides fusion of 2D and 3D layers for multiple applications. The media library supports playback and recording of various common audio and video formats, as well as still image files. It supports multiple audio and video encoding formats, such as MPEG4, H.564, MP3, AAC, AMR, JPG, and PNG. The graphics processing library implements graphics drawing, image rendering, compositing, and layer processing. The graphics processing engine is the drawing engine used for drawing.

[0089] The kernel layer provides core system services for the operating system, such as security, memory management, process management, network protocol stack, and driver models, all of which are implemented based on the kernel layer. The kernel layer also serves as an abstraction layer between the hardware and software stacks. This layer contains many drivers related to electronic devices, the main ones being: display drivers, audio drivers, Bluetooth drivers, and WiFi drivers.

[0090] In some embodiments of this application, the kernel layer may include satellite communication services, storage services, battery services, and other service modules. The satellite communication service can be used to communicate with satellites. The storage service can be used to store data. The battery service can be used to manage the battery of the electronic device. Other service modules may include service modules corresponding to services in the first electronic device other than satellite communication. Optionally, these service modules may be drivers with corresponding functions in the kernel layer or may be controlled by corresponding drivers.

[0091] It is important to understand that the functional services described above are just an example. In practical applications, electronic devices may be divided into more or fewer functional services based on other factors, or the functions of each service may be divided in other ways, or they may not be divided into functional services but work as a whole.

[0092] The solutions provided in the embodiments of this application will be described in detail below with reference to the accompanying drawings.

[0093] Figure 3 This is a schematic diagram of the architecture of a communication system to which the solution provided in the embodiments of this application applies. For example... Figure 3 As shown in the illustration, the communication system to which the solution provided in this application is applicable includes at least a first electronic device. The first electronic device can be used for communication based on satellite communication functionality. Specific communication methods can be found in the descriptions in the embodiments below, and will not be detailed here.

[0094] For example, the first electronic device may be a wearable device (such as a watch, bracelet, etc.).

[0095] In some embodiments of this application, such as Figure 3 As shown, the communication system may also include a satellite (the satellite described in this embodiment can also be understood as or replaced by a satellite communication system). The first electronic device can communicate with the satellite based on satellite communication functionality. In this embodiment, the satellite may be, but is not limited to, a BeiDou satellite.

[0096] In some embodiments of this application, such as Figure 3 As shown, the communication system may further include a second electronic device. The first electronic device is associated with the second electronic device, or the first electronic device and the second electronic device are associated with the same user or the same user account. The second electronic device can be used to configure the communication receiver and communication content when the first electronic device performs satellite communication, and can instruct the first electronic device on the configured information, allowing the first electronic device to perform satellite communication according to the information configured by the second electronic device. The specific implementation of this process can be referred to the description in the embodiments below, and will not be detailed here.

[0097] For example, the second electronic device can be a mobile terminal device such as a mobile phone.

[0098] In some embodiments of this application, such as Figure 3 As shown, the communication system may also include a terrestrial information processing platform, a wireless access network device (or base station, etc.), and a third electronic device. The third electronic device can serve as the receiving end for the first electronic device during satellite communication. The terrestrial information processing platform can act as an interface between the satellite and the terrestrial public network. Specifically, the satellite can send satellite messages to the wireless access network device belonging to the third electronic device via the terrestrial information processing platform, and the wireless access network device then sends the satellite messages to the third electronic device. The wireless access network device can provide mobile communication services to the third electronic device. Specifically, the wireless access network device can communicate with the terrestrial information processing center, thereby sending satellite messages from the terrestrial information processing center to the third electronic device. The first electronic device can send communication content to the third electronic device via the satellite, the terrestrial information processing center, and the wireless access network device to achieve communication with the third electronic device.

[0099] Optionally, the hardware architecture of the devices in the above communication system may, but is not limited to, the above-described... Figure 1 The structure shown can be implemented in a way that allows the software architecture of devices in a communication system to adopt, but is not limited to, the above-described structure. Figure 2 The architecture implementation is shown.

[0100] It is important to understand that the above Figure 3 The system architecture of the communication system shown is merely an example of a communication system architecture applicable to the embodiments of this application. In practical applications, the communication system architecture applicable to the embodiments of this application may include more... Figure 3 More or fewer devices or apparatuses as shown, or that can be replaced / combined / disassembled. Figure 3 The devices shown in this application embodiment are not limited to any particular type.

[0101] Figure 4 This is a schematic diagram of a message transmission method provided in an embodiment of this application, as shown below. Figure 4 As shown, the method may include:

[0102] S401: The first electronic device receives a first operation; wherein the first operation is used to instruct the target information to be sent to the target electronic device associated with the target user account.

[0103] In some embodiments of this application, the target information can be information manually entered by the user, and the target user account can be a user account manually entered by the user. Based on this approach, before receiving the first operation, the first electronic device can receive the user's input of target information and the user's input of target user account, respectively, and then determine the target information and target user account based on the user's operations.

[0104] In some embodiments of this application, before receiving the first operation, the first electronic device may acquire and save user-preconfigured receiver indication information and content indication information. The receiver indication information may include at least one user account, wherein each account corresponds to a satellite message receiver, and each user account is associated with a user. The content indication information includes at least one message content. Based on this approach, the target information may be the message content within at least one message content.

[0105] As an optional implementation, the user-preconfigured receiver indication information and content indication information can be pre-configured by the user in the first electronic device. In this method, the user can pre-configure the receiver indication information and content indication information in the first electronic device, and the first electronic device can save this information for use in subsequent processes.

[0106] As another optional implementation, the user-preconfigured receiver indication information and content indication information can be sent from the second electronic device to the first electronic device, wherein the first electronic device is associated with the second electronic device. In this method, the user can configure the receiver indication information and content indication information in the second electronic device. After configuration, the second electronic device can send this information to the first electronic device, which will then save it for use in subsequent processes.

[0107] The user can update the receiving end indication information and content indication information at any time on either the first or second electronic device. When the user updates the receiving end indication information and content indication information on the first electronic device, the first electronic device can update accordingly and synchronize the user's update to the second electronic device, which then updates accordingly. Similarly, when the user updates the receiving end indication information and content indication information on the second electronic device, the second electronic device can update accordingly and synchronize the user's update to the first electronic device, which then updates accordingly.

[0108] For example, the first electronic device can be a wearable device, and the second electronic device can be a mobile terminal device associated with the wearable device. For instance, the first electronic device can be a smartwatch, and the second electronic device can be a mobile phone linked to the smartwatch.

[0109] The user account mentioned in this application embodiment may be, but is not limited to, a cell phone number. The message content mentioned in this application embodiment may be, but is not limited to, a user-defined text message, such as a user-defined short message like "I have encountered an emergency and need rescue" or "Everything is fine, please don't worry".

[0110] In some embodiments of this application, at least one user account included in the aforementioned receiver indication information can be used as the default user account, and any one of the message contents included in the aforementioned content indication information can be used as the default message content. The first electronic device can pre-configure the default user account and default message content, or the first electronic device can determine the default user account and default message content based on user instructions or instructions from the second electronic device. Specifically, the second electronic device can determine the default user account and default message content based on user instructions and instruct the first electronic device to do so.

[0111] In one possible approach, the target information can be the default message content, and the target user account can be the default user account corresponding to the satellite message receiver. The user account corresponding to the satellite message receiver can be the user account logged into the satellite message receiver. The user can trigger the first electronic device to send the target information to the target electronic device associated with the target user account by performing an operation to trigger the transmission of a satellite message (i.e., the first operation). In this approach, the first electronic device can display the application interface of a satellite communication application before receiving the first operation. This application interface can include controls for triggering the transmission of satellite messages, and the first operation can be an operation performed by the user on these controls. In this approach, the target information is the default message content, and the target user account is the default user account corresponding to the satellite message receiver.

[0112] For example, taking a smartwatch as the first electronic device, after the user opens the satellite communication application on the first electronic device, the first electronic device can display... Figure 5 The application interface shown may include controls for triggering the transmission of satellite messages. Figure 5 The "One-Click Send" control is shown in the image. The first operation can be a user clicking the "One-Click Send" control. Upon receiving this first operation, the first electronic device can determine that the target information is the default message content, and the target user account is the user account corresponding to the default satellite message receiver. The electronic device associated with the target user account is the electronic device logged into that user account.

[0113] In another possible approach, a user can trigger a first electronic device to send target information to a target electronic device associated with a target user account by sequentially performing the operations of selecting a target user account, selecting target information, and triggering the transmission of a satellite message. The first operation can be the user-executed operation to trigger the transmission of a satellite message. In this approach, before receiving the first operation, the first electronic device can display an application interface for a satellite communication application. This application interface may include a first control for triggering the selection of a target receiver (i.e., selecting the target user account corresponding to the satellite message receiver). In response to the user's operation on the first control, the first electronic device can display a receiver selection interface, which may include at least one identifier of a user account included in the aforementioned receiver indication information. The user can select at least one identifier from the identifiers displayed on this interface, and the first electronic device can use the user account corresponding to the at least one identifier selected by the user as the target user account. When the user's operation of selecting at least one identifier in the receiver selection interface is received, the first electronic device, in response to this operation, can display a content selection interface, which may include at least one message content included in the aforementioned content indication information and a second control for triggering the transmission of a satellite message. Users can select a message from the displayed message content on the interface, and the first electronic device can use the selected message as the target information. Users can also trigger the transmission of satellite messages by operating a second control on the interface. When the first electronic device receives a user's selection of a message in the content selection interface, it can determine the target information based on this operation. When the first electronic device receives an operation from the user on the second control, it can trigger a communication service to send the target information to the electronic device associated with the target user's account. In this method, the first operation can be an operation performed by the user on the second control.

[0114] For example, taking a smartwatch as the first electronic device, before receiving the first operation, the application interface of the satellite communication application displayed by the first electronic device may be... Figure 5 The application interface shown includes a first control for triggering the selection of a target receiver. When the user clicks the first control, the first electronic device can display... Figure 6 The receiver selection interface shown includes at least one identifier for a user account corresponding to a satellite message receiver, such as "Zhang San," "Li Si," or "Wang Wu." When the user selects "Zhang San" or "Li Si" and confirms the selection, the first electronic device can determine that the target user account includes the user account corresponding to the identifier "Zhang San" and the user account corresponding to the identifier "Li Si," and can display... Figure 7The content selection interface shown includes at least one message, each of which can be a short message. For example, the interface could include messages such as "I'm in an emergency and need help," "Everything is fine, don't worry," or "I'm feeling unwell and need help." The user can select the message to send, such as "Everything is fine, don't worry," and can then click the second control displayed on the interface to trigger message sending. Upon receiving the user's selection of the message "Everything is fine, don't worry," the first electronic device can confirm that the target information is "Everything is fine, don't worry." Upon receiving the user's click on the second control, the first electronic device can trigger the execution of sending the target information to the electronic device associated with the target user's account. The electronic device associated with the target user's account is the one logged into that user account.

[0115] In another possible approach, a user can trigger a first electronic device to send target information to a target electronic device associated with a target user account by sequentially performing the operations of selecting target information, selecting a target user account, and triggering the transmission of a satellite message. The first operation can be the user-executed operation to trigger the transmission of a satellite message. In this approach, the first electronic device can display an application interface for a satellite communication application before receiving the first operation. This application interface may include a first control for triggering the selection of message content. Responding to the user's operation on the first control, the first electronic device can display a content selection interface, which may include at least one message content included in the aforementioned content indication information. When the user selects a message content in the content selection interface, the first electronic device can display a receiver selection interface, which may include at least one identifier of a user account included in the aforementioned receiver indication information and a second control for triggering the transmission of a satellite message. When the user selects at least one identifier in the receiver selection interface, the first electronic device can use the user account corresponding to the at least one identifier selected by the user as the target user account. When the user operates on the second control, the first electronic device can trigger a communication service to send the target information to the electronic device associated with the target user account. In this approach, the first operation can be an action performed by the user on the second control.

[0116] In another possible approach, the target information can be information manually entered by the user, and the target user account can be a default user account used as the satellite message receiver or a user account selected by the user from at least one of the aforementioned user accounts. The first electronic device can determine the target information first and then determine the target user account, or vice versa. The method by which the first electronic device determines the target information and the target user account can be referred to the relevant descriptions in the above embodiments, and will not be repeated here.

[0117] In another possible approach, the target information can be default message information, and the target user account can be a user account manually entered by the user. The first electronic device can determine the target information first and then the target user account, or vice versa. The method by which the first electronic device determines the target information and the target user account can be referred to the relevant descriptions in the above embodiments, and will not be repeated here.

[0118] It should be understood that the above methods are merely illustrative examples of some ways to trigger satellite message transmission applicable to the solutions provided in this application embodiment. The ways to trigger satellite message transmission applicable to the solutions provided in this application embodiment are not limited to the methods exemplified above. In actual applications, they can be flexibly set according to business scenarios, business requirements, etc., and will not be listed one by one in this application embodiment.

[0119] It should be understood that the above Figures 5-7 The interface shown is merely an example; in actual product implementation, the interface may include more or fewer controls. Furthermore, the displayed information, such as logos, is not limited to the example shown.

[0120] S402: In response to the received first operation, the first electronic device shuts down at least one service module that is in operation; wherein the at least one service module does not include a service module for satellite communication.

[0121] In this application embodiment, the form of the business module is not limited. For example, the business module described in this application embodiment can be an application, a software service, a hardware device (such as a chip, sensor, integrated circuit, etc.), or other forms.

[0122] Optionally, when the business module is a software module, shutting down the business module can be done by instructing it to stop receiving (or inputting), processing, and outputting data (or, in other words, instructing it to stop running). The business module can directly close (or stop or exit) all running processes according to the instruction, thereby ceasing operation. When the business module is a hardware module, shutting down the business module can be done by powering it off.

[0123] Example 1: Taking a music application running in the background and playing music on the first electronic device as an example, when the user triggers the sending of a satellite message in the satellite communication application, the first electronic device can directly close the music application running in the background. After the music application exits the background, the user can no longer hear the music.

[0124] Example 2: Taking the audio player of the first electronic device as an example, in a scenario where the audio player is playing music, when the user triggers the sending of a satellite message in the satellite communication application, the first electronic device can directly power off the audio player, so the audio player can no longer play music, and therefore the user can no longer hear the music.

[0125] In some embodiments of this application, the at least one service module may include: a hardware or software module (or service) for executing the services of at least one application, and a storage module (or service) for storing data. The applications in the first electronic device may be divided into non-shutdown applications and shutdownable applications. Non-shutdown applications include satellite communication-related applications and applications that maintain the basic operation of the first electronic device. Shutdownable applications include applications other than non-shutdownable applications. At least one application may include some or all of the shutdownable applications.

[0126] In one possible approach, at least one application may include all closable applications in the first electronic device. In another possible approach, at least one application may be a pre-defined application, such as at least one application selected by the user from the closable applications in the first electronic device.

[0127] In some embodiments of this application, the service modules in the first electronic device can be divided into non-shutdown modules and shut-off modules. The non-shutdown modules include satellite communication-related modules and modules that maintain the basic operation of the first electronic device. The shut-off modules include modules other than the non-shutdown modules. As an optional implementation, at least one service module may include all shut-off modules in the first electronic device. As another optional implementation, at least one service module may be a pre-defined service module, such as at least one service module selected by the user from the shut-off modules in the first electronic device. For example, taking a smartwatch as the first electronic device, the pre-defined service module may include, but is not limited to, music playback services, location services, transmission services, a buzzer, audio devices, a motor, communication devices (e.g., Bluetooth communication devices, ultra-wideband (UWB) communication devices, WiFi communication devices, near field communication (NFC) devices, etc.), a global positioning system (GPS), and various sensors.

[0128] In some embodiments of this application, when at least one service module includes a storage module, when the first electronic device closes at least one service module in response to a received first operation, it may first close the other service modules besides the storage module, and then close the storage module last. Before closing the storage module, the first electronic device may first obtain the target information and target user account stored in the storage module.

[0129] In some embodiments of this application, as an optional implementation, when the first electronic device shuts down at least one service module in response to a received first operation, it may begin the operation of shutting down the service module when it determines that the power supply voltage of the first electronic device is less than and / or equal to a set first voltage or that the battery level of the first electronic device is less than or equal to a set first charge level. Optionally, the first electronic device may stop the operation of shutting down the service module when it determines that the power supply voltage of the first electronic device is greater than or equal to a set second voltage and / or that the battery level of the first electronic device is greater than or equal to a set second charge level. Wherein, the second voltage is greater than the first voltage, and the second charge level is greater than the first charge level.

[0130] Optionally, when the first electronic device determines that its power supply voltage is greater than or equal to the first voltage and less than or equal to the second voltage and / or its battery charge is greater than or equal to the first charge and less than or equal to the second charge, it may choose not to perform the operation of shutting down the service module, or it may shut down some of the service modules.

[0131] Optionally, the first electronic device may choose not to shut down the service module when it determines that the power supply voltage of the first electronic device is greater than or equal to the second voltage and / or the battery charge of the first electronic device is greater than or equal to the second charge.

[0132] As an alternative implementation, the first electronic device can determine the number of service modules to be shut down based on a preset correspondence between different power supply voltages (or battery levels) and the number of service modules, and then perform the shutdown operation according to that number. Here, the power supply voltage is negatively correlated with the number of service modules to be shut down. For example, if a voltage value less than or equal to a first voltage corresponds to a first number, a voltage value greater than the first voltage and less than the second voltage corresponds to a second number, and a voltage value greater than or equal to the second voltage corresponds to a third number, then when the first electronic device determines that its own power supply voltage is less than or equal to the first voltage, it can shut down the first number of service modules; when the first electronic device determines that its own power supply voltage is greater than the first voltage and less than the second voltage, it can shut down the second number of service modules; and when the first electronic device determines that its own power supply voltage is greater than or equal to the second voltage, it can shut down the third number of service modules. Here, the first number is less than the second number, and the second number is less than the third number.

[0133] Optionally, when shutting down service modules, the first electronic device can determine the order in which service modules are shut down according to a set rule. For example, the set rule could be to shut down service modules in descending order of power consumption (or power voltage consumption). In this case, the first electronic device can shut down services with high power consumption first, and then shut down services with low power consumption.

[0134] In some embodiments of this application, the first electronic device may also determine the service modules that need to be shut down based on the preset correspondence between different power supply voltages (or battery power) and the service modules that need to be shut down, and shut down these service modules.

[0135] S403: The first electronic device sends a first message to the satellite; wherein the first message includes target information, a first user account, and a target user account; wherein the first user account is the user account logged in on the first electronic device.

[0136] The first user account can be used to determine the sender of the satellite message. The satellite communication system and the target electronic equipment can determine the sender of the received satellite message based on the first user account.

[0137] Optionally, the first message can be a satellite short message. Optionally, the first message can be an encrypted message.

[0138] In some embodiments of this application, the first message may further include location information indicating the location of the first electronic device. This location information may be determined by the first electronic device through self-location.

[0139] In the above method, before the first electronic device performs satellite communication services (i.e., sends satellite messages), it can reduce power consumption by shutting down other running service modules, thereby maintaining a higher power level to meet the power requirements for satellite message transmission and improving the success rate of satellite message transmission. Simultaneously, shutting down other service modules also reduces interference from other services on satellite communication services, further improving the success rate of satellite message transmission.

[0140] The above method can be applied to electronic devices with small battery size and low power (such as wearable devices), which can solve the problem that such electronic devices cannot send satellite messages because they cannot meet the threshold requirements of power supply voltage (or battery power) for satellite message transmission. In other words, it can achieve the effect of sending satellite messages through electronic devices with small battery size and low power, while ensuring a high transmission success rate.

[0141] Optionally, after step S401 and before step S403, the method may further include the following step S402a:

[0142] S402a: The first electronic device heats the battery of the first electronic device.

[0143] Since low battery temperature can also affect the success rate of satellite message transmission, in some embodiments of this application, after determining the message content and target receiver of the satellite message to be transmitted, the first electronic device can heat its battery before transmitting the satellite message to increase the battery temperature and further improve the success rate of satellite message transmission. In this method, the service module for heating the battery may not be included among the at least one service module that is turned off by the first electronic device.

[0144] In some embodiments of this application, after determining the message content and target receiver of the satellite message to be sent, the first electronic device may heat the battery when the battery temperature is determined to be less than or equal to a set first temperature before sending the satellite message. As an optional implementation, the first electronic device may stop heating the battery after a set heating time. As another optional implementation, the first electronic device may stop heating the battery after heating it to a temperature greater than or equal to the first temperature. Based on the above methods, excessively high battery temperatures can be avoided, ensuring normal battery operation.

[0145] Optionally, the first electronic device may heat the battery via a heater connected to the battery. The heater may be, for example, a resistor with specific properties (e.g., the characteristic that its resistance is negatively correlated with ambient temperature), a pre-designed heating circuit, etc.

[0146] The above method can improve the success rate of transmitting satellite messages when the first electronic device is in a low-temperature environment, so the solution is highly practical.

[0147] Optionally, after step S403, the method may further include the following steps S404 to S405:

[0148] S404: After receiving the first message, the satellite sends a first feedback message to the first electronic device; wherein the first feedback message is used to confirm that the first message has been received.

[0149] S405: After receiving the first feedback information, the first electronic device restarts at least one service module.

[0150] Once the first electronic device receives the first feedback information, it can determine that the satellite message has been successfully sent. Then, it can resume the services executed before sending the satellite message by restarting at least one previously closed service module, thereby ensuring the continuity of other services and reducing the impact of satellite communication services on other services.

[0151] In some embodiments of this application, for service modules that are software modules, the first electronic device can restart the service module by instructing it to start receiving, processing, and outputting data (which can also be understood as instructing the service module to start running). After the service module starts, it can restore its initial state by executing a set initialization process to ensure that the service module can run normally during subsequent service processing, that is, to normally execute the service processing process of receiving, processing, and outputting data. For service modules that are hardware modules, the first electronic device can restart the service module by powering it on again.

[0152] For example, based on the scenario described in Example 1 above, after completing the satellite message transmission service, the first electronic device can restart the music application and execute an initialization process to restore the music application to its initial state. This process can be executed in the background. After the satellite message transmission is completed, if the user needs to continue listening to music, they can restart the music application and perform corresponding operations to control the music application to play music.

[0153] For example, based on the scenario described in Example 2 above, after completing the satellite message transmission service, the first electronic device can power on the audio player. Subsequently, when music needs to be played, such as when the user instructs the user to play music, the first electronic device can play music through the audio player.

[0154] In some embodiments of this application, when at least one service module includes a storage module, after receiving the first feedback information, the first electronic device may first start the storage module and then start the other service modules in the at least one service module besides the storage module.

[0155] Optionally, after step S403, the method may further include the following step S406:

[0156] S406: After receiving the first message, the satellite sends a second message to the target electronic device; the second message includes target information, the first user account, and the target user account.

[0157] The target electronic device is the device used to log into the target user's account.

[0158] In some embodiments of this application, when the first message includes the aforementioned location information, the second message also includes the aforementioned location information.

[0159] In some embodiments of this application, when the first message is an encrypted message, the satellite can decrypt the first message to determine information such as target information, first user account, and target user account, and then send the target information, first user account, and target user account through a second message.

[0160] Optionally, the satellite can send the second message to the target electronic device through a ground information processing center, the wireless access network equipment to which the target electronic device belongs, etc.

[0161] For example, the first electronic device described in the above method can be Figure 3 The first electronic device in the communication system shown above, wherein the satellite described in the above method can be... Figure 3 In the communication system shown, the satellite, and the target electronic device described in the above method, can be... Figure 3 The third electronic device in the communication system shown.

[0162] Based on the method provided in the above embodiments, it is possible to enable electronic devices to communicate with other electronic devices via satellite communication, and to improve the success rate of electronic devices sending satellite messages.

[0163] Based on the above embodiments and the same technical concept, this application also provides a schematic diagram of a communication system and a message sending method. For example... Figure 8 As shown, the communication system may include a first electronic device, a second electronic device, and a satellite.

[0164] The first electronic device may include an application layer, a business framework layer, and a platform framework layer.

[0165] For example, when the first electronic device adopts the above Figure 2 In the software architecture shown, the application layer deployment method in the first electronic device can adopt... Figure 2 The application layer deployment method shown indicates that the business framework layer in the first electronic device can be deployed in... Figure 2 In the application framework layer shown, the platform framework layer in the first electronic device can be deployed on... Figure 2 The kernel layer is shown in the example. Of course, this is just one possible deployment method as an example. In actual applications, the division and deployment of software layers in the first electronic device are not limited to this, and no specific restrictions are made in the embodiments of this application.

[0166] In some embodiments of this application, the application layer may include satellite communication applications for controlling satellite communication functions and other applications for controlling the implementation of other services.

[0167] In some embodiments of this application, the business framework layer may include a satellite communication control service and a broadcast service. The satellite communication control service can be used to manage functional units, services, or devices in a first electronic device to achieve satellite communication functionality. The satellite communication control service can also communicate with a second electronic device to obtain communication content and communication receiver information during satellite communication. The second electronic device is associated with the first electronic device. The broadcast service broadcasts control information from the satellite communication control service to applications in the application layer, enabling applications in the application layer to perform corresponding operations based on the control information, thereby cooperating to achieve satellite communication functionality.

[0168] In some embodiments of this application, the platform framework layer may include satellite communication services, storage services, battery services, and other business modules. The satellite communication service can be used to communicate with satellites. The storage service can be used to store data. The battery service is used to manage the battery of the first electronic device. Other business modules may include business modules corresponding to various services in the first electronic device other than satellite communication, such as music playback services, location services, transmission services, buzzers, audio devices, motors, communication devices, and various sensors.

[0169] It is important to understand that the functional units mentioned above are just an example. In practical applications, more or fewer functional units can be divided according to other factors, or the functions of each unit can be divided in other ways, or the system can work as a whole without dividing into functional units.

[0170] The message transmission method provided in this application embodiment may include an information configuration stage and a message transmission stage. The information configuration stage mainly includes the configuration process for the message content and related information of the message receiving end when transmitting satellite messages. The message transmission stage follows the information configuration stage and is mainly used to transmit satellite messages. The specific implementation methods of the two stages are described below.

[0171] like Figure 8 As shown, the process of the method corresponding to the information configuration phase may include the following steps S801 to S803:

[0172] S801: The satellite communication control service receives receiver indication information and content indication information from the second electronic device, wherein the receiver indication information includes at least one user account and the content indication information includes at least one set message content.

[0173] The information regarding the receiving end indication information, content indication information, user account, message content, etc., can be referred to the relevant descriptions in the aforementioned embodiments, and will not be elaborated here.

[0174] S802: The satellite communication control service sends the received receiver instruction information and content instruction information to the satellite communication application.

[0175] S803: Satellite communication applications save received receiver indication information and content indication information.

[0176] In some embodiments of this application, during the information configuration phase, the second electronic device may further distribute a communication key to the first electronic device. The first electronic device may store the communication key and use it in subsequent satellite communication processes. Optionally, the communication key may be used to encrypt satellite messages sent by the first electronic device.

[0177] like Figure 8 As shown, the process of the method corresponding to the message sending phase may include the following steps S804 to S820:

[0178] S804: The satellite communication application receives a first operation, which is used to instruct the target information to be sent to the target electronic device associated with the target user account via satellite communication.

[0179] S805: Satellite communication applications report satellite communication readiness events to the satellite communication control service. Satellite communication readiness events are used to notify the initiation of satellite communication.

[0180] S806: After receiving the satellite communication preparation event, the satellite communication control service sends a satellite communication start event to the broadcast service.

[0181] S807: The broadcast service broadcasts the satellite communication initiation event to other applications in the application layer besides the satellite communication application.

[0182] Optionally, other applications may be applications belonging to some or all of the business modules in at least one of the business modules described in the foregoing embodiments, or other applications may be applications used to control some or all of the business modules in at least one of the business modules described in the foregoing embodiments.

[0183] S808: Upon receiving a satellite communication start event, other applications terminate the currently executing service and shut down the service module used to execute the current service.

[0184] Each application that receives the satellite communication initiation event can instruct the service module used to perform the application's services to shut down (i.e., stop running), thereby terminating the application's services. Optionally, the application can send the instruction to shut down the module to the corresponding service module through a related service in the service framework layer (not specifically limited in this embodiment), so that the corresponding service module shuts down.

[0185] Applications other than satellite communication applications in the application layer can pre-register satellite communication start events so that they can perform corresponding operations when a satellite communication start event is received. The satellite communication start event is associated with the operation of shutting down the business module used to perform application services.

[0186] S809: Other applications send a shutdown completion notification to the satellite communication control service. The shutdown completion notification is used to notify the satellite communication control service that the business modules used to perform application services have been shut down.

[0187] Other applications can send a shutdown completion notification to the satellite communication control service after the software and hardware modules used to perform application services are shut down.

[0188] S810: The satellite communication application reports a satellite message transmission event to the satellite communication control service. The satellite message transmission event is used to instruct the target information to be sent to the target electronic device associated with the target user account.

[0189] The satellite message transmission event carries target information and the target user account.

[0190] S811: Satellite communication control service disables storage module.

[0191] S812: After receiving a satellite message transmission event from a satellite communication application and a shutdown completion notification from another application, the satellite communication control service reports a satellite message transmission instruction to the satellite communication service. The satellite message transmission instruction is used to instruct the target information to be sent to the target electronic device associated with the target user account.

[0192] The satellite message transmission instruction carries target information, the first user account logged in by the first electronic device, and the target user account.

[0193] Optionally, the satellite communication control service can also be used to locate the first electronic device, thereby obtaining location information indicating the location of the first electronic device; or, the service framework layer can also include a location service for locating the first electronic device, which, after obtaining location information indicating the location of the first electronic device through locating it, can report the location information to the satellite communication control service. Based on this method, the aforementioned satellite transmission instruction can also carry location information.

[0194] S813: The satellite communication service sends a first message to the satellite, the first message including target information, a first user account, and a target user account.

[0195] Optionally, when the satellite transmission instruction carries location information, the first message may include that location information.

[0196] Optionally, the first message may also include the user account logged into by the first electronic device.

[0197] Optionally, the satellite communication service may encrypt the first message using a communication key and send the encrypted first message to the satellite.

[0198] Satellites can be used to send targeted content to electronic devices logged into the target user's account.

[0199] Optionally, the method may further include:

[0200] S814: The satellite communication service receives feedback information from the satellite, which is used to confirm that the first message has been received.

[0201] S815: Satellite communication control service startup storage module.

[0202] S816: The Satellite Communication Control Service sends a Satellite Communication End Event to the Broadcast Service. The Satellite Communication End Event is used to indicate the end of satellite communication.

[0203] S817: The broadcast service broadcasts the satellite communication termination event to all or part of the application layer, excluding applications related to satellite communication and applications that maintain the basic operation of the first electronic equipment.

[0204] S818: After receiving a satellite communication termination event, other applications shall activate the service modules that were closed before the satellite communication to resume the services performed before the satellite communication.

[0205] Optionally, after step S805 and before step S813, the following steps S819 to S820 may also be included:

[0206] S819: Satellite communication control service instructs battery service to heat the battery of the first electronic device.

[0207] S820: Battery service heating of the battery in the first electronic device.

[0208] For details on the specific implementation of the above steps, please refer to the relevant descriptions in the foregoing embodiments, which will not be repeated here.

[0209] The above method utilizes satellite communication applications and control services integrated within the electronic device to control the satellite communication process. Before transmitting satellite messages, the satellite communication control service can control actions such as disabling non-satellite communication services and heating the battery. After transmitting satellite messages, the service can control the resumption of non-satellite communication services. Therefore, the consumption of battery power and voltage by other service modules in the satellite message transmitting device can be reduced, ensuring that battery power and voltage are primarily supplied to satellite communication services, thereby improving the success rate of satellite message transmission.

[0210] It should be noted that the specific implementation process provided in the above examples is only an example of the method process applicable to the embodiments of this application. The execution order of each step can be adjusted according to actual needs, and other steps can be added or some steps can be reduced.

[0211] Based on the above embodiments and the same technical concept, this application also provides a message sending method, such as... Figure 9 As shown, the method may include:

[0212] S901: In response to the received first operation, the first electronic device shuts down at least one service module in the first electronic device that is in operation; wherein the first operation is used to instruct the transmission of satellite messages.

[0213] For example, the first operation may be the first operation described in the foregoing embodiments.

[0214] S902: The first electronic device sends the first message.

[0215] The first message is a satellite message. The first electronic device can send the first message to the satellite.

[0216] In some embodiments of this application, the first message may include a first user account, a second user account, and first content; wherein, the first user account is the user account logged into the first electronic device; and the second user account includes a user account stored in the first electronic device for use as a receiving end.

[0217] For example, the first user account can be the first user account described in the foregoing embodiments, the second user account can be the target user account described in the foregoing embodiments, and the first content can be the target information described in the foregoing embodiments.

[0218] Specifically, the specific steps performed by the electronic device in this method can be found in the relevant descriptions in the foregoing embodiments, and will not be repeated here.

[0219] Based on the above embodiments and the same concept, this application also provides an electronic device for implementing the message sending method provided in this application. Figure 10 As shown, electronic device 1000 may include: memory 1002, one or more processors 1003, and one or more computer programs (not shown). Optionally, electronic device 100 may also include display screen 1001. The above-mentioned devices may be coupled via one or more communication buses 1004.

[0220] The display screen 1001 is used to display images, videos, application interfaces, and other related user interfaces. The memory 1002 stores one or more computer programs (code), and the one or more computer programs include computer instructions; one or more processors 1003 call the computer instructions stored in the memory 1002, causing the electronic device 1000 to execute the message sending method provided in the embodiments of this application.

[0221] In a specific implementation, memory 1002 may include high-speed random access memory and may also include non-volatile memory, such as one or more disk storage devices, flash memory devices, or other non-volatile solid-state storage devices. Memory 1002 may store an operating system (hereinafter referred to as the system), such as embedded operating systems like Android, iOS, Windows, or Linux. Memory 1002 can be used to store implementation programs of the embodiments of this application. Memory 1002 may also store network communication programs, which can be used to communicate with one or more additional devices, one or more user devices, or one or more network devices. One or more processors 1003 may be a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits used to control the execution of programs in the scheme of this application.

[0222] It should be noted that, Figure 10 This is merely one implementation of the electronic device 1000 provided in this application embodiment. In actual applications, the electronic device 1000 may include more or fewer components, which is not limited here.

[0223] Based on the above embodiments and the same concept, this application also provides a system, which includes the first electronic device and the second electronic device described above.

[0224] Based on the above embodiments and the same concept, this application also provides a computer-readable storage medium storing a computer program that, when run on a computer, causes the computer to perform the method provided in the above embodiments.

[0225] Based on the above embodiments and the same concept, this application also provides a computer program product, which includes a computer program or instructions that, when run on a computer, cause the computer to perform the methods provided in the above embodiments.

[0226] The methods provided in this application can be implemented, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented in software, they can be implemented, in whole or in part, in the form of a computer program product. A computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the flow or function according to the embodiments of the present invention is generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, a network device, a user equipment, or other programmable device. Computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, computer instructions can be transmitted from one website, computer, server, or data center to another via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. A 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 integrates one or more available media. Available media can be magnetic media (e.g., floppy disks, hard disks, magnetic tapes), optical media (e.g., digital video discs (DVDs), or semiconductor media (e.g., SSDs), etc.

[0227] Obviously, those skilled in the art can make various modifications and variations to this application without departing from the scope of this application. Therefore, if such modifications and variations fall within the scope of the claims of this application and their equivalents, this application also intends to include such modifications and variations.

Claims

1. A message transmission method, applied to a first electronic device, characterized in that, The method comprises: in response to a received first operation, shutting down at least one service module in the first electronic device in a running state; wherein the first operation is used to instruct sending a satellite message; sending a first message.

2. The method of claim 1, wherein, The method further comprises: when receiving a second message from the satellite, restarting the at least one service module; wherein the second message is used to confirm receiving the first message.

3. The method of claim 1 or 2, wherein, Before shutting down at least one service module in the first electronic device in a running state, the method further comprises: determining that the power supply voltage of the first electronic device is less than or equal to a set first voltage and / or the battery power of the first electronic device is less than or equal to a set first power.

4. The method of claim 3, wherein, The shutting down of the at least one service module in the first electronic device in a running state comprises: performing an operation of shutting down the service module in the first electronic device in a running state until the first electronic device meets the following conditions: the power supply voltage is greater than or equal to a set second voltage, and / or, the battery power is greater than or equal to a set second power; wherein the second voltage is greater than the first voltage, and the second power is greater than the first power.

5. The method of claim 4, wherein, The operation of shutting down the service module in the first electronic device in a running state is to instruct the service module to stop receiving, processing and outputting data, or to power down the service module.

6. The method of claim 5, wherein, When the service module in the first electronic device in a running state is at least one of a music playing service, a positioning service and a transmission service, the operation of shutting down the service module in the first electronic device in a running state is to instruct the service module to stop receiving, processing and outputting data.

7. The method of claim 5, wherein, When the service module in the first electronic device in a running state is at least one of a buzzer, an audio receiver, an audio player, a motor, a communication device, a positioner and a sensor, the operation of shutting down the service module in the first electronic device in a running state is to power down the service module.

8. The method according to any one of claims 1 to 7, characterized in that Before sending the first message to the satellite, the method further comprises: in response to the first operation, heating the battery of the first electronic device when it is determined that the battery temperature of the first electronic device is less than a set temperature.

9. The method of claim 8, wherein, The heating of the battery of the first electronic device comprises: heating the battery of the first electronic device for a set duration; or heating the battery of the first electronic device until the battery temperature of the first electronic device is greater than or equal to the set temperature.

10. The method of any one of claims 1 to 9, wherein, The first message comprises a first user account, a second user account and a first content; wherein the first user account is a user account logged in by the first electronic device; and the second user account comprises a user account stored in the first electronic device for use as a receiving end.

11. The method of claim 10, wherein: the second user account comprises a set default user account or at least one target user account indicated by a received second operation; the first content comprises a set default content or a target content indicated by a received third operation.

12. The method of claim 11, wherein, The second operation is configured to select the at least one target user account from the at least one user account; and the third operation is configured to select the target content from the at least one content. Before the first electronic device closes the at least one service module in the running state in response to the received first operation, the method further comprises: Receiving configuration information from a second electronic device, the configuration information comprising the at least one user account and the at least one content; Saving the configuration information.

13. The method of any one of claims 1 to 12, wherein, The closing of the at least one service module in the running state in the first electronic device comprises: Closing a first number of service modules in the running state in the first electronic device; wherein the first number is related to the power supply voltage of the first electronic device.

14. The method of any one of claims 1 to 13, wherein, The at least one service module is a plurality of service modules; and the closing of the at least one service module in the running state in the first electronic device comprises: According to the power consumption or power supply voltage consumption of each of the plurality of service modules, sequentially closing the plurality of service modules in the running state in the first electronic device.

15. The method of any one of claims 1 to 14, wherein, The at least one service module is related to the power supply voltage of the first electronic device.

16. The method of any one of claims 1 to 15, wherein, The first electronic device is a wearable device.

17. An electronic device, comprising: The electronic device comprises a memory and one or more processors; The memory is configured to store computer program code comprising computer instructions; and when the computer instructions are executed by the one or more processors, the electronic device performs the method as claimed in any one of claims 1-16.

18. A computer-readable storage medium, characterized in that, The computer readable storage medium stores a computer program, when the computer program is run on the electronic device, the electronic device performs the method as claimed in any one of claims 1-16.