Communication method and electronic equipment
By employing simultaneous recording and compression technology and adaptive network selection, the problem of low compatibility between satellite communication and wearable devices has been solved, enabling efficient emergency message transmission and improving user experience and emergency assistance efficiency.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- HUAWEI TECH CO LTD
- Filing Date
- 2025-09-05
- Publication Date
- 2026-05-12
AI Technical Summary
In existing technologies, satellite communication functions are not well compatible with wearable devices, which affects the user experience, especially in areas with weak cellular network signals, making it difficult for users to send emergency messages efficiently.
It compresses voice data by recording and compressing simultaneously, combines cellular and satellite communication, adaptively selects the communication method based on network conditions, and automatically carries the user's health data in emergencies to improve the efficiency of sending emergency messages.
By using the on-the-fly recording and compression technology, the computational burden on wearable devices is reduced, the efficiency of sending emergency messages is improved, user waiting time is reduced, and the intelligence and flexibility of emergency assistance are enhanced.
Smart Images

Figure CN122027733A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of terminal technology, and in particular to a communication method and electronic device. Background Technology
[0002] With the development of terminal technology, mobile phones now support satellite communication functions, such as making or receiving satellite calls and sending and receiving satellite messages. This allows users to communicate via satellite even in areas with weak cellular network signals.
[0003] However, the compatibility of satellite communication functions with wearable devices such as smartwatches is currently not high, which affects the user experience. Summary of the Invention
[0004] To address the aforementioned technical problems, this application provides a communication method and an electronic device. The technical solution provided by this application enables the transmission of voice messages and the simultaneous recording and compression of voice messages, reducing user waiting time.
[0005] To achieve the above-mentioned technical objectives, the embodiments of this application provide the following technical solutions:
[0006] A first aspect provides a communication method applied to an electronic device, the method comprising: receiving a first operation, the first operation being used to instruct the sending of a voice message; recording voice; wherein, during the recording of the voice, the voice data corresponding to the acquired voice is compressed according to a preset period; upon completion of the voice recording, acquiring a compressed target voice message; and sending the target voice message to a designated contact.
[0007] In this way, by recording and compressing simultaneously, users no longer need to wait for electronic devices to compress voice data after recording, effectively improving the efficiency of sending voice messages and enhancing the user's voice communication experience.
[0008] According to the first aspect, the electronic device is a wearable device.
[0009] One drawback is that, due to the limited computing power of wearable devices, compressing all voice recordings at once would take a long time, increasing the user's waiting time. Therefore, the method of recording and compressing simultaneously reduces the computing power requirements of wearable devices, making this communication method more suitable for wearable devices such as smartwatches.
[0010] In this way, sending voice messages reduces the difficulty for users to send messages on devices with small operating areas, such as wearable devices.
[0011] According to the first aspect, or any implementation of the first aspect above, sending the target voice message to the designated contact includes: obtaining the current network status; selecting a target communication method based on the network status; and sending the target voice message to the designated contact.
[0012] Optionally, the current network status includes, for example, network availability, network quality, and network charges. Network availability includes, for example, whether the network currently exists. Optionally, network availability may also include whether use is permitted. For example, the BeiDou satellite communication network limits the number of emergency messages that can be sent each month. If the remaining number of messages is insufficient, the BeiDou satellite communication network can be determined to be unavailable.
[0013] In this way, electronic devices can adaptively select the appropriate communication network based on the current network status, helping users send emergency messages. This eliminates the need for users to blindly choose communication methods, effectively improving the efficiency of emergency assistance.
[0014] According to the first aspect, or any implementation of the first aspect above, the target communication method is any one of the following: cellular communication method, first satellite communication method, and second satellite communication method.
[0015] For example, the first satellite communication method is based on the Tiantong satellite communication network, and the second satellite communication method is based on the Beidou satellite communication network. Alternatively, the first satellite communication method is based on the Beidou satellite communication network, and the second satellite communication method is based on the Tiantong satellite communication network.
[0016] According to the first aspect, or any implementation of the first aspect above, sending the target voice message to the designated contact includes: obtaining stored health data. The designated contact sends an emergency message, the emergency message carrying the target voice message and the health data.
[0017] In this way, when electronic devices determine that an emergency message requires the inclusion of user health data, they can automatically retrieve previously saved health data, effectively improving the efficiency of health data collection and consequently the efficiency of emergency message delivery, thus avoiding user waiting. Furthermore, it avoids the problem of data retrieval failure due to user non-cooperation during ad-hoc health data collection.
[0018] According to the first aspect, or any implementation of the first aspect above, before acquiring the stored physical health data, the method further includes: determining that the voice data corresponding to the voice includes semantically related content to preset content; wherein the preset content is related to physical health.
[0019] Thus, based on the inclusion of relevant semantic content in the emergency message input by the user, it can be determined that the user is experiencing an abnormal physical condition. Only in this case will the electronic device acquire and send health data, avoiding the inclusion of health data in every emergency message, which would increase the information content of the emergency message and reduce its transmission efficiency.
[0020] According to the first aspect, or any implementation of the first aspect above, the set contact includes one or more of the following: pre-configured contacts, contacts synchronized between the electronic device and devices with the same account, contacts obtained from the phone book or call records, and official rescue numbers.
[0021] In this way, electronic devices can flexibly access contacts and send emergency messages, avoiding the problem of being unable to send emergency messages due to not having set up contacts.
[0022] Secondly, a communication method is provided, applied to an electronic device, the method comprising: detecting an operation instructing the sending of an emergency message; obtaining the current network status; and, based on the network status, selecting a target communication method and sending the emergency message to a designated contact.
[0023] According to the second aspect, the target communication method is any one of the following: cellular communication, a first satellite communication, or a second satellite communication.
[0024] In this way, electronic devices can adaptively select the appropriate communication network based on the current network status, helping users send emergency messages. This eliminates the need for users to blindly choose communication methods, effectively improving the efficiency of emergency assistance.
[0025] According to the second aspect, or any implementation of the second aspect above, selecting a target communication method based on the network state includes: when the network state indicates that the cellular network is unavailable, selecting a satellite communication method as the target communication method. And / or, based on the network state, selecting the target communication method as the communication method with the highest network quality among the communication methods supported by the electronic device.
[0026] In this way, integrating emergency assistance functions corresponding to multiple communication networks, such as integrating SOS emergency assistance function and satellite communication function, makes the communication function more intelligent and simplifies user operation.
[0027] According to the second aspect, or any implementation of the second aspect above, the message type of the emergency message is a voice message. Before detecting the operation indicating the sending of an emergency message, the method further includes: in response to the first operation, recording voice; wherein, during the recording of the voice, the voice data corresponding to the acquired voice is compressed according to a preset period. When the voice recording is completed, the compressed target voice message is acquired, and the emergency message includes the target voice message.
[0028] In this way, by starting the compression of voice data during the recording process, the compression is completed as soon as the recording is finished, or the remaining voice data can be compressed in a short time of milliseconds after the recording is finished, so that the user can complete the compression of voice data without noticing.
[0029] According to the second aspect, or any implementation of the second aspect above, the emergency message also includes stored physical health data.
[0030] According to the second aspect, or any implementation of the second aspect above, the emergency message includes semantically related content to preset content; wherein the preset content is related to physical health.
[0031] In this way, electronic devices can determine whether a user is in danger by semantically analyzing the content of emergency messages. If the user is in danger, the electronic device can carry health data in the emergency message, so that emergency contacts may need to know the user's physical condition in order to provide more appropriate assistance.
[0032] According to the second aspect, or any implementation of the second aspect above, the set contact includes one or more of the following: pre-configured contacts, contacts synchronized between the electronic device and devices with the same account, contacts obtained from the phone book or call records, and official rescue numbers.
[0033] In this way, electronic devices can flexibly access contacts and send emergency messages, avoiding the problem of being unable to send emergency messages due to not having set up contacts.
[0034] According to the second aspect, or any implementation of the second aspect above, the message type of the emergency message includes one or more of the following: text message, voice message, and voice-to-text message.
[0035] Thus, compared to current electronic devices that only support sending text messages as the type of emergency message, the communication method provided in this application embodiment can provide users with a wider variety of emergency message types.
[0036] According to the second aspect, or any implementation thereof, the electronic device is a wearable device.
[0037] Thirdly, a communication method is provided, applied to an electronic device, the method comprising: receiving an input emergency message; determining that the emergency message includes semantically related content to the preset content, wherein the preset content is related to physical health; acquiring stored physical health data; and sending the emergency message and the physical health data to a designated contact.
[0038] In this way, electronic devices can determine whether a user is in danger by semantically analyzing the content of emergency messages. If the user is in danger, the electronic device can carry health data in the emergency message, so that emergency contacts may need to know the user's physical condition in order to provide more appropriate assistance.
[0039] Furthermore, when electronic devices determine that an emergency message requires the inclusion of user health data, they can automatically retrieve previously saved health data, effectively improving the efficiency of health data collection and consequently the efficiency of emergency message delivery, thus avoiding user waiting. This also prevents issues such as uncooperative users leading to failed health data retrieval due to temporary data collection.
[0040] Sending the emergency message and health data to a designated contact as described in the third aspect includes: obtaining the current network status; selecting a target communication method based on the network status; and sending the emergency message and health data to the designated contact.
[0041] According to the third aspect, or any implementation of the third aspect above, the target communication method is any one of the following: cellular communication method, first satellite communication method, or second satellite communication method.
[0042] In this way, electronic devices can adaptively select the appropriate communication network based on the current network status, helping users send emergency messages. This eliminates the need for users to blindly choose communication methods, effectively improving the efficiency of emergency assistance.
[0043] According to the third aspect, or any implementation thereof, the emergency message type is a voice message, and receiving the input emergency message includes: in response to a first operation, recording voice; wherein, during the recording of the voice, the voice data corresponding to the acquired voice is compressed according to a preset period. Upon completion of the voice recording, a compressed target voice message is acquired, and the emergency message includes the target voice message.
[0044] In this way, by starting the compression of voice data during the recording process, the compression is completed as soon as the recording is finished, or the remaining voice data can be compressed in a short time of milliseconds after the recording is finished, so that the user can complete the compression of voice data without noticing.
[0045] According to the third aspect, or any implementation of the third aspect above, the set contact includes one or more of the following: pre-configured contacts, contacts synchronized between the electronic device and devices with the same account, contacts obtained from the phone book or call records, and official rescue numbers.
[0046] In this way, electronic devices can flexibly access contacts and send emergency messages, avoiding the problem of being unable to send emergency messages due to not having set up contacts.
[0047] According to the third aspect, or any implementation of the third aspect above, the message type of the emergency message includes one or more of the following: text message, voice message, and voice-to-text message.
[0048] Thus, compared to current electronic devices that only support sending text messages as the type of emergency message, the communication method provided in this application embodiment can provide users with a wider variety of emergency message types.
[0049] According to the third aspect, or any implementation of the third aspect above, the electronic device is a wearable device.
[0050] Fourthly, an electronic device is provided. The electronic device includes: a processor and a memory, the memory being coupled to the processor, the memory storing computer-readable instructions, wherein when the processor reads the computer-readable instructions from the memory, the electronic device performs: receiving a first operation, the first operation being used to instruct the transmission of a voice message; recording voice; wherein, during the recording of voice, the acquired voice data corresponding to the voice is compressed according to a preset period; upon completion of the voice recording, acquiring a compressed target voice message; and sending the target voice message to a designated contact.
[0051] According to the fourth aspect, or any implementation of the fourth aspect above, the electronic device is a wearable device.
[0052] According to the fourth aspect, sending the target voice message to the designated contact includes: obtaining the current network status; selecting a target communication method based on the network status; and sending the target voice message to the designated contact.
[0053] According to the fourth aspect, or any implementation of the fourth aspect above, the target communication method is any one of the following: cellular communication method, first satellite communication method, or second satellite communication method.
[0054] According to the fourth aspect, or any implementation of the fourth aspect above, sending the target voice message to the designated contact includes: obtaining stored physical health data. The designated contact sends an emergency message, the emergency message carrying the target voice message and the physical health data.
[0055] According to the fourth aspect, or any implementation of the fourth aspect above, when the processor reads computer-readable instructions from the memory, it further causes the electronic device to perform: determining that the voice data corresponding to the voice includes semantically related content to preset content; wherein the preset content is related to physical health.
[0056] According to the fourth aspect, or any implementation of the fourth aspect above, the set contact includes one or more of the following: pre-configured contacts, contacts synchronized between the electronic device and devices with the same account, contacts obtained from the phone book or call records, and official rescue numbers.
[0057] Fifthly, an electronic device is provided. The electronic device includes: a processor and a memory, the memory being coupled to the processor, the memory storing computer-readable instructions, and when the processor reads the computer-readable instructions from the memory, causing the electronic device to perform: detecting an instruction to send an emergency message; obtaining the current network status; and, based on the network status, selecting a target communication method and sending the emergency message to a designated contact.
[0058] According to the fifth aspect, the target communication method is any one of the following: cellular communication, first satellite communication, or second satellite communication.
[0059] According to the fifth aspect, or any implementation of the fifth aspect above, selecting a target communication method based on the network state includes: when the network state indicates that the cellular network is unavailable, selecting a satellite communication method as the target communication method. And / or, based on the network state, selecting the target communication method as the communication method with the highest network quality among the communication methods supported by the electronic device.
[0060] According to the fifth aspect, or any implementation thereof, the emergency message is a voice message. When the processor reads computer-readable instructions from the memory, it further causes the electronic device to perform: in response to the first operation, record voice; wherein, during the recording of the voice, the voice data corresponding to the acquired voice is compressed according to a preset period. When the voice recording is completed, the compressed target voice message is acquired, and the emergency message includes the target voice message.
[0061] According to the fifth aspect, or any implementation of the fifth aspect above, the emergency message also includes stored physical health data.
[0062] According to the fifth aspect, or any implementation of the fifth aspect above, the emergency message includes semantically related content to the preset content; wherein the preset content is related to physical health.
[0063] According to the fifth aspect, or any implementation of the fifth aspect above, the set contact includes one or more of the following: pre-configured contacts, contacts synchronized between the electronic device and devices with the same account, contacts obtained from the phone book or call records, and official rescue numbers.
[0064] According to the fifth aspect, or any implementation of the fifth aspect above, the message type of the emergency message includes one or more of the following: text message, voice message, and voice-to-text message.
[0065] According to the fifth aspect, or any implementation thereof, the electronic device is a wearable device.
[0066] Sixthly, an electronic device is provided. The electronic device includes: a processor and a memory, the memory being coupled to the processor, the memory storing computer-readable instructions, which, when read from the memory by the processor, cause the electronic device to perform: receiving an input emergency message; determining that the emergency message includes semantically related content to preset content; wherein the preset content is related to physical health; acquiring stored physical health data; and sending the emergency message and the physical health data to a designated contact.
[0067] Sending the emergency message and the health data to a designated contact as described in the sixth aspect includes: obtaining the current network status; selecting a target communication method based on the network status; and sending the emergency message and the health data to the designated contact.
[0068] According to the sixth aspect, or any implementation of the sixth aspect above, the target communication method is any one of the following: cellular communication method, first satellite communication method, or second satellite communication method.
[0069] According to the sixth aspect, or any implementation thereof, the emergency message is a voice message, and receiving the input emergency message includes: in response to a first operation, recording voice; wherein, during the recording of the voice, the voice data corresponding to the acquired voice is compressed according to a preset period. Upon completion of the voice recording, a compressed target voice message is acquired, and the emergency message includes the target voice message.
[0070] According to the sixth aspect, or any implementation of the sixth aspect above, the set contact includes one or more of the following: pre-configured contacts, contacts synchronized between the electronic device and devices with the same account, contacts obtained from the phone book or call records, and official rescue numbers.
[0071] According to the sixth aspect, or any implementation of the sixth aspect above, the message type of the emergency message includes one or more of the following: text message, voice message, and voice-to-text message.
[0072] According to the sixth aspect, or any implementation thereof, the electronic device is a wearable device.
[0073] In a seventh aspect, this application provides an electronic device having the function of implementing the methods described in the first, second, and third aspects and any possible implementations thereof. This function can be implemented in hardware or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above-described functions.
[0074] Eighthly, a computer-readable storage medium is provided. The computer-readable storage medium stores a computer program (also referred to as instructions or code) that, when executed by an electronic device, causes the electronic device to perform the methods of the first aspect, the second aspect, the third aspect, and any possible implementation thereof.
[0075] Ninthly, this application provides a computer program product that, when run on an electronic device, causes the electronic device to perform the method of the first aspect, the second aspect, the third aspect, and any possible implementation thereof.
[0076] In a tenth aspect, this application provides a circuit system including a processing circuit configured to perform the methods of the first aspect, the second aspect, the third aspect, and any possible implementation thereof.
[0077] In one aspect, this application provides a chip system including at least one processor and at least one interface circuit. The at least one interface circuit is used to perform transceiver functions and send instructions to at least one processor. When at least one processor executes instructions, at least one processor performs the method of the first aspect, the second aspect, the third aspect, and any possible implementation thereof. Attached Figure Description
[0078] Figure 1 Interface illustration provided for embodiments of this application Figure 1 ;
[0079] Figure 2 Interface illustration provided for embodiments of this application Figure 2 ;
[0080] Figure 3 Interface illustration provided for embodiments of this application Figure 3 ;
[0081] Figure 4 Interface illustration provided for embodiments of this application Figure 4 ;
[0082] Figure 5 Interface illustration provided for embodiments of this application Figure 5 ;
[0083] Figure 6 A schematic diagram of the hardware structure of the electronic device provided in the embodiments of this application;
[0084] Figure 7 Interface illustration provided for embodiments of this application Figure 6 ;
[0085] Figure 8 Interface illustration provided for embodiments of this application Figure 7 ;
[0086] Figure 9 Interface illustration provided for embodiments of this application Figure 8 ;
[0087] Figure 10 Interface illustration provided for embodiments of this application Figure 9 ;
[0088] Figure 11 Interface illustration provided for embodiments of this application Figure 10 ;
[0089] Figure 12 Interface illustration provided for embodiments of this application Figure 10 one;
[0090] Figure 13Interface illustration provided for embodiments of this application Figure 10 two;
[0091] Figure 14 Interface illustration provided for embodiments of this application Figure 10 three;
[0092] Figure 15 Interface illustration provided for embodiments of this application Figure 10 Four;
[0093] Figure 16 Interface illustration provided for embodiments of this application Figure 10 five;
[0094] Figure 17 Interface illustration provided for embodiments of this application Figure 10 six;
[0095] Figure 18 Interface illustration provided for embodiments of this application Figure 10 seven;
[0096] Figure 19 Flowchart of the communication method provided in the embodiments of this application Figure 1 ;
[0097] Figure 20 Flowchart of the communication method provided in the embodiments of this application Figure 2 ;
[0098] Figure 21 Flowchart of the communication method provided in the embodiments of this application Figure 3 ;
[0099] Figure 22 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0100] The technical solutions of the embodiments of this application are described below with reference to the accompanying drawings. In the description of the embodiments of this application, the terminology used in the following embodiments is for the purpose of describing specific embodiments only and is not intended to be a limitation of this application. As used in the specification and appended claims of this application, the singular expressions “a,” “an,” “the,” “the,” “the,” and “this” are intended to include expressions such as “one or more,” unless the context clearly indicates otherwise. It should also be understood that in the following embodiments of this application, “at least one” and “one or more” refer to one or more (including two).
[0101] References to "one embodiment" or "some embodiments" in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized. The term "connection" includes direct connections and indirect connections, unless otherwise stated. "First" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated.
[0102] In the embodiments of this application, the words "exemplarily" or "for example" are used to indicate examples, illustrations, or explanations. Any embodiment or design described as "exemplarily" or "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design solutions. Specifically, the use of the words "exemplarily" or "for example" is intended to present the relevant concepts in a specific manner.
[0103] In some embodiments, the electronic device is equipped with an SOS emergency assistance function, which enables users to make phone calls or send messages to emergency contacts in dangerous situations to obtain help.
[0104] For example, such as Figure 1 As shown in (a), the smartwatch responds to a user's continuous pressing of button 11 by making a phone call or sending a message to an emergency contact. The user can set emergency contacts according to their needs. For example, if the smartwatch detects a user clicking control 12, it displays... Figure 1 The SOS emergency help settings interface is shown in (b). Afterwards, the smartwatch detects the user's interaction with the emergency contact control 13 and displays the following... Figure 1 The emergency contact settings interface is shown in (c). Users can then add or delete emergency contacts as needed in the emergency contact settings interface.
[0105] It should be understood that the accompanying drawings are for illustrative purposes only. Figure 1The SOS emergency help settings interface shown in (b) refers to the interface displayed on the touchscreen inside the smartwatch's bezel. Content displayed within the smartwatch's bezel can be viewed on the touchscreen, while content displayed outside the bezel cannot. The current SOS emergency help settings interface is only used to display possible content; users can view this content by swiping. Similar issues in other attached diagrams will not be explained further.
[0106] It can be seen that the SOS emergency contact function of electronic devices is limited to sending emergency messages to pre-set emergency contacts. If the user has not set up emergency contacts, they cannot send emergency messages. Furthermore, the content of the emergency message is preset and cannot be modified by the user. In addition, the SOS emergency contact function relies on cellular networks; if cellular network conditions are poor, the SOS emergency contact function will be unusable, preventing the user from sending emergency messages.
[0107] In some embodiments, the electronic device is equipped with satellite communication capabilities, so that users can also choose to seek emergency assistance via satellite communication when cellular network conditions are poor.
[0108] For example, such as Figure 2 As shown in (a), the smartwatch displays a BeiDou satellite message sending interface based on user input. Subsequently, upon detecting the user's instruction to send a message, the smartwatch can send preset emergency messages to pre-set contacts. Users can choose to set contacts on the smartwatch or a connected electronic device (such as a mobile phone). For example, as shown... Figure 3 As shown in (a), during the process of displaying the Beidou satellite message card interface, the mobile phone detects the user's operation on the contact setting control 31, which can display as follows: Figure 3 The contact settings interface shown in (b) allows users to delete existing contacts or add new ones. For example, ... Figure 3 As shown in (c), the phone adds a new contact based on the user's actions.
[0109] It can be seen that the satellite communication function of electronic devices is also limited to sending emergency messages to pre-set contacts; if the user has not set up contacts, emergency messages cannot be sent. Furthermore, the content of the emergency messages is preset and cannot be modified by the user.
[0110] In addition, such as Figure 2 As shown in (a), the smartwatch is configured with BeiDou satellite messaging functionality in the form of cards; Figure 2As shown in (b), the mobile phone also configures the BeiDou satellite messaging function through the card function of the wallet application. Cards are generally used for payments, while users typically think of using communication functions such as calls when seeking help. Users' established habits may increase the difficulty of using the service.
[0111] Furthermore, the two emergency assistance functions mentioned above are unrelated, and users must choose which function to use. For example, a user who is accustomed to using the SOS emergency assistance function can only switch to satellite communication after discovering that the current network conditions do not support the SOS emergency assistance function. In an emergency, this wastes the user's time.
[0112] In some embodiments, satellite communication capabilities of certain electronic devices support the sending of voice messages, thereby avoiding limitations on fixed emergency message content and enabling more flexible message delivery. Furthermore, due to the smaller display screen of smartwatches, voice control may be more convenient for users.
[0113] For example, such as Figure 4 As shown in Figure (a), during the process of displaying the new message interface, the mobile phone receives the user's voice input and creates a new voice message, as indicated by reference numeral 41. Then, in response to the user's operation on the confirmation send control 42, the voice message can be sent. However, satellite communication bandwidth is limited (e.g., a single channel of the Tiantong satellite communication network is only 1.2kbps-2.4kbps), resulting in excessively large raw voice data volume and extremely low direct transmission efficiency. Therefore, the mobile phone needs to compress the voice message before sending it to improve transmission efficiency. For example, as shown in Figure (a), the voice message is compressed. Figure 4 As shown by reference numeral 43 in Figure (b), the user needs to wait for the phone to compress the voice message. This compression waiting process may affect the user experience. Furthermore, time is precious in emergencies, and voice message compression can impact the efficiency of emergency calls for help.
[0114] In some embodiments, in scenarios where a user needs emergency assistance, the person receiving the assistance (such as an emergency contact) may need to know the user's physical condition in order to provide more appropriate rescue. To address this, wearable devices such as smartwatches, based on their detection capabilities, can detect the user's health data according to the user's instructions and include this health data in the sent emergency message.
[0115] For example, such as Figure 5 As shown in (a), the smartwatch detects the user's interaction with the quick help control 51 and determines that the user has instructed the user to trigger the quick help process. The smartwatch can then display the following sequentially: Figure 5 (b) Figure 5 The interface shown in (d) prompts the user to select the current emergency situation, their own physical condition, and the number of people traveling with them. Then, as... Figure 5 As shown in (e), the smartwatch confirms the user's instruction that this emergency message requires the user's health data. Then, in response to the user's action on the next control 52, as follows... Figure 5 (f) Figure 5 As shown in (g), the smartwatch can begin collecting the user's health data, such as blood oxygen and heart rate. Then, as... Figure 5 The emergency message preview interface shown in (h) allows the smartwatch to display the emergency message content generated based on the user's selected data and health data, facilitating user confirmation. Afterward, the smartwatch detects the user's action on the "Send Now" control 53 and can send the generated emergency message.
[0116] As can be seen, the overall triggering process of a smartwatch is cumbersome if an emergency message needs to carry the user's health data. Furthermore, if the user is currently in poor health, the entire process may fail to complete, preventing the emergency message from being sent.
[0117] Based on the above, this application provides a communication method in which an electronic device can compress voice data while receiving user voice, and directly send the compressed voice file after the user finishes recording, thereby reducing the user's waiting time.
[0118] Furthermore, in response to user instructions to send emergency messages, electronic devices can automatically identify the current network status and select a suitable network to send the emergency message. This reduces the need for users to select a network, simplifies operation, and improves the efficiency of emergency assistance.
[0119] In addition, electronic devices can automatically add the user's recent health data to emergency messages, eliminating the need to collect user health data on an ad-hoc basis, thus avoiding user waiting and improving the user experience.
[0120] In some embodiments, the communication method provided in this application can be applied to an electronic device 100. Optionally, the electronic device 100 includes, but is not limited to, terminal devices such as smartwatches, smart bracelets, smart armbands, smart rings, rings, mobile phones, tablets, and smart glasses. The operating system installed on the electronic device 100 includes, but is not limited to, […]. Alternatively, other operating systems may be used. This application does not limit the specific type of electronic device 100 or the operating system installed on it. It should be understood that the smartwatch may include a calling watch, a sports watch, etc.
[0121] Figure 6 This is a schematic diagram of the hardware structure of the electronic device 100 provided in an embodiment of this application.
[0122] For example, such as Figure 6As shown, the electronic device 100 may include a processor 610, a memory 621, a power management module 641, an antenna 1, an antenna 2, a mobile communication module 650, a wireless communication module 660, an audio module 670, a sensor module 680, a motor 691, a display screen 694, etc.
[0123] It is understood that the structures illustrated in the embodiments of this application do not constitute a specific limitation on the electronic device 100. In other embodiments of this application, the electronic device 100 may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0124] The processor 610 may include one or more processing units, such as a central processing unit (CPU), an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural network processing unit (NPU). These different processing units may be independent devices or integrated into one or more processors.
[0125] The controller can generate operation control signals based on the instruction opcode and timing signals to complete the control of instruction fetching and execution.
[0126] The processor 610 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor 610 is a cache memory. This memory can store instructions or data that the processor 610 has just used or that are used repeatedly. If the processor 610 needs to use the instruction or data again, it can retrieve it directly from the memory. This avoids repeated accesses, reduces the waiting time of the processor 610, and thus improves the efficiency of the system.
[0127] In some embodiments, the processor 610 may include one or more interfaces. Interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.
[0128] The MIPI interface can be used to connect the processor 610 to peripheral devices such as the display screen 694. The MIPI interface includes a camera serial interface (CSI) and a display serial interface (DSI). In some embodiments, the processor 610 and the display screen 694 communicate via the DSI interface to realize the display function of the electronic device 100.
[0129] It is understood that the interface connection relationships between the modules illustrated in the embodiments of this application are merely illustrative and do not constitute a structural limitation on the electronic device 100. In other embodiments of this application, the electronic device 100 may also employ different interface connection methods or combinations of multiple interface connection methods as described in the above embodiments.
[0130] Electronic device 100 implements display functions through a GPU, a display screen 694, and an application processor. The GPU is a microprocessor for image processing, connected to the display screen 694 and the application processor. The GPU is used to perform mathematical and geometric calculations and for graphics rendering. Processor 610 may include one or more GPUs, which execute program instructions to generate or modify display information.
[0131] Display screen 694 is used to display images, videos, etc. Display screen 694 includes a display panel. The display panel can be manufactured using liquid crystal display (LCD), such as organic light-emitting diode (OLED), active-matrix organic light-emitting diode (AMOLED), flexible light-emitting diode (FLED), Mini-LED, Micro-LED, Micro-OLED, quantum dot light-emitting diodes (QLED), etc.
[0132] The mobile communication module 650 can provide solutions for wireless communication, including 2G / 3G / 4G / 5G, applied to the electronic device 100. The mobile communication module 650 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 650 can receive electromagnetic waves via antenna 1, and perform filtering, amplification, and other processing on the received electromagnetic waves before transmitting them to a modem processor for demodulation. The mobile communication module 650 can also amplify the signal modulated by the modem processor and convert it into electromagnetic waves for radiation via antenna 1. In some embodiments, at least some functional modules of the mobile communication module 650 may be housed in the processor 610. In some embodiments, at least some functional modules of the mobile communication module 650 and at least some modules of the processor 610 may be housed in the same device.
[0133] The modem processor may include a modulator and a demodulator. The modulator modulates the low-frequency baseband signal to be transmitted into a mid-to-high frequency signal. The demodulator demodulates the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After processing by the baseband processor, the low-frequency baseband signal is transmitted to the application processor. The application processor outputs a sound signal through an audio device or displays an image or video through the display screen 694. In some embodiments, the modem processor may be a separate device. In other embodiments, the modem processor may be independent of the processor 610 and may be housed in the same device as the mobile communication module 650 or other functional modules.
[0134] The wireless communication module 660 can provide solutions for wireless communication applications on 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), and infrared (IR) technologies. The wireless communication module 660 can be one or more devices integrating at least one communication processing module. The wireless communication module 660 receives electromagnetic waves via antenna 2, performs frequency modulation and filtering of the electromagnetic wave signals, and sends the processed signal to processor 610. The wireless communication module 660 can also receive signals to be transmitted from processor 610, perform frequency modulation and amplification, and convert them into electromagnetic waves for radiation via antenna 2.
[0135] In some embodiments, antenna 1 of electronic device 100 is coupled to mobile communication module 650, and antenna 2 is coupled to wireless communication module 660, enabling electronic device 100 to communicate with networks and other devices via wireless communication technology. The wireless communication technology may include Global System for Mobile Communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Time Division Code Division Multiple Access (TD-SCDMA), Long Term Evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technologies, etc. The GNSS may include the Global Positioning System (GPS), the Global Navigation Satellite System (GLONASS), the BeiDou Navigation Satellite System (BDS), the Quasi-Zenith Satellite System (QZSS), and / or satellite-based augmentation systems (SBAS).
[0136] The sensor module 280 may include a PPG sensor, an electrocardiogram (ECG) sensor, and a touch sensor. The PPG sensor detects the reflected PPG signal during changes in the user's blood volume, enabling the measurement of blood oxygen and blood pressure data. The ECG sensor detects the user's electrocardiogram data. The touch sensor detects the user's touch operations on the display screen.
[0137] The following section uses a smartwatch as an example to describe the communication method provided in the embodiments of this application.
[0138] In some embodiments, the network used for SOS emergency assistance is generally a cellular network. Cellular networks are an important component of terrestrial communication networks. Cellular networks form a wide-coverage wireless communication system by deploying a large number of base stations on the ground. These base stations are distributed in a cellular structure, with each base station responsible for signal coverage within a certain range. In SOS emergency assistance scenarios, cellular-enabled devices (such as smartphones and smartwatches) can communicate directly through the emergency assistance function. Even without a SIM card inserted or with unpaid bills, emergency numbers can still be dialed as long as the user is within the base station coverage area. However, cellular networks have a limitation: they rely on terrestrial infrastructure. When users are in remote areas, at sea, or in areas where base stations have been damaged due to disasters, the transmission of distress signals may not be guaranteed.
[0139] In some examples, users can also choose to request emergency assistance via satellite communication networks. These satellite communication networks typically include the Tiantong satellite communication network and the BeiDou satellite communication network. For instance, the Tiantong satellite communication network supports full satellite phone functionality, allowing users to make and receive satellite calls, edit satellite messages, and send and receive rich media messages containing text, images, and voice. It is suitable for scenarios without terrestrial networks, such as maritime operations, field exploration, or emergency rescue. However, using the Tiantong satellite communication network requires users to activate a satellite communication service provided by their operator beforehand, and it must be used in an open, unobstructed outdoor environment to ensure a stable signal connection. In contrast, the BeiDou satellite communication network has a more limited function, supporting only text message sending and receiving, and cannot conduct voice calls or transmit multimedia content. The advantage of the BeiDou short message system lies in its simpler usage conditions. Users only need to activate the service through a dedicated application (such as the Huawei Connect App) in an environment with a terrestrial network. The recipient can reply via an SMS link or a pre-set message within the application. This makes BeiDou short message service more suitable as an emergency communication method, such as sending distress messages when in danger outdoors or making simple text communications in areas without signal.
[0140] It should be understood that terrestrial communication networks or satellite communication networks may also include other network types.
[0141] In some embodiments, based on the above description of various communication networks, after detecting a user's instruction to request emergency assistance, the smartwatch can automatically detect the current network status and select a suitable network for communication according to preset conditions. It should be understood that emergency assistance is only one example scenario, and the communication method provided in this application embodiment can also be applied to other communication scenarios. For example, the user may not need emergency assistance but only needs to communicate via a satellite network.
[0142] Alternatively, emergency assistance can be provided via voice commands, touch input on the display screen, or operation of preset buttons. For example, a smartwatch typically has at least one button on the side of its dial; therefore, depending on the smartwatch's physical characteristics, the emergency assistance could involve repeatedly tapping the button, pressing and holding the button, or similar actions.
[0143] Optionally, preset conditions may include conditions such as current availability and good network quality.
[0144] In some examples, preset conditions include selecting a mobile network or Wi-Fi for emergency assistance when available, and selecting a satellite communication network when unavailable. The mobile network could be, for example, a cellular network, and the Wi-Fi network, for example, a WiFi network. This conserves satellite communication network resources.
[0145] For example, a smartwatch supports both cellular and satellite communication. When the smartwatch detects an emergency call from the user, it will, according to preset conditions, choose the cellular network for emergency assistance if it is available; otherwise, it will choose the satellite network. "Cellular network" might indicate that there is currently no cellular signal or a weak cellular signal.
[0146] In some examples, smartwatches can support multiple types of satellite communication networks. Therefore, preset conditions could include selecting a network with better network quality for emergency assistance.
[0147] For example, if a smartwatch determines that there is no mobile network or Wi-Fi available, it needs to select a satellite communication network for emergency assistance. Available satellite communication networks include the Tiantong satellite communication network and the BeiDou satellite communication network. Based on preset conditions and network quality, the smartwatch will select the Tiantong satellite communication network, which offers better network quality, for emergency assistance.
[0148] In some examples, different networks may have different pricing standards. Therefore, a preset condition could include choosing the lower-priced network for emergency assistance.
[0149] For example, based on preset conditions, if the smartwatch determines that a Wi-Fi network is available, it will choose to send an emergency call via Wi-Fi. Alternatively, if the smartwatch determines that no mobile or Wi-Fi network is available, it will need to choose a satellite communication network for emergency calls. However, the Tiantong satellite communication network is relatively expensive. Therefore, the smartwatch will choose to send an emergency call via the Beidou satellite communication network. Optionally, the Beidou satellite communication network limits the number of emergency messages that can be sent per month. If the smartwatch determines that it does not have enough remaining messages, it can choose to send an emergency call via the Tiantong satellite communication network. Optionally, the smartwatch can respond to user instructions to send an emergency call even when displaying any interface or when the screen is locked (or off).
[0150] For example, such as Figure 7 As shown in (a), while displaying the main watch face, the smartwatch detects that the user has pressed button 71 five times consecutively, confirming that the user has requested emergency assistance. The smartwatch can then select an appropriate communication method based on the current network status and preset conditions to send an emergency message to the emergency contact.
[0151] For example, a smartwatch detects the current network status and, based on preset conditions, determines to use a cellular network for communication. Then, the smartwatch can display something like... Figure 7 The SOS emergency contact interface shown in (b) prompts the user whether they need to send an emergency message to an emergency contact, such as via SMS. The smartwatch can trigger the sending of the emergency message after the countdown ends or after detecting user interaction with button 72.
[0152] For example, a smartwatch detects the current network status and, based on preset conditions, determines to use a satellite network for communication. Then, the smartwatch can display something like... Figure 7 The satellite message interface shown in (c) prompts the user whether they need to send an emergency message to their emergency contacts and displays the pre-set emergency message content for user confirmation. Upon detecting the user clicking the "Send Now" control 73 or pressing the button 72, the smartwatch can trigger the sending of an emergency message. For example... Figure 8 (a)- Figure 8 As shown in (f), when a smartwatch triggers the transmission of an emergency message via a satellite communication network (such as the Tiantong satellite communication network), the smartwatch can display a prompt message to instruct the user on how to move the smartwatch to point to the satellite's location, thereby enabling satellite-based communication.
[0153] In this way, the smartwatch can adaptively select the appropriate communication network based on the current network status, helping users send emergency messages. This eliminates the need for users to blindly choose communication methods, effectively improving the efficiency of emergency assistance.
[0154] Furthermore, it integrates emergency assistance functions corresponding to multiple communication networks, such as SOS emergency assistance and satellite communication, making communication functions more intelligent and simplifying user operation. For example, the satellite communication function is no longer presented in card form and is no longer categorized under the payment field, but is instead integrated with the SOS emergency assistance function into the communication field, aligning with user habits and improving the user experience. For example, ... Figure 9 As shown in (a), during the display of the call function interface, the smartwatch detects the user's operation on control 91, and can display as follows: Figure 9 The BeiDou satellite message interface shown in (b) is shown in the middle.
[0155] Furthermore, based on the physical characteristics of smartwatches, users can trigger emergency messages by pressing buttons. This facilitates operation and improves the user experience when touchscreens are inconvenient. Moreover, different pressing methods can trigger different emergency assistance scenarios. For example, as mentioned above, multiple consecutive presses can directly trigger the smartwatch to send an emergency message. Or, for instance, if the smartwatch detects a single press of button 71, it can display... Figure 10 The interface shown presents scenarios that may trigger emergency situations. For example, the smartwatch detects the user's interaction with control 101 and determines that the user is entering an adventure scenario, which could easily trigger an emergency. Based on the smartwatch's user health monitoring capabilities, it can then detect the user's health data (such as heart rate). Subsequently, if the smartwatch determines that the user's health data is abnormal, it can automatically trigger the sending of an emergency message. This allows for more flexible emergency message sending based on the smartwatch's physical characteristics.
[0156] In some embodiments, when sending an emergency message, the smartwatch can send the message to the user's pre-configured emergency contacts. In some examples, the user has not configured emergency contacts on the smartwatch. In this case, the smartwatch can obtain the emergency contact information according to a preset emergency contact retrieval method to facilitate sending the emergency message.
[0157] For example, if the user has not configured emergency contacts, the smartwatch can request emergency contact information stored on other electronic devices with the same account as the current device from the cloud server to synchronize that emergency contact information. Alternatively, to avoid temporary inability to obtain emergency contact information in a timely manner, the smartwatch can automatically trigger the synchronization of emergency contact information with devices under the same account when it is powered on or when the emergency contact function is activated for the first time.
[0158] For example, if the user has not set up an emergency contact, the smartwatch can activate the call function and automatically obtain information such as recent call information and contact information in the phonebook, thereby identifying recent contacts and favorite contacts as emergency contacts.
[0159] For example, if the user has not configured an emergency contact, the smartwatch can automatically set the emergency number as the emergency contact.
[0160] In this way, the smartwatch can send emergency messages even if the user has not set up an emergency contact, avoiding the problem of being unable to send emergency messages due to the lack of an emergency contact.
[0161] In some embodiments, the content of the emergency message set in the smartwatch can be any one or more of the following: preset content, user-defined content, or content temporarily entered by the user.
[0162] For example, a smartwatch may have at least one emergency message pre-installed. Subsequently, after detecting a user's instruction to send an emergency message, the smartwatch can automatically or select one of these emergency messages to send, based on the user's action.
[0163] For example, if a smartwatch detects a user's settings activity on the emergency assistance interface, it can receive user-defined emergency messages. Subsequently, when the smartwatch detects a user's instruction to send an emergency message, it can choose to send that user-defined emergency message.
[0164] For example, a smartwatch can directly receive emergency messages entered by the user and send those messages.
[0165] Therefore, compared to the current fixed emergency message content, the communication method provided in this application embodiment can achieve more flexible emergency message content settings and improve the user experience.
[0166] In some embodiments, the emergency message can be of various types, such as text message, voice message, voice-to-text message, or message including both text and voice content.
[0167] Optionally, the smartwatch can determine the type of emergency message based on the user's settings or the user's input of the emergency message. For example, the user can determine the type of emergency message through settings. Another example is that when sending an emergency message, the user can choose to input voice or text, thus determining the type of voice message.
[0168] For example, such as Figure 7 As shown in (c), during the display of the satellite message interface, the smartwatch detects the user's operation on the settings control 74, thus confirming that the user has instructed the user to set up satellite messages. Therefore, as... Figure 11 As shown in (a), the smartwatch can display a settings interface for emergency message types. Then, on this settings interface, the smartwatch can receive user input to configure the emergency message type settings.
[0169] For example, the smartwatch detects the user's interaction with control 111 and determines that the emergency message the user instructed to send is a text message. For example, the smartwatch detects the user's interaction with control 111 and displays something like... Figure 11 The interface shown in (b) displays preset text messages. The smartwatch can then determine the text content of subsequent emergency messages based on the user's selection. Following the user's instruction to send an emergency message, the smartwatch can send the user-selected text content as an emergency message to emergency contacts.
[0170] For example, the smartwatch detects the user's interaction with control 112 and determines that the emergency message the user instructed to send is a voice message. Subsequently, in response to the user's instruction to send an emergency message, the smartwatch can prompt the user to input voice input to generate a corresponding voice message, which will then be sent as an emergency message to the emergency contact.
[0171] For example, the smartwatch detects the user's interaction with control 113 and determines that the emergency message the user instructed to send is a voice-to-text message. Subsequently, in response to the user's instruction to send an emergency message, the smartwatch can prompt the user to input voice. The smartwatch can then convert the received voice into text and send this text as an emergency message to emergency contacts.
[0172] Thus, compared to current smartwatches that only support sending text messages for emergency messages, the communication method provided in this application embodiment can provide users with a wider range of emergency message types.
[0173] In some embodiments, the smartwatch supports sending emergency messages, such as voice messages. Optionally, the smartwatch is equipped with a preset compression algorithm that supports progressively compressing the received user voice data during the voice input process. This allows the smartwatch to quickly send the compressed voice data after determining that the user has finished voice input, avoiding user waiting. Furthermore, due to the limitations of the smartwatch's computing power, if all voice recordings were completed before compression, the compression time would be relatively long, increasing the user's waiting time. Therefore, by using a preset algorithm to record and compress simultaneously, the smartwatch reduces the computational demands on the device, making this communication method more suitable for wearable devices like smartwatches.
[0174] For example, such as Figure 12As shown in (a), the smartwatch detects the user's continuous pressing of button 121 and determines that the user has instructed to send an emergency message. In some examples, the smartwatch determines the current message type as a voice message based on settings information. Therefore, after the user stops pressing button 121, the smartwatch may display something like... Figure 12 The voice acquisition interface shown in (b) directly receives the user's voice input. In other examples, in response to the user's continuous pressing of button 121, the smartwatch can display, as shown in [example missing]. Figure 12 The satellite message interface is shown in (a). Afterwards, upon detecting user interaction with the voice recording control 122, the smartwatch can display the following: Figure 12 The voice acquisition interface shown in (b) is used to start receiving user voice messages.
[0175] Optionally, during the voice recording process, such as Figure 13 As shown, the smartwatch can compress the collected voice data at certain intervals using a preset compression algorithm. Optionally, this interval can be, for example, xx milliseconds. This allows for simultaneous recording and compression via a more efficient compression algorithm, initiating compression every xx milliseconds when the user initiates recording, significantly improving compression efficiency.
[0176] Afterwards, the smartwatch detects the user's operation on buttons 123 or on the stop control 124, confirming that the user has completed voice recording. The user can then directly display... Figure 12 The satellite message sending interface shown in (c) responds to the user's operation on the immediate send control 125 by sending the compressed voice data. That is, compression is completed as soon as recording is finished, or the compression of the remaining voice data can be completed within a short time, within milliseconds, after recording is completed.
[0177] For example, the preset period is 10 milliseconds. In response to a user's instruction to start recording, the smartwatch acquires the user's voice data. After acquiring the first 10 milliseconds of voice data, the smartwatch compresses this data to generate compressed file A. During this process, the smartwatch continues to acquire user voice data. After acquiring the second 10 milliseconds of voice data, the smartwatch compresses this data along with compressed file A to generate compressed file B. This process is repeated until the smartwatch detects a user's instruction to stop recording. The last acquired voice data is then compressed with the previously acquired compressed files to generate the final compressed file, which can be sent as an emergency message.
[0178] In this way, by recording and compressing simultaneously, users no longer need to wait for the smartwatch to compress the voice data after recording, effectively improving the efficiency of sending emergency messages and enhancing the user's experience in emergency voice communication.
[0179] In some examples, such as Figure 14 As shown, after receiving a voice message from the smartwatch, the emergency contact's electronic device, in response to the emergency contact's instruction to play the voice message, can also decompress the received voice message during playback using a preset compression algorithm and at a preset period. Optionally, this period can be, for example, XX milliseconds. In this way, through a more efficient compression algorithm, decompression and playback are achieved simultaneously. When the user initiates playback of the voice message, decompression and playback are initiated every xx milliseconds, greatly improving decompression efficiency without requiring user waiting and providing a seamless decompression experience.
[0180] In this way, by decoding and playing simultaneously, emergency contacts no longer need to wait for electronic devices to decompress the voice message after receiving it, effectively improving the playback efficiency of the voice message.
[0181] In some embodiments, during emergency calls, emergency contacts may need to know the user's physical condition in order to provide more appropriate assistance. To address this, smartwatches, based on their detection capabilities, can carry the user's health data in emergency messages. This health data can also be described as measured vital signs information.
[0182] Optionally, if the smartwatch detects that the emergency message includes semantically related content to preset content, it can determine that the user's health data needs to be included in the emergency message. Optionally, the preset content is related to health. For example, the preset content might be phrases describing the user's current physical condition, such as "feeling unwell" or "uncomfortable." Optionally, the smartwatch can use a preset semantic algorithm to determine whether the emergency message includes semantically related content to the preset content.
[0183] Optionally, the health data can be the health data detected by the smartwatch at least once recently, or it can be the health data obtained in real time based on user operation.
[0184] Optionally, the smartwatch can be equipped with basic health monitoring, endocrine health monitoring, cardiovascular health monitoring, respiratory health monitoring, and women's health monitoring functions. Based on these monitoring functions, the smartwatch can acquire and save the user's health data. This allows the smartwatch to directly access the saved health data when sending urgent messages. For example, health data includes heart rate, blood oxygen, blood pressure, gender, age, and whether there are underlying medical conditions.
[0185] For example, such as Figure 15 As shown in (a), based on the user's operation on control 151, the smartwatch determines that the emergency message instructed by the user is a text message with the content "Feeling unwell, urgently need help". Therefore, the smartwatch can determine that the emergency message includes content semantically related to preset content. Thus, as... Figure 15As shown in (b), the emergency message generated by the smartwatch includes the user's health data. Subsequently, in response to the user's action on the immediate send control 152, the smartwatch sends an emergency message to emergency contacts that includes the user's health data. For example, as... Figure 16 As shown, the emergency messages received by the emergency contact's electronic device include user-defined text content and the user's health data.
[0186] For example, such as Figure 17 As shown in (a), during the recording of a user's voice, the smartwatch determines that the currently recorded voice includes content semantically related to preset content, such as the user's voice including "dizziness." Therefore, if... Figure 17 As shown in (b), the emergency message generated by the smartwatch includes the user's health data. Subsequently, the emergency message sent by the smartwatch to emergency contacts also includes the user's health data. For example, as... Figure 18 As shown, the emergency messages received by the emergency contact's electronic device include user-recorded voice messages and the user's health data.
[0187] Optionally, during the generation of an emergency message, the smartwatch can also prompt the user to input information such as the current emergency situation, their own physical condition, and the number of people traveling with them. For example, the smartwatch can refer to... Figure 5 (b) Figure 5 The method shown in (d) collects this information so that emergency contacts can quickly understand the user's distress situation.
[0188] In this way, when a smartwatch determines that an emergency message requires the user's health data, it can automatically retrieve previously saved health data, effectively improving the efficiency of health data collection and thus the efficiency of sending emergency messages, avoiding user waiting. Furthermore, it avoids the problem of data retrieval failure due to user inability to cooperate during ad-hoc health data collection. For example, collecting blood oxygen or blood pressure data requires the user to keep their hand stable or press on the sensor location, which is difficult for users in emergency situations.
[0189] Figure 19 This is a flowchart illustrating a communication method provided in an embodiment of this application. It should be noted that this method does not rely on... Figure 19 The specific order described below is a limitation. It should be understood that in other embodiments, the order of some steps in the method can be interchanged according to actual needs, or some steps can be omitted or deleted. The method includes the following steps:
[0190] S1901, The electronic device receives a first operation; wherein the first operation is used to instruct the transmission of a voice message.
[0191] Among these, electronic devices can be, for example, wearable devices.
[0192] For example, in the settings interface, the electronic device detects the user's operation on control 112 and determines that the type of emergency message the user instructed to send is a voice message. Alternatively, the type of emergency message defaults to voice message. Then, subsequently, as... Figure 12 As shown in (a), the electronic device detects the user's continuous pressing of button 121 and determines that the user has instructed the sending of an emergency message of the voice message type. The continuous pressing of button 121 is, for example, the first operation.
[0193] For example, such as Figure 12 As shown in (a), during the display of the emergency message sending interface, the electronic device detects the user's operation on the voice recording control 122 and determines that the user has instructed to send a voice message. The operation on the voice recording control 122 is, for example, a first operation.
[0194] S1902, Electronic device records voice; wherein, during the voice recording process, the voice data corresponding to the acquired voice is compressed according to a preset period.
[0195] For example, during voice recording, such as Figure 13 As shown, the electronic device can compress the collected voice data according to a preset compression algorithm at a certain period. Optionally, this period is, for example, xx milliseconds. In this way, by using a more efficient compression algorithm, compression can be achieved while recording, and compression is initiated every xx milliseconds when the user initiates recording, greatly improving compression efficiency.
[0196] S1903. When voice recording is completed, the electronic device acquires the compressed target voice message.
[0197] For example, such as Figure 13 As shown, the electronic device detects the user's operation on button 123 or the user's operation on stop control 124, and can determine that the user has completed voice recording. Then, the user can directly obtain the currently compressed voice data and display it as shown. Figure 12 The satellite message sending interface is shown in (c).
[0198] In this way, by starting the compression of voice data during the recording process, the compression is completed as soon as the recording is finished, or the remaining voice data can be compressed in a short time of milliseconds after the recording is finished, so that the user can complete the compression of voice data without noticing.
[0199] S1904. The electronic device sends a target voice message to a designated contact.
[0200] In some embodiments, after acquiring target voice data, the electronic device can send a target voice message to a designated contact. For example, such as Figure 13 As shown, in response to the user's operation of the immediate send control 125, the electronic device sends compressed voice data to the designated contact.
[0201] For example, the preset period is 10 milliseconds. In response to a user's instruction to start recording, the electronic device acquires the user's voice data. After acquiring the first 10 milliseconds of voice data, the electronic device compresses this voice data to generate compressed file A. During this process, the electronic device continues to acquire user voice data. After acquiring the second 10 milliseconds of voice data, the electronic device compresses this voice data together with compressed file A to generate compressed file B. This process is repeated until the electronic device detects a user's instruction to stop recording. The last acquired voice data is then compressed together with the previous compressed files to generate the final compressed file (such as the target voice message). The electronic device can then send this compressed file as an emergency message.
[0202] In this way, by recording and compressing simultaneously, users no longer need to wait for electronic devices to compress voice data after recording, effectively improving the efficiency of sending emergency messages and enhancing the user's experience in emergency voice communication.
[0203] In some embodiments, the set contacts include one or more of the following: pre-configured contacts, contacts synchronized between electronic devices and devices with the same account, contacts obtained from the phone book or call logs, and official emergency numbers.
[0204] For example, an electronic device retrieves the contacts configured by the user based on the user's settings.
[0205] For example, an electronic device can request contact information stored in other electronic devices with the same account as the current device from a cloud server to synchronize that contact information. Alternatively, to avoid temporary inability to obtain contact information in a timely manner, the electronic device can automatically trigger the synchronization of contact information with devices under the same account when it is powered on or when the emergency contact function is activated for the first time.
[0206] For another example, when an emergency message needs to be sent, the electronic device can activate the call function and automatically obtain information such as recent call information and contact information in the phone book, thereby identifying recent contacts, favorite contacts, etc., as the contacts to send the emergency message.
[0207] In this way, electronic devices can flexibly access contacts and send emergency messages, avoiding the problem of being unable to send emergency messages due to not having set up contacts.
[0208] In some embodiments, the electronic device obtains the current network status, selects the target communication method based on the network status, and sends the target voice message to the set contact.
[0209] Optionally, the target communication method can be any of the following: cellular communication, a first satellite communication method, or a second satellite communication method. For example, the first satellite communication method can be based on the Tiantong satellite communication network, and the second satellite communication method can be based on the Beidou satellite communication network. Alternatively, the first satellite communication method can be based on the Beidou satellite communication network, and the second satellite communication method can be based on the Tiantong satellite communication network.
[0210] Optionally, if the network status indicates that the cellular network is unavailable, the electronic device selects satellite communication as the target communication method. And / or, depending on the network status, the electronic device selects the communication method with the highest network quality among the communication methods supported by the electronic device.
[0211] Optionally, the current network status may include, for example, network availability, network quality, and network charges. Network availability may include, for example, the current existence of the network. Optionally, network availability may also include whether use is permitted. For instance, the BeiDou satellite communication network limits the number of emergency messages that can be sent per month. If the remaining number of messages is insufficient to send an emergency message, the BeiDou satellite communication network can be determined to be unavailable.
[0212] For example, when an electronic device needs to send an emergency message, it checks the current network status and, if the cellular network is available, chooses to send the emergency message via the cellular network. For instance, an electronic device might use the SOS emergency assistance function to send an emergency message.
[0213] For example, when an electronic device needs to send an emergency message, it checks the current network status. If the network status indicates that the cellular network is unavailable, the electronic device selects satellite communication to send the emergency message. For instance, the electronic device may only be configured with one satellite communication method, or it may have a default satellite communication method. Therefore, if the cellular network is unavailable, the electronic device can directly select that satellite communication method to send the emergency message.
[0214] For example, an electronic device may support multiple satellite communication methods, and all satellite communication messages are available. Therefore, when cellular networks are unavailable, the electronic device can select the satellite communication method with the best network quality from among the various methods to send an emergency message. Alternatively, the electronic device can consider both network quality and cost, selecting a satellite communication method that allows sending emergency messages at a lower cost.
[0215] For example, electronic devices can also directly select the communication method with the best network quality among the cellular communication methods and at least one satellite communication method supported by the electronic device to send emergency messages.
[0216] In this way, electronic devices can adaptively select the appropriate communication network based on the current network status, helping users send emergency messages. This eliminates the need for users to blindly choose communication methods, effectively improving the efficiency of emergency assistance.
[0217] Furthermore, it integrates emergency assistance functions corresponding to multiple communication networks, such as SOS emergency assistance and satellite communication functions, making the communication functions more intelligent and simplifying user operation.
[0218] In some embodiments, the electronic device acquires physical health data. The electronic device sends an emergency message to a designated contact, the emergency message carrying a target voice message and physical health data.
[0219] In some examples, before retrieving the stored health data, the electronic device determines that the speech data corresponding to the speech includes semantically related content that is related to preset content; wherein, the preset content is related to health.
[0220] Optionally, health data may include heart rate, blood oxygen, blood pressure, gender, age, and whether there are underlying medical conditions.
[0221] For example, when an electronic device determines that an emergency message needs to be sent, it can automatically acquire physical health data and include that physical health data in the emergency message.
[0222] For example, such as Figure 17 As shown in (a), during the recording of a user's voice, the electronic device determines that the currently recorded voice includes semantically related content to preset content, such as the user's voice including "dizziness." Then, as... Figure 17 As shown in (b), the emergency message generated by the electronic device includes the user's health data. Subsequently, the electronic device sends an emergency message to emergency contacts that also includes the user's health data. For example, as... Figure 18 As shown, the emergency contact's electronic device receives emergency messages that include the user's recorded voice messages and the user's health data. This allows the device to determine if the user's health is abnormal only if the emergency message contains relevant semantic content. In this case, the electronic device acquires and sends the health data, preventing every emergency message from including health data, which would increase the amount of information in the emergency message and reduce its transmission efficiency.
[0223] In this way, when electronic devices determine that an emergency message requires the inclusion of user health data, they can automatically retrieve previously saved health data, effectively improving the efficiency of health data collection and consequently the efficiency of emergency message delivery, thus avoiding user waiting. Furthermore, it avoids the problem of data retrieval failure due to user non-cooperation during ad-hoc health data collection.
[0224] It should be understood that in cases where emergency messages require the inclusion of health data, electronic devices may also prompt users to collect health data in order to obtain health data that accurately reflects the user's current physical condition.
[0225] Optionally, the electronic device can also perform the steps and functions performed by the wearable device (such as a smartwatch) in the above embodiments, thereby realizing the communication method provided in the above embodiments.
[0226] Figure 20 This is a flowchart illustrating another communication method provided in an embodiment of this application. It should be noted that this method does not rely on... Figure 20 The specific order described below is a limitation. It should be understood that in other embodiments, the order of some steps in the method can be interchanged according to actual needs, or some steps can be omitted or deleted. The method includes the following steps:
[0227] S2001, The electronic device detected an operation instructing the sending of an emergency message.
[0228] Among these, electronic devices can be, for example, wearable devices.
[0229] Optionally, the operation to send an emergency message may include, for example, a user's voice command, a touch operation on the display screen, or an operation on a preset button. For instance, a smartwatch typically has at least one button on the side of its dial; therefore, depending on the smartwatch's physical characteristics, the emergency assistance operation could be a series of clicks on the button, a long press on the button, or something similar.
[0230] For example, such as Figure 12 As shown in (a), the electronic device detects the user's continuous pressing of button 121 and determines that the user has instructed to send an emergency message.
[0231] In some examples, the message types for emergency messages include one or more of the following: text message, voice message, and voice-to-text message.
[0232] Optionally, the emergency message can be a preset emergency message or an emergency message entered by the user. Optionally, the preset emergency message can be a system-preset emergency message or an emergency message edited by the user.
[0233] Optionally, the electronic device can determine the type of emergency message based on user settings or the user's input of the emergency message. For example, the user can determine the type of emergency message through settings. Another example is that when sending an emergency message, the user can choose to input voice or text, thus determining the type of voice message.
[0234] For example, such as Figure 7 As shown in (c), during the display of the satellite message interface, the electronic device detects the user's operation on the setting control 74, thus determining that the user has instructed the user to set satellite messages. Therefore, as... Figure 11 As shown in (a), the electronic device can display a settings interface for emergency message types. Then, on this settings interface, the electronic device can receive user input to set the type of emergency message. For example, the electronic device detects user input to control 111 and determines that the type of emergency message the user intends to send is a text message. As another example, the electronic device detects user input to control 112 and determines that the type of emergency message the user intends to send is a voice message.
[0235] Thus, compared to current electronic devices that only support sending text messages as the type of emergency message, the communication method provided in this application embodiment can provide users with a wider variety of emergency message types.
[0236] In some embodiments, the emergency message type is a voice message. Before detecting an operation instructing the sending of an emergency message, the electronic device responds to a first operation by recording voice. During voice recording, the electronic device compresses the acquired voice data according to a preset period. Upon completion of voice recording, the electronic device acquires the compressed target voice message. Therefore, the emergency message instructed by the user includes the target voice message.
[0237] In this way, by starting the compression of voice data during the recording process, the compression is completed as soon as the recording is finished, or the remaining voice data can be compressed in a short time of milliseconds after the recording is finished, so that the user can complete the compression of voice data without noticing.
[0238] S2002, Electronic devices obtain the current network status.
[0239] Optionally, the current network status may include, for example, network availability, network quality, and network charges. Network availability may include, for example, the existence of the network. For instance, if a user is in a remote area, at sea, or in an area where base stations have been damaged due to a disaster, their electronic device may not be able to find the cellular network, indicating that the cellular network does not exist and is unusable. Optionally, network availability may also include whether access is permitted. For example, the BeiDou satellite communication network limits the number of emergency messages that can be sent each month. If the remaining number of messages is insufficient to send an emergency message, the BeiDou satellite communication network may be deemed unavailable.
[0240] S2003. The electronic device selects the target communication method based on the network status and sends an emergency message to the designated contact.
[0241] The target communication method is any one of the following: cellular communication, a first satellite communication method, or a second satellite communication method. For example, the first satellite communication method is based on the Tiantong satellite communication network, and the second satellite communication method is based on the Beidou satellite communication network. Alternatively, the first satellite communication method is based on the Beidou satellite communication network, and the second satellite communication method is based on the Tiantong satellite communication network.
[0242] Optionally, if the network status indicates that the cellular network is unavailable, the electronic device selects satellite communication as the target communication method. And / or, depending on the network status, the electronic device selects the communication method with the highest network quality among the communication methods supported by the electronic device.
[0243] In this way, electronic devices can adaptively select the appropriate communication network based on the current network status, helping users send emergency messages. This eliminates the need for users to blindly choose communication methods, effectively improving the efficiency of emergency assistance.
[0244] Furthermore, it integrates emergency assistance functions corresponding to multiple communication networks, such as SOS emergency assistance and satellite communication functions, making the communication functions more intelligent and simplifying user operation.
[0245] In some embodiments, the emergency message may also include stored physical health data.
[0246] Optionally, the emergency message may include semantically related content to the preset content; wherein the preset content is related to physical health.
[0247] For example, such as Figure 15 As shown in (a), the electronic device determines, based on the user's operation on control 151, that the emergency message instructed by the user is a text message with the content "feeling unwell, urgently need help." Therefore, the electronic device can determine that the emergency message includes content semantically related to preset content. Thus, as... Figure 15 As shown in (b), the emergency message generated by the electronic device includes the user's physical health data.
[0248] For example, such as Figure 17 As shown in (a), during the recording of a user's voice, the electronic device determines that the currently recorded voice includes content semantically related to preset content, such as the user's voice including "dizziness." Then, if... Figure 17 As shown in (b), the emergency message generated by the electronic device includes the user's physical health data.
[0249] In this way, electronic devices can determine whether a user is in danger by semantically analyzing the content of emergency messages. If the user is in danger, the electronic device can carry health data in the emergency message, so that emergency contacts may need to know the user's physical condition in order to provide more appropriate assistance.
[0250] Furthermore, when electronic devices determine that an emergency message requires the inclusion of user health data, they can automatically retrieve previously saved health data, effectively improving the efficiency of health data collection and consequently the efficiency of emergency message delivery, thus avoiding user waiting. This also prevents issues such as uncooperative users leading to failed health data retrieval due to temporary data collection.
[0251] In some embodiments, the set contacts include one or more of the following: pre-configured contacts, contacts synchronized between electronic devices and devices with the same account, contacts obtained from the phone book or call logs, and official emergency numbers.
[0252] In this way, electronic devices can flexibly access contacts and send emergency messages, avoiding the problem of being unable to send emergency messages due to not having set up contacts.
[0253] Optionally, other contents of steps S2001-S2003 can be referred to the relevant contents of steps S1901-S1904 above, and will not be repeated here.
[0254] Optionally, the electronic device can also perform the steps and functions performed by the wearable device (such as a smartwatch) in the above embodiments, thereby realizing the communication method provided in the above embodiments.
[0255] Figure 21 This is a flowchart illustrating another communication method provided in an embodiment of this application. It should be noted that this method does not rely on... Figure 21 The specific order described below is a limitation. It should be understood that in other embodiments, the order of some steps in the method can be interchanged according to actual needs, or some steps can be omitted or deleted. The method includes the following steps:
[0256] S2101, The electronic device receives an input emergency message.
[0257] Among them, electronic devices are wearable devices.
[0258] Optionally, the message type of an emergency message includes one or more of the following: text message, voice message, and voice-to-text message.
[0259] For example, an electronic device detects a user's instruction to send an emergency message and retrieves a preset emergency message. This preset emergency message can then be used as the emergency message entered by the user.
[0260] For example, electronic devices may detect emergency messages entered by users through voice or text input.
[0261] Thus, compared to current electronic devices that only support sending text messages as the type of emergency message, the communication method provided in this application embodiment can provide users with a wider variety of emergency message types.
[0262] S2102, The electronic device determines that the emergency message includes semantically related content to preset content; wherein the preset content is related to physical health.
[0263] In some embodiments, after receiving an emergency message input by a user, the electronic device can determine whether the emergency message includes content semantically related to preset content. For example, the electronic device can determine the user's current physical state based on the emergency message input by the user.
[0264] For example, such as Figure 15 As shown in (a), the electronic device determines, based on the user's operation on control 151, that the emergency message instructed by the user is a text message with the content "feeling unwell and in urgent need of help". Therefore, the electronic device can determine that the emergency message includes content semantically related to preset content.
[0265] For example, such as Figure 17 As shown in (a), during the process of recording a user's voice, the electronic device determines that the currently recorded voice includes content related to the semantics of preset content, such as the user's voice including "dizziness".
[0266] S2103. Electronic devices acquire stored physical health data.
[0267] Optionally, the health data stored in the electronic device may be, for example, health data detected by the electronic device at least once recently.
[0268] In some embodiments, an electronic device can determine that a user's current physical condition is unwell and may require assistance from emergency contacts based on semantically relevant content included in the emergency message. Therefore, to enable emergency contacts to better understand the user's physical condition, the user's health data can be acquired and included in subsequent emergency messages, allowing emergency contacts to take more appropriate rescue measures and provide more effective assistance.
[0269] S2104. The electronic device sends emergency messages and health data to designated contacts.
[0270] Optionally, the emergency message may include the health data, or the emergency message and the health data may be sent separately.
[0271] In this way, electronic devices can determine whether a user is in danger by semantically analyzing the content of emergency messages. If the user is in danger, the electronic device can carry health data in the emergency message, so that emergency contacts may need to know the user's physical condition in order to provide more appropriate assistance.
[0272] Furthermore, when electronic devices determine that an emergency message requires the inclusion of user health data, they can automatically retrieve previously saved health data, effectively improving the efficiency of health data collection and consequently the efficiency of emergency message delivery, thus avoiding user waiting. This also prevents issues such as uncooperative users leading to failed health data retrieval due to temporary data collection.
[0273] Optionally, the contacts set may include one or more of the following: pre-configured contacts, contacts synchronized between electronic devices and devices with the same account, contacts obtained from the phone book or call logs, and official emergency numbers.
[0274] In this way, electronic devices can flexibly access contacts and send emergency messages, avoiding the problem of being unable to send emergency messages due to not having set up contacts.
[0275] In some embodiments, an electronic device sends emergency messages and health data to designated contacts, including: the electronic device obtaining the current network status; and the electronic device selecting a target communication method based on the network status and sending the emergency messages and health data to the designated contacts.
[0276] Optionally, the target communication method is any one of the following: cellular communication, first satellite communication, or second satellite communication.
[0277] In this way, electronic devices can adaptively select the appropriate communication network based on the current network status, helping users send emergency messages. This eliminates the need for users to blindly choose communication methods, effectively improving the efficiency of emergency assistance.
[0278] In some embodiments, the emergency message type is a voice message. The electronic device receives the input emergency message, including: in response to a first operation, the electronic device records voice; wherein, during voice recording, the electronic device compresses the acquired voice data according to a preset period. Upon completion of voice recording, the electronic device acquires the compressed target voice message, and the emergency message includes the target voice message.
[0279] In this way, by starting the compression of voice data during the recording process, the compression is completed as soon as the recording is finished, or the remaining voice data can be compressed in a short time of milliseconds after the recording is finished, so that the user can complete the compression of voice data without noticing.
[0280] Optionally, other contents of steps S2101-S2104 can be referred to the relevant contents of steps S1901-S1904 and steps S2001-S2003 above, and will not be repeated here.
[0281] Optionally, the electronic device can also perform the steps and functions performed by the wearable device (such as a smartwatch) in the above embodiments, thereby realizing the communication method provided in the above embodiments.
[0282] In some solutions, multiple embodiments of this application can be combined, and the combined solution can be implemented. Optionally, some operations in the processes of each method embodiment may be combined, and / or the order of some operations may be changed. Furthermore, the execution order between the steps of each process is merely exemplary and does not constitute a limitation on the execution order between steps; other execution orders are also possible. It is not intended to indicate that the execution order is the only possible order in which these operations can be performed. Those skilled in the art will conceive of various ways to reorder the operations described herein. In addition, it should be noted that the process details involved in one embodiment of this document are similarly applicable to other embodiments, or different embodiments may be combined.
[0283] Furthermore, some steps in the method embodiments can be equivalently replaced with other possible steps. Alternatively, some steps in the method embodiments may be optional and can be deleted in certain use cases. Or, other possible steps may be added to the method embodiments.
[0284] Furthermore, the various method embodiments can be implemented individually or in combination.
[0285] The above combination Figures 7-21 The communication method provided in the embodiments of this application is described in detail below. Figure 22 This application provides a detailed description of the electronic device provided in its embodiments.
[0286] In one possible design, Figure 22 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Figure 22 As shown, the electronic device 2200 may include a processing unit 2201 and a transceiver unit 2202. The electronic device 2200 can be used to implement the functions of the electronic device (such as a smartwatch) involved in the above method embodiments.
[0287] Optionally, the processing unit 2201 is used to support the electronic device 2200 in performing operations. Figure 19 S1901 and S1903 in the above; and / or, for supporting the electronic device 2200 to perform Figure 20 S2002 and S2003 in the above; and / or, for supporting electronic device 2200 to perform Figure 21 S2102 and S2103 in the example.
[0288] Optionally, the transceiver unit 2202 is used to support the electronic device 2200 in performing... Figure 19 S1902 and S1904 in the above; and / or, for supporting the electronic device 2200 to perform Figure 20 S2001 and S2003 in the above; and / or, for supporting electronic device 2200 to perform Figure 21 S2101 and S2104 in the example.
[0289] The transceiver unit may include a receiving unit and a transmitting unit, and may be implemented by a transceiver or transceiver-related circuit components, and may be a transceiver or transceiver module. The operation and / or function of each unit in the electronic device 2200 are respectively for implementing the corresponding process of the communication method described in the above method embodiments. All relevant content of each step involved in the above method embodiments can be referred to the functional description of the corresponding functional unit, and for the sake of brevity, it will not be repeated here.
[0290] Optionally, Figure 22 The illustrated electronic device 2200 may also include a storage unit ( Figure 22 (not shown in the image), this storage unit stores a program or instruction. When the processing unit 2201 and the transceiver unit 2202 execute the program or instruction, it causes... Figure 22 The electronic device 2200 shown can perform the communication method described in the above method embodiments.
[0291] Figure 22 The technical effects of the electronic device 2200 shown can be referred to the technical effects of the communication method described in the above method embodiments, and will not be repeated here.
[0292] In addition to being in the form of electronic device 2200, the technical solution provided in this application can also be a functional unit or chip in an electronic device, or a device used in conjunction with an electronic device.
[0293] This application also provides a chip system, including: a processor coupled to a memory, the memory being used to store programs or instructions, wherein when the program or instructions are executed by the processor, the chip system implements the methods in any of the above method embodiments.
[0294] Optionally, the chip system may contain one or more processors. These processors can be implemented in hardware or software. When implemented in hardware, the processor can be a logic circuit, an integrated circuit, etc. When implemented in software, the processor can be a general-purpose processor, implemented by reading software code stored in memory.
[0295] Optionally, the chip system may contain one or more memories. The memory may be integrated with the processor or disposed separately from it; this application embodiment does not limit this. For example, the memory may be a non-transient processor, such as a read-only memory (ROM), which may be integrated with the processor on the same chip or disposed separately on different chips. This application embodiment does not specifically limit the type of memory or the arrangement of the memory and processor.
[0296] For example, the chip system may be a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on chip (SoC), a central processor unit (CPU), a network processor (NP), a digital signal processor (DSP), a micro controller unit (MCU), a programmable logic device (PLD), or other integrated chips.
[0297] It should be understood that each step in the above method embodiments can be completed by integrated logic circuits in the processor hardware or by instructions in software form. The method steps disclosed in the embodiments of this application can be directly manifested as being executed by a hardware processor, or being executed by a combination of hardware and software modules in the processor.
[0298] This application also provides a computer-readable storage medium storing a computer program. When the computer program is run on a computer, it causes the computer to perform the aforementioned steps to implement the communication method described in the above embodiments.
[0299] This application also provides a computer program product that, when run on a computer, causes the computer to perform the aforementioned steps to implement the communication method described in the above embodiments.
[0300] In addition, this application also provides an apparatus. Specifically, the apparatus may be a component or module, and may include one or more processors and a memory connected together. The memory is used to store a computer program. When the computer program is executed by one or more processors, the apparatus performs the communication methods described in the above-described method embodiments.
[0301] The apparatus, computer-readable storage medium, computer program product, or chip provided in the embodiments of this application are all used to execute the corresponding methods provided above. Therefore, the beneficial effects they can achieve can be referred to the beneficial effects of the corresponding methods provided above, and will not be repeated here.
[0302] The steps of the methods or algorithms described in conjunction with the embodiments of this application can be implemented in hardware or by a processor executing software instructions. The software instructions can consist of corresponding software modules, which can be stored in random access memory (RAM), flash memory, read-only memory (ROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), registers, hard disks, portable hard disks, CD-ROMs, or any other form of storage medium well known in the art. An exemplary storage medium is coupled to a processor, enabling the processor to read information from and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can reside in an application-specific integrated circuit (ASIC).
[0303] Through the above description of the embodiments, those skilled in the art will clearly understand that, for the sake of convenience and brevity, the division of the above functional modules is only used as an example. In practical applications, the above functions can be assigned to different functional modules as needed; that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device, and unit described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0304] In the several embodiments provided in this application, it should be understood that the disclosed methods can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of modules or units is only a logical functional division, and there may be other division methods in actual implementation; for example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of modules or units may be electrical, mechanical or other forms.
[0305] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0306] Computer-readable storage media include, but are not limited to, any of the following: USB flash drive, portable hard drive, read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk, and other media capable of storing program code.
[0307] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any changes or substitutions within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A communication method, characterized in that, The method is applied to an electronic device, and the method includes: Receive a first operation; wherein the first operation is used to instruct the sending of a voice message; Recording voice; wherein, during the recording process, the voice data corresponding to the acquired voice is compressed according to a preset period; When the voice recording is completed, the compressed target voice message is obtained; Send the target voice message to the designated contact.
2. The method according to claim 1, characterized in that, Sending the target voice message to the designated contact includes: Get the current network status; Based on the network status, select the target communication method and send the target voice message to the designated contact.
3. The method according to claim 2, characterized in that, The target communication method is any one of the following: cellular communication, first satellite communication, or second satellite communication.
4. The method according to any one of claims 1-3, characterized in that, Sending the target voice message to the designated contact includes: Retrieve saved physical health data; An emergency message is sent to the designated contact, the emergency message carrying the target voice message and the physical health data.
5. The method according to claim 4, characterized in that, Prior to acquiring the stored physical health data, the method further includes: The speech data corresponding to the speech is determined to include semantically related content to preset content; wherein, the preset content is related to physical health.
6. The method according to any one of claims 1-5, characterized in that, The set contacts include one or more of the following: pre-configured contacts, contacts synchronized between the electronic device and devices with the same account, contacts obtained from the phone book or call records, and official rescue numbers.
7. The method according to any one of claims 1-6, characterized in that, The electronic device is a wearable device.
8. A communication method, characterized in that, The method is applied to an electronic device, and the method includes: An operation instructing the sending of an emergency message was detected. Get the current network status; Based on the network status, select the target communication method and send the emergency message to the designated contact.
9. The method according to claim 8, characterized in that, The target communication method is any one of the following: cellular communication, first satellite communication, or second satellite communication.
10. The method according to claim 8 or 9, characterized in that, The step of selecting a target communication method based on the network status includes: If the network status indicates that the cellular network is unavailable, the selected target communication method is satellite communication. And / or, Based on the network status, the target communication method selected is the communication method with the highest network quality among the communication methods supported by the electronic device.
11. The method according to any one of claims 8-10, characterized in that, The emergency message is a voice message. Prior to detecting the operation instructing the sending of the emergency message, the method further includes: In response to the first operation, voice is recorded; wherein, during the recording of the voice, the voice data corresponding to the acquired voice is compressed according to a preset period; When the voice recording is completed, the compressed target voice message is obtained, and the emergency message includes the target voice message.
12. The method according to any one of claims 8-11, characterized in that, The emergency message also includes stored physical health data.
13. The method according to claim 12, characterized in that, The emergency message includes semantically related content to preset content; wherein the preset content is related to physical health.
14. The method according to any one of claims 8-13, characterized in that, The set contacts include one or more of the following: pre-configured contacts, contacts synchronized between the electronic device and devices with the same account, contacts obtained from the phone book or call records, and official rescue numbers.
15. The method according to any one of claims 8-14, characterized in that, The message types of the emergency messages include one or more of the following: text messages, voice messages, and voice-to-text messages.
16. The method according to any one of claims 8-15, characterized in that, The electronic device is a wearable device.
17. A communication method, characterized in that, The method is applied to an electronic device, and the method includes: Receive incoming emergency messages; The emergency message is determined to include semantically related content to preset content; wherein the preset content is related to physical health. Retrieve saved physical health data; Send the emergency message and the physical health data to the designated contact.
18. The method according to claim 17, characterized in that, Sending the emergency message and the health data to the designated contact includes: Get the current network status; Based on the network status, select the target communication method and send the emergency message and the physical health data to the designated contact.
19. The method according to claim 18, characterized in that, The target communication method is any one of the following: cellular communication, first satellite communication, or second satellite communication.
20. The method according to any one of claims 17-19, characterized in that, The emergency message type is a voice message, and the receiving of the input emergency message includes: In response to the first operation, voice is recorded; wherein, during the recording of the voice, the voice data corresponding to the acquired voice is compressed according to a preset period; When the voice recording is completed, the compressed target voice message is obtained, and the emergency message includes the target voice message.
21. The method according to any one of claims 17-20, characterized in that, The set contacts include one or more of the following: pre-configured contacts, contacts synchronized between the electronic device and devices with the same account, contacts obtained from the phone book or call records, and official rescue numbers.
22. The method according to any one of claims 17-21, characterized in that, The message types of the emergency messages include one or more of the following: text messages, voice messages, and voice-to-text messages.
23. The method according to any one of claims 17-22, characterized in that, The electronic device is a wearable device.
24. An electronic device, characterized in that, include: A processor and a memory, the memory being coupled to the processor, the memory being used to store computer program code including computer instructions, which, when the processor reads the computer instructions from the memory, cause the electronic device to perform the method as described in any one of claims 1-7; or cause the electronic device to perform the method as described in any one of claims 8-16; or cause the electronic device to perform the method as described in any one of claims 17-23.
25. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a computer program that, when executed on an electronic device, causes the electronic device to perform the method as described in any one of claims 1-7; or causes the electronic device to perform the method as described in any one of claims 8-16; or causes the electronic device to perform the method as described in any one of claims 17-23.
26. A computer program product, characterized in that, When the computer program product is run on a computer, it causes the computer to perform the method as described in any one of claims 1-7; or, causes the computer to perform the method as described in any one of claims 8-16; or, causes the computer to perform the method as described in any one of claims 17-23.