Message sending method and electronic device
By turning off unnecessary service modules and heating batteries, the problem that small batteries and low-power devices cannot achieve satellite communication is solved, which improves the transmission success rate and reduces interference to other services, and adapts to different environmental conditions.
Patent Information
- Application Number
- CN202310233786.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-28
- Publication Date
- 2025-08-26
- Estimated Expiration
- 2043-02-28
AI Technical Summary
Small batteries and low-power electronic devices cannot meet the power supply voltage threshold requirements of satellite communications, resulting in the inability to achieve or have low success rates of satellite communications, especially in low temperature outdoors.
By shutting down unnecessary service modules before sending satellite messages to save power and voltage, and heating the battery to maintain appropriate temperatures, ensuring that the power supply voltage and temperature meet the requirements, improve the transmission success rate.
It realizes satellite communication functions of small batteries and low-power devices, improves the transmission success rate and reduces interference to other services, and adapts to different environmental conditions.
Smart Images

Figure CN118573260B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of satellite communication technology, and in particular to a message sending method and electronic equipment. Background Art
[0002] Satellite communication is a technology that enables communication directly via satellite, independent of terrestrial networks. Based on satellite communication technology, communication devices can communicate using satellites as relays. Satellite communication offers unique advantages over terrestrial communication. For example, satellite communication offers wider coverage, enabling access to areas not covered by terrestrial networks. Satellite base stations are also less susceptible to damage from natural disasters or external forces, resulting in greater stability.
[0003] Currently, some electronic devices (such as mobile phones) have implemented satellite communication capabilities, allowing users to communicate outdoors in areas without terrestrial communication network coverage. However, some devices with small battery size and power consumption (such as wearable devices) cannot implement satellite communication functions, or the success rate of satellite communication is very low. How to implement good satellite communication functions on such devices is an unresolved problem. Summary of the Invention
[0004] The present application provides a message sending method and electronic equipment for realizing satellite communication functions and improving the success rate of satellite communication.
[0005] In a first aspect, the present application provides a message sending method, applied to a first electronic device, comprising: in response to receiving a first operation, shutting down at least one running service module in the first electronic device; wherein the first operation is used to instruct the sending of a satellite message; and sending the first message. The first message may be a satellite message. The sending of the first message may be sending the first message to a satellite.
[0006] In this method, before sending a message to a satellite, the first electronic device shuts down at least one running service module. This reduces the power consumption and power voltage of other service modules, thereby maintaining the power voltage at a high enough level to meet the power voltage required for satellite message transmission, thereby improving the satellite message transmission success rate. This method also reduces interference with satellite communication services caused by the execution of other services, further improving the satellite message transmission success rate. This method can be applied to electronic devices with small batteries and low power consumption, resolving the problem of these electronic devices being unable to transmit satellite messages due to their inability to meet the power voltage threshold required for satellite message transmission. This method enables satellite message transmission using electronic devices with small batteries and low power consumption, while ensuring a high transmission success rate.
[0007] 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.
[0008] In this method, by promptly restoring the previously closed service module when it is determined that the satellite message has been sent successfully, the previously closed service can be restored in time, while ensuring the successful completion of the satellite communication service and minimizing the impact on other services.
[0009] In one possible design, before shutting down at least one business module in the first electronic device that is in operation, the method also 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 power of the first electronic device is less than or equal to a set first power.
[0010] In this method, the first electronic device can perform the operation of shutting down the running business module when necessary in combination with the actual scenario, and has high practicality and processing efficiency.
[0011] In one possible design, shutting down at least one business module in the first electronic device that is in running state includes: executing the operation of shutting down the business module in the first electronic device that is in 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.
[0012] In this method, when the power supply voltage is greater than or equal to the set second voltage, and / or the battery power is greater than or equal to the set second power, the first electronic device can basically ensure that the satellite message is successfully sent. At this time, stopping the operation of shutting down other business modules can minimize the impact on other business modules while ensuring the successful sending of the satellite message, thereby improving the overall processing efficiency of the first electronic device.
[0013] In one possible design, the operation of shutting down the business module in the first electronic device that is in operation is: instructing the business module to stop receiving, processing and outputting data, or powering off the business module.
[0014] In this method, instructing the service module to stop receiving, processing and outputting data and powering off the service module can both stop the service module from running, thereby reducing the consumption of battery power and power supply voltage by the service module.
[0015] In one possible design, when the business module in operation in the first electronic device is at least one of a music playback service, a positioning service, and a transmission service, the operation of shutting down the business module in operation in the first electronic device is: instructing the business module to stop receiving, processing, and outputting data.
[0016] In one possible design, when the running service module in the first electronic device is at least one of a buzzer, an audio receiver, an audio player, a motor, a communication device, a positioner, and a sensor, shutting down the running service module in the first electronic device includes powering off the service module. In this manner, the first electronic device can shut down the software service module.
[0017] In one possible design, before sending the first message to the satellite, the method further includes: in response to the first operation, when determining that the battery temperature of the first electronic device is less than a set temperature, heating the battery of the first electronic device. In this manner, the first electronic device can complete the shutdown of the hardware service module.
[0018] In this method, the first electronic device heats the battery to maintain a relatively high temperature, thereby reducing or preventing the impact of low battery temperature on message transmission. Therefore, this solution can improve the success rate of satellite message transmission. Furthermore, before sending a message, the first electronic device can perform battery heating when necessary based on the actual scenario, thus improving practicality and processing efficiency.
[0019] In one possible design, heating the battery of the first electronic device includes: setting a heating time for the battery of the first electronic device; 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.
[0020] This method can prevent the battery temperature from being too high, thereby ensuring the normal use of the battery and the normal execution of satellite communication services.
[0021] In one possible design, the first message includes 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; the second user account includes a user account stored in the first electronic device for use as a receiving end.
[0022] In this method, the first electronic device can send the content to be sent, ie, the first content, through the first message, and can indicate the sending end information and the receiving end information, so as to realize satellite communication between the sending end and the receiving end.
[0023] In one possible design, the second user account includes: a set default user account, or at least one target user account indicated by the received second operation; the first content includes: a set default content, or the target content indicated by the received third operation.
[0024] In this method, the first electronic device can determine the default message receiving terminal itself or based on user operations. The first electronic device can also determine the default message content itself or based on user operations. This method is highly flexible and helps improve the practicality of the solution.
[0025] 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 business module in running state in the first electronic device in response to the received first operation, the method also includes: receiving configuration information from the second electronic device, the configuration information including the at least one user account and the at least one content; and saving the configuration information.
[0026] In this method, the first electronic device can obtain candidate sender information and candidate message content from other electronic devices and save them, which can support the user to select the sender and message content from the first electronic device side, so the processing efficiency is high.
[0027] In one possible design, the first electronic device is a wearable device.
[0028] The method provided in the above-mentioned application can be applied to wearable devices, which can solve the problem that the wearable device cannot send satellite messages due to its small battery size and power, and achieve the effect of wearable devices sending satellite messages, while ensuring a high sending success rate.
[0029] In a second aspect, the present application provides an electronic device comprising a memory and one or more processors; wherein the memory is used to store computer program code, and the computer program code comprises computer instructions; when the computer instructions are executed by one or more processors, the electronic device executes the method described in the above-mentioned first aspect or any possible design of the first aspect.
[0030] In a third aspect, the present application provides a computer-readable storage medium storing a computer program. When the computer program runs on a computer, the computer executes the method described in the first aspect or any possible design of the first aspect.
[0031] In a fourth aspect, the present application provides a computer program product, which includes a computer program or instructions. When the computer program or instructions are run on a computer, the computer executes the method described in the first aspect or any possible design of the first aspect.
[0032] In a fifth aspect, the present application provides a chip system comprising a processor and a memory, wherein the memory stores instructions; when the instructions are executed by the processor, the method described in the first aspect or any possible design of the first aspect is implemented. The chip system may be composed of a chip alone, or may include a chip and other discrete components.
[0033] For the beneficial effects of the second to fifth aspects mentioned above, please refer to the description of the beneficial effects of the first aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] Figure 1 A schematic diagram of the hardware architecture of an electronic device provided in an embodiment of the present application;
[0035] Figure 2 A schematic diagram of the software architecture of an electronic device provided in an embodiment of the present application;
[0036] Figure 3 A schematic diagram of the architecture of a communication system provided in an embodiment of the present application;
[0037] Figure 4 A schematic diagram of a message sending method provided in an embodiment of the present application;
[0038] Figure 5 A schematic diagram of a control interface provided in an embodiment of the present application;
[0039] Figure 6 A schematic diagram of a control interface provided in an embodiment of the present application;
[0040] Figure 7 A schematic diagram of a control interface provided in an embodiment of the present application;
[0041] Figure 8 A schematic diagram of a communication system and a message sending method provided in an embodiment of the present application;
[0042] Figure 9 A schematic diagram of a message sending method provided in an embodiment of the present application;
[0043] Figure 10 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0044] In order to make the purpose, technical solutions and advantages of the embodiments of the present application more clear, the embodiments of the present application will be further described in detail below with reference to the accompanying drawings. In the description of the embodiments of the present application, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features.
[0045] To facilitate understanding, exemplary descriptions of concepts related to this application are provided for reference.
[0046] The electronic device may be a device with a wireless connection function. In some embodiments of the present application, the electronic device also has a display function. In some embodiments of the present application, the electronic device may be a portable device, such as a mobile phone, a tablet computer, a wearable device with a wireless communication function (for example, a watch, a bracelet, a helmet, a headset, etc.), a vehicle-mounted terminal device, an augmented reality (AR) / virtual reality (VR) device, a laptop computer, an ultra-mobile personal computer (UMPC), a netbook, a personal digital assistant (PDA), a smart home device (for example, a smart TV, a smart speaker, etc.), an intelligent robot, a workshop equipment, a wireless terminal in self-driving, a wireless terminal in remote medical surgery, a wireless terminal in smart grid, a wireless terminal in transportation safety, a wireless terminal in smart city, or a wireless terminal in smart home, a flight device (for example, an intelligent robot, a hot air balloon, a drone, an airplane), etc.
[0047] Among them, a wearable device is a portable device that a user can wear directly on the body or integrate into the user's clothes or accessories. Optionally, the wearable device in the embodiment of the present application can be a portable device with wireless communication function and display function.
[0048] In some embodiments of the present application, the electronic device may also be a portable terminal device that also includes other functions such as a personal digital assistant and / or a music player. Or a portable terminal device with other operating systems. The portable terminal device may 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 the present application, the electronic device may not be a portable terminal device, but a desktop computer with a touch-sensitive surface (e.g., a touch panel).
[0049] It should be understood that in the embodiments of the present application, "at least one" refers to one or more, and "more" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: the existence of A alone, the existence of A and B at the same time, and the existence of B alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following" or similar expressions refers 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, c can be single or multiple.
[0050] In satellite communications, the transmission of satellite messages requires the power supply voltage to remain above a threshold. Currently, some electronic devices cannot meet this threshold voltage requirement due to the small size and power consumption of their batteries. As a result, these electronic devices are unable to achieve satellite communication functions or have a very low success rate in satellite communication.
[0051] For example, current wearable devices lack the power supply voltage threshold required for satellite message transmission due to their small size and low power consumption, and the fact that their power supplies must simultaneously power multiple devices and modules. Furthermore, interference from multiple services within the device can affect the success rate of satellite message transmission. Low battery temperatures in low-temperature outdoor environments can also prevent satellite message transmission. Therefore, current wearable devices are not yet capable of supporting satellite message transmission.
[0052] In order to solve the problem that some electronic devices cannot realize satellite communication functions or have a very low success rate in satellite communication, the application embodiment provides a message sending method and electronic device, which can be used to realize satellite communication functions and improve the success rate of satellite communication.
[0053] Optionally, the solution provided in the embodiment of the present application can be applied to a wearable device. When the solution provided in the embodiment of the present application is applied to a wearable device, the wearable device can achieve the effect of sending satellite messages and can ensure a high sending success rate.
[0054] See below Figure 1, the structure of the electronic device to which the method provided in the embodiments of the present application is applicable is introduced.
[0055] like Figure 1 As 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, an antenna 1, an antenna 2, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a sensor module 180, a button 190, a motor 191, etc. Optionally, the electronic device 100 may further include a mobile communication module 150, a camera 192, etc.
[0056] The sensor module 180 may include a gyroscope sensor, an acceleration sensor, a proximity sensor, a touch sensor, a temperature sensor, a pressure sensor, a distance sensor, a magnetic sensor, an ambient light sensor, an air pressure sensor, and the like.
[0057] It is understandable that Figure 1 The electronic device 100 shown is merely an example and does not constitute a limitation to the electronic device, and the electronic device may have more or fewer components than shown in the figure, may combine two or more components, or may have a different component configuration. Figure 1 The various components shown in the drawings 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.
[0058] The processor 110 may include one or more processing units, for example: the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural network processor (NPU), etc. Among them, different processing units can be independent devices or integrated into one or more processors. Among them, the controller can be the nerve center and command center of the electronic device 100. The controller can generate an operation control signal based on the instruction opcode and the timing signal to complete the control of instruction fetching and execution.
[0059] Processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in processor 110 is a cache memory. This memory can store instructions or data that have just been used or are being recycled by processor 110. If processor 110 needs to use the same instruction or data again, it can directly retrieve it from the memory. This avoids duplicate accesses, reduces processor 110 latency, and thus improves system efficiency.
[0060] The execution of the message sending method provided in the embodiment of the present application can be controlled by the processor 110 or completed by calling other components, such as calling the processing program of the embodiment of the present application stored in the memory 120 to control the wireless communication module 160 to communicate data with other devices, thereby improving the intelligence and convenience of the electronic device 100 and enhancing the user experience. The processor 110 can include different components. For example, when a CPU and a GPU are integrated, the CPU and the GPU can cooperate to execute the message sending method provided in the embodiment of the present application. For example, part of the algorithm in the message sending method is executed by the CPU, and another part of the algorithm is executed by the GPU to obtain faster processing efficiency.
[0061] The display screen 130 is used to display images, videos, etc. The 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 or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a MiniLED, a MicroLED, a Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include one or N display screens 130, where N is a positive integer greater than 1. The 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, the display screen 130 can display photos, etc.
[0062] In some embodiments, the display screen 130 may be an integrated flexible display screen, or a spliced display screen consisting of two rigid screens and a flexible screen located between the two rigid screens.
[0063] Camera 192 (either a front-facing camera or a rear-facing camera, or one camera serving as both) is used to capture still images or videos. Typically, camera 192 includes a photosensitive element, such as a lens assembly and an image sensor. The lens assembly includes multiple lenses (convex or concave) that capture light signals reflected from the object being photographed and transmit the captured light signals to the image sensor. The image sensor generates an original image of the object based on the light signals.
[0064] 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 may store the code of the operating system, application programs (such as the message sending function, etc.). The data storage area may store data created during the use of the electronic device 100.
[0065] The memory 120 may also store one or more computer programs corresponding to the message sending algorithm provided in the embodiments of the present application. The one or more computer programs are stored in the memory 120 and configured to be executed by the one or more processors 110. The one or more computer programs include instructions, which can be used to perform the various steps in the following embodiments.
[0066] In addition, the memory 120 may include a high-speed random access memory and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.
[0067] In some embodiments of the present application, a touch sensor is also referred to as a "touch panel". The touch sensor can be provided on the display screen 130. The touch sensor and the display screen 130 form a touch display screen, also referred to as a "touch screen". The touch sensor is used to detect touch operations acting on 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 can also be provided on the surface of the electronic device 100, at a different location from the display screen 130.
[0068] For example, the display screen 130 of the electronic device 100 may display a main interface including icons for multiple applications (e.g., a satellite communication application). A user may click on the satellite communication application icon on the main interface via the touch sensor, triggering the processor 110 to launch the satellite communication application and display a corresponding user interface. The user may operate the display screen to control satellite communication-related functions.
[0069] The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.
[0070] Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In other embodiments, the antennas can be used in conjunction with a tuning switch.
[0071] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110. In an embodiment of the present application, the mobile communication module 150 can also be used to exchange information with other devices.
[0072] The modem processor may include a modulator and a demodulator. The modulator is used to modulate the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used to demodulate 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 being processed by the baseband processor, the low-frequency baseband signal is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.) or displays an image or video through the display screen 130. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be set in the same device as the mobile communication module 150 or other functional modules.
[0073] The wireless communication module 160 can provide wireless communication solutions applied to the electronic device 100, including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared technology (IR), etc. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110. The wireless communication module 160 can also receive the signal to be transmitted from the processor 110, frequency modulate it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2. In the embodiment of the present application, the wireless communication module 160 is used to establish a connection with other electronic devices and exchange data. Alternatively, the wireless communication module 160 can be used to access an access point device, send control instructions to other electronic devices, or receive data sent from other electronic devices.
[0074] In addition, the electronic device 100 can implement audio functions such as music playback and recording through the audio module 170, speaker 170A, receiver 170B, microphone 170C, and application processor. The electronic device 100 can receive input from the key 190 and generate key signal input related to user settings and function control of the electronic device 100. The electronic device 100 can use the motor 191 to generate vibration prompts (such as vibration prompts for incoming calls).
[0075] It should be understood that in actual applications, the electronic device 100 may include Figure 1 The embodiments of the present application are not limited to more or fewer components shown. The illustrated electronic device 100 is merely an example, and the electronic device 100 may have more or fewer components than shown, may combine two or more components, or may have a different component configuration. The various components shown in the figures may be implemented in hardware, including one or more signal processing and / or application-specific integrated circuits, software, or a combination of hardware and software.
[0076] The software system of the electronic device 100 can adopt a layered architecture, an event-driven architecture, a micro-kernel architecture, a microservice architecture, or a cloud architecture. The layered architecture divides the software into several layers, each with a clear role and division of labor. The layers communicate with each other through software interfaces. For example, Figure 2 As shown in the figure, the software architecture can be divided into four layers, from top to bottom: application layer, application framework layer (Framework, FWK), runtime and system library, and (Linux) kernel layer.
[0077] The application layer is the top layer of the operating system, including native applications of the operating system, such as weather, calendar, music, phone, address book, satellite communication applications, etc., and may also include third-party applications. The application involved in the embodiment of the present application is referred to as application (APP), which is a software program that can realize one or more specific functions. Typically, multiple applications can be installed in an electronic device, such as a camera application. The applications mentioned below may be system applications that are installed on the electronic device when it leaves the factory, or they may be third-party applications that the user downloads from the Internet or obtains from other electronic devices while using the electronic device.
[0078] Of course, developers can write applications and install them into this layer. In one possible implementation, applications can be developed using the Java language by calling the application programming interface (API) provided by the application framework layer. Developers can use the application framework to interact with the underlying layer of the operating system (such as the kernel layer) and develop their own applications.
[0079] The application framework layer provides the application API and programming framework. The application framework layer includes predefined functions. For example, the application framework layer may include a window manager, content provider, view system, telephony manager, resource manager, and notification manager.
[0080] The window manager is used to manage window programs. The window manager can obtain the display size, determine whether there is a status bar, lock the display (or screen), capture the display, etc.
[0081] Content providers are used to store and retrieve data and make it accessible to applications. The data may include files (such as documents, videos, images, audio), text, and other information.
[0082] The view system includes visual controls, such as those that display text, images, and documents. The view system is used to build applications. The interface within a display window can be composed of one or more views. For example, the interface for a text notification icon might include a view that displays text and a view that displays an image.
[0083] The phone manager provides communication functionality for electronic devices. The notification manager enables applications to display notifications in the status bar, which can be used to convey informational messages and automatically disappear after a short period of time without user interaction.
[0084] In some embodiments of the present application, the application framework layer may include satellite communication control services and broadcast services. The satellite communication control service can be used to coordinate and manage functional units, services, or devices in electronic devices to implement satellite communication functions. The satellite communication control service can also be used to communicate with other electronic devices through the communication services in the electronic device. For example, the communication content and communication receiving end information during satellite communication can be obtained from other electronic devices. The broadcast service can be used to broadcast control information from the satellite communication control service to applications in the application layer, so that the applications in the application layer perform corresponding operations based on the control information, thereby cooperating to implement satellite communication functions.
[0085] The runtime includes the core library and the virtual machine. The runtime is responsible for the scheduling and management of the system.
[0086] The system's core library consists of two parts: one containing the Java language's callable functions and the other the system's core library. The application layer and application framework layer run within a virtual machine. For example, in Java, the virtual machine executes Java files from the application and framework layers as binary files. The virtual machine manages object lifecycles, stack management, thread management, security and exception management, and garbage collection.
[0087] The system library can include multiple functional modules. For example: surface manager, media library, graphics processing library, graphics processing engine, etc. The surface manager is used to manage the display subsystem and provides the fusion of two-dimensional and three-dimensional layers for multiple applications. The media library supports the playback and recording of various common audio and video formats, as well as static image files. The media library can support multiple audio and video encoding formats, such as MPEG4, H.564, MP3, AAC, AMR, JPG, PNG, etc. The graphics processing library is used to implement graphics drawing, image rendering, synthesis, and layer processing. The graphics processing engine is a drawing engine used for drawing.
[0088] The kernel layer provides the operating system's core system services, such as security, memory management, process management, network protocol stacks, and driver models. These services are all implemented at 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, including display drivers, audio drivers, Bluetooth drivers, and Wi-Fi drivers.
[0089] In some embodiments of the present application, the kernel layer may include satellite communication services, storage services, battery services, and other service modules. The satellite communication service may be used to communicate with satellites. The storage service may be used to store data. The battery service may be used to manage the battery of the electronic device. Other service modules may include service modules corresponding to services other than satellite communication in the first electronic device. Optionally, these service modules may be drivers with corresponding functions in the kernel layer or may be controlled by corresponding drivers.
[0090] It should be understood that the functional services described above are only examples. In actual applications, electronic devices can also be divided into more or fewer functional services according to other factors, or the functions of each service can be divided in other ways, or the functional services can be not divided but work as a whole.
[0091] The solution provided in the embodiments of the present application is described in detail below with reference to the accompanying drawings.
[0092] Figure 3 A schematic diagram of the architecture of a communication system applicable to the solution provided in the embodiment of this application. Figure 3 As shown in , the communication system to which the solution provided in the embodiments of the present application is applicable includes at least a first electronic device. The first electronic device can be used to communicate based on satellite communication functions. The specific communication method can be referred to the description in the embodiments below and will not be described in detail here.
[0093] Exemplarily, the first electronic device may be a wearable device (eg, a watch, a bracelet, etc.).
[0094] In some embodiments of the present application, Figure 3 As shown in , the communication system may also include a satellite (the satellite described in the embodiments of the present application may also be understood as or replaced by a satellite communication system). The first electronic device can communicate with the satellite based on the satellite communication function. In the embodiments of the present application, the satellite may be, but is not limited to, a Beidou satellite.
[0095] In some embodiments of the present application, Figure 3 As shown in , 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 receiving end and communication content when the first electronic device performs satellite communication, and can indicate the configured information to the first electronic device. The first electronic device can then perform satellite communication based on 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 described in detail here.
[0096] Illustratively, the second electronic device may be a mobile terminal device such as a mobile phone.
[0097] In some embodiments of the present application, Figure 3 As shown in , the communication system may also include a ground information processing platform, a wireless access network device (or called a base station, etc.) and a third electronic device. Among them, the third electronic device can be a communication receiving end when the first electronic device performs satellite communication. The ground information processing platform can be used as an interface between the satellite and the ground public network. Specifically, the satellite can send satellite messages to the wireless access network device to which the third electronic device belongs through the ground information processing platform, and then the wireless access network device sends the satellite message to the third electronic device. The wireless access network device can be used to provide mobile communication services for the third electronic device. Specifically, the wireless access network device can communicate with the ground information processing center, and then send the satellite message from the ground information processing center to the third electronic device. The first electronic device can send the communication content to the third electronic device through the satellite, the ground information processing center and the wireless access network device to realize communication with the third electronic device.
[0098] Optionally, the hardware architecture of the device in the above communication system may be but is not limited to the above Figure 1 The structure shown in the figure is implemented, and the software architecture of the device in the communication system can be but not limited to the above Figure 2 The architecture shown is implemented.
[0099] It should be understood that the above Figure 3 The system architecture of the communication system shown is only an example of a communication system architecture applicable to the embodiment of the present application. In actual applications, the communication system architecture applicable to the embodiment of the present application may include Figure 3 More or fewer devices or apparatuses than those shown, or replacement / combination / disassembly is possible Figure 3 Some of the devices shown in the embodiment of the present application are not limited.
[0100] Figure 4 A schematic diagram of a message sending method provided in an embodiment of the present application is shown as follows: Figure 4 As shown in , the method may include:
[0101] S401: A first electronic device receives a first operation; wherein the first operation is used to instruct to send target information to a target electronic device associated with a target user account.
[0102] In some embodiments of the present application, the target information may be information manually input by the user, and the target user account may be a user account manually input by the user. Based on this approach, before receiving the first operation, the first electronic device may separately receive an operation in which the user inputs the target information and an operation in which the user inputs the target user account, and then determine the target information and the target user account based on the user operation.
[0103] In some embodiments of the present application, before receiving the first operation, the first electronic device may obtain and save user-preconfigured receiver indication information and content indication information. The receiver indication information may include at least one user account, where each account corresponds to a satellite message receiver, and each user account is associated with a user. The content indication information may include at least one message content. Based on this approach, the target information may be the message content of the at least one message content.
[0104] As an optional implementation, the user-preconfigured receiving end indication information and content indication information may be preconfigured by the user in the first electronic device. In this manner, the user may preconfigure the receiving end indication information and content indication information in the first electronic device, and the first electronic device may store this information for subsequent use.
[0105] As another optional implementation, the user-preconfigured receiver indication information and content indication information can be sent from a second electronic device to a first electronic device, where the first electronic device is associated with the second electronic device. In this approach, the user can configure the receiver indication information and content indication information in the second electronic device. Once configured, the second electronic device can send this information to the first electronic device, which will then save it for subsequent use.
[0106] Among them, the user can update the receiving end indication information and content indication information on the first electronic device or the second electronic device at any time. When the user updates the receiving end indication information and content indication information on the first electronic device, the first electronic device can perform corresponding updates and synchronize the user's updates to the receiving end indication information and content indication information to the second electronic device, and the second electronic device can then perform corresponding updates. When the user updates the receiving end indication information and content indication information on the second electronic device, the second electronic device can perform corresponding updates and synchronize the user's updates to the receiving end indication information and content indication information to the first electronic device, and the first electronic device can then perform corresponding updates.
[0107] Exemplarily, the first electronic device may be a wearable device, and the second electronic device may be a mobile terminal device associated with the wearable device, etc. For example, the first electronic device may be a smart watch, and the second electronic device may be a mobile phone bound to the smart watch.
[0108] The user account in the embodiments of the present application may be, but is not limited to, a cell phone number, etc. The message content in the embodiments of the present application may be, but is not limited to, a text message set by the user, such as "I have an emergency and need help" or "Everything is fine, please rest assured" and other user-defined short messages.
[0109] In some embodiments of the present application, at least one of the user accounts included in the above-mentioned receiving end indication information can be used as a default user account, and any of the message contents included in the above-mentioned 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 the user's instructions or based on the instructions of the second electronic device. The second electronic device can determine the default user account and default message content based on the user's instructions and indicate them to the first electronic device.
[0110] In one possible approach, the target information may be the default message content, and the target user account may be the user account corresponding to the default satellite message receiving end. The user account corresponding to the satellite message receiving end may be the user account logged in by the satellite message receiving end. The user may 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 (i.e., a first operation) that triggers the sending of a satellite message. In this approach, the first electronic device may display an application interface of a satellite communication application before receiving the first operation. The application interface may include a control for triggering the sending of a satellite message, and the first operation may be an operation performed by the user on the control. In this approach, the target information is the default message content, and the target user account is the user account corresponding to the default satellite message receiving end.
[0111] For example, taking the first electronic device as a smart watch, after the user opens the satellite communication application in the first electronic device, the first electronic device may display Figure 5 The application interface shown in , which may include a control for triggering the sending of satellite messages, namely Figure 5 The first operation may be a user clicking the "one-click send" control. Upon receiving the first operation, the first electronic device may 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 receiving end. The electronic device associated with the target user account is the electronic device logged into the user account.
[0112] 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 selecting a target user account, selecting target information, and then triggering the sending of a satellite message. The first operation can be an operation performed by the user to trigger the sending of a satellite message. In this approach, before receiving the first operation, the first electronic device can display an application interface of a satellite communication application. This application interface can include a first control for triggering the selection of a target receiving end (i.e., selecting a target user account corresponding to a satellite message receiving end). In response to the user's operation on the first control, the first electronic device can display a receiving end selection interface. This interface can include the identifier of at least one user account included in the receiving end indication information. The user can select at least one identifier from the identifiers displayed in 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. Upon receiving the user's operation to select at least one identifier in the receiving end selection interface, the first electronic device can, in response to this operation, display a content selection interface. This interface can include the at least one message content included in the content indication information and a second control for triggering the sending of a satellite message. The user can select a message content from the message contents displayed in the interface, and the first electronic device can use the message content selected by the user as the target information. The user can also trigger the transmission of the satellite message by operating the second control in the interface. When receiving the user's operation of selecting a message content in the content selection interface, the first electronic device can determine the target information based on the operation. When receiving the user's operation on the second control, the first electronic device can trigger a communication service that sends the target information to the electronic device associated with the target user account. In this method, the first operation can be the user's operation on the second control.
[0113] For example, taking the first electronic device as a smart watch, 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 in FIG. 1 includes a first control for triggering the selection of a target receiving end. When receiving an operation of the user clicking the first control, the first electronic device may display Figure 6 The receiving end selection interface shown in the figure includes at least one identifier of a user account corresponding to a satellite message receiving end, such as "Zhang San", "Li Si", "Wang Wu", etc. 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. The interface includes at least one message content, and each message content can be a short message. For example, the interface may include short messages such as "I have an emergency and need rescue", "Everything is fine, please rest assured", "I am not feeling well and need rescue", etc. The user can select the message content to be sent, such as "Everything is fine, please rest assured", and can click the second control displayed in the interface to trigger the sending of the message after the selection is completed. After receiving the user's operation of selecting the message content "Everything is fine, please rest assured", the first electronic device can determine that the target information is "Everything is fine, please rest assured". After receiving the user's operation of clicking the second control, the first electronic device can trigger the execution of a service to send the target information to the electronic device associated with the target user account. Among them, the electronic device associated with the target user account is the electronic device that logs in to the user account.
[0114] 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 selecting target information, selecting a target user account, and triggering the sending of a satellite message. The first operation can be a user-performed operation that triggers the sending of a satellite message. In this approach, before receiving the first operation, the first electronic device can display an application interface of a satellite communication application, which can include a first control for triggering the selection of message content. In response to the user's operation on the first control, the first electronic device can display a content selection interface, which can include at least one message content included in the content indication information. Upon receiving a user operation on the content selection interface to select a message content, the first electronic device can display a receiving end selection interface, which can include the identifier of the at least one user account included in the receiving end indication information and a second control for triggering the sending of a satellite message. Upon receiving a user operation on the receiving end selection interface to select at least one identifier, 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. Upon receiving a user operation on the second control, the first electronic device can trigger a communication service that sends the target information to the electronic device associated with the target user account. In this manner, the first operation may be an operation performed by the user on the second control.
[0115] In another possible embodiment, the target information may be information manually input by the user, and the target user account may be a default user account for the satellite message receiver or a user account selected by the user from the at least one user account. The first electronic device may first determine the target information and then the target user account, or may first determine the target user account and then the target information. The manner in which the first electronic device determines the target information and the target user account can be found in the relevant descriptions of the above embodiments and will not be repeated here.
[0116] In another possible embodiment, the target information may be default message information, and the target user account may be a user account manually entered by the user. The first electronic device may first determine the target information and then the target user account, or may first determine the target user account and then the target information. The manner in which the first electronic device determines the target information and the target user account can be found in the relevant descriptions of the above embodiments and will not be repeated here.
[0117] It should be understood that the above method is only an illustrative introduction to some ways of triggering the sending of satellite messages applicable to the solution provided in the embodiments of the present application. The ways of triggering the sending of satellite messages applicable to the solution provided in the embodiments of the present application are not limited to the methods of the above examples. In actual applications, they can be flexibly set in combination with business scenarios, business needs, etc., and will not be listed one by one in the embodiments of the present application.
[0118] It should be understood that the above Figures 5 to 7 The interface shown is only an example. In actual product implementation, the interface may include more or fewer controls. Moreover, the identification information and other content displayed on the interface are not limited to the examples in the figure.
[0119] S402: The first electronic device shuts down at least one service module in operation in response to the received first operation; wherein the at least one service module does not include a service module for satellite communication.
[0120] Among them, the embodiments of the present application do not limit the form of the business module. For example, the business module described in the embodiments of the present application can be an application, a software service, a hardware device (such as a chip, a sensor, an integrated circuit, etc.), or other forms.
[0121] Optionally, when the service module is a software module, shutting down the service module may involve instructing the service module to stop receiving (or inputting), processing, and outputting data (which may also be understood as instructing the service module to cease operation). The service module may directly shut down (or stop or exit) all currently executing processes in accordance with the instructions, thereby ceasing operation. When the service module is a hardware module, shutting down the service module may involve powering off the service module.
[0122] Example 1: For example, if the service module to be shut down is a music application running in the background and playing music on a first electronic device, when a user triggers the sending of a satellite message in a satellite communication application, the first electronic device can directly shut down the background music application. After the music application exits the background, the user can no longer listen to the music.
[0123] Example 2: Taking the audio player of the first electronic device as an example, the business module that needs to be shut down is an audio player. 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, and the audio player can no longer play music, so the user can no longer listen to the music.
[0124] In some embodiments of the present application, the at least one business module may include: a software and hardware module (or service) for executing the business of at least one application, and a storage module (or service) for storing data. Among them, the applications in the first electronic device can be divided into non-closable applications and closable applications, among which non-closable applications include satellite communication-related applications and applications that maintain the basic operation of the first electronic device, and closable applications include applications other than non-closable applications. At least one application may include some or all of the closable applications.
[0125] In one possible manner, the at least one application may include all closable applications in the first electronic device. In another possible manner, the at least one application may be a set application, for example, at least one application pre-configured by a user and selected from closable applications in the first electronic device.
[0126] In some embodiments of the present application, the service modules in the first electronic device can be divided into non-disabled modules and disabled modules, wherein the non-disabled modules include modules related to satellite communication and modules that maintain the basic operation of the first electronic device, and the disabled modules include modules other than the non-disabled modules. As an optional embodiment, at least one service module can include all disabled modules in the first electronic device. As another optional embodiment, at least one service module can be a set service module, for example, it can be at least one service module pre-configured by the user and selected from the disabled modules in the first electronic device. For example, taking the first electronic device as a smart watch as an example, the set at least one service module can include, but is not limited to, music playback services, positioning services, transmission services, buzzers, audio devices, motors, communication devices (such as Bluetooth communication devices, ultra wide band (UWB) communication devices, WiFi communication devices, near field communication (NFC) devices, etc.), global positioning systems (GPS), various sensors, etc. in the smart watch.
[0127] In some embodiments of the present application, when at least one service module includes a storage module, when the first electronic device shuts down the at least one service module in response to a received first operation, the first electronic device may first shut down all service modules in the at least one service module except the storage module, and then shut down the storage module. Before shutting down the storage module, the first electronic device may first obtain the target information and target user account stored in the storage module.
[0128] In some embodiments of the present application, as an optional implementation, in the process of shutting down at least one service module in response to a received first operation, the first electronic device may start executing the operation of shutting down the service module when it is determined that the power supply voltage of the first electronic device is less than and / or equal to a set first voltage or the battery level of the first electronic device is less than or equal to a set first level. Optionally, the first electronic device may stop executing the operation of shutting down the service module when it is determined that the power supply voltage of the first electronic device is greater than or equal to a set second voltage and / or the battery level of the first electronic device is greater than or equal to a set second level. The second voltage is greater than the first voltage, and the second level is greater than the first level.
[0129] Optionally, when the first electronic device determines that the power supply voltage of the first electronic device is greater than or equal to the first voltage and less than or equal to the second voltage and / or the battery power of the first electronic device is greater than or equal to the first power and less than or equal to the second power, the first electronic device may not perform the operation of shutting down the business module, or may shut down some business modules.
[0130] Optionally, when the first electronic device determines that the power supply voltage of the first electronic device is greater than or equal to the second voltage and / or the battery power of the first electronic device is greater than or equal to the second power, the first electronic device may not execute the operation of shutting down the service module.
[0131] As another optional implementation, the first electronic device can determine the number of business modules that need to be shut down based on the correspondence between different preset power supply voltages (or battery levels) and the number of business modules, and then perform the operation of shutting down the business modules according to the number. The magnitude of the power supply voltage is negatively correlated with the number of business modules that need to be shut down. For example, when a voltage value less than or equal to the 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, when the first electronic device determines that its own power supply voltage is less than or equal to the first voltage, the first number of business modules can be shut down. When the first electronic device determines that its own power supply voltage is greater than the first voltage and less than the second voltage, the second number of business modules can be shut down. When the first electronic device determines that its own power supply voltage is greater than the first voltage and less than the second voltage, the third number of business modules can be shut down. The first number is less than the second number, and the second number is less than the third number.
[0132] Optionally, when shutting down the service modules, the first electronic device may determine the order in which to shut down the service modules according to a set rule. For example, the set rule may be to shut down the service modules in descending order of power consumption (or power supply voltage consumption). In this case, when shutting down the service modules, the first electronic device may shut down services with high power consumption first, and then shut down services with low power consumption.
[0133] In some embodiments of the present application, the first electronic device may also determine the business modules that need to be shut down and shut down these business modules based on the correspondence between different preset power supply voltages (or battery levels) and the business modules that need to be shut down.
[0134] 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 a user account logged in to the first electronic device.
[0135] The first user account may be used to determine the sender of the satellite message, and the satellite communication system and the target electronic device may determine the sender of the received satellite message based on the first user account.
[0136] Optionally, the first message may be a satellite short message. Optionally, the first message may be an encrypted message.
[0137] In some embodiments of the present application, the first message may further include location information indicating the location of the first electronic device. The location information may be determined by the first electronic device through positioning itself.
[0138] In the above method, before performing a satellite communication service, i.e., sending a satellite message, the first electronic device shuts down other running service modules, thereby reducing power consumption and maintaining the power level as high as possible to meet the power requirements for sending the satellite message, thereby improving the success rate of satellite message transmission. Furthermore, shutting down other service modules reduces interference with the satellite communication service caused by the execution of other services, further improving the success rate of satellite message transmission.
[0139] The above method can be applied to electronic devices with small battery size and low power (such as wearable devices), and can solve the problem that such electronic devices cannot send satellite messages due to the inability to meet the threshold requirements of the power supply voltage (or battery power) for sending satellite messages. That is, it can achieve the effect of sending satellite messages through electronic devices with small battery size and low power, and at the same time ensure a high sending success rate.
[0140] Optionally, after step S401 and before step S403, the method may further include the following step S402a:
[0141] S402a: The first electronic device heats a battery of the first electronic device.
[0142] Because low battery temperature can also affect the success rate of satellite message transmission, in some embodiments of the present application, after the first electronic device determines the message content and target receiving end of the satellite message to be transmitted, and before transmitting the satellite message, it can heat the battery of the first electronic device, thereby increasing the battery temperature of the first electronic device and further improving the success rate of satellite message transmission. In this method, the at least one service module disabled by the first electronic device may not include the service module for heating the battery.
[0143] In some embodiments of the present application, after determining the message content and target receiving end of the satellite message to be sent, the first electronic device may heat the battery when it determines that the battery temperature is less than or equal to a set first temperature before sending the satellite message. As an optional embodiment, the first electronic device may stop heating the battery after a set heating time. As another optional embodiment, the first electronic device may stop heating the battery after heating it to a battery temperature greater than or equal to the first temperature. Based on the above method, the battery temperature can be prevented from being too high, ensuring normal use of the battery.
[0144] Optionally, the first electronic device can heat the battery via a heater connected to the battery. The heater can be, for example, a resistor with specific properties (such as a property that the resistance is negatively correlated with the ambient temperature), a pre-designed heating circuit, etc.
[0145] The above method can improve the success rate of sending satellite messages when the first electronic device is in a low-temperature environment, so the practicality of the solution is relatively high.
[0146] Optionally, after step S403, the method may further include the following steps S404 to S405:
[0147] S404: After receiving the first message, the satellite sends first feedback information to the first electronic device; wherein the first feedback information is used to confirm receipt of the first message.
[0148] S405: After receiving the first feedback information, the first electronic device restarts at least one service module.
[0149] Among them, after the first electronic device receives the first feedback information, it can determine that the satellite message is sent successfully, and can then restore the business executed before sending the satellite message by restarting at least one business module that was previously closed, thereby ensuring the continuity of other businesses and reducing the impact of satellite communication services on other businesses.
[0150] In some embodiments of the present application, for a service module that is a software module, the first electronic device can restart the service module by instructing the service module to start receiving, processing, and outputting data (which can also be understood as instructing the service module to start running). After the service module is started, it can restore the initial state by executing the set initialization process to ensure that the service module can operate normally when processing subsequent services, that is, normally execute the service processing process of receiving, processing, and outputting data. For a service module that is a hardware module, the first electronic device can restart the service module by re-powering it on.
[0151] For example, based on the scenario described in Example 1 above, after completing the satellite message transmission, the first electronic device can restart the music application and perform an initialization process to restore the music application to its initial state. This process can be performed 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.
[0152] 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, for example, when the user instructs to play music, the first electronic device can play the music through the audio player.
[0153] In some embodiments of the present 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 other service modules in the at least one service module except the storage module.
[0154] Optionally, after step S403, the method may further include the following step S406:
[0155] S406: After receiving the first message, the satellite sends a second message to the target electronic device; wherein the second message includes target information, the first user account and the target user account.
[0156] The target electronic device is a device that logs in the target user account.
[0157] In some embodiments of the present application, when the first message includes the above-mentioned location information, the second message also includes the above-mentioned location information.
[0158] In some embodiments of the present application, when the first message is an encrypted message, the satellite can decrypt the first message to determine the target information, the first user account, the target user account and other information, and send the target information, the first user account, the target user account and other information through the second message.
[0159] Optionally, the satellite may send the second message to the target electronic device through a ground information processing center, a wireless access network device to which the target electronic device belongs, or the like.
[0160] For example, the first electronic device described in the above method may be Figure 3 The first electronic device in the communication system shown in FIG. 1 , the satellite in the above method can be Figure 3 In the satellite of the communication system shown, the target electronic device described in the above method can be Figure 3 A third electronic device in the communication system shown.
[0161] Based on the method provided by the above embodiment, it is possible to achieve the effect of electronic devices communicating with other electronic devices based on satellite communication, and the success rate of electronic devices sending satellite messages can be improved.
[0162] Based on the above embodiments and the same technical concept, the embodiment of the present application also provides a schematic diagram of a communication system and a message sending method. Figure 8 As shown in , a communication system may include a first electronic device, a second electronic device and a satellite.
[0163] The first electronic device may include an application layer, a service framework layer and a platform framework layer.
[0164] For example, when the first electronic device adopts the above Figure 2 When the software architecture is shown, the deployment mode of the application layer in the first electronic device can be Figure 2 In the deployment mode of the application layer shown in FIG, the service framework layer in the first electronic device can be deployed in Figure 2 In the application framework layer shown in , the platform framework layer in the first electronic device can be deployed in Figure 2 Of course, this is just an example of a possible deployment method. In actual applications, the division and deployment method of the software layer in the first electronic device is not limited to this, and is not specifically limited in the embodiments of the present application.
[0165] In some embodiments of the present application, the application layer may include satellite communication applications for controlling satellite communication functions and other applications for controlling the implementation of other services.
[0166] In some embodiments of the present application, the business framework layer may include satellite communication control services and broadcast services. The satellite communication control service can be used to coordinate and manage functional units, services, or devices in the first electronic device to implement satellite communication functions. The satellite communication control service can also be used to communicate with a second electronic device, thereby obtaining communication content and communication receiving end information from the second electronic device during satellite communication. The second electronic device is associated with the first electronic device. The broadcast service is used to broadcast control information from the satellite communication control service to applications in the application layer, so that the applications in the application layer perform corresponding operations based on the control information, thereby cooperating to implement satellite communication functions.
[0167] In some embodiments of the present application, the platform framework layer may include satellite communication services, storage services, battery services, and other service modules. The satellite communication service may be used to communicate with satellites. The storage service may be used to store data. The battery service is used to manage the battery of the first electronic device. Other service modules may include service modules corresponding to various services of the first electronic device other than satellite communication, such as music playback services, positioning services, transmission services, buzzers, audio devices, motors, communication devices, and various sensors.
[0168] It should be understood that the above-mentioned functional units are only examples. In actual 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 functional units can be left undivided and work can be done as a whole.
[0169] The message transmission method provided in the embodiments of the present application may include an information configuration phase and a message transmission phase. The information configuration phase primarily involves configuring the message content and relevant information for the message receiver when transmitting a satellite message. The message transmission phase, which occurs after the information configuration phase, primarily implements satellite message transmission. The specific implementation methods for each phase are described below.
[0170] like Figure 8 As shown in , the process of the method corresponding to the information configuration stage may include the following steps S801 to S803:
[0171] S801: The satellite communication control service receives receiving end indication information and content indication information from a second electronic device, wherein the receiving end indication information includes at least one user account, and the content indication information includes at least one set message content.
[0172] Among them, regarding the receiving end indication information, content indication information, user account, message content and other information, please refer to the relevant introduction in the above embodiments and will not be described in detail here.
[0173] S802: The satellite communication control service sends the received receiving end indication information and content indication information to the satellite communication application.
[0174] S803: The satellite communication application saves the received receiving end indication information and content indication information.
[0175] In some embodiments of the present application, during the information configuration phase, the second electronic device may also transmit a communication key to the first electronic device. The first electronic device may store the communication key and use it in subsequent satellite communications. Optionally, the communication key may be used to encrypt satellite messages sent by the first electronic device.
[0176] like Figure 8 As shown in , the process of the method corresponding to the message sending stage may include the following steps S804 to S820:
[0177] S804: The satellite communication application receives a first operation, where the first operation is used to instruct to send target information to a target electronic device associated with a target user account via satellite communication.
[0178] S805: The satellite communication application reports a satellite communication preparation event to the satellite communication control service. The satellite communication preparation event is used to notify the start of satellite communication.
[0179] S806: After receiving the satellite communication preparation event, the satellite communication control service sends a satellite communication start event to the broadcast service.
[0180] S807: The broadcast service broadcasts the satellite communication start event to other applications in the application layer except the satellite communication application.
[0181] Optionally, other applications may be applications to which some or all of the business modules in at least one business module described in the aforementioned embodiment belong, or other applications may be applications used to control some or all of the business modules in at least one business module described in the aforementioned embodiment.
[0182] S808: After receiving the satellite communication start event, other applications terminate the currently executed service and close the service module used to execute the current service.
[0183] Each application that receives the satellite communication start event can instruct the service module used to execute the application's service to shut down (i.e., stop running), thereby terminating the application's service. Optionally, the application can send a module shutdown instruction to the corresponding service module via a related service in the service framework layer (not specifically limited in the embodiments of the present application), thereby shutting down the corresponding service module.
[0184] Applications other than satellite communication applications in the application layer can pre-register satellite communication start events so as to perform corresponding operations upon receiving satellite communication start events, wherein the satellite communication start event is associated with an operation of shutting down a service module for executing application services.
[0185] S809: The other application sends 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 service module used to execute the application service has been closed.
[0186] Among them, other applications can send a shutdown completion notification to the satellite communication control service after the software and hardware modules used to execute application services are closed.
[0187] S810: The satellite communication application reports a satellite message sending event to the satellite communication control service. The satellite message sending event is used to instruct that target information is sent to a target electronic device associated with a target user account.
[0188] The satellite message sending event carries target information and target user account.
[0189] S811: Satellite communication control service shuts down the storage module.
[0190] S812: After receiving a satellite message sending event from the satellite communication application and a shutdown completion notification from other applications, the satellite communication control service reports a satellite message sending instruction to the satellite communication service. The satellite message sending instruction is used to instruct the target information to be sent to the target electronic device associated with the target user account.
[0191] The satellite message sending instruction carries target information, a first user account logged in by the first electronic device, and a target user account.
[0192] Optionally, the satellite communication control service may also be used to locate the first electronic device, thereby obtaining location information indicating the location of the first electronic device. Alternatively, the service framework layer may further include a positioning service for locating the first electronic device. After obtaining the location information indicating the location of the first electronic device by locating the first electronic device, the positioning service may report the location information to the satellite communication control service. Based on this approach, the satellite transmission instruction may also carry location information.
[0193] S813: The satellite communication service sends a first message to the satellite, where the first message includes target information, a first user account, and a target user account.
[0194] Optionally, when the satellite-sent indication carries location information, the first message may include the location information.
[0195] Optionally, the first message may further include a user account logged in by the first electronic device.
[0196] Optionally, the satellite communication service may encrypt the first message using the communication key and send the encrypted first message to the satellite.
[0197] Satellites can be used to send targeted content to electronic devices logged into the targeted user account.
[0198] Optionally, the method may further include:
[0199] S814: The satellite communication service receives feedback information from the satellite, where the feedback information is used to confirm receipt of the first message.
[0200] S815: The satellite communication control service starts the storage module.
[0201] 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.
[0202] S817: The broadcast service broadcasts the satellite communication termination event to some or all applications in the application layer except for satellite communication-related applications and applications maintaining basic operation of the first electronic device.
[0203] S818: After receiving the satellite communication end event, other applications start the service modules that were closed before the satellite communication to resume the services that were being performed before the satellite communication.
[0204] Optionally, after step S805 and before step S813, the following steps S819 to S820 may be further included:
[0205] S819: The satellite communication control service instructs the battery service to heat the battery of the first electronic device.
[0206] S820: The battery service heats the battery of the first electronic device.
[0207] The specific implementation of some of the above steps can be found in the relevant introduction in the above embodiments, and will not be described in detail here.
[0208] The above method allows for control of satellite communication processes through satellite communication applications and satellite communication control services added to the electronic device. Before sending a satellite message, the satellite communication control service can shut down non-satellite communication services and heat the battery. After sending the satellite message, the satellite communication control service can restore non-satellite communication services. This reduces the battery power and voltage consumption of other service modules within the satellite message transmission device, ensuring that the battery power and voltage are maximized for satellite communication services, thereby improving the success rate of satellite message transmission.
[0209] It should be noted that the specific implementation process provided in the above example is only an example of the method process applicable to the embodiment of the present application. The execution order of each step can be adjusted accordingly according to actual needs, and other steps can be added or some steps can be reduced.
[0210] Based on the above embodiments and the same technical concept, the present application embodiment also provides a message sending method, such as Figure 9 As shown in , the method may include:
[0211] S901: A first electronic device shuts down at least one running service module in the first electronic device in response to a received first operation, wherein the first operation is used to instruct the sending of a satellite message.
[0212] Illustratively, the first operation may be the first operation described in the aforementioned embodiment.
[0213] S902: The first electronic device sends a first message.
[0214] The first message is a satellite message, and the first electronic device can send the first message to a satellite.
[0215] In some embodiments of the present application, the first message may include a first user account, a second user account and a first content; wherein, the first user account is a user account logged in to the first electronic device; the second user account includes a user account stored in the first electronic device for use as a receiving end.
[0216] Exemplarily, the first user account may be the first user account described in the aforementioned embodiment, the second user account may be the target user account described in the aforementioned embodiment, and the first content may be the target information described in the aforementioned embodiment.
[0217] Specifically, the specific steps executed by the electronic device in this method can be found in the relevant descriptions in the aforementioned embodiments, and will not be described in detail here.
[0218] Based on the above embodiments and the same concept, the embodiment of the present application further provides an electronic device, which is used to implement the message sending method provided in the embodiment of the present application. Figure 10 As shown in FIG, 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 further include a display screen 1001. The above components may be coupled via one or more communication buses 1004.
[0219] 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 (codes), which include computer instructions. The one or more processors 1003 call the computer instructions stored in the memory 1002 to enable the electronic device 1000 to execute the message sending method provided in the embodiment of the present application.
[0220] In a specific implementation, the memory 1002 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more disk storage devices, flash memory devices or other non-volatile solid-state storage devices. The memory 1002 can store an operating system (hereinafter referred to as system), such as ANDROID, IOS, WINDOWS, or embedded operating systems such as LINUX. The memory 1002 can be used to store the implementation program of the embodiment of the present application. The memory 1002 can also store a network communication program, which can be used to communicate with one or more additional devices, one or more user devices, or one or more network devices. The one or more processors 1003 can be a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the program of the present application.
[0221] It should be noted that Figure 10 This is only one implementation of the electronic device 1000 provided in the embodiment of the present application. In actual applications, the electronic device 1000 may also include more or fewer components, which is not limited here.
[0222] Based on the above embodiments and the same concept, an embodiment of the present application further provides a system, which includes the above-mentioned first electronic device and second electronic device.
[0223] Based on the above embodiments and the same concept, an embodiment of the present application further provides a computer-readable storage medium, which stores a computer program. When the computer program runs on a computer, the computer executes the method provided in the above embodiments.
[0224] Based on the above embodiments and the same concept, an embodiment of the present application further provides a computer program product, which includes a computer program or instructions. When the computer program or instructions are run on a computer, the computer executes the method provided in the above embodiments.
[0225] The methods provided in the embodiments of the present application may be implemented in whole or in part through software, hardware, firmware, or any combination thereof. When implemented using software, they may 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, the processes or functions according to the embodiments of the present invention are generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, a network device, a user device, 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 computer-readable storage medium. For example, computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) method. A computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that includes 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.
[0226] Obviously, those skilled in the art may make various changes and modifications to the present application without departing from the scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include these modifications and variations.
Claims
1. A message sending method, applied to a first electronic device, characterized in that: The method comprises: In response to the received first operation, if it is determined that the power supply voltage of the first electronic device is less than or equal to a set first voltage and / or the battery level of the first electronic device is less than or equal to a set first level, shutting down at least one running service module in the first electronic device; wherein the first operation is used to instruct the sending of a satellite message, and the at least one service module does not include a service module for satellite communication; Sending a first message; When a second message is received from the satellite, the at least one service module is restarted; wherein the second message is used to confirm receipt of the first message.
2. The method according to claim 1, wherein The shutting down at least one running service module in the first electronic device includes: An operation of shutting down a service module in a running state in the first electronic device is performed until the first electronic device meets the following conditions: a power supply voltage is greater than or equal to a set second voltage, and / or a battery power is greater than or equal to a set second power; The second voltage is greater than the first voltage, and the second electrical quantity is greater than the first electrical quantity.
3. The method according to claim 2, wherein The operation of shutting down the running service module in the first electronic device is: instructing the service module to stop receiving, processing and outputting data, or powering off the service module.
4. The method according to claim 3, wherein When the business module in operation in the first electronic device is at least one of a music playback service, a positioning service, and a transmission service, the operation of shutting down the business module in operation in the first electronic device is: instructing the business module to stop receiving, processing, and outputting data.
5. The method according to claim 4, wherein When the business module in the running state in the first electronic device is at least one of a buzzer, an audio receiver, an audio player, a motor, a communication device, a locator, and a sensor, the operation of shutting down the business module in the running state in the first electronic device is: powering off the business module.
6. The method according to any one of claims 1 to 5, characterized in that: Before sending the first message, the method further includes: In response to the first operation, when it is determined that the battery temperature of the first electronic device is less than a set temperature, the battery of the first electronic device is heated.
7. The method according to claim 6, wherein The heating of the battery of the first electronic device includes: Setting a heating time for the battery of the first electronic device; or The battery of the first electronic device is heated until the temperature of the battery of the first electronic device is greater than or equal to the set temperature.
8. The method according to any one of claims 1 to 7, wherein: The first message includes 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; the second user account includes a user account stored in the first electronic device for use as a receiving end.
9. The method according to claim 8, wherein The second user account includes: a set default user account, or at least one target user account indicated by the received second operation; The first content includes: a set default content, or a target content indicated by a received third operation.
10. The method according to claim 9, wherein 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 running service module in the first electronic device 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; The configuration information is saved.
11. The method according to any one of claims 1 to 10, wherein: The first electronic device is a wearable device.
12. An electronic device, characterized in that: The electronic device includes a memory and one or more processors; The memory is used to store computer program code, and the computer program code includes computer instructions; when the computer instructions are executed by the one or more processors, the electronic device executes the method according to any one of claims 1 to 11.
13. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, and when the computer program is run on an electronic device, the electronic device executes the method according to any one of claims 1 to 11.
Citation Information
Patent Citations
Control system applicable to Beidou terminal
CN107121686A
Power management method and related device
CN110401462A
Communication method and device
CN115412931A