Search

CN-122027733-A - Communication method and electronic equipment

CN122027733ACN 122027733 ACN122027733 ACN 122027733ACN-122027733-A

Abstract

The application provides a communication method and electronic equipment, and relates to the technical field of terminals. The application can realize the sending of the voice message, the recording and the pressing of the voice message, and the waiting time of the user is reduced. The method includes the electronic device receiving a first operation indicating to send a voice message. And the electronic equipment records the voice, wherein in the process of recording the voice, the electronic equipment compresses the voice data corresponding to the acquired voice according to a preset period. Then upon completion of the voice recording, the electronic device may obtain the compressed target voice message. And then the electronic equipment sends the target voice message to the set contact person.

Inventors

  • CHENG QIAOLING
  • XUE LEI
  • WANG XINGANG

Assignees

  • 华为技术有限公司

Dates

Publication Date
20260512
Application Date
20250905

Claims (20)

  1. 1. A method of communication, the method being applied to an electronic device, the method comprising: Receiving a first operation, wherein the first operation is used for indicating to send a voice message; the voice recording method comprises the steps of recording voice, wherein in the process of recording voice, voice data corresponding to the acquired voice are compressed according to a preset period; When the voice recording is completed, acquiring a compressed target voice message; And sending the target voice message to the set contact person.
  2. 2. The method of claim 1, wherein the sending the targeted voice message to the set contact comprises: acquiring a current network state; and selecting a target communication mode according to the network state, and sending the target voice message to the set contact person.
  3. 3. The method of claim 2, wherein the target communication mode is any one of a cellular communication mode, a first satellite communication mode, and a second satellite communication mode.
  4. 4. A method according to any of claims 1-3, wherein said sending the targeted voice message to the set contact comprises: Acquiring stored physical health data; and sending an emergency message to the set contact person, wherein the emergency message carries the target voice message and the body health data.
  5. 5. The method of claim 4, wherein prior to the acquiring the stored physical health data, the method further comprises: And determining that the voice data corresponding to the voice comprises content related to the semantics of preset content, wherein the preset content is related to the health.
  6. 6. The method according to any of claims 1-5, wherein the set contacts comprise one or more of preconfigured contacts, contacts with which the electronic device is synchronized with the account device, contacts obtained from a phonebook or call record, official rescue numbers.
  7. 7. The method of any of claims 1-6, wherein the electronic device is a wearable device.
  8. 8. A method of communication, the method being applied to an electronic device, the method comprising: Detecting an operation indicating transmission of an urgent message; acquiring a current network state; and selecting a target communication mode according to the network state, and sending the emergency message to the set contact person.
  9. 9. The method of claim 8, wherein the target communication mode is any one of a cellular communication mode, a first satellite communication mode, and a second satellite communication mode.
  10. 10. The method according to claim 8 or 9, wherein selecting a target communication mode according to the network status comprises: in the case that the network status indicates that the cellular network is unavailable, the selected target communication mode is a satellite communication mode; And/or the number of the groups of groups, And according to the network state, the selected target communication mode is the communication mode with highest network quality provided in the communication modes supported by the electronic equipment.
  11. 11. The method according to any of claims 8-10, wherein the message type of the urgent message is a voice message, and wherein before the detecting the operation indicating the transmission of the urgent message, the method further comprises: recording voice in response to a first operation, wherein in the process of recording the voice, the voice data corresponding to the acquired voice is compressed according to a preset period; and when the voice recording is completed, acquiring the compressed target voice message, wherein the emergency message comprises the target voice message.
  12. 12. The method according to any of claims 8-11, wherein the emergency message further comprises stored physical health data.
  13. 13. The method of claim 12, wherein the urgent message includes content related to semantics of a preset content, wherein the preset content is related to physical health.
  14. 14. The method according to any of claims 8-13, wherein the set contacts comprise one or more of preconfigured contacts, contacts with which the electronic device is synchronized with the account device, contacts obtained from a phonebook or call record, official rescue numbers.
  15. 15. The method according to any of claims 8-14, wherein the message type of the urgent message comprises one or more of a text message, a voice-to-text message.
  16. 16. The method of any one of claims 8-15, wherein the electronic device is a wearable device.
  17. 17. A method of communication, the method being applied to an electronic device, the method comprising: receiving an input urgent message; determining that the urgent message comprises content related to the semantics of 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 the set contact person.
  18. 18. The method of claim 17, wherein the sending the emergency message and the physical health data to the set contact comprises: acquiring a current network state; and selecting a target communication mode according to the network state, and sending the emergency message and the body health data to the set contact person.
  19. 19. The method of claim 18, wherein the target communication mode is any one of a cellular communication mode, a first satellite communication mode, and a second satellite communication mode.
  20. 20. The method according to any of the claims 17-19, wherein the message type of the urgent message is a voice message, and the receiving the incoming urgent message comprises: recording voice in response to a first operation, wherein in the process of recording the voice, the voice data corresponding to the acquired voice is compressed according to a preset period; and when the voice recording is completed, acquiring the compressed target voice message, wherein the emergency message comprises the target voice message.

