Message reply method and related equipment

By integrating sensors and status subscription permission setting functions in chat applications, real-time detection and automatic reply to user status are realized, which solves the problems of non-real-time user status and insufficient automatic reply function in the existing technology, and improves communication efficiency and user status. experience.

CN115883714BActive Publication Date: 2024-09-17HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111157550.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-28
Publication Date
2024-09-17
Estimated Expiration
2041-09-28

AI Technical Summary

Technical Problem

Existing chat applications have problems with user status settings and automatic reply functions. User status is not real-time, which can easily lead to misunderstandings, and automatic reply content cannot be independently set based on social relationships.

Method used

By integrating sensors and status subscription permission setting functions on electronic devices, the user's status can be detected in real time, and the user's current status can be automatically replied to based on the social relationship with the message sender, ensuring that the message sender understands the user's replyability.

Benefits of technology

It improves communication efficiency and user experience, ensures that the message sender understands the recipient's status in a timely manner, avoids misunderstandings, and protects the user's security and privacy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115883714B
    Figure CN115883714B
Patent Text Reader

Abstract

The present application discloses a message reply method and related equipment, wherein the electronic device can obtain the current status of the user (such as exercise, sleep, etc.), and supports the user to independently set an automatic reply message containing the user's current status based on the social relationship between the user and the message sender. When the electronic device determines that the user is currently inconvenient to reply to the message based on the user's current status, the electronic device can automatically reply to the message sender with a message containing the user's current status to indicate that the user is currently inconvenient to reply to the message; thereafter, when the electronic device determines that the user is currently convenient to reply to the message based on the user's current status, the electronic device can automatically reply to the message sender with a message containing the user's current status to indicate that the user is currently convenient to reply to the message, and the message sender can contact the user. In this way, under the premise of ensuring the privacy and security of the user, the electronic device can automatically reply to the message based on the acquired current status of the user, thereby improving communication efficiency and user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a message reply method and related equipment. Background Art

[0002] With the popularization of smart electronic devices such as mobile phones and wearable devices (such as watches, bracelets, etc.), social communication has become an indispensable daily behavior for people. Among them, the way people communicate with each other is mainly through sending and receiving messages through chat software.

[0003] While messages bring convenience to people, they also often cause some unnecessary troubles due to their non-real-time nature. For example, when a sender sends a message to a receiver and the receiver is not convenient to reply to the message (for example, the receiver is exercising, sleeping, in a meeting, driving, etc.), the sender cannot know the status of the receiver and does not know whether the receiver deliberately does not reply to the message or is really inconvenient to reply to the message, which may cause unnecessary misunderstandings and poor user experience. Summary of the invention

[0004] The embodiments of the present application provide a message reply method and related equipment, which can automatically reply to messages based on the current status of the recipient, thereby improving the efficiency of communication.

[0005] In a first aspect, an embodiment of the present application provides a message reply method, which is applied to a communication system including a first electronic device and a second electronic device, the method comprising: the first electronic device detects, through a sensor at a first time, that a first user is in a first user state, or determines, through a user setting record, that the first user is in the first user state;

[0006] The second electronic device displays a chat interface between the first user and the second user, and the chat interface displays a first status message from the first user at the first time, and the first status message is used to indicate that the first user is in the first user state at the first time; the first electronic device displays the chat interface between the first user and the second user, and the chat interface displays the first status message sent to the second user at the first time; the first electronic device detects that the first user is in the second user state through the sensor at the second time, or determines that the first user is in the second user state through the user setting record; the second electronic device displays the chat interface between the first user and the second user, and the chat interface displays a second status message from the first user at the second time, and the second status message is used to indicate that the first user is in the second user state at the second time; the first electronic device displays the chat interface between the first user and the second user, and the chat interface displays the second status message sent to the second user at the second time; wherein, the first user state is different from the second user state.

[0007] A message reply method provided by an embodiment of the present application, an electronic device can obtain the current state of a user (such as exercise, sleep, etc.), and supports the user to independently set an automatic reply message containing the user's current state based on the social relationship between the user and the message sender. When the electronic device determines that the user is currently inconvenient to reply to the message based on the user's current state, the electronic device can automatically reply to the message sender with a message containing the user's current state to indicate that the user is currently inconvenient to reply to the message; thereafter, when the electronic device determines that the user is currently convenient to reply to the message based on the user's current state, the electronic device can automatically reply to the message sender with a message containing the user's current state to indicate that the user is currently convenient to reply to the message, and the message sender can contact the user in a timely manner. In this way, under the premise of ensuring the user's security and privacy, the electronic device can automatically reply to the message based on the acquired current state of the user, thereby improving communication efficiency and user experience.

[0008] In one possible implementation, before the second electronic device displays a chat interface between the first user and the second user, the method also includes: the first electronic device receives a first message sent by the second electronic device, and the first message is a chat message between the first user and the second user; or, the first electronic device receives a second message sent by the second electronic device, and the second message is a group chat message in a first group, and the second message includes the user name of the first user.

[0009] In this way, the electronic device can be triggered to reply to the status message under the condition of receiving a single chat message / group chat message, so that the second user can know the current status of the first user in time.

[0010] In one possible implementation, before the second electronic device displays the chat interface between the first user and the second user, the method further includes: the first electronic device displays a status subscription request, where the status subscription request is used to instruct the first electronic device to set status subscription permissions, and the status subscription request is sent by the second electronic device or generated by the first electronic device; or, the first electronic device displays a group member status subscription broadcast message, where the group member status subscription broadcast message is used to instruct the first electronic device to set status subscription permissions, and the group member status subscription broadcast message is sent by the second electronic device or generated by the first electronic device.

[0011] In this way, the user can be guided to set the status subscription permission by sending / generating the status subscription request.

[0012] In one possible implementation, the method further includes: detecting a user's operation on the status subscription request, the first electronic device displaying a first setting interface, the first setting interface including one or more options for setting the status subscription rights of the second user, the first electronic device detecting the user's options for setting the status subscription rights of the second user for the one or more options, and the first electronic device saving the status subscription rights information of the second user and the user name of the second user; or, detecting an operation on the group member status broadcast message, the first electronic device displaying a second setting interface, the second setting interface including one or more options for setting the status subscription rights of the first group, the first electronic device detecting the user's options for setting the status subscription rights of the first group for the one or more options, and the first electronic device saving the status subscription rights information of the first group and the group name of the first group; wherein, the status right subscription information of the second user and the status subscription rights information of the first group include the status of the first user and the status of the second user.

[0013] This way, users can set status subscription permissions on their local machine.

[0014] In one possible implementation, the communication system also includes a third electronic device, and the method also includes: detecting a user's operation on the status subscription request, or an operation on the group member status broadcast message; the first electronic device sends a first instruction to the third electronic device, and the first instruction is used to instruct the third electronic device to set the status subscription permission on behalf of the first user; the third electronic device detects the user's operation of setting the status subscription permission; the third electronic device saves and sends first information to the first electronic device; the first electronic device receives and saves the first information, and the first information is the status subscription permission information of the second user and the user name of the second user, or the status subscription permission information of the first group and the group name of the first group.

[0015] In this way, when the user is a child, the child's parents can set the status subscription permissions on behalf of the child to provide security.

[0016] In one possible implementation, before the second electronic device displays the chat interface between the first user and the second user, the method also includes: the first electronic device detects through the sensor at the second time that the first user state is different from the second user state, wherein the sensor is one or more sensors on the first electronic device, or one or more sensors on an electronic device connected to the first electronic device; or, the first electronic device determines through the user setting record at the second time that the first user state is different from the second user state.

[0017] In this way, when the status of the first user changes from the first user status to the second user status, the electronic device can be triggered to reply to the status message, so that the second user can know the current status of the first user in time.

[0018] In one possible implementation, before the second electronic device displays the chat interface between the first user and the second user, the method also includes: the first electronic device displays a first prompt, the first prompt is used to prompt the user whether to send the second status message to the second electronic device; the first electronic device detects that the user agrees to send the second status message to the second electronic device.

[0019] In this way, the second status message can be sent with the user's consent, giving the user a certain right of choice.

[0020] In a possible implementation manner, the method further includes: the first electronic device sending a feedback message to the second electronic device, where the feedback message is used to indicate that the first user has opened status subscription permissions to the second user or group members in the first group.

[0021] In this way, the other party can be informed that the first user has opened the status subscription permission to the other party.

[0022] In one possible implementation, before the second electronic device displays the chat interface between the first user and the second user, the method also includes: the first electronic device determines that status subscription permissions have been opened to the second user based on the saved status subscription permission information of the second user and the user name of the second user; or, the first electronic device determines that status subscription permissions have been opened to group members of the first group based on the saved status subscription permission information of the first group and the group name of the first group.

[0023] In one possible implementation, the method includes: the second electronic device displays a second prompt, the second prompt is used to prompt the user whether to notify the second user when the first user is in the second user state; the second electronic device detects the user's consent to the notification operation; the second electronic device sends a second instruction to the first electronic device, the second instruction is used to instruct the first electronic device to send the second status message to the second electronic device when the first user is in the second user state.

[0024] In this way, the second user can actively subscribe to the second user status of the first user, so that the second user can be notified in time when the first user is in the second user status.

[0025] In one possible implementation, after the second electronic device displays the chat interface between the first user and the second user, the method further includes: the first electronic device displays a third prompt, the third prompt being used to prompt the user whether to withdraw the second status message; the first electronic device detects the user's operation of withdrawing the second status message; and the first electronic device and the second electronic device do not display the second status message.

[0026] In one possible implementation, before the second electronic device displays the chat interface between the first user and the second user, the method also includes: the first electronic device saving the first user status and the user name of the second user; or, the first electronic device saving the first user status and the group name of the first group.

[0027] In a second aspect, an embodiment of the present application provides a message reply method, which is applied to a first electronic device, and the method includes: the first electronic device detects that a first user is in a first user state through a sensor at a first time, or determines that the first user is in the first user state through a user setting record; the first electronic device displays a chat interface between the first user and the second user, and the chat interface displays a first status message sent to the second user at the first time, and the first status message is used to indicate that the first user is in the first user state at the first time; the second electronic device displays the chat interface between the first user and the second user, and the chat interface displays the first status message from the first user at the first time; the first electronic device detects that the first user is in a second user state through the sensor at a second time, or determines that the first user is in the second user state through the user setting record; the first electronic device displays the chat interface between the first user and the second user, and the chat interface displays a second status message sent to the second user at the second time, and the second status message is used to indicate that the first user is in the second user state at the second time; the second electronic device displays the chat interface between the first user and the second user, and the chat interface displays the second status message from the first user at the second time; wherein the first user state is different from the second user state.

[0028] In one possible implementation, before the first electronic device displays a chat interface between the first user and the second user, the method also includes: the first electronic device receives a first message sent by the second electronic device, and the first message is a chat message between the first user and the second user; or, the first electronic device receives a second message sent by the second electronic device, and the second message is a group chat message in a first group, and the second message includes the user name of the first user.

[0029] In one possible implementation, before the first electronic device displays a chat interface between the first user and the second user, the method further includes: the first electronic device displays a status subscription request, wherein the status subscription request is used to instruct the first electronic device to set status subscription permissions, and the status subscription request is sent by the second electronic device or generated by the first electronic device; or, the first electronic device displays a group member status subscription broadcast message, wherein the group member status subscription broadcast message is used to instruct the first electronic device to set status subscription permissions, and the group member status subscription broadcast message is sent by the second electronic device or generated by the first electronic device.

[0030] In one possible implementation, the method further includes: detecting a user's operation on the status subscription request, the first electronic device displaying a first setting interface, the first setting interface including one or more options for setting the status subscription rights of the second user, the first electronic device detecting the user's options for setting the status subscription rights of the second user for the one or more options, and the first electronic device saving the status subscription rights information of the second user and the user name of the second user; or, detecting an operation on the group member status broadcast message, the first electronic device displaying a second setting interface, the second setting interface including one or more options for setting the status subscription rights of the first group, the first electronic device detecting the user's options for setting the status subscription rights of the first group for the one or more options, and the first electronic device saving the status subscription rights information of the first group and the group name of the first group; wherein, the status right subscription information of the second user and the status subscription rights information of the first group include the status of the first user and the status of the second user.

[0031] In one possible implementation, the method also includes: detecting a user's operation on the status subscription request, or an operation on the group member status broadcast message; the first electronic device sends a first instruction to a third electronic device, and the first instruction is used to instruct the third electronic device to set status subscription permissions on behalf of the first user; the first electronic device receives and saves first information sent by the third electronic device, and the first information is the status subscription permission information of the second user and the user name of the second user, or the status subscription permission information of the first group and the group name of the first group.

[0032] In one possible implementation, before the first electronic device displays the chat interface between the first user and the second user, the method also includes: the first electronic device detects through the sensor at the second time that the first user state is different from the second user state, wherein the sensor is one or more sensors on the first electronic device, or one or more sensors on an electronic device connected to the first electronic device; or, the first electronic device determines through the user setting record at the second time that the first user state is different from the second user state.

[0033] In one possible implementation, before the first electronic device displays the chat interface between the first user and the second user, the method also includes: the first electronic device displays a first prompt, the first prompt is used to prompt the user whether to send the second status message to the second electronic device; the first electronic device detects that the user agrees to send the second status message to the second electronic device.

[0034] In a possible implementation manner, the method further includes: the first electronic device sending a feedback message to the second electronic device, where the feedback message is used to indicate that the first user has opened status subscription permissions to the second user or group members in the first group.

[0035] In one possible implementation, before the first electronic device displays a chat interface between the first user and the second user, the method further includes: the first electronic device determines that status subscription permissions have been opened to the second user based on the saved status subscription permission information of the second user and the user name of the second user; or, the first electronic device determines that status subscription permissions have been opened to group members of the first group based on the saved status subscription permission information of the first group and the group name of the first group.

[0036] In a third aspect, an embodiment of the present application provides an electronic device, comprising one or more processors and one or more memories; wherein the one or more memories are coupled to the one or more processors, and the one or more memories are used to store computer program code, and the computer program code comprises computer instructions, and when the one or more processors execute the computer instructions, the electronic device executes the method described in any possible implementation of the second aspect above.

