Search

CN-122027376-A - Communication method and related device

CN122027376ACN 122027376 ACN122027376 ACN 122027376ACN-122027376-A

Abstract

The application discloses a communication method and a related device, wherein the method comprises the steps that a first device joins a first group chat, members of the first group chat comprise a second device, the first device creates a first group intercom of the first group chat, the first device sends a first group main heartbeat broadcast, the second device receives the first group main heartbeat broadcast sent by the first device, the second device displays first prompt information based on the first group main heartbeat broadcast, the second device sends first information for joining the first group intercom in response to operation acting on the first prompt information, the first device receives the first information sent by the second device, the second device joins the first group intercom in response to the first operation of a user, the first device broadcasts intercom audio of the first device, and the second device receives intercom audio of the first device. Therefore, communication guarantee in a network-free state can be provided for the user, and user experience is effectively improved.

Inventors

  • LI CHAOYANG
  • WANG DONGXU
  • ZHANG YAOYU
  • HU JIANBO
  • LI TAO
  • JIN BO
  • MA XIAOCHANG

Assignees

  • 华为技术有限公司

Dates

Publication Date
20260512
Application Date
20251121
Priority Date
20250801

Claims (20)

  1. 1. A communication method applied to a first communication system, the first communication system including a first device and a second device, the method comprising: the first device joins a first group chat, the members of which include the second device; The first device creates a first group talk back of the first group chat; the first device sends a first group of primary heartbeat broadcasts; the second device receives the first group main heartbeat broadcast sent by the first device; Based on the first group main heartbeat broadcast, the second device displays first prompt information; Responding to the operation acted on the first prompt information, and sending first information for joining the first group intercom by the second equipment; the first device receives the first information sent by the second device, and adds the second device into the first group intercom; Responding to a first operation of a user, and broadcasting and sending intercom audio of the first device by the first device; the second device receives intercom audio of the first device.
  2. 2. The method according to claim 1, wherein the method further comprises: the first device sends a second group of main heartbeat broadcast; The second device receives the second group main heartbeat broadcast sent by the first device; based on the second group primary heartbeat broadcast, the second device displays an interface of the first group intercom.
  3. 3. The method of claim 1 or 2, wherein the first group master heartbeat includes a member list of the first group talkback, the member list not including member information of the second device, wherein the first device receives the first information sent by the second device, and wherein joining the second device to the first group talkback includes: The first device receives the first information sent by the second device; The first device updates the member list based on the first information, the updated member list including member information of the second device; the method further includes the first device sending a second group master heartbeat broadcast including the updated member list, the second group master heartbeat broadcast indicating that the second device successfully joined the first group intercom.
  4. 4. A method according to any one of claims 1 to 3, wherein the first group talk-back further comprises a third device of the first group talk, the second device is in a first network state, the third device is in a first network state or a second network state, the first network state is a state in which internet access is not possible through a WLAN and/or cellular mobile network, the second network state is a state in which internet access is possible, the method further comprising: And the third equipment receives the first group intercom message sent by the first equipment through the first communication mode.
  5. 5. The method of any of claims 1 to 4, wherein the first group talk-back further comprises a third device of the first group talk, wherein the first device is in a second network state, wherein the second device is in a first network state, wherein the third device is in a second network state, wherein the first network state is a state in which internet access is not possible through a WLAN and/or cellular mobile network, wherein the second network state is a state in which internet access is possible, wherein the method further comprises: And the first device sends the first group intercom message to the third device in a second communication mode.
  6. 6. The method according to claim 4 or 5, characterized in that the method further comprises: After the second device is switched from the first network state to the second network state, the first device sends the first group intercom message to the second device in a second communication mode; And/or after the third device is switched from the second network state to the first network state, the third device receives the first group talkback message sent by the first device through the first communication mode.
  7. 7. The method of any one of claims 1 to 6, wherein the member list of the first group talkback includes member information for each member of the first group talkback, the member information including part or all of a network status of the device, location information of the device, device orientation of the device, and device perceived group talkback members, the method further comprising: The first equipment displays an interface of the first group intercom based on a member list of the first group intercom, wherein the interface of the first group intercom comprises a part or all of position icons, equipment orientations, network states and intercom states of all members in the first group intercom.
  8. 8. The method according to any one of claims 1 to 7, further comprising: the second equipment periodically transmits the heartbeat broadcast of the group members; And the first equipment receives the heartbeat broadcast of the group members sent by the second equipment, wherein the heartbeat broadcast of the group members comprises member information updated by the second equipment in real time.
  9. 9. The method according to any one of claims 1 to 8, further comprising: And responding to the first operation, and if the first equipment monitors that the intercom state of the first group intercom does not have other equipment is in a speaking state, recording intercom audio of the first equipment by the first equipment.
  10. 10. The method according to any one of claims 1 to 9, further comprising: The first device sends a group owner transfer broadcast, wherein the group owner transfer broadcast comprises an identity of a new group owner, and the new group owner is the second device; The second device receives group main transfer broadcast sent by the first device; Based on the group owner transition broadcast, the second device transmits a broadcast of group owner transition success; and the first equipment receives the broadcast of successful group master transfer sent by the second equipment.
  11. 11. The method of any of claims 2 to 10, wherein the second group master heartbeat broadcast includes a member list of the first group talkback, the member list including member information of the second device in the second group master heartbeat broadcast, the method further comprising: The second device sends a group member exit broadcast; The first equipment receives the group member exit broadcast sent by the second equipment; Based on the group member exiting the broadcast, the first device again updates the member list of the first group talkback, the again updated member list not including the member information of the second device; And the first equipment sends a third group main heartbeat broadcast, wherein the third group main heartbeat broadcast comprises the member list updated again.
  12. 12. The method according to any one of claims 1 to 11, further comprising: the first device receives a first event sent by the auxiliary device through a near field communication technology, wherein the first event is determined according to a third operation received by the auxiliary device, and the third operation is used for realizing a first communication task: In response to the first event, the first device and the second device perform the first communication task via the first communication mode.
  13. 13. The method of claim 12, wherein the first device and second device performing the first communication task via the first communication means in response to the first event comprises: And responding to the first event, and executing the first communication task by the first device and the second device through the first communication mode under the condition that the first communication task is executed by the first device in the background.
  14. 14. The method according to any one of claims 1 to 13, further comprising: The first equipment receives a fourth group main heartbeat broadcast sent by a fourth equipment, wherein the fourth group main heartbeat broadcast does not comprise member information of the first equipment; Based on the fourth group main heartbeat broadcast, the first device sends second information for joining the second group intercom; The first device receives a fifth group primary heartbeat broadcast sent by the fourth device, the fifth group primary heartbeat broadcast including member information of the first device, the fifth group primary heartbeat broadcast being determined by the fourth device based on the second information.
  15. 15. The method of claim 14, wherein the method further comprises: the first device displays third prompt information based on the fourth group main heartbeat broadcast, the third prompt information is used for indicating the fourth device to initiate the second group intercom, and/or, The first equipment displays fourth prompt information based on the fifth group main heartbeat broadcast, wherein the fourth prompt information is used for indicating that the first equipment joins the second group intercom initiated by the fourth equipment.
  16. 16. A method of communication, the method comprising: the first device joins a first group chat, the members of which include a second device; The first device creates a first group talk back of the first group chat; The first device sends a first group main heartbeat broadcast, wherein the first group main heartbeat broadcast is used for indicating the second device to display first prompt information, and the first prompt information is used for indicating the first device to initiate the first group intercom; The first device receives first information which is sent by the second device and used for joining the first group intercom, and the second device is joined in the first group intercom; In response to a first operation by a user, the first device broadcasts intercom audio of the first device.
  17. 17. The method of claim 16, wherein the first device transmitting a first group of primary heartbeat broadcasts comprises the first device transmitting a first group of primary heartbeat broadcasts via a first communication means; The first equipment receives first information which is sent by the second equipment and added into the first group intercom, and the first information comprises the first information which is sent by the second equipment and is received by the first equipment through the first communication mode; the first equipment broadcasts and sends the intercom audio of the first equipment, which comprises that the first equipment broadcasts and sends the intercom audio of the first equipment through the first communication mode; the first communication mode includes a near field communication mode.
  18. 18. The method according to claim 16 or 17, characterized in that the method further comprises: The first equipment sends a second group main heartbeat broadcast which is used for displaying an interface of the first group intercom by the second equipment.
  19. 19. The method of any of claims 16 to 18, wherein the first group master heartbeat includes a member list of the first group talkback, the member list not including member information of the second device, wherein the first device receiving first information sent by the second device to join the first group talkback, joining the second device to the first group talkback comprises: the first device receives first information which is sent by the second device and added into the first group intercom; The first device updates the member list based on the first information, the updated member list including member information of the second device; the method further includes the first device sending a second group master heartbeat broadcast including the updated member list, the second group master heartbeat broadcast indicating that the second device successfully joined the first group intercom.
  20. 20. The method of any of claims 16-19, wherein the first device creates the first group talk-ahead of the first group chat, the method further comprising: and when the first equipment is in a second network state, acquiring the identity of the first group chat, wherein the second network state is a state of accessing the Internet.