Description

Communication method and electronic equipment Technical Field The present application relates to the field of terminal technologies, and in particular, to a communication method and an electronic device. Background With the development of terminal technology, the mobile phone supports satellite communication functions, such as supporting to make or receive satellite calls and receive and send satellite messages. Thus, in areas where cellular network signals are weak, the user may also choose to communicate via satellite communication functionality. However, the adaptation degree of the satellite communication function and wearable devices such as a smart watch is not high at present, and the use experience of a user is affected. Disclosure of Invention In order to solve the technical problems, the application provides a communication method and electronic equipment. The technical scheme provided by the application can realize the sending of the voice message, the recording and pressing of the voice message, and the waiting time of a user is reduced. In order to achieve the technical purpose, the embodiment of the application provides the following technical scheme: in a first aspect, a communication method is provided for application to an electronic device, the method comprising receiving a first operation indicating to send a voice message. And recording voice, wherein in the process of recording voice, the voice data corresponding to the acquired voice are compressed according to a preset period. And when the voice recording is completed, acquiring the compressed target voice message. And sending the target voice message to the set contact person. Therefore, through the simultaneous recording and pressing, after the voice recording is finished, the user does not need to wait for the electronic equipment to compress voice data, so that the efficiency of sending voice messages is effectively improved, and the voice contact experience of the user is improved. According to a first aspect, the electronic device is a wearable device. The method is limited by the computing capability of the wearable device, if the user waits for all the voice recordings to be completed and then uniformly compresses, the compression time of the wearable device can be longer, and the waiting time of the user is prolonged. Therefore, the requirement on the computing capacity of the wearable device is reduced in a mode of recording and pressing, so that the communication method is more suitable for the wearable device such as a smart watch. Thus, by sending the voice message, the difficulty of a user to operate a device with a smaller operation area, such as a wearable device, to send the message is reduced. According to the first aspect, or any implementation manner of the first aspect, the sending the target voice message to the set contact includes obtaining a current network state. And selecting a target communication mode according to the network state, and sending the target voice message to the set contact person. Optionally, the current network status includes, for example, whether the network is available, network quality, network charging conditions, and the like. Wherein whether a network is available includes, for example, whether the network is currently present. Optionally, whether the network is available may also include whether use is allowed. For example, the Beidou satellite communication network limits the number of emergency messages sent per month. If the number of the remaining Beidou satellite communication network is insufficient, the Beidou satellite communication network can be determined to be unavailable. Thus, the electronic equipment can adaptively select a proper communication network according to the current network state to help the user to send emergency information. Therefore, the user does not need to blindly select a communication mode, and the emergency help seeking efficiency is effectively improved. According to the first aspect or any implementation manner of the first aspect, the target communication mode is any one of a cellular communication mode, a first satellite communication mode and a second satellite communication mode. For example, the first satellite communication mode is a communication mode based on a space-borne satellite communication network, and the second satellite communication mode is a communication mode based on a Beidou satellite communication network. Or the first satellite communication mode is a communication mode based on a Beidou satellite communication network, and the second satellite communication mode is a communication mode based on a space-time satellite communication network. According to the first aspect, or any implementation manner of the first aspect, the sending the target voice message to the set contact includes acquiring stored body health data. The set contact person sends an emergency message, wherein the emergency message carries the target voic