[0037] In a fourth aspect, an embodiment of the present application provides a computer storage medium, which stores a computer program, wherein the computer program includes program instructions. When the program instructions are executed on an electronic device, the electronic device executes the method described in any possible implementation of the second aspect above.

[0038] In a fifth aspect, an embodiment of the present application provides a computer program product, which, when executed on a computer, enables the computer to execute the method described in any possible implementation of the second aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Figure 1A-1H This is a typical user interface diagram for setting automatic message reply provided in an embodiment of the present application;

[0040] Figure 2 It is a schematic diagram of a communication system provided by an embodiment of the present application;

[0041] Figure 3 It is a flowchart of a message reply method provided in an embodiment of the present application;

[0042] Figure 4A-Figure 4O It is a user interface diagram for setting status subscription permissions and automatically replying to messages in a group of single chat scenarios provided by an embodiment of the present application;

[0043] Figure 5 It is a flowchart of another message reply method provided in an embodiment of the present application;

[0044] Figure 6A-Figure 6I It is a user interface diagram for setting status subscription permissions and automatically replying to messages in a group chat scenario provided by an embodiment of the present application;

[0045] Figure 7 It is a flowchart of another message reply method provided in an embodiment of the present application;

[0046] Figure 8A-8E It is a schematic diagram of a user interface for setting status subscription permissions in another group chat scenario provided in an embodiment of the present application;

[0047] Figure 9A-9C It is a schematic diagram of a user interface for uniformly setting status subscription permissions for multiple users / groups provided in an embodiment of the present application;

[0048] Fig.10 is a structural schematic diagram of an electronic device provided in an embodiment of the present application;

[0049] Fig.11 It is a schematic diagram of the software structure of an electronic device provided in an embodiment of the present application;

[0050] Fig.12 It is a schematic diagram of the structure of another electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0051] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in the text is only a description of the association relationship of the associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.

[0052] It should be understood that the terms "first", "second", etc. in the specification, claims and drawings of the present application are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or devices.

[0053] Reference to "embodiments" in this application means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described in this application may be combined with other embodiments.

[0054] The term "user interface (UI)" in the following embodiments of the present application refers to a medium interface for interaction and information exchange between an application or operating system and a user, which realizes the conversion between the internal form of information and the form acceptable to the user. The user interface is a source code written in a specific computer language such as Java and extensible markup language (XML). The interface source code is parsed and rendered on an electronic device, and finally presented as content that can be recognized by the user. The commonly used form of user interface is a graphical user interface (GUI), which refers to a user interface related to computer operation displayed in a graphical manner. It can be a visual interface element such as text, icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, widgets, etc. displayed on the display screen of an electronic device.

[0055] At present, in order to improve the real-time nature of message replies, some chat applications (Application, APP) provide functions for setting quick reply messages and automatic reply messages.

[0056] Figure 1A-1F The user interface for setting a quick reply message is exemplified.

[0057] The electronic device 100 may be a mobile phone, and the electronic device 101 may be a watch connected to the electronic device 100. The user may set a template for quick reply messages on the watch through the mobile phone. For example, Figure 1A As shown, the user can enter the default reply option 111 on the user interface 110 by clicking the default reply option 111 on the user interface 110. Figure 1B The user interface 120 shown in FIG. 1 may include a plurality of default reply message templates, and the user may modify these templates independently, for example, Figure 1B As shown, after the user clicks option 121 and enters the content to be modified (such as "good morning"), the user can modify "rest early, good night" in option 121 to Figure 1C Click "Good morning" as shown to complete the setting of the quick reply message.

[0058] Furthermore, if Figure 1D As shown, when the user receives a message, he can click option 141 on the user interface 140, so that the watch can display the following Figure 1E The pop-up window 150 shown in FIG. 1 includes multiple quick reply message templates that the user has set, so that the user can choose which template to use for quick reply. For example, the user can select the "good morning" template 151, so as to complete the following steps: Figure 1F Quick replies shown.

[0059] In this way, by setting up quick reply messages in the chat, the time it takes for users to reply to messages can be simplified.

[0060] Figure 1G-1H The user interface for setting an automatic reply message is shown exemplarily.

[0061] Figure 1G The following example shows a user interface for setting an automatic reply message based on keywords. Figure 1G As shown, the user can click the add rule option 171 on the user interface 170 to set an automatic reply message. The template box 172 is a set automatic reply message template, in which the three items "rule", "keyword" and "reply content" can be set by the user. In this way, after the setting is completed, when the message received by the user contains one or more of these keywords, the electronic device 100 can automatically reply to the reply content set by the user for these keywords.

[0062] Figure 1H The following example shows a user interface for setting an automatic reply message according to the user's current status (e.g., busy, away, etc.). Figure 1HAs shown, the user can set whether to automatically reply and the content of the automatic reply according to the current state on the user interface 180. For example, when the user selects option 181, it means that the user needs to automatically reply when receiving a message in the "busy" state, and the automatic reply content can be the default "I'm busy, contact you later", and can also be modified by the user by clicking option 182. For another example, when the user selects option 183, it means that the user needs to automatically reply when receiving a message in the "away" state, and the automatic reply content can be the default "I'm not here, contact you when I come back", and can also be modified by the user by clicking option 184.

[0063] In this way, the electronic device 100 can automatically reply to messages when the user is in the "busy" or "away" state.

[0064] from Figure 1A-1H It can be seen that the functions of setting quick reply messages and automatic reply messages provided by chat apps can improve the real-time nature of message replies to a certain extent. However, there are still the following problems:

[0065] 1. The user's status (such as busy, away, etc.) is set manually by the user and may not be the real status. For example, the message recipient may deliberately set his or her status to "busy" to avoid being disturbed. This may cause inconvenience to the message sender.

[0066] 2. Users cannot set automatic reply content based on the relationship between the message sender and the user themselves (such as social relationships such as family, friends, and colleagues).

[0067] 3. Users need to manually turn on or off the automatic reply function, and the automatic reply function cannot be dynamically adapted according to the user's real-time status.

[0068] To solve the above problems, an embodiment of the present application provides a message reply method, in which an electronic device can obtain the current state of a user (such as exercise, sleep, etc.), and supports the user to independently set an automatic reply message containing the user's current state based on the social relationship between the user and the message sender. When the electronic device determines that the user is currently inconvenient to reply to the message based on the user's current state, the electronic device can automatically reply to the message sender with a message containing the user's current state to indicate that the user is currently inconvenient to reply to the message; thereafter, when the electronic device determines that the user is currently convenient to reply to the message based on the user's current state, the electronic device can automatically reply to the message sender with a message containing the user's current state to indicate that the user is currently convenient to reply to the message, and the message sender can contact the user in a timely manner. In this way, under the premise of ensuring the user's security and privacy, the electronic device can automatically reply to the message based on the acquired current state of the user, thereby improving communication efficiency and user experience.

[0069] The message reply method provided in the embodiment of the present application mainly includes the following two solutions:

[0070] Solution 1 (i.e. setting status subscription permissions and automatic message replies in a single chat scenario):

[0071] Based on the social relationship between the user (message recipient) and a single message sender (such as family, friends, colleagues, etc.), the status subscription permissions and automatic reply messages containing the user's current status are set independently. When the electronic device receives a message sent by the message sender, the electronic device can automatically reply to the message if it determines that it is inconvenient for the user to reply to the message.

[0072] Solution 2 (i.e. setting status subscription permissions and automatic message replies in group chat scenarios):

[0073] Based on the social relationship between the user (message recipient) and group members in a chat group (such as a family group, friend group, colleague group, etc.), the status subscription permissions and automatic reply messages containing the user's current status are set independently. When the electronic device receives a message from a group member to the user in the chat group, the electronic device can automatically reply to the message if it determines that it is inconvenient for the user to reply to the message.

[0074] The above two solutions will be described in detail in the subsequent embodiments and will not be expanded here.

[0075] Below, a communication system provided by an embodiment of the present application is first introduced.

[0076] Figure 2 A communication system provided by an embodiment of the present application is exemplified.

[0077] like Figure 2 As shown, the communication system may include: multiple electronic devices. These multiple electronic devices are all intelligent terminal devices, which can be of various types. The embodiments of the present application do not limit the specific types of the multiple electronic devices. For example, the multiple electronic devices may include mobile phones, wearable devices (such as watches, bracelets, etc.), tablet computers, desktop computers, laptop computers, handheld computers, notebook computers, smart screens, etc.

[0078] A communication connection can be established between multiple electronic devices in the communication system. The way to establish a communication connection may include but is not limited to: logging in to the same account, binding devices, scanning a QR code, etc.; the type of communication connection may include but is not limited to: wired connection, wireless connection such as Bluetooth (BT) connection, wireless local area networks (WLAN) such as wireless fidelity point to point (Wi-Fi P2P) connection, near field communication (NFC) connection, infrared technology (IR) connection, and remote connection (such as connection established through a server), etc.

[0079] In addition, multiple electronic devices in the communication system may also be connected and communicated in combination with any of the above-mentioned methods, which is not limited in the embodiments of the present application.