Description

Communication method and related device Technical Field The present application relates to the field of electronic technologies, and in particular, to a communication method and a related device. Background In multiple scenes such as airplanes, garages, self-driving motorflees, climbing and the like, user equipment (such as a mobile phone) is not network-free due to factors such as environmental shielding, signal uncovering or sudden interruption, namely, the user equipment cannot access the Internet and a cellular mobile network, and cannot get in touch with other people. In emergency situations, this situation may cause significant losses to the user. In a netless environment, there is a great deal of attention on how to provide communication security for users. Disclosure of Invention The embodiment of the application provides a communication method and a related device, which can provide communication guarantee for users in a non-network state and effectively improve user experience. The application provides a communication method, which is applied to a first communication system, wherein the first communication system comprises first equipment and second equipment, the first equipment joins a first group chat, members of the first group chat comprise second equipment, the first equipment creates a first group intercom of the first group chat, the first equipment sends first group main heartbeat broadcasting, the second equipment receives the first group main heartbeat broadcasting sent by the first equipment, the second equipment displays first prompt information based on the first group main heartbeat broadcasting, the second equipment sends the first information for joining the first group intercom in response to operation acting on the first prompt information, the first equipment receives the first information sent by the second equipment and joins the second equipment into the first group intercom, the first equipment broadcasts and sends intercom audio of the first equipment in response to first operation of a user, and the second equipment receives intercom audio of the first equipment. In one implementation, the member of the first group chat has permission to join the first group talk. By implementing the embodiment of the application, after the first device joins the first group chat, the first group intercom of the first group chat can be created to become a group owner of the first group intercom and send a group owner heartbeat broadcast, after other members (such as second devices) of the first group chat receive the group owner heartbeat broadcast, prompt information can be displayed to prompt a user to join the first group intercom, after the user confirms joining the first group intercom based on the prompt information, the second devices send first information for joining the first group intercom, after the group owner (namely the first devices) of the first group intercom receives the first information, the second devices can be joined into the first group intercom, the user can control the first devices to record and broadcast intercom audio of the first devices, and other members (such as the second devices) of the first group intercom can receive intercom audio of the first devices. In this way, in the no-network state (i.e. the state of being unable to access the internet), the group talk can be created by the members of the group chat, and other members of the group chat can also join the group talk, so that real-time talk of a plurality of members of the group chat is realized, communication guarantee in the no-network state is provided for the user, and user experience is effectively improved. In one implementation mode, a first device sends a first group main heartbeat broadcast, a second device receives the first group main heartbeat broadcast sent by the first device, the first device sends and receives the first group main heartbeat broadcast sent by the first device through a first communication mode, the second device sends and receives first information added to a first group intercom, the first device receives first information sent by the second device, the second device sends and receives first information added to the first group intercom through the first communication mode, the first device receives first information sent by the second device through the first communication mode, the first device broadcasts and sends intercom audio of the first device, the second device receives intercom audio of the first device, the first device sends intercom audio of the first device through the first communication mode, and the second device receives intercom audio of the first device through the first communication mode, wherein the first communication mode comprises a short-distance communication mode. By implementing the embodiment of the application, the members of the group chat can create group talk, and the group master heartbeat broadcast of the group talk can be sent