[0080] In an embodiment of the present application, multiple electronic devices in the communication system can support the operation of chat apps and / or have the ability to monitor sports health data and status. In other words, the electronic devices that support the operation of chat apps and have the ability to monitor sports health data and status can be the same device (such as a children's watch, etc., which can be used to run chat apps and perform real-time monitoring of sports health status at the same time), or different devices (such as a mobile phone and a watch, where the mobile phone can only be used to run chat apps and the watch can only be used to perform real-time monitoring of sports health status).

[0081] Based on the aforementioned solution one (i.e., setting status subscription permissions and automatic message replies in a single chat scenario), a message reply method provided in an embodiment of the present application is described in detail below.

[0082] Figure 3 The specific process of a message reply method provided in an embodiment of the present application is exemplified.

[0083] like Figure 3 As shown, the method can be applied to a communication system including an electronic device 100, an electronic device 101, and an electronic device 200. Among them, both the electronic device 100 and the electronic device 200 are installed with a chat APP and support the running of the chat APP, which can be used to realize the reception and sending of messages. The electronic device 101 has the ability to monitor sports health data and status, and can be used to realize real-time monitoring of the user status. For example, the electronic device 100 can be the mobile phone of the message recipient, the electronic device 101 can be the watch of the message recipient, and the electronic device 200 can be the mobile phone of the message sender. The specific steps of the method are described in detail below:

[0084] Stage 1: Setting Status Subscription Permissions

[0085] Optional step S301: electronic device 100 establishes a communication connection with electronic device 101.

[0086] Specifically, in the embodiment of the present application, the electronic device 100 can establish a communication connection with the electronic device 101, and then the electronic device 100 and the electronic device 101 can send and receive data based on the above communication connection to perform subsequent related steps.

[0087] Among them, the embodiment of the present application does not limit the way to establish a communication connection between the electronic device 100 and the electronic device 101, for example, the communication connection can be established by logging in to the same account, binding devices, scanning a QR code, etc. In addition, the embodiment of the present application does not limit the type of communication connection established between the electronic device 100 and the electronic device 101, for example, it can include a wired connection, a wireless connection such as a Bluetooth connection, a Wi-Fi P2P connection, an NFC connection, an IR connection, and a remote connection, etc.

[0088] Optional step S302: The electronic device 200 sends a status subscription request to the electronic device 100.

[0089] For example, Figure 4A As shown, the user interface 410 displayed by the electronic device 200 may be a chat interface of a chat APP. Assume that the name of the user of the electronic device 200 (i.e., the message sender) who notes the user of the electronic device 100 (i.e., the message receiver) is Lily. If the user of the electronic device 200 wants to subscribe to the status of Lily so as to obtain the status of Lily and be notified in time when the status changes, the electronic device 200 may receive the user's operation (e.g., a click operation) on the status subscription option 411. In response to the operation, the electronic device 200 may send a status subscription request to the electronic device 100. At the same time, the electronic device 200 may display the following information: Figure 4B The prompt 412 is shown as an example, and is used to prompt the user of the electronic device 200 that he has requested a status subscription from Lily.

[0090] In some embodiments, the above-mentioned status subscription request may also be automatically generated by the system of the electronic device 100, or may be automatically generated by the system of the electronic device 200 and then sent to the electronic device 100.

[0091] S303-S304, the electronic device 100 detects the user's operation of setting the status subscription permission, and in response to the operation, the electronic device 100 saves the sender's name and the status of allowing the opening.

[0092] For example, Figure 4CAs shown, the user interface 430 displayed by the electronic device 100 may be a chat interface of a chat APP, assuming that the name of the note given by the user of the electronic device 100 (i.e., the message recipient) to the user of the electronic device 200 (i.e., the message sender) is Mary. After the electronic device 100 receives the status subscription request sent by the electronic device 200, the electronic device 100 may display a prompt 431 in the user interface 430, which is used to prompt the user of the electronic device 100 that Mary wants to request a status subscription.

[0093] If the user of electronic device 100 wants to grant Mary status subscription rights, electronic device 100 may detect the user's operation on prompt 431 (e.g., clicking on "status subscription" in prompt 431), and in response to the operation, electronic device 100 may display the following information: Figure 4D The user interface 440 shown is exemplary, and the user interface 440 may be a user interface for setting status subscription permissions.

[0094] like Figure 4D As shown, the user interface 440 may include multiple states that are allowed to be displayed (e.g., exercise, sleep, physiological cycle, health measurement, fall, etc.) and the corresponding open setting options for each state (e.g., option 441, option 442, option 443, option 444, option 445, etc.). If the user sets the open setting option to "ON", it means that the user allows the state to be opened to Mary (i.e., the user allows Mary to subscribe to the state). For example, if option 442 is set to "ON", it means that the user allows the "sleep" state to be opened to Mary. If the user sets the open setting option to "OFF", it means that the user does not allow the state to be opened to Mary. For example, if option 441 is set to "OFF", it means that the user does not allow the "exercise" state to be opened to Mary.

[0095] Refer to Table 1, which exemplarily shows the types of states allowed to be displayed (ie, state classification) and the specific definition of each type of state (ie, state definition).

[0096] As shown in Table 1, the above-mentioned status types allowed to be displayed can be divided into five categories: exercise status, sleep status, physiological cycle status, health measurement status, and fall status. Among them, the exercise status can specifically include that the user is doing / ending outdoor running, outdoor cycling, swimming, skiing, golf and other sports; the sleep status can specifically include that the user is in a state of light sleep / deep sleep / awake; the physiological cycle status can specifically include that the user is in a state of menstruation / fertile period; the health measurement status can specifically include that the user is measuring / ending measuring physiological data such as blood sugar and blood pressure; the fall status can specifically include that the user has fallen.

[0097] It should be noted that the states allowed to be displayed shown in Table 1 are only five sports and health states, but are not limited to this. The states allowed to be displayed may also include more other sports and health states (such as sudden heart disease, high blood pressure and other emergency states).

[0098] The above-mentioned sports health status can be a user status determined based on sports health data information measured by one or more sensors, but is not limited thereto. The status allowed to be displayed can also include more other types of user status determined based on other data information (such as eating, going to work, driving, making phone calls, leisure and entertainment, taking exams, etc.). In some embodiments, the user's location (such as a restaurant, company, entertainment venue, etc.) can be determined based on the location information measured by the sensor, and the user status (such as eating, going to work, entertainment, etc.) can be further determined based on the user's location; in other embodiments, the user status (such as meeting, watching a movie, etc.) can also be determined based on the schedule information recorded in the schedule record table of an application such as a memo (such as a meeting from 2 to 4 pm today, watching a movie from 8 to 10 pm today, etc.) and the current time. In other embodiments, the user status can also be determined based on the location information and / or motion health data measured by the sensor. For example, the current location is a work area, and the current motion state is stationary, thereby further determining that the user status may be: meeting; for another example, the current location is a school, and the current motion state is stationary, thereby further determining that the user status may be: examination / class; for another example, if the location is changing or in a high-speed motion state, it can be determined that the user status may be: driving.

[0099]

[0100] Table 1

[0101] Continue reading Figure 4D , users can Figure 4D In the user interface 440 shown, the user can set the status subscription permission according to their own needs. For example, the user can set the status that is allowed to be opened based on the social relationship between the user and the message sender (such as family, friends, colleagues, etc.). For example, if the message sender is the user's husband, the user can allow him to open the exercise status, sleep status, and physiological cycle status; for another example, if the message sender is the user's father / mother, the user can allow him to open the exercise status and sleep status; for another example, if the message sender is the user's XX colleague, the user can allow only the sleep status to be opened to him.

[0102] Optionally, the user can also set the allowed open status based on the chat behavior, wherein the chat behavior may include the number of chat messages, chat frequency, chat time period (such as weekends or weekdays, daytime or nighttime, etc.), etc.

[0103] After the user sets the status of allowing openness (for example, the user clicks option 448), the electronic device 100 can save the message sender name and the status of allowing openness, that is, it can be saved as a status subscription list as shown in the following Table 2.

[0104] For example, assuming that Mary is a colleague of the user of the electronic device 100, the user can only open the sleeping state to her. After the user sets the status that can be opened, the electronic device 100 can save the message sender name and the status that can be opened, where the message sender name is: Mary, and the status that can be opened is: sleeping state.

[0105] It should be noted that the mapping relationship between the message sender name and the status allowed to be opened shown in Table 2 is only exemplary. Users can open more or fewer statuses according to their own needs, and the embodiments of the present application do not limit this. In some embodiments, for family members (such as husbands, fathers / mothers, etc.), users can choose to open more statuses to them. For example, users can choose to open some emergency statuses such as falls and sudden illnesses to family members so that users can get help in time when accidents occur; for contacts who rarely chat, users can choose to open fewer statuses to them or not open any status.

[0106]

[0107]

[0108] Table 2

[0109] Continue reading Figure 4D , the user interface 440 may also include options for setting the timing of displaying the status (e.g., option 446, option 447). If the user turns option 446 "ON", it means that the user turns on the "automatic display of status changes" function (i.e., the user's status changes can be automatically displayed in the chat interface with Mary), and if the user turns option 447 "ON", it means that the user turns on the "automatic reply when sending me a message" function (i.e., Mary can automatically reply when sending me a message).

[0110] Refer to Table 3, which exemplarily shows the mapping relationship between the state of allowing opening and the automatic reply message. It can be seen that the automatic reply message includes the state of allowing opening.

[0111] As shown in Table 3, illustratively, after the electronic device 100 receives the message sent by the electronic device 200, the electronic device 100 can obtain the current state of the user, and determine based on the state that it is inconvenient for the user to reply to the message. For example, the electronic device 100 obtains that the current state of the user is "outdoor running", and the electronic device 100 can determine that it is inconvenient for the user to reply to the message at this time, and the electronic device 100 can automatically reply to the message: I am running outdoors, it is inconvenient to reply, please leave a message if you have anything. Further, when the electronic device 100 obtains the state that the user has finished outdoor running, it can automatically reply to the message: I have finished outdoor running, come and contact me.

[0112] Optionally, after the electronic device 100 receives the message sent by the electronic device 200, if the electronic device 100 determines that it is convenient for the user to reply to the message based on the acquired current status of the user, the electronic device 100 may not automatically reply to the message.

[0113] In some embodiments, assuming that the user of electronic device 100 has opened up subscription rights for emergency states (such as falls, sudden illnesses, etc.) to the user of electronic device 200, then when the user of electronic device 100 is in the above-mentioned emergency state, electronic device 100 may automatically send a message carrying the emergency state to electronic device 200. For example, assuming that the emergency state is a fall, when a fall of the user is detected, electronic device 100 may automatically send a message to electronic device 200 to notify the user of electronic device 200 that the user of electronic device 100 has fallen. Further, in the case where it is detected that the user has fallen and then stood up, one implementation may be that electronic device 100 automatically sends a message to electronic device 200 again to notify the user of electronic device 200 that the user of electronic device 100 has stood up after falling and is in a safe state; another implementation may be that electronic device 100 displays a message such as Figure 4E The pop-up window 450 shown as an example prompts the user whether to agree to inform friends of the current status. If the user agrees (for example, the user clicks option 451), the electronic device 100 sends a message to the electronic device 200.

[0114] It should be noted that the content of the automatic reply message shown in Table 3 is merely exemplary. In the embodiment of the present application, the content of the automatic reply message needs to include a status that allows opening so that the other party can promptly know the user's current status. The embodiment of the present application does not limit other content in the automatic reply message.

[0115]

[0116]

[0117] Table 3

[0118] Optional step S305: The electronic device 100 sends a feedback message 1 to the electronic device 200, where the message is used to indicate that the receiver has opened the status subscription permission to the sender.

[0119] Specifically, after the user completes the operation of setting the status subscription permission, the electronic device 100 may send a feedback message 1 to the electronic device 200 , where the message is used to indicate that the user of the electronic device 100 has opened the status subscription permission to the user of the electronic device 200 .

[0120] For example, after the electronic device 100 sends the feedback message 1 to the electronic device 200, the electronic device 200 may display the following information: Figure 4F The prompt 461 (i.e., feedback message 1) shown in FIG. 1 is used to prompt Mary that the user Lily of the electronic device 100 has opened the status subscription permission to her. Optionally, the electronic device 100 may also display the following: Figure 4G The prompt 471 shown is used to prompt the user of the electronic device 100 that the user of the electronic device 200 has successfully opened the status subscription permission to Mary.

[0121] In the embodiment of the present application, the status subscription request and the feedback information after setting the status subscription permission can be displayed in various forms such as text, cards, etc., without limitation.

[0122] In some embodiments, step S305 is optional, that is, after the user completes setting the status subscription permission, the electronic device 100 does not need to notify the user of the electronic device 200 that the user of the electronic device 100 has opened the status subscription permission to him.

[0123] In some embodiments, step S302 is optional, that is, the message sender may not send a status subscription request to the message receiver, but the message receiver may actively set the status subscription permission for the message sender. Figure 4C As shown, the electronic device 100 may detect a user operation (eg, a click operation) on option 432, and in response to the operation, the electronic device 100 may display a Figure 4H The exemplary user interface 480 is shown. Further, the electronic device 100 may detect a user operation (eg, a click operation) on the option 481, and in response to the operation, the electronic device 100 may display a user interface (eg, a click operation) for setting the state subscription permission. Figure 4D The user can set the status subscription permission in the user interface, so as to actively open the status subscription permission to the message sender. After that, the electronic device 100 can also send a feedback message to the electronic device of the message sender to notify the message recipient that the status subscription permission has been opened to it. The specific process of setting the status subscription permission can refer to the above-mentioned related content, which will not be repeated here.

[0124] It is easy to understand that the "user setting status subscription permission operation" described in step S303 may include: the user Figure 4C The operation of the prompt 431 shown as an example and the user Figure 4D The exemplary user interface 440 sets the status subscription permission; or the user sets the status subscription permission. Figure 4H The operation of option 481 shown as an example and the user in Figure 4D The exemplary user interface 440 is an operation for setting status subscription rights.

[0125] The user's setting of status subscription permissions in the above stage 1 is persistent and can be effective all the time.

[0126] Stage 2: Automatic reply message stage

[0127] S306. The electronic device 200 sends a chat message 1 to the electronic device 100.

[0128] For example, Fig. 4I As shown, electronic device 200 can send a chat message 1 (e.g., "Are you there?") to electronic device 100. After electronic device 100 receives chat message 1, it can display chat message 1 (e.g., "Are you there?") and the sending time of chat message 1 (e.g., "07:30 am") on the chat interface.

[0129] S307: The electronic device 100 determines that the status subscription authority has been opened to the sender based on the saved sender name and the status of allowing opening.

[0130] Specifically, after receiving the chat message 1 sent by the electronic device 200, the electronic device 100 can determine whether the user of the electronic device 100 has opened the status subscription permission to the user Mary of the electronic device 200 based on the sender name and the status allowed to be opened saved in the aforementioned step S304, that is, the electronic device 100 can determine whether the status subscription list (such as Table 2) records the user name Mary of the electronic device 200 and at least one status allowed to be opened to Mary. If so, the electronic device 100 determines that the user of the electronic device 100 has opened the status subscription permission to the user Mary of the electronic device 200, and can continue to execute the subsequent steps. If not, the electronic device 100 does not need to continue to execute the subsequent steps, that is, no processing is performed.

[0131] S308-S310, the electronic device 100 sends a recipient current status query request to the electronic device 101, and after receiving the request, the electronic device 101 sends the recipient current status 1 to the electronic device 100. Afterwards, the electronic device 100 determines that the recipient is not convenient to reply to the chat message 1 in the current status 1.

[0132] Specifically, after determining that the status subscription permission has been opened to the sender, the electronic device 100 can send a recipient current status query request to the electronic device 101. After receiving the request, the electronic device 101 can determine that the recipient is in current status 1 based on the recipient's physiological data collected in real time by one or more sensors. Further, the electronic device 101 can send the recipient's current status 1 to the electronic device 100.

[0133] After receiving the current state 1, the electronic device 100 can determine whether it is convenient for the recipient to reply to the chat message 1 based on the current state 1. For example, when the current state 1 is running, cycling, sleeping, etc., the electronic device 100 can determine that it is not convenient for the recipient to reply to the chat message 1 in the current state 1, and the electronic device 100 can continue to execute the subsequent steps. For another example, when the current state 1 is awake, idle, a certain state has ended (for example, the cycling state has ended, etc.), the electronic device 100 can determine that it is convenient for the recipient to reply to the chat message 1 in the current state 1, and the electronic device 100 can no longer execute the subsequent steps.

[0134] The current state 1 is included in the list of states that the receiver allows to be open to the sender.

[0135] In some embodiments, the electronic device 100 may also first execute step S308-step S310, and then execute step S307. That is, after receiving the chat message 1, the electronic device 100 may first query the current status of the recipient to determine that it is not convenient for the recipient to reply to the chat message 1 in the current state, and then determine whether the recipient has opened the status subscription permission to the sender. If so, continue to execute subsequent steps; if not, do not continue to execute subsequent steps, that is, do not perform any processing.

[0136] In some embodiments, step S308 is optional, and step S309 may be executed periodically without executing step S308 to trigger.

[0137] In some embodiments, step S301 may not be executed in stage one, but can be completed before executing step S308. That is, before electronic device 100 needs to obtain the user's current status from electronic device 101, electronic device 100 and electronic device 101 can complete the establishment of a communication connection.

[0138] S311-S312, the electronic device 100 sends a recipient status message 1 to the electronic device 200, the message carrying the current status 1, which is used to indicate that the recipient is currently not convenient to reply to the chat message 1. Afterwards, the electronic device 100 saves the current status 1 and the sender name of the chat message 1.

[0139] Specifically, when the electronic device 100 determines that the user is not convenient to reply to the chat message 1 in the current state 1, the electronic device 100 can automatically reply to the message based on the settings in the aforementioned Table 3, that is, the electronic device 100 can send a recipient status message 1 to the electronic device 200, and the message carries the current state 1, which is used to indicate that the recipient is not convenient to reply to the chat message 1. In this way, the user of the electronic device 200 can timely understand the current state of the recipient and know that the recipient is not convenient to reply to the message at present, thereby avoiding misunderstandings caused by the recipient's failure to reply to the message in time.

[0140] For example, Fig. 4I As shown, if the current state 1 is deep sleep, the electronic device 100 can automatically reply with the message "I am sleeping soundly, it is inconvenient to reply to messages, please leave a message if you have anything to say", and display the message on the chat interface, as well as the sending time of the message (for example, 7:30), etc.

[0141] Further, referring to Table 4, Table 4 exemplifies the mapping relationship between the message sender name and the current state of the subscription. The message sender name may be the sender name of the chat message 1 (e.g., Mary), and the current state of the subscription may be the current state 1. After automatically replying to the message, the electronic device 100 may save the sender name and current state 1 of the chat message 1 as shown in Table 4.

[0142] Message sender name The current status of the subscription XX colleague (e.g. Mary) Deep sleep (belongs to the "sleep state" in the state classification)

[0143] Table 4

[0144] In some embodiments, after receiving the above status message 1, the electronic device 200 may display Figure 4K The prompt message shown in the example is used to prompt the user whether to notify the user of the electronic device 200 when it is convenient for the user of the electronic device 100 to reply to the message (for example, when the user of the electronic device 100 is in an idle state). After determining that the user clicks "Yes", the electronic device 200 can send an instruction to the electronic device 100, which is used to trigger the electronic device 100 to perform subsequent steps, so as to notify the user of the electronic device 200 when it is convenient for the user of the electronic device 100 to reply to the message. Among them, the display of the option "No" is optional. Here, the user's setting for the above prompt message (such as the operation of clicking "Yes" or "No") is effective once, rather than always.

[0145] S313 , the electronic device 101 sends the recipient's current status 2 to the electronic device 100 .

[0146] In some embodiments, step S313 may be performed periodically, that is, the electronic device 101 may periodically send the status of the recipient to the electronic device 100 .

[0147] In other embodiments, the electronic device 101 may also send the recipient's status to the electronic device 100 when the recipient's status changes. For example, when the recipient's status changes from current status 1 to current status 2, the electronic device 101 may send the recipient's current status 2 to the electronic device 100. It is easy to understand that in this case, the electronic device 101 also needs to save the above current status 1, and when the recipient's current status change is detected, that is, when it is determined that the current status is different from the saved current status 1, the electronic device 101 may send the recipient's current status to the electronic device 100 again.

[0148] S314. The electronic device 100 determines that the current state 2 is different from the saved current state 1, and it is convenient for the recipient to reply to the chat message 1 in the current state 2.

[0149] Specifically, after the electronic device 100 receives the current state 2 sent by the electronic device 101, since the electronic device 100 has saved the current state 1 and the sender name of the chat message 1 in the aforementioned step S312 (see Table 4), the electronic device 100 can determine whether the current state 2 is different from the saved current state 1. For example, if the current state 2 is the awake state, and the saved current state 1 is the deep sleep state, the electronic device 100 can determine that the current state 2 is different from the current state 1, and the electronic device can determine that it is convenient for the recipient to reply to messages in the current state 2. The electronic device 100 can determine which message / messages need to be replied based on the mapping relationship between the recorded message sender name and the subscribed current state. For example, the electronic device 100 can determine that the message sender name corresponding to the current state 1 is the sender name of the chat message 1 based on the mapping relationship between the message sender name recorded in Table 4 and the subscribed current state, so that the electronic device 100 can determine that it is convenient for the recipient to reply to the chat message 1 in the current state 2.

[0150] In some embodiments, when the electronic device 100 determines that the current state 2 is different from the saved current state 1, but the recipient is still not convenient to reply to the chat message 1 in the current state 2, it can automatically reply to the status message carrying the current state 2 again, or it can do nothing until it is determined that the recipient is convenient to reply to the chat message 1 in the current state 2 and then execute the subsequent steps.

[0151] S315. The electronic device 100 sends a recipient status message 2 to the electronic device 200. The message carries a current status 2, which is used to indicate that the recipient is currently ready to reply to the chat message 1.

[0152] Specifically, when the electronic device 100 determines that it is convenient for the user to reply to the chat message 1 in the current state 2, it can automatically reply to the message based on the settings in the aforementioned Table 3, that is, the electronic device 100 can send a recipient status message 2 to the electronic device 200, and the message carries the current state 2, which is used to indicate that the recipient is currently convenient to reply to the chat message 1, so that the recipient can be contacted in time.

[0153] For example, Fig. 4I As shown, if the current state of the recipient changes from current state 1 to current state 2, for example, from a deep sleep state to an awake state, the electronic device 100 can automatically reply with a message "I'm done sleeping, come and contact me", and display the message on the chat interface, as well as the sending time of the message (for example, 8:00), etc.

[0154] Easy to understand, such as Figure 4J As shown in the example, after the electronic device 100 sends a recipient status message (such as status message 1, status message 2) to the electronic device 200, the electronic device 200 will also display the status message, as well as the sending time of the status message, etc. on the chat interface.

[0155] In this way, the user of electronic device 200 can timely understand the recipient's status changes and know that the recipient is currently ready to reply to the message. Furthermore, the user of electronic device 200 can also independently decide whether to contact the recipient in time according to the importance of the current matter.

[0156] In some embodiments, the electronic device 100 triggers the execution of step S315 after receiving the user instruction. For example, after the electronic device 100 completes step S314, it may display Figure 4E The pop-up window 450 shown as an example prompts the user whether to agree to send the current status to friends. After the user agrees (for example, the user clicks option 451), the electronic device 100 executes step S315.

[0157] In some embodiments, when the electronic device 100 does not receive a chat message, it can also automatically send the current status of the user of the electronic device 100 to the user who has been allowed to open the status subscription permission. For example, when the user of the electronic device 100 is in some emergency situation (such as falling, sudden illness, etc.), the electronic device 100 can automatically send the emergency status to the user who has been allowed to open the emergency status subscription permission, so that the user of the electronic device 100 can get help in time when an accident occurs.

[0158] In some embodiments, the electronic device 100 can display the current status of the user of the electronic device 100 to the user who has been allowed to open the status subscription permission in real time, that is, the electronic device 100 can automatically update the user's current status to the user who has been allowed to open the status subscription permission. Figure 4L As shown in FIG. 1 , if the user Lily of the electronic device 100 has opened the “sleep state” to the user of the electronic device 200, then when Lily is in a deep sleep, the electronic device 200 can Figure 4L The contact Lily option in the exemplary user interface shows that Lily's current status is "sleeping soundly", so that the user of the electronic device 200 can view Lily's status in real time. The status display method can be the above-mentioned status text display, or it can be a status image display and other methods, which are not limited in the embodiment of the present application.

[0159] In some embodiments, when the electronic device 100 determines that it is not convenient for the user to reply to a message in the current state, if the electronic device 100 receives a chat message, the electronic device 100 can automatically reply to the message but does not display a message reminder, that is, does not prompt the user that there is a message that needs to be replied to. In this way, it can avoid disturbing the user due to message reminders and causing accidents (for example, it can avoid traffic accidents caused by the user being distracted by message reminders while driving).

[0160] In some embodiments, the electronic device 100 and the electronic device 101 may also be integrated into one electronic device, that is, the operations performed by the electronic device 100 and the electronic device 101 in the above embodiments may all be completed by the electronic device. For example, the electronic device may be the electronic device 100, and the electronic device 100 may not only perform the operations performed by the electronic device 100 in the above embodiments, but may also perform the operations performed by the electronic device 101. In this case, step S301 does not need to be performed.

[0161] Continue reading Figure 4I-4J It can be seen that the user's current status is sent and displayed in the form of a chat message. In some embodiments, the user's current status can also be sent and displayed in other forms. For example, Figure 4M-Figure 4N As shown in the example, when the user's current state is "deep asleep", the electronic device 100 may display "I am soundly asleep", and the electronic device 200 may display "Lily is soundly asleep"; when the user's current state changes from "deep asleep" to "awake", the electronic device 100 may display "I am done sleeping", and the electronic device 200 may display "Lily is done sleeping".

[0162] In some embodiments, the status message sent by the electronic device 100 to the electronic device 200 may also be withdrawn. Fig.4O As shown, after the electronic device 100 automatically replies to the message, it can display a prompt message, which is used to prompt the user whether to withdraw the automatic reply message. After determining that the user withdraws the automatic reply message (for example, detecting that the user clicks the option "Yes"), the electronic device 100 can withdraw the automatic reply message, and then the automatic reply message is no longer displayed on the electronic device 100 and the electronic device 200. Not limited to this, the withdrawal function can also be implemented in other ways. For example, the electronic device 100 can display a "withdraw" option at the automatic reply message, and the user can manually click the "withdraw" option to withdraw the automatic reply message.

[0163] It is easy to understand that when the user's current status (such as the above-mentioned current status 1 and current status 2) can be obtained through other applications on the electronic device 100 (for example, the user's current status is obtained through the schedule information recorded by applications such as memos and calendars), the above-mentioned steps S308-S309 can be replaced by: the electronic device 100 locally obtains the user's current status 1, and the above-mentioned step S313 can be replaced by: the electronic device 100 locally obtains the user's current status 2.

[0164] It should be noted that the current state 1 and current state 2 in the above embodiments are only examples of sports and health states, and are not limited to this. They can also be more other types of states (such as eating, going to work, driving, making phone calls, leisure and entertainment, etc.), and the embodiments of this application are not limited to this.

[0165] In summary, the message reply method provided by the embodiment of the present application can automatically reply to messages based on the user's current status, so that the other party can promptly understand the user's status changes, thereby improving the efficiency of communication. In addition, users can set status subscription permissions according to different social relationships, which can not only show their own status but also avoid excessive privacy disclosure.

[0166] The method provided in the embodiment of the present application is not limited to the application scenario of instant message reply in the above-mentioned chat APP, and can also be applied to other application scenarios. For example, when a user receives a call or a text message and does not reply in time, the electronic device can also automatically reply with a message carrying the user's current status; for example, in interactive learning, online games and other APPs, users can check the status of friends in real time.

[0167] Based on the aforementioned solution 2 (i.e., setting status subscription permissions and automatic message replies in a group chat scenario), another message reply method provided in an embodiment of the present application is described in detail below.

[0168] Figure 5 The specific process of another message reply method provided in an embodiment of the present application is exemplified.

[0169] like Figure 5 As shown, the method can be applied to a communication system including an electronic device 100, an electronic device 101, and an electronic device 200. Among them, both the electronic device 100 and the electronic device 200 are installed with a chat APP, and support the running of the chat APP, which can be used to realize the reception and transmission of messages. The electronic device 101 has the ability to monitor sports health data and status, and can be used to realize real-time monitoring of user status. For example, the electronic device 100 can be the mobile phone of group member A, the electronic device 101 can be the watch of group member A, and the electronic device 200 can be the mobile phone of the group administrator. The specific steps of the method are described in detail below:

[0170] Stage 1: Setting Status Subscription Permissions

[0171] Optional step S501: electronic device 100 establishes a communication connection with electronic device 101.

[0172] The specific execution process of step S501 can refer to the above Figure 3 The relevant contents in step S301 in the illustrated embodiment will not be repeated here.

[0173] Optional step S502: The electronic device 200 sends a group member status subscription broadcast message to the electronic device 100.

[0174] For example, Fig. 6A As shown, the user interface 610 displayed by the electronic device 200 may be a chat interface of a group chat named "XX Group" in a chat APP, wherein the group includes multiple group members such as the user of the electronic device 200 and the user of the electronic device 100, and the user of the electronic device 200 is the group administrator. If the user XXX of the electronic device 200 (for example, the group administrator) wants to subscribe to the status of the group members in order to obtain the status of the group members and to be notified in time when the status changes, the electronic device 200 may receive the user's operation (for example, a click operation) on the status subscription option 611, and in response to the operation, the electronic device 200 may initiate a status subscription request to the electronic devices (for example, the electronic device 100) of all group members in the group. At the same time, the electronic device 200 may display the following. Figure 6B The prompt 612 is shown as an example, and is used to prompt the user of the electronic device 200 that a status subscription request has been initiated to the group members.

[0175] In some embodiments, the above-mentioned group member status subscription broadcast message may also be automatically generated by the electronic device 100 system. For example, if the user of the electronic device 100 is a new member joining the above-mentioned group, the electronic device 100 system may automatically generate the above-mentioned group member status subscription broadcast message.

[0176] S503-S504, the electronic device 100 detects the user's operation of setting the status subscription permission, and in response to the operation, the electronic device 100 saves the group name and the status of allowing the opening.

[0177] For example, Figure 6C As shown, the user interface 630 displayed by the electronic device 200 may be a chat interface of a group chat named "XX Group" in a chat APP. After the electronic device 100 receives the status subscription request initiated by the electronic device 200, the electronic device 100 may display a prompt 631 in the user interface 630. The prompt is used to prompt the user of the electronic device 100 that the user XXX of the electronic device 200 has initiated a group member status subscription request.

[0178] If the user of the electronic device 100 (i.e., group member A) wants to open the status subscription permission to group members, the electronic device 100 can detect the user's operation on the prompt 631 (e.g., clicking the "status subscription" in the prompt 631), and in response to the operation, the electronic device 100 can display the following information: Fig.6D The user interface 640 shown as an example may be a user interface for setting status subscription permissions, in which users may independently set status subscription permissions according to their own needs (i.e., set the status that is allowed to be open to the group and the timing of displaying the status).

[0179] in, Fig.6D The timing of displaying status in Settings can include two options: Automatically display status changes and Automatically reply when sending me a message. When the Automatically display status changes option is in the "ON" state, the user's status can be displayed in the form of a message, or in the form of a status image, status text, etc. In this way, group members can view the status of other group members. The Automatically reply when sending me a message option can include two sub-options: Reply within the group and Reply to one-on-one chat. When the Reply within the group option is in the "ON" state, when a user receives a message from a group member, the user can automatically reply within the group; when the Reply to one-on-one chat option is in the "ON" state, when a user receives a message from a group member, the user can automatically reply to the group member who sent the message to the user. In this case, it can also support notifying the message sender when it is convenient to reply to the message. For details, please refer to Figure 4J Relevant text description.

[0180] After the user sets the status of allowing opening to the group (for example, the user clicks option 641), the electronic device 100 can save the group name and the status of allowing opening, that is, can save the status subscription list as shown in the following Table 5.

[0181] The specific process of setting status subscription permissions for users can refer to Figure 3 The relevant contents in step S303 to step S304 in the illustrated embodiment will not be repeated here.

[0182]

[0183] Table 5

[0184] Optional step S505: The electronic device 100 sends a feedback message 2 to the electronic device 200, where the message is used to indicate that the group member A has opened the status subscription permission.

[0185] Specifically, after the user completes the operation of setting status subscription permissions, the electronic device 100 can send a feedback message 2 to the electronic devices of all group members in the group (for example, the electronic device 200), which is used to indicate that the user of the electronic device 100 (ie, group member A) has opened the status subscription permissions to all group members in the group.

[0186] For example, after the electronic device 100 sends the feedback message 2 to the electronic devices of all group members in the group (for example, the electronic device 200), the electronic device 200 may display the following information: Fig. 6E The prompt 651 (i.e., feedback message 2) shown in FIG. 2 is used to prompt the user of the electronic device 200 that the user Lily of the electronic device 100 has opened the status subscription permission to the group members. Optionally, the electronic device 100 may also display the following information: Fig. 6F The prompt 661 shown is used to prompt the user of the electronic device 100 that the status subscription permission has been successfully opened to the group members.

[0187] In the embodiment of the present application, the status subscription request and the feedback information after setting the status subscription permission can be displayed in various forms such as text, cards, etc., without limitation.

[0188] In some embodiments, step S505 is optional, that is, after the user completes setting the status subscription permission, the electronic device 100 does not need to send a feedback message 2 to the group to notify the user of the electronic device 100 that the status subscription permission has been opened to group members.

[0189] In some embodiments, step S502 is optional, that is, the group administrator may not initiate a status subscription request, but the group member may actively open the status subscription permission to the group members. Figure 6C As shown, the electronic device 100 can detect the user's operation (such as a click operation) on option 632, and in response to the operation, the electronic device 100 can display the following Figure 6GThe exemplary user interface 670 is shown. Further, the electronic device 100 may detect a user operation (eg, a click operation) on option 671, and in response to the operation, the electronic device 100 may display a user interface (eg, a click operation) for setting the state subscription permission. Fig.6D The user can set the status subscription permission in the user interface, so as to actively open the status subscription permission to group members. After that, the electronic device 100 can also send a feedback message to the electronic devices of all group members in the group to notify the group members that the status subscription permission has been opened to them. The specific process of setting the status subscription permission can refer to the above-mentioned related content, which will not be repeated here.

[0190] It is easy to understand that the "user setting status subscription permission operation" described in step S503 may include: the user Figure 6C The operation of the prompt 631 shown in the example and the user in Fig.6D The exemplary user interface 640 sets the status subscription permission; or the user sets the status subscription permission. Figure 6G The operation of option 671 shown as an example and the user in Fig.6D The exemplary user interface 640 is an operation for setting status subscription rights.

[0191] The user's setting of status subscription permissions in the above stage 1 is persistent and can be effective all the time.

[0192] Stage 2: Automatic reply message stage

[0193] S506: The electronic device 200 sends a group chat message 1 to the electronic device 100, in which the group member A is mentioned.

[0194] Specifically, the electronic device 200 can send a group chat message 1 within the group, that is, send the group chat message 1 to the electronic devices of all group members in the group (for example, the electronic device 100 of group member A), then the electronic devices of all group members in the group can receive and display the group chat message 1, in which the group chat message 1 mentions group member A.

[0195] The group chat message 1 mentioning group member A may refer to the group chat message 1 including the combination of "@+name or nickname of group member A". For example, assuming that the name or nickname of group member A is Lily, the group chat message 1 "Hello, @Lily" indicates that group member A is mentioned in the message.

[0196] For example, Figure 6H As shown, after receiving the group chat message 1, the electronic device 100 can display the group chat message 1 (for example, "Hello, @Lily") and the sending time of the group chat message 1 (for example, "07:30 am") on the chat interface.

[0197] S507: The electronic device 100 determines that the status subscription authority has been opened to the group members based on the saved group name and the status of allowing opening.

[0198] Specifically, after receiving the group chat message 1 sent by the electronic device 200, the electronic device 100 determines that the electronic device 200 sent the group chat message 1 in the "XX group". Further, based on the group name and the status allowed to be opened in the aforementioned step S504, it can be judged whether the user of the electronic device 100 has opened the status subscription permission to the group members in the group, that is, the electronic device 100 can judge whether the status subscription list (such as Table 5) records the group name "XX group" and at least one status allowed to be opened to the group members in the group. If so, the electronic device 100 determines that the status subscription permission has been opened to the group members in the group, and can continue to execute the subsequent steps. If not, the electronic device 100 does not execute the subsequent steps, that is, does not perform any processing.

[0199] S508-S510, electronic device 100 sends a current status query request of group member A to electronic device 101, and after receiving the request, electronic device 101 sends current status 1 of group member A to electronic device 100. Afterwards, electronic device 100 determines that group member A is not convenient to reply to group chat message 1 in current status 1.

[0200] Specifically, after electronic device 100 determines that status subscription permissions have been opened to the sending group of group chat message 1, it can send a current status query request for group member A to electronic device 101. After receiving the request, electronic device 101 can determine that group member A is in current status 1 based on physiological data of group member A collected in real time. Further, electronic device 101 can send current status 1 of group member A to electronic device 100.

[0201] After receiving the current state 1, the electronic device 100 can determine whether it is convenient for group member A to reply to the group chat message 1 based on the current state 1. For example, when the current state 1 is running, cycling, sleeping, etc., the electronic device 100 can determine that it is not convenient for group member A to reply to the group chat message 1 in the current state 1, and the electronic device 100 can continue to execute the subsequent steps. For another example, when the current state 1 is awake, idle, a certain state has ended (for example, the cycling state has ended, etc.), the electronic device 100 can determine that it is convenient for group member A to reply to the group chat message 1 in the current state 1, and the electronic device 100 can no longer execute the subsequent steps.

[0202] Among them, the current state 1 is included in the state list that group member A allows to be open to the sending group of group chat message 1.

[0203] In some embodiments, the electronic device 100 may also first execute steps S508-S510, and then execute step S507. That is, after receiving the group chat message 1, the electronic device 100 may first query the current status of group member A, and determine that group member A is not convenient to reply to the group chat message 1 under the current status, and then determine whether group member A has opened the status subscription permission to the sending group of the group chat message 1. If so, continue to execute subsequent steps; if not, do not continue to execute subsequent steps, that is, do not perform any processing.

[0204] In some embodiments, step S508 is optional, and step S509 may be executed periodically without executing step S508 to trigger.

[0205] In some embodiments, step S501 may not be executed in stage one, but can be completed before executing step S508. That is, before electronic device 100 needs to obtain the user's current status from electronic device 101, electronic device 100 and electronic device 101 can complete the establishment of a communication connection.

[0206] S511-S512, the electronic device 100 sends a status message 1 of group member A to the electronic device 200, the message carrying the current status 1, indicating that group member A is not currently convenient to reply to the group chat message 1. Afterwards, the electronic device 100 saves the current status 1 and the name of the group to which the group chat message 1 is sent.

[0207] Specifically, when the electronic device 100 determines that the user is not convenient to reply to the group chat message 1 in the current state 1, the electronic device 100 can automatically reply to the message based on the settings in the aforementioned Table 3, that is, the electronic device 100 can send the group member A status message 1 in the group, that is, send the group member A status message 1 to the electronic devices of all group members in the group (such as the electronic device 200 of the group administrator), and the message carries the current state 1, which is used to indicate that the group member A is not convenient to reply to the group chat message 1. In this way, the sender of the group chat message 1 (that is, the user of the electronic device 200) and other group members in the group can timely understand the current state of the group member A, and know that the group member A is not convenient to reply to the message at present, so as to avoid misunderstandings caused by the group member A not replying to the message in time.

[0208] For example, Figure 6H As shown, if the current state 1 is riding a bicycle, the electronic device 100 can automatically reply with the message "I am riding a bicycle, it is inconvenient to reply to messages, please leave a message if you have anything to say", and display the message on the chat interface, as well as the sending time of the message (for example, 7:30), etc.

[0209] Further, referring to Table 6, Table 6 exemplifies the mapping relationship between the message sending group name and the current state of the subscription. Among them, the message sending group name can be the sending group name of the above-mentioned group chat message 1 (for example, XX group), and the current state of the subscription can be the above-mentioned current state 1. After automatically replying to the message, the electronic device 100 can save the sending group name and current state 1 of the group chat message 1 as shown in Table 6.

[0210] Name of the group to which the message is sent The current status of the subscription XX Group Cycling (belongs to the "sports state" in the state classification)

[0211] Table 6

[0212] S513 , the electronic device 101 sends the current status 2 of the group member A to the electronic device 100 .

[0213] The specific execution process of step S513 can refer to the above Figure 3 The relevant contents in step S313 in the illustrated embodiment will not be repeated here.

[0214] S514. The electronic device 100 determines that the current state 2 is different from the saved current state 1, and it is convenient for group member A to reply to the group chat message 1 in the current state 2.

[0215] Specifically, after the electronic device 100 receives the current state 2 sent by the electronic device 101, since the electronic device 100 has saved the current state 1 and the sending group name of the group chat message 1 in the aforementioned step S512 (see Table 6), the electronic device 100 can determine whether the current state 2 is different from the saved current state 1. For example, if the current state 2 is the end of cycling state, and the saved current state 1 is the cycling state, the electronic device 100 can determine that the current state 2 is different from the current state 1, and the electronic device 100 can determine that it is convenient for group member A to reply to messages in the current state 2. The specific message / messages that need to be replied can be determined by the electronic device 100 based on the mapping relationship between the recorded message sending group name and the subscribed current state. For example, the electronic device 100 can determine that the message sending group name corresponding to the current state 1 is the sending group name of the group chat message 1 based on the mapping relationship between the message sending group name recorded in Table 6 and the subscribed current state, so that the electronic device 100 can determine that it is convenient for group member A to reply to the group chat message 1 in the current state 2.

[0216] In some embodiments, when the electronic device 100 determines that the current state 2 is different from the saved current state 1, but group member A is still not convenient to reply to group chat message 1 in the current state 2, it can automatically reply to the status message carrying the current state 2 again, or it can do nothing until it is determined that group member A is convenient to reply to group chat message 1 in the current state 2 and then execute subsequent steps.

[0217] S515. The electronic device 100 sends a status message 2 of group member A to the electronic device 200. The message carries a current status 2, which is used to indicate that group member A is currently ready to reply to the group chat message 1.

[0218] Specifically, when the electronic device 100 determines that it is convenient for the user to reply to the group chat message 1 in the current state 2, the electronic device 100 can automatically reply to the message based on the settings in the aforementioned Table 3, that is, the electronic device 100 can send a status message 2 of group member A within the group, that is, send a status message 2 of group member A to the electronic devices of all group members in the group (for example, the electronic device 200 of the group administrator), and the message carries the current state 2, which is used to indicate that group member A is currently convenient to reply to the group chat message 1, so that group member A can be contacted in time.

[0219] For example, Figure 6H As shown, if the current state of group member A changes from current state 1 to current state 2, for example, from the cycling state to the cycling end state, the electronic device 100 can automatically reply with the message "I'm done cycling, come and contact me", and display the message on the chat interface, as well as the sending time of the message (for example, 8:00), etc.

[0220] Easy to understand, such as Fig.6I As shown in the example, after the electronic device 100 sends a recipient status message (such as status message 1, status message 2) to the electronic device 200, the electronic device 200 will also display the status message, as well as the sending time of the status message, etc. on the chat interface.

[0221] In this way, the sender of group chat message 1 (i.e., the user of electronic device 200) and other group members in the group can promptly understand the status changes of group member A and know that group member A is currently ready to reply to messages. Furthermore, they can also independently decide whether to contact group member A in a timely manner based on the importance of the current matter.

[0222] In some embodiments, the electronic device 100 triggers the execution of step S515 after receiving the user instruction. For example, after the electronic device 100 executes step S514, it may display Figure 4E The pop-up window 450 shown as an example prompts the user whether to agree to send the current status to the group. After the user agrees (for example, the user clicks option 451), the electronic device 100 executes step S515.

[0223] In some embodiments, when the electronic device 100 does not receive a group chat message, it can also automatically send the current status of the user of the electronic device 100 to the group that has been allowed to open the status subscription permission. For example, when the user of the electronic device 100 is in some emergency situation (such as falling, sudden illness, etc.), the electronic device 100 can automatically send the emergency status to the group that has been allowed to open the emergency status subscription permission, so that the user of the electronic device 100 can get help in time when an accident occurs.

[0224] In some embodiments, the electronic device 100 and the electronic device 101 may also be integrated into one electronic device, that is, the operations performed by the electronic device 100 and the electronic device 101 in the above embodiments may all be completed by the electronic device. For example, the electronic device may be the electronic device 100, and the electronic device 100 may not only perform the operations performed by the electronic device 100 in the above embodiments, but may also perform the operations performed by the electronic device 101. In this case, step S501 does not need to be performed.

[0225] It is easy to understand that when the current status of group member A (such as the current status 1 and current status 2 mentioned above) can be obtained through other applications on the electronic device 100 (for example, obtaining the user's current status through scheduling information recorded in applications such as memos and calendars), the above steps S508-S509 can be replaced by: the electronic device 100 locally obtains the current status 1 of group member A, and the above step S513 can be replaced by: the electronic device 100 locally obtains the current status 2 of group member A.

[0226] It should be noted that the current state 1 and current state 2 in the above embodiments are only examples of sports and health states, and are not limited to this. They can also be more other types of states (such as eating, going to work, driving, making phone calls, leisure and entertainment, etc.), and the embodiments of this application are not limited to this.

[0227] In summary, the message reply method provided by the embodiment of the present application can automatically reply to messages according to the current status of users in the group (such as sports health status, etc.) in a group chat scenario, thereby performing fine-grained control and management of the status of users in the group, facilitating effective communication between users in the group.

[0228] Above Figure 5 The embodiment shown is a process in which a user sets the status subscription permission by himself in a group chat scenario. In particular, when the user is a child, in order to ensure the privacy and security of the child, the child's parents can set the status subscription permission on behalf of the child. The following introduces another message reply method provided by the embodiment of the present application for the case where the user is a child.

[0229] The method is also introduced by taking a group chat scenario as an example. However, the method is not limited to the group chat scenario and is also applicable to a single chat scenario.

[0230] Figure 7 The specific process of another message reply method provided in an embodiment of the present application is exemplified.

[0231] like Figure 7 As shown, the method can be applied to a communication system including an electronic device 200, an electronic device 300, and an electronic device 400. Among them, the electronic device 200 and the electronic device 300 are both installed with a chat APP, and support the running of the chat APP, which can be used to realize the reception and sending of messages. At the same time, the electronic device 300 also has the ability to monitor sports health data and status, which can be used to realize real-time monitoring of user status. The electronic device 400 can be used to manage the electronic device 300. For example, the electronic device 300 can be a children's watch of group member B (child), the electronic device 400 can be the mobile phone of the parent of group member B, and the electronic device 400 is installed with an APP for managing the electronic device 300 (such as a smart care APP), and the electronic device 200 can be the mobile phone of the group administrator. The specific steps of the method are introduced in detail below:

[0232] Stage 1: Setting Status Subscription Permissions

[0233] S701 : The electronic device 300 establishes a communication connection with the electronic device 400 .

[0234] Specifically, in the embodiment of the present application, the electronic device 300 can establish a communication connection with the electronic device 400 (for example, by logging into the same account, etc.), and then the electronic device 300 and the electronic device 400 can send and receive data based on the above communication connection to perform subsequent related steps.

[0235] S702 : The electronic device 200 sends a group member status subscription broadcast message to the electronic device 300 .

[0236] The specific execution process of step S702 can refer to the above Figure 5 The relevant contents in step S502 in the illustrated embodiment will not be repeated here.

[0237] S703 - S704 , the electronic device 300 detects that the user agrees to the operation of setting the status subscription permission, and in response to the operation, the electronic device 300 sends a setting status subscription permission instruction to the electronic device 400 .

[0238] For example, Fig. 8AAs shown, the user interface 810 displayed by the electronic device 300 may be a chat interface of a group chat named "XX Group" in a chat APP. After the electronic device 300 receives a status subscription request initiated by the electronic device 200, the electronic device 300 may display a prompt 811 in the user interface 810. The prompt is used to prompt the user of the electronic device 300 that the user XXX of the electronic device 200 has initiated a group member status subscription request.

[0239] If the user of electronic device 300 (i.e., group member B) wants to open status subscription permissions to group members, electronic device 300 can detect the user's operation on prompt 811 (for example, clicking on "Status Subscription" in prompt 811). In response to the operation, electronic device 300 can send a setting status subscription permission instruction to electronic device 400, which is used to instruct the parent of group member B to set the status subscription permission on behalf of group member B.

[0240] Optionally, after the user clicks on "Subscribe Status" in prompt 811, the electronic device 300 may display the following information: Figure 8B The pop-up window 820 shown in the example may include a prompt 821, an option 822, and an option 823. The prompt 821 is used to prompt the user whether to agree to the parent to replace the setting of the status subscription permission. After the user agrees (for example, after clicking option 822), the electronic device 300 can send a setting status subscription permission instruction to the electronic device 400.

[0241] It is easy to understand that the “operation of the user agreeing to set the status subscription authority” in step S703 may include: the user's operation on prompt 811 ; or the user's operation on prompt 811 and the user's operation on option 822 .

[0242] S705-S708, electronic device 400 sets status subscription permissions on behalf of group member B, after which electronic device 400 saves the group name and the status of allowing openness, and sends the group name and the status of allowing openness to electronic device 300. After receiving the group name and the status of allowing openness, electronic device 300 saves the group name and the status of allowing openness.

[0243] For example, Figure 8C As shown, after the electronic device 400 receives the instruction to set the status subscription permission sent by the electronic device 300, the electronic device 400 may display a pop-up window 830, which may include a prompt 831 (for example, you have a task "XX group status subscription permission setting" to be processed), which is used to prompt the user to set the status subscription permission on behalf of group member B. Further, the electronic device 400 may detect the user's operation (for example, a click operation) on the prompt 831, and in response to the operation, the electronic device 400 may display the following. Fig.8D The user interface 840 shown in the example may be a user interface for the user to set the status subscription permission on behalf of group member B. In this user interface, the user may set the status subscription permission on behalf of group member B (i.e., set the status that group member B is allowed to open to the group and the timing of displaying the status) according to the relationship between group member B and group XX. The specific process of the user setting the status subscription permission may refer to Figure 3 The relevant contents in the illustrated embodiment will not be repeated here.

[0244] in, Fig.8D The timing of displaying status in Settings can include two options: Automatically display status changes and Automatically reply when sending me a message. When the Automatically display status changes option is in the "ON" state, the user's status can be displayed in the form of a message, or in the form of a status image, status text, etc. In this way, group members can view the status of other group members. The Automatically reply when sending me a message option can include two sub-options: Reply within the group and Reply to one-on-one chat. When the Reply within the group option is in the "ON" state, when a user receives a message from a group member, the user can automatically reply within the group; when the Reply to one-on-one chat option is in the "ON" state, when a user receives a message from a group member, the user can automatically reply to the group member who sent the message to the user. In this case, it can support notifying the message sender when it is convenient to reply to the message. For details, please refer to Figure 4J Relevant text description.

[0245] After the user sets the status that is allowed to be opened to the group (for example, the user clicks option 841), the electronic device 400 can save the group name and the status that is allowed to be opened (for example, the status subscription list shown in Table 5), and send the group name and the status that is allowed to be opened to the electronic device 300. After receiving the group name and the status that is allowed to be opened, the electronic device 300 saves the group name and the status that is allowed to be opened. In this way, by setting the status subscription permission on behalf of the child, the privacy security of the child can be more effectively guaranteed, and the parent can also obtain the child's status more conveniently and be a better guardian.

[0246] It is easy to understand that in a single chat scenario, the group name in the above steps S705-S708 needs to be replaced with the message sender name, that is, in a single chat scenario, the electronic device 400 saves and sends to the electronic device 300 the message sender name and the status of allowing opening, and the electronic device 300 also saves the message sender name and the status of allowing opening.

[0247] In one possible implementation, in order to give children some autonomy, children can also set status subscription permissions independently. At the same time, considering the safety of children, after each self-setting by children, the electronic device can automatically notify parents of which friends / groups the children have opened / closed status subscription permissions to.

[0248] For example, see Figure 8B , the electronic device 300 may detect the user's operation on option 823, and in response to the operation, the electronic device 300 may also display Fig.8D The user interface 840 shown in the example, the user can independently set the status subscription permissions in the interface. After the setting is completed, the electronic device 300 can send a child self-setting completion instruction to the electronic device 400, and the electronic device 400 can display the following after receiving the instruction: Fig. 8E The pop-up window 850 shown as an example may include a prompt 851 (eg, "Baby has opened the status subscription permission to the XX group"), which is used to notify the parent that the child has opened the status subscription permission to the XX group.

[0249] S709 . The electronic device 300 sends a feedback message 3 to the electronic device 200 . The message is used to indicate that the group member B has opened the status subscription permission.

[0250] The specific execution process of step S709 can refer to the above Figure 5 The relevant contents in step S505 in the illustrated embodiment will not be repeated here.

[0251] The user's setting of status subscription permissions in the above stage 1 is persistent and can be effective all the time.

[0252] Stage 2: Automatic reply message stage

[0253] S710. Electronic device 200 sends group chat message 2 to electronic device 300, in which group member B is mentioned.

[0254] S711: The electronic device 300 determines that the status subscription authority has been opened to the group members based on the saved group name and the status of allowing opening.

[0255] The specific execution process of step S710-step S711 can refer to the aforementioned Figure 5 The relevant contents in step S506 to step S507 in the illustrated embodiment will not be repeated here.

[0256] S712. The electronic device 300 obtains the current status 1 of group member B.

[0257] Specifically, the electronic device 300 itself has the ability to monitor sports health data and status. For example, the ability to monitor sports health data and status can be achieved through a sports health APP. In this way, the sports health APP can determine that group member B is in current state 1 based on real-time collected physiological data and other information, and send current state 1 to the chat APP, so that the chat APP can further execute subsequent steps based on current state 1.

[0258] Among them, the current state 1 is included in the state list that group member B allows to be open to the sending group of group chat message 2.

[0259] In some embodiments, step S712 may be performed periodically.

[0260] S713. The electronic device 300 determines that group member B is not convenient to reply to the group chat message 2 in the current state 1.

[0261] S714-S715, the electronic device 300 sends group member B status message 1 to the electronic device 200, the message carrying the current status 1, indicating that group member B is currently not convenient to reply to the group chat message 2. Afterwards, the electronic device 300 saves the current status 1 and the name of the group to which the group chat message 2 is sent.

[0262] The specific execution process of steps S713 to S715 can refer to the aforementioned Figure 5 The relevant contents in step S510 to step S512 in the illustrated embodiment will not be repeated here.

[0263] S716. The electronic device 300 obtains the current status 2 of group member B.

[0264] In some embodiments, step S716 may be performed periodically.

[0265] In other embodiments, the sports and health APP may also send the status of group member B to the chat APP when the status of group member B changes. For example, when the status of group member B changes from current status 1 to current status 2, the sports and health APP may send the current status 2 of group member B to the chat APP.

[0266] It should be noted that the above-mentioned current state 1 and current state 2 are merely states determined by sports and health apps based on sports and health data, and are not limited to this. They can also be more other types of states (such as eating, going to work, driving, making phone calls, leisure and entertainment, etc.) determined by other types of apps (such as map apps, schedule apps, etc.) based on other data (location information, schedule information). The embodiments of the present application do not limit this.

[0267] S717. The electronic device 300 determines that the current state 2 is different from the saved current state 1, and it is convenient for group member B to reply to the group chat message 2 in the current state 2.

[0268] S718. The electronic device 300 sends a status message 2 of group member B to the electronic device 200. The message carries a current status 2, which is used to indicate that group member B is currently ready to reply to the group chat message 2.

[0269] The specific execution process of steps S717 to S718 can refer to the aforementioned Figure 5 The relevant contents in steps S514-S515 in the illustrated embodiment will not be repeated here.

[0270] In some embodiments, the electronic device 300 triggers the execution of step S718 after receiving the user instruction. For example, after the electronic device 300 executes step S717, it may display Figure 4E The pop-up window 450 shown as an example prompts the user whether to agree to send the current status to the group. After the user agrees (for example, the user clicks option 451), the electronic device 300 executes step S718.

[0271] In some embodiments, when the electronic device 300 does not receive a group chat message, it can also automatically send the current status of the user of the electronic device 300 to the group that has been allowed to open the status subscription permission. For example, when the user of the electronic device 300 is in some emergency situation (such as falling, sudden illness, etc.), the electronic device 300 can automatically send the emergency status to the group that has been allowed to open the emergency status subscription permission, so that the user of the electronic device 300 can get help in time when an accident occurs.

[0272] In some embodiments, the electronic device 300 can automatically identify the social relationship between the user of the electronic device 300 and other users. For example, users of other electronic devices (such as electronic devices used to manage the electronic device 300) that are bound to the same account as the electronic device 300 can be identified as family members such as fathers and mothers; for another example, the electronic device 300 can identify different social relationships such as family members and classmates based on the friend name / group name annotated by the user. Further, the electronic device 300 can display or reply to different levels of privacy status based on different social relationships. For example, for family members, the electronic device 300 can display or reply to a higher level of privacy status, such as a more detailed and specific status such as what to do in which place; for another example, for classmates, friends, etc., the electronic device 300 can display or reply to a lower level of privacy status, such as a general status such as busy and idle.

[0273] Above Figure 3-Figure 5The illustrated embodiments describe the process of setting status subscription rights for a single user or a single group, but are not limited thereto. Status subscription rights may also be uniformly set for multiple users or multiple groups.

[0274] Figure 9A-9C An exemplary user interface for setting status subscription permissions uniformly.

[0275] In one possible implementation, Fig. 9A As shown, the user interface 910 may be a setting interface of a chat APP, and the electronic device 100 may detect a user operation (such as a click operation) on option 911, and in response to the operation, the electronic device 100 may display the following Fig. 9B The user interface 920 shown in the example may include a status subscription option 921. The electronic device 100 may detect a user operation (eg, a click operation) on the status subscription option 921, and in response to the operation, the electronic device 100 may display a status subscription option 921. Fig. 9C The user interface 930 shown as an example may include options 931 and 932.

[0276] Option 931 can be used by the user to add one or more users / groups for which the user wants to set status subscription permissions, and option 932 can be used by the user to set status subscription permissions. The user clicks option 931 to add one or more friends / groups saved in the address book of the chat APP, and the user clicks option 932 to enter Figure 4D The user interface shown is used to uniformly set status subscription permissions for the added users / groups.

[0277] In the embodiment of the present application, the first electronic device may be the electronic device 100 or the electronic device 300, the second electronic device may be the electronic device 200, the third electronic device may be the electronic device 400, the first user may be the user of the first electronic device, the second user may be the user of the second electronic device, the first user state may be the current state 1, the second user state may be the current state 2, the first status message may be the status message 1, the second status message may be the status message 2, and the first time may be the time when the first status message is displayed (for example, Fig. 4I The second time may be the time when the second status message is displayed (eg, Fig. 4I The chat interface can be Fig. 4I , Figure 4J , Figure 6H , Fig.6I In the user interface shown, the first message may be chat message 1, the second message may be group chat message 1 or group chat message 2, the first group may be group XX, and the first setting interface may be Figure 4D The user interface shown in the figure, the second setting interface can be Fig.6D or Fig.8D As shown in the user interface, the first instruction can be Figure 7 The status subscription permission setting instructions shown, the first prompt can be Figure 4E The prompt information shown, the feedback message can be feedback message 1 or feedback message 2 or feedback message 3, the second prompt can be Figure 4K The second instruction can be when the user clicks Figure 4K After sending the command with the option "yes", the third prompt can be Fig.4O The prompt information shown.

[0278] In an embodiment of the present application, the first user state and the second user state may be detected by one or more sensors on the first electronic device, or one or more sensors on other electronic devices (such as electronic device 101) connected to the first electronic device; the first user state and the second user state may also be determined by the first electronic device through user setting records (such as schedule information, physiological cycle records, etc. recorded by the user in applications such as memos and calendars).

[0279] The structure of an electronic device 100 provided in an embodiment of the present application is introduced below.

[0280] Fig.10 The structure of an electronic device 100 provided in an embodiment of the present application is exemplarily shown.

[0281] like Fig.10 As shown, the electronic device 100 may include: a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.

[0282] It is to be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0283] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.

[0284] The controller may be the nerve center and command center of the electronic device 100. The controller may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.

[0285] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0286] In some embodiments, the processor 110 may include one or more interfaces. The interface 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.

[0287] The I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 110 may include multiple groups of I2C buses. The processor 110 may be coupled to the touch sensor 180K, the charger, the flash, the camera 193, etc. through different I2C bus interfaces. For example: the processor 110 may be coupled to the touch sensor 180K through the I2C interface, so that the processor 110 communicates with the touch sensor 180K through the I2C bus interface, thereby realizing the touch function of the electronic device 100.

[0288] The I2S interface can be used for audio communication. In some embodiments, the processor 110 can include multiple I2S buses. The processor 110 can be coupled to the audio module 170 via the I2S bus to achieve communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 can transmit an audio signal to the wireless communication module 160 via the I2S interface to achieve the function of answering a call through a Bluetooth headset.

[0289] The PCM interface can also be used for audio communication, sampling, quantizing and encoding analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 can be coupled via a PCM bus interface. In some embodiments, the audio module 170 can also transmit audio signals to the wireless communication module 160 via the PCM interface to realize the function of answering calls via a Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.

[0290] The UART interface is a universal serial data bus for asynchronous communication. The bus can be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, the UART interface is generally used to connect the processor 110 and the wireless communication module 160. For example, the processor 110 communicates with the Bluetooth module in the wireless communication module 160 through the UART interface to implement the Bluetooth function. In some embodiments, the audio module 170 can transmit an audio signal to the wireless communication module 160 through the UART interface to implement the function of playing music through a Bluetooth headset.

[0291] The MIPI interface can be used to connect the processor 110 with peripheral devices such as the display screen 194 and the camera 193. The MIPI interface includes a camera serial interface (CSI), a display serial interface (DSI), etc. In some embodiments, the processor 110 and the camera 193 communicate via the CSI interface to implement the shooting function of the electronic device 100. The processor 110 and the display screen 194 communicate via the DSI interface to implement the display function of the electronic device 100.

[0292] The GPIO interface can be configured by software. The GPIO interface can be configured as a control signal or as a data signal. In some embodiments, the GPIO interface can be used to connect the processor 110 with the camera 193, the display 194, the wireless communication module 160, the audio module 170, the sensor module 180, etc. The GPIO interface can also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, etc.

[0293] The USB interface 130 is an interface that complies with the USB standard specification, and can be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 130 can be used to connect a charger to charge the electronic device 100, and can also be used to transfer data between the electronic device 100 and a peripheral device. It can also be used to connect headphones to play audio through the headphones. The interface can also be used to connect other terminal devices, such as AR devices, etc.

[0294] It is understandable that the interface connection relationship between the modules illustrated in the embodiment of the present application is only a schematic illustration and does not constitute a structural limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.

[0295] The charging management module 140 is used to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger through the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive wireless charging input through a wireless charging coil of the electronic device 100. While the charging management module 140 is charging the battery 142, it may also power the electronic device 100 through the power management module 141.

[0296] The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, and supplies power to the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle number, battery health status (leakage, impedance), etc. In some other embodiments, the power management module 141 can also be set in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 can also be set in the same device.

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

[0298] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.

[0299] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc., applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.

[0300] The modem processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to a speaker 170A, a receiver 170B, etc.), or displays an image or video through a display screen 194. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be set in the same device as the mobile communication module 150 or other functional modules.

[0301] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the electronic device 100. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the frequency of the electromagnetic wave signal and performs filtering, and sends the processed signal to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency of it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.

[0302] In some embodiments, the antenna 1 of the electronic device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through 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 technology. The GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS) and / or a satellite based augmentation system (SBAS).

[0303] The electronic device 100 implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.

[0304] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.

[0305] The electronic device 100 can realize the shooting function through ISP, camera 193, video codec, GPU, display screen 194 and application processor.

[0306] ISP is used to process the data fed back by camera 193. For example, when taking a photo, the shutter is opened, and the light is transmitted to the camera photosensitive element through the lens. The light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to ISP for processing and converts it into an image visible to the naked eye. ISP can also perform algorithm optimization on the noise, brightness, and skin color of the image. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, ISP can be set in camera 193.

[0307] The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then passes the electrical signal to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format. In some embodiments, the electronic device 100 may include 1 or N cameras 193, where N is a positive integer greater than 1.

[0308] The digital signal processor is used to process digital signals, and can process not only digital image signals but also other digital signals. For example, when the electronic device 100 is selecting a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.

[0309] Video codecs are used to compress or decompress digital videos. The electronic device 100 may support one or more video codecs. Thus, the electronic device 100 may play or record videos in a variety of coding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.

[0310] NPU is a neural network (NN) computing processor. By drawing on the structure of biological neural networks, such as the transmission mode between neurons in the human brain, it can quickly process input information and can also continuously self-learn. Through NPU, applications such as intelligent cognition of electronic device 100 can be realized, such as image recognition, face recognition, voice recognition, text understanding, etc.

[0311] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function, such as storing music, video and other files in the external memory card.

[0312] The internal memory 121 can be used to store computer executable program codes, which include instructions. The processor 110 executes various functional applications and data processing of the electronic device 100 by running the instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data created during the use of the electronic device 100 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.

[0313] The electronic device 100 can implement audio functions such as music playing and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.

[0314] The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 170 can also be used to encode and decode audio signals. In some embodiments, the audio module 170 can be arranged in the processor 110, or some functional modules of the audio module 170 can be arranged in the processor 110.

[0315] The speaker 170A, also called a "speaker", is used to convert an audio electrical signal into a sound signal. The electronic device 100 can listen to music or listen to a hands-free call through the speaker 170A.

[0316] The receiver 170B, also called a "earpiece", is used to convert audio electrical signals into sound signals. When the electronic device 100 receives a call or voice message, the voice can be received by placing the receiver 170B close to the human ear.

[0317] Microphone 170C, also called "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can speak by putting their mouth close to microphone 170C to input the sound signal into microphone 170C. The electronic device 100 can be provided with at least one microphone 170C. In other embodiments, the electronic device 100 can be provided with two microphones 170C, which can not only collect sound signals but also realize noise reduction function. In other embodiments, the electronic device 100 can also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify the sound source, realize directional recording function, etc.

[0318] The earphone interface 170D is used to connect a wired earphone and can be a USB interface 130 or a 3.5 mm open mobile terminal platform (OMTP) standard interface or a cellular telecommunications industry association of the USA (CTIA) standard interface.

[0319] The pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A can be set on the display screen 194. There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc. The capacitive pressure sensor can be a parallel plate including at least two conductive materials. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the intensity of the pressure according to the change in capacitance. When a touch operation acts on the display screen 194, the electronic device 100 detects the touch operation intensity according to the pressure sensor 180A. The electronic device 100 can also calculate the touch position according to the detection signal of the pressure sensor 180A. In some embodiments, touch operations acting on the same touch position but with different touch operation intensities can correspond to different operation instructions. For example: when a touch operation with a touch operation intensity less than the first pressure threshold acts on the short message application icon, an instruction to view the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, an instruction to create a new short message is executed.

[0320] The gyro sensor 180B can be used to determine the motion posture of the electronic device 100. In some embodiments, the angular velocity of the electronic device 100 around three axes (i.e., x, y, and z axes) can be determined by the gyro sensor 180B. The gyro sensor 180B can be used for anti-shake shooting. For example, when the shutter is pressed, the gyro sensor 180B detects the angle of the electronic device 100 shaking, calculates the distance that the lens module needs to compensate based on the angle, and allows the lens to offset the shaking of the electronic device 100 through reverse movement to achieve anti-shake. The gyro sensor 180B can also be used for navigation and somatosensory game scenes.

[0321] The air pressure sensor 180C is used to measure air pressure. In some embodiments, the electronic device 100 calculates the altitude through the air pressure value measured by the air pressure sensor 180C to assist positioning and navigation.

[0322] The magnetic sensor 180D includes a Hall sensor. The electronic device 100 can use the magnetic sensor 180D to detect the opening and closing of the flip leather case. In some embodiments, when the electronic device 100 is a flip phone, the electronic device 100 can detect the opening and closing of the flip cover according to the magnetic sensor 180D. Then, according to the detected opening and closing state of the leather case or the opening and closing state of the flip cover, the flip cover can be automatically unlocked.

[0323] The acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in all directions (generally three axes). When the electronic device 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of the electronic device 100 and is applied to applications such as horizontal and vertical screen switching and pedometers.

[0324] The distance sensor 180F is used to measure the distance. The electronic device 100 can measure the distance by infrared or laser. In some embodiments, when shooting a scene, the electronic device 100 can use the distance sensor 180F to measure the distance to achieve fast focusing.

[0325] The proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The electronic device 100 emits infrared light outward through the light emitting diode. The electronic device 100 uses a photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100. When insufficient reflected light is detected, the electronic device 100 can determine that there is no object near the electronic device 100. The electronic device 100 can use the proximity light sensor 180G to detect that the user holds the electronic device 100 close to the ear to talk, so as to automatically turn off the screen to save power. The proximity light sensor 180G can also be used in leather case mode and pocket mode to automatically unlock and lock the screen.

[0326] The ambient light sensor 180L is used to sense the ambient light brightness. The electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived ambient light brightness. The ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures. The ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in a pocket to prevent accidental touches.

[0327] The fingerprint sensor 180H is used to collect fingerprints. The electronic device 100 can use the collected fingerprint characteristics to implement fingerprint unlocking, access application locks, fingerprint photography, fingerprint call answering, etc.

[0328] The temperature sensor 180J is used to detect temperature. In some embodiments, the electronic device 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the electronic device 100 reduces the performance of a processor located near the temperature sensor 180J to reduce power consumption and implement thermal protection. In other embodiments, when the temperature is lower than another threshold, the electronic device 100 heats the battery 142 to avoid abnormal shutdown of the electronic device 100 due to low temperature. In other embodiments, when the temperature is lower than another threshold, the electronic device 100 performs a boost on the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.

[0329] The touch sensor 180K is also called a "touch panel". The touch sensor 180K can be set on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, also called a "touch screen". The touch sensor 180K is used to detect touch operations acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194. In other embodiments, the touch sensor 180K can also be set on the surface of the electronic device 100, which is different from the position of the display screen 194.

[0330] The bone conduction sensor 180M can obtain a vibration signal. In some embodiments, the bone conduction sensor 180M can obtain a vibration signal of a vibrating bone block of the vocal part of the human body. The bone conduction sensor 180M can also contact the human pulse to receive a blood pressure beat signal. In some embodiments, the bone conduction sensor 180M can also be set in an earphone and combined into a bone conduction earphone. The audio module 170 can parse out a voice signal based on the vibration signal of the vibrating bone block of the vocal part obtained by the bone conduction sensor 180M to realize a voice function. The application processor can parse the heart rate information based on the blood pressure beat signal obtained by the bone conduction sensor 180M to realize a heart rate detection function.

[0331] The key 190 includes a power key, a volume key, etc. The key 190 may be a mechanical key or a touch key. The electronic device 100 may receive key input and generate key signal input related to user settings and function control of the electronic device 100.

[0332] Motor 191 can generate vibration prompts. Motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as taking pictures, audio playback, etc.) can correspond to different vibration feedback effects. For touch operations acting on different areas of the display screen 194, motor 191 can also correspond to different vibration feedback effects. Different application scenarios (for example: time reminders, receiving messages, alarm clocks, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.

[0333] Indicator 192 may be an indicator light, which may be used to indicate charging status, power changes, messages, missed calls, notifications, etc.

[0334] The SIM card interface 195 is used to connect a SIM card. The SIM card can be connected to and separated from the electronic device 100 by inserting it into the SIM card interface 195 or pulling it out from the SIM card interface 195. The electronic device 100 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, and the like. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the multiple cards can be the same or different. The SIM card interface 195 can also be compatible with different types of SIM cards. The SIM card interface 195 can also be compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to implement functions such as calls and data communications. In some embodiments, the electronic device 100 uses an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.

[0335] It should be understood that Fig.10 The electronic device 100 shown is only an example, and the electronic device 100 may have more Fig.10 More or fewer components may be shown, two or more components may be combined, or there may be a different configuration of components. Fig.10 The various components shown in the EMBODIMENTS 2000 may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and / or application specific integrated circuits.

[0336] The structures of other electronic devices (such as electronic device 101, electronic device 200, electronic device 300, electronic device 400, etc.) included in the aforementioned communication system are the same as or similar to the structure of the electronic device 100, and the relevant contents of the structures thereof can be referred to in Fig.10 The textual description related to the structure of the electronic device 100 shown is not repeated here.

[0337] The following introduces a software structure of an electronic device 100 provided in an embodiment of the present application.

[0338] Fig.11 The software structure of an electronic device 100 provided in an embodiment of the present application is exemplified.

[0339] like Fig.11 As shown, the software system of the electronic device 100 can adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. The embodiment of the present application takes the Android system of the layered architecture as an example to exemplify the software structure of the electronic device 100.

[0340] The layered architecture divides the software into several layers, each with clear roles and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom: the application layer, the application framework layer, the Android runtime and system library, and the kernel layer.

[0341] The application layer can include a series of application packages.

[0342] like Fig.11 As shown, the application package may include camera, gallery, calendar, call, map, chat, WLAN, Bluetooth, music, video, short message and other applications. Among them, the "chat" application may be the chat APP mentioned in the above embodiment.

[0343] The application framework layer provides an application programming interface (API) and a programming framework for the applications in the application layer. The application framework layer includes some predefined functions.

[0344] like Fig.11 As shown, the application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, a state service module, and the like.

[0345] The window manager is used to manage window programs. The window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc.

[0346] Content providers are used to store and retrieve data and make it accessible to applications. The data may include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.

[0347] The view system includes visual controls, such as controls for displaying text, controls for displaying images, etc. The view system can be used to build applications. A display interface can be composed of one or more views. For example, a display interface including a text notification icon can include a view for displaying text and a view for displaying images.

[0348] The phone manager is used to provide communication functions of the electronic device 100, such as management of call status (including connecting, hanging up, etc.).

[0349] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.

[0350] The notification manager enables applications to display notification information in the status bar. It can be used to convey notification-type messages and can disappear automatically after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as notifications of applications running in the background, or a notification that appears on the screen in the form of a dialog window. For example, a text message is displayed in the status bar, a prompt sound is emitted, an electronic device vibrates, an indicator light flashes, etc.

[0351] The status service module can be used to obtain the user's current status (for example, the user's current status can be obtained from other devices or other apps), send the obtained user's current status to a chat application, save the user's current status and the sender's name of the chat message, etc.

[0352] In some embodiments, the state service module may also be integrated into the above-mentioned "chat" application, that is, the application framework layer may not include the state service module, but include the state service module in the "chat" application.

[0353] Android Runtime includes core libraries and virtual machines. Android runtime is responsible for scheduling and management of the Android system.

[0354] The core library consists of two parts: one part is the function that needs to be called by the Java language, and the other part is the Android core library.

[0355] The application layer and the application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.

[0356] The system library may include multiple functional modules, such as surface manager, media library, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.

[0357] The surface manager is used to manage the display subsystem and provide the fusion of 2D and 3D layers for multiple applications.

[0358] The media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.

[0359] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.

[0360] A 2D graphics engine is a drawing engine for 2D drawings.

[0361] The kernel layer is the layer between hardware and software. The kernel layer contains at least display driver, camera driver, Bluetooth driver, and sensor driver.

[0362] The following is an illustrative description of the workflow of the software and hardware of the electronic device 100 in conjunction with capturing a photo scene.

[0363] When the touch sensor 180K receives a touch operation, the corresponding hardware interrupt is sent to the kernel layer. The kernel layer processes the touch operation into a raw input event (including touch coordinates, timestamp of the touch operation, and other information). The raw input event is stored in the kernel layer. The application framework layer obtains the raw input event from the kernel layer and identifies the control corresponding to the input event. For example, if the touch operation is a touch single-click operation and the control corresponding to the single-click operation is the control of the camera application icon, the camera application calls the interface of the application framework layer to start the camera application, and then starts the camera driver by calling the kernel layer to capture static images or videos through the camera 193.

[0364] The software structure of other electronic devices (such as electronic device 101, electronic device 200, electronic device 300, electronic device 400, etc.) included in the aforementioned communication system may be the same as or similar to the software structure of electronic device 100, and the relevant contents of the software structure may refer to Fig.11 The text description related to the software structure of the electronic device 100 shown is not repeated here.

[0365] The structure of another electronic device 100 provided in an embodiment of the present application is introduced below.

[0366] Fig.12 The structure of another electronic device 100 provided in an embodiment of the present application is exemplified.

[0367] like Fig.12 As shown, the electronic device 100 may include: a chat application 1201 and a status service module 1202 .

[0368] The chat application 1201 can be used for receiving and sending chat messages, setting status subscription permissions, etc.

[0369] The status service module 1202 can be used to obtain the user's current status, send the obtained user's current status to the chat application 1201, save the user's current status and the sender name of the chat message, etc.

[0370] In a possible implementation, the status service module 1202 may also be integrated into the chat application 1201 .

[0371] In a possible implementation, the status service module 1202 may also be a device independent of the electronic device 100 , for example, the status service module 1202 may be a server.

[0372] Optionally, the electronic device 100 may also include a state monitoring module 1203 (such as a sports health APP, etc.), which may have the ability to monitor sports health data and status, and is used to realize real-time monitoring of the user's status. In this case, the electronic device 100 can simultaneously support the operation of the chat APP and have the ability to monitor sports health data and status, that is, the operations performed by the electronic device 100 and the electronic device 101 in the aforementioned embodiment can be performed only by the electronic device 100.

[0373] For more details about the functions and working principles of the electronic device 100, please refer to the relevant contents in the above embodiments, which will not be repeated here.

[0374] Among them, the structures of other electronic devices included in the aforementioned communication system (such as electronic device 101, electronic device 200, electronic device 300, electronic device 400, etc.) can be the same as or similar to the structure of electronic device 100. For more details on the functions and working principles of each module thereof, please refer to the relevant contents in the above-mentioned embodiments and will not be repeated here.

[0375] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) mode. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state disk (SSD)), etc.

[0376] Those skilled in the art can understand that to implement all or part of the processes in the above-mentioned embodiments, the processes can be completed by computer programs to instruct related hardware, and the programs can be stored in computer-readable storage media. When the programs are executed, they can include the processes of the above-mentioned method embodiments. The aforementioned storage media include: ROM or random access memory RAM, magnetic disk or optical disk and other media that can store program codes.

[0377] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A message reply method, applied to a communication system including a first electronic device and a second electronic device, characterized in that: The method comprises: The first electronic device receives a status subscription request or a group member status subscription broadcast message sent by the second electronic device; The first electronic device displays the status subscription request or the group member status subscription broadcast message, wherein the status subscription request or the group member status subscription broadcast message is used to instruct the first electronic device to set a status subscription permission open to a second user of the second electronic device, or is used to instruct the first electronic device to set a status subscription permission open to a first group to which the second user of the second electronic device belongs, and the status subscription permission set by the first electronic device includes a first user status and a second user status; The first electronic device detects that the first user is in the first user state through a sensor, or determines that the first user is in the first user state through a user setting record, and the first user state is a state in which it is inconvenient to reply to a message; The first electronic device receives a first message sent by the second electronic device, where the first message is a chat message between the first user and the second user, or the first electronic device receives a second message sent by the second electronic device, where the second message is a group chat message in the first group, and the second message includes the user name of the first user; The first electronic device does not display a message reminder of the first message or the second message; The second electronic device displays a chat interface between the first user and the second user, and a first status message from the first user is displayed in the chat interface displayed by the second electronic device, and the first status message is used to indicate that the first user is in the first user status; the first electronic device displays a chat interface between the first user and the second user, and the chat interface displayed by the first electronic device displays the first status message sent to the second user, and the first status message in the chat interface displayed by the first electronic device and the second electronic device is sent by being triggered by the first message or the second message; The first electronic device detects, through the sensor, that the first user is in the second user state, or determines, through the user setting record, that the first user is in the second user state, where the second user state is a state that is convenient for replying to messages; The first electronic device displays a message reminder of the first message or the second message; The second electronic device displays a chat interface between the first user and the second user, and the chat interface displayed by the second electronic device displays a second status message from the first user, and the second status message is used to indicate that the first user is in the second user state; the first electronic device displays a chat interface between the first user and the second user, and the chat interface displayed by the first electronic device displays the second status message sent to the second user.

2. The method according to claim 1, characterized in that: The method further comprises: Detecting the user's operation on the status subscription request, the first electronic device displays a first setting interface, the first setting interface includes one or more options for setting the status subscription permission of the second user, the first electronic device detects the user's operation on the one or more options for setting the status subscription permission of the second user, and the first electronic device saves the status subscription permission information of the second user and the user name of the second user; or, An operation on the broadcast message of the group member status is detected, the first electronic device displays a second setting interface, the second setting interface includes one or more options for setting the status subscription permission of the first group, the first electronic device detects the user's one or more options for setting the status subscription permission of the first group, and the first electronic device saves the status subscription permission information of the first group and the group name of the first group; The status subscription information of the second user and the status subscription information of the first group include the status of the first user and the status of the second user.

3. The method according to claim 1, characterized in that The communication system further includes a third electronic device, and the method further includes: Detecting a user's operation on the status subscription request, or an operation on the group member status broadcast message; The first electronic device sends a first instruction to the third electronic device, where the first instruction is used to instruct the third electronic device to set the status subscription authority on behalf of the first user; The third electronic device detects an operation of setting status subscription authority by a user; The third electronic device stores and sends the first information to the first electronic device; The first electronic device receives and stores the first information, where the first information is status subscription authority information of the second user and the user name of the second user, or status subscription authority information of the first group and the group name of the first group.

4. The method according to claim 1, characterized in that: Before the second electronic device displays a chat interface between the first user and the second user, the method further includes: The first electronic device detects, through the sensor, that the first user state is different from the second user state, wherein the sensor is one or more sensors on the first electronic device, or one or more sensors on an electronic device connected to the first electronic device; or, The first electronic device determines, through the user setting record, that the first user status is different from the second user status.

5. The method according to claim 4, characterized in that Before the second electronic device displays a chat interface between the first user and the second user, the method further includes: The first electronic device displays a first prompt, where the first prompt is used to prompt a user whether to send the second status message to the second electronic device; The first electronic device detects that the user agrees to send the second status message to the second electronic device.

6. The method according to claim 2, characterized in that The method further comprises: The first electronic device sends a feedback message to the second electronic device, where the feedback message is used to indicate that the first user has opened status subscription permissions to the second user or group members in the first group.

7. The method according to claim 2, characterized in that Before the second electronic device displays a chat interface between the first user and the second user, the method further includes: The first electronic device determines that the status subscription permission has been opened to the second user based on the saved status subscription permission information of the second user and the user name of the second user; or, The first electronic device determines that the status subscription permission has been opened to group members in the first group based on the saved status subscription permission information of the first group and the group name of the first group.

8. The method according to any one of claims 1 to 7, characterized in that: The method comprises: The second electronic device displays a second prompt, where the second prompt is used to prompt the user whether to notify the second user when the first user is in the second user state; The second electronic device detects an operation of the user agreeing to the notification; The second electronic device sends a second instruction to the first electronic device, where the second instruction is used to instruct the first electronic device to send the second status message to the second electronic device when the first user is in the second user status.

9. A message reply method, applied to a first electronic device, characterized in that: The method comprises: The first electronic device receives a status subscription request or a group member status subscription broadcast message sent by a second electronic device; The first electronic device displays the status subscription request or the group member status subscription broadcast message, wherein the status subscription request or the group member status subscription broadcast message is used to instruct the first electronic device to set a status subscription permission, and the status subscription permission set by the first electronic device and open to the second user of the second electronic device includes the first user status and the second user status, or the status subscription permission set by the first electronic device and open to the first group to which the second user of the second electronic device belongs includes the first user status and the second user status; The first electronic device detects that the first user is in the first user state through a sensor, or determines that the first user is in the first user state through a user setting record, and the first user state is a state in which it is inconvenient to reply to a message; The first electronic device receives a first message sent by the second electronic device, where the first message is a chat message between the first user and the second user, or the first electronic device receives a second message sent by the second electronic device, where the second message is a group chat message in the first group, and the second message includes the user name of the first user; The first electronic device does not display a message reminder of the first message or the second message; The first electronic device displays a chat interface between the first user and the second user, wherein the chat interface displays a first status message sent to the second user at a first time, wherein the first status message is used to indicate that the first user is in the first user state, and the first status message in the chat interface is sent by being triggered by the first message or the second message; The first electronic device detects, through the sensor, that the first user is in the second user state, or determines, through the user setting record, that the first user is in the second user state, where the second user state is a state that is convenient for replying to messages; The first electronic device displays a message reminder of the first message or the second message; The first electronic device displays a chat interface between the first user and the second user, wherein the chat interface displays a second status message sent to the second user, and the second status message is used to indicate that the first user is in the second user status.

10. The method according to claim 9, characterized in that The method further comprises: Detecting the user's operation on the status subscription request, the first electronic device displays a first setting interface, the first setting interface includes one or more options for setting the status subscription permission of the second user, the first electronic device detects the user's operation on the one or more options for setting the status subscription permission of the second user, and the first electronic device saves the status subscription permission information of the second user and the user name of the second user; or, An operation on the broadcast message of the group member status is detected, the first electronic device displays a second setting interface, the second setting interface includes one or more options for setting the status subscription permission of the first group, the first electronic device detects the user's one or more options for setting the status subscription permission of the first group, and the first electronic device saves the status subscription permission information of the first group and the group name of the first group; The status subscription information of the second user and the status subscription information of the first group include the status of the first user and the status of the second user.

11. The method according to claim 9, characterized in that The method further comprises: Detecting a user's operation on the status subscription request, or an operation on the group member status broadcast message; The first electronic device sends a first instruction to a third electronic device, where the first instruction is used to instruct the third electronic device to set a status subscription permission on behalf of the first user; The first electronic device receives and stores first information sent by the third electronic device, where the first information is status subscription authority information of the second user and the user name of the second user, or status subscription authority information of the first group and the group name of the first group.

12. The method according to claim 9, characterized in that Before the first electronic device displays a chat interface between the first user and the second user, the method further includes: The first electronic device detects, through the sensor, that the first user state is different from the second user state, wherein the sensor is one or more sensors on the first electronic device, or one or more sensors on an electronic device connected to the first electronic device; or, The first electronic device determines, through the user setting record, that the first user status is different from the second user status.

13. The method according to claim 12, characterized in that Before the first electronic device displays a chat interface between the first user and the second user, the method further includes: The first electronic device displays a first prompt, where the first prompt is used to prompt a user whether to send the second status message to the second electronic device; The first electronic device detects that the user agrees to send the second status message to the second electronic device.

14. The method according to claim 10, characterized in that The method further comprises: The first electronic device sends a feedback message to the second electronic device, where the feedback message is used to indicate that the first user has opened status subscription permissions to the second user or group members in the first group.

15. The method according to claim 10, characterized in that Before the first electronic device displays a chat interface between the first user and the second user, the method further includes: The first electronic device determines that the status subscription permission has been opened to the second user based on the saved status subscription permission information of the second user and the user name of the second user; or, The first electronic device determines that the status subscription permission has been opened to group members in the first group based on the saved status subscription permission information of the first group and the group name of the first group.

16. An electronic device, characterized in that: The electronic device includes one or more processors and one or more memories; wherein the one or more memories are coupled to the one or more processors, and the one or more memories are used to store computer program code, and the computer program code includes computer instructions, and when the one or more processors execute the computer instructions, the electronic device executes the method as described in any one of claims 9-15.

17. A computer storage medium, characterized in that: The computer storage medium stores a computer program, wherein the computer program includes program instructions. When the program instructions are executed on an electronic device, the electronic device executes the method according to any one of claims 9 to 15.