CN115883714A - Message reply method and related equipment - Google Patents

Message reply method and related equipment Download PDF

Info

Publication number
CN115883714A
CN115883714A CN202111157550.0A CN202111157550A CN115883714A CN 115883714 A CN115883714 A CN 115883714A CN 202111157550 A CN202111157550 A CN 202111157550A CN 115883714 A CN115883714 A CN 115883714A
Authority
CN
China
Prior art keywords
user
electronic device
state
message
group
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111157550.0A
Other languages
Chinese (zh)
Inventor
高旭涛
徐蓓
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202111157550.0A priority Critical patent/CN115883714A/en
Publication of CN115883714A publication Critical patent/CN115883714A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Telephone Function (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application discloses a message reply method and related equipment, wherein electronic equipment can acquire the current state (such as the state of motion, sleep and the like) of a user and support the user to autonomously set an automatic reply message containing the current state of the user based on the social relationship between the user and a message sender. When the electronic equipment determines that the user is not convenient to reply the message currently based on the current state of the user, the electronic equipment can automatically reply the message containing the current state of the user to the message sender so as to indicate that the user is not convenient to reply the message currently; and then when the electronic equipment determines that the user is currently convenient to reply the message based on the current state of the user, the electronic equipment can automatically reply the message containing the current state of the user to the message sender so as to indicate that the user is currently convenient to reply the message, and the message sender can contact with the user. Therefore, on the premise of ensuring the privacy and the safety of the user, the electronic equipment can automatically reply the message based on the acquired current state of the user, and the communication efficiency and the user experience are improved.

Description

Message reply method and related equipment
Technical Field
The present application relates to the field of communications technologies, and in particular, to a message reply method and a related device.
Background
With the popularization of smart electronic devices such as mobile phones and wearable devices (e.g., watches, bracelets, etc.), social communication becomes an indispensable daily behavior for people, wherein the communication mode between people is mainly sending and receiving messages through chat software.
The message brings convenience to people, and meanwhile, some unnecessary troubles are often caused due to the non-real-time property of the message, for example, when a sender sends the message to a receiver, and when the receiver is inconvenient to reply the message (for example, when the receiver is in motion, sleep, in a meeting, driving a car, and the like), the sender cannot know the state of the receiver and does not know whether the receiver intentionally replies the message or really replies the message inconveniently, so that unnecessary misunderstandings can be caused, and the user experience is poor.
Disclosure of Invention
The embodiment of the application provides a message reply method and related equipment, which can automatically reply a message based on the current state of a receiver and improve the communication efficiency.
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, 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 second electronic equipment displays a chat interface of the first user and a second user, wherein a first status message from the first user at the first time is displayed in the chat interface, and the first status message is used for indicating that the first user is in the first user state at the first time; the first electronic equipment displays the chat interfaces of the first user and the second user, and the first state message sent to the second user at the first time is displayed in the chat interfaces; 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 second electronic equipment displays the chat interface of the first user and the second user, wherein a second status message from the first user at the second time is displayed in the chat interface, and the second status message is used for indicating that the first user is in the second user state at the second time; the first electronic equipment displays the chat interface between the first user and the second user, and the second status message sent to the second user at the second time is displayed in the chat interface; wherein the first user state is different from the second user state.
According to the message reply method provided by the embodiment of the application, the electronic equipment can acquire the current state (such as the state of motion, sleep and the like) of the user and support the user to autonomously set the automatic reply message containing the current state of the user based on the social relationship between the user and the message sender. When the electronic equipment determines that the user is not convenient to reply the message currently based on the current state of the user, the electronic equipment can automatically reply the message containing the current state of the user to the message sender so as to indicate that the user is not convenient to reply the message currently; then, when the electronic device determines that the user is currently convenient to reply the message based on the current state of the user, the electronic device can automatically reply the message containing the current state of the user to the message sender so as to indicate that the user is currently convenient to reply the message, and the message sender can timely contact with the user. Therefore, on the premise of ensuring the safety and privacy of the user, the electronic equipment can automatically reply the message based on the acquired current state of the user, and the communication efficiency and the user experience are improved.
In one possible implementation manner, before the second electronic device displays the chat interface between the first user and the second user, the method further includes: the first electronic equipment receives a first message sent by the second electronic equipment, wherein the first message is a chat message of 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 a first group, and the second message includes a user name of the first user.
In this way, the electronic device may be triggered to reply to the status message on condition that the single chat message/group chat message is received, so that the second user knows the current status of the first user in time.
In one possible implementation manner, 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 state subscription request, wherein the state subscription request is used for indicating the first electronic device to set a state subscription authority, and the state 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 indicate that the first electronic device sets a status subscription right, and the group member status subscription broadcast message is sent by the second electronic device or generated by the first electronic device.
In this way, the user can be guided to perform the status subscription authority setting by sending/generating the status subscription request.
In one possible implementation, the method further includes: detecting an operation of a user for the state subscription request, displaying a first setting interface by the first electronic device, wherein the first setting interface comprises one or more options for setting state subscription authority of the second user, detecting the one or more options for setting the state subscription authority of the second user by the first electronic device, and storing state subscription authority information of the second user and a user name of the second user by the first electronic device; or, when detecting an operation of broadcasting a message aiming at the state of the group member, the first electronic device displays a second setting interface, the second setting interface includes one or more options for setting the state subscription permission of the first group, the first electronic device detects that a user aims at the one or more options for setting the state subscription permission of the first group, and the first electronic device saves the state subscription permission information of the first group and the group name of the first group; the state authority subscription information of the second user and the state authority subscription information of the first group comprise the first user state and the second user state.
In this way, the user can set state subscription rights on the native machine.
In one possible implementation, the communication system further includes a third electronic device, and the method further includes: detecting the operation of a user for the state subscription request or the operation for the state broadcast message of the group member; the first electronic equipment sends a first instruction to the third electronic equipment, wherein the first instruction is used for indicating the third electronic equipment to replace the first user to set a state subscription authority; the third electronic equipment detects the operation of setting the state subscription authority by the user; the third electronic equipment stores and sends first information to the first electronic equipment; and the first electronic equipment receives and stores the first information, wherein the first information is the state subscription authority information of the second user and the user name of the second user, or the state subscription authority information of the first group and the group name of the first group.
Therefore, under the condition that the user is a child, parents of the child can replace the child to perform state subscription permission setting, and safety is provided.
In one possible implementation manner, 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 detects that the first user state is different from the second user state at the second time through the sensor, wherein the sensor is one or more sensors on the first electronic device or one or more sensors on an electronic device connected with the first electronic device; or, the first electronic device determines, at the second time, that the first user state is different from the second user state through the user setting record.
Therefore, the electronic equipment can be triggered to reply the state message under the condition that the state of the first user is changed from the state of the first user to the state of the second user, so that the second user can know the current state of the first user in time.
In one possible implementation manner, before the second electronic device displays the chat interface of the first user and the second user, the method further includes: the first electronic equipment displays a first prompt, and the first prompt is used for prompting a user whether to send the second state message to the second electronic equipment; the first electronic device detects an operation of sending the second status message to the second electronic device by user's intention.
In this way, the second status message may be sent again with the user's consent, giving the user a certain choice.
In one possible implementation, the method further includes: the first electronic device sends a feedback message to the second electronic device, wherein the feedback message is used for indicating that the first user opens a state subscription authority to the second user or the group members in the first group.
Thus, the opposite side can know that the first user has subscribed the authority to the open state.
In one possible implementation manner, before the second electronic device displays the chat interface between the first user and the second user, the method further includes: the first electronic equipment determines that the state subscription authority is opened to the second user based on the saved state subscription authority information of the second user and the user name of the second user; or the first electronic device determines that the state subscription authority has been opened to group members in the first group based on the saved state subscription authority information of the first group and the group name of the first group.
In one possible implementation, the method includes: the second electronic equipment displays a second prompt, wherein the second prompt is used for prompting a user whether to inform the second user when the first user is in the second user state; the second electronic equipment detects the operation of the user consent notification; and the second electronic equipment sends a second instruction to the first electronic equipment, wherein the second instruction is used for instructing the first electronic equipment to send the second status message to the second electronic equipment when the first user is in the second user status.
In this way, the second user may actively subscribe to the second user state of the first user, so as to timely notify the second user if the first user is in the second user state.
In one possible implementation manner, after the second electronic device displays the chat interface of the first user and the second user, the method further includes: the first electronic equipment displays a third prompt, wherein the third prompt is used for prompting a user whether to withdraw the second status message; the first electronic equipment detects the operation of withdrawing the second status message by the user; the first electronic device and the second electronic device do not display the second status message.
In one possible implementation manner, before the second electronic device displays the chat interface of the first user and the second user, the method further includes: the first electronic equipment saves the first user state and the user name of the second user; or, the first electronic device saves the first user state and the group name of the first group.
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 equipment 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 equipment displays a chat interface between the first user and a second user, wherein a first status message sent to the second user at the first time is displayed in the chat interface, and the first status message is used for indicating that the first user is in the first user state at the first time; the second electronic device displays the chat interfaces of the first user and the second user, and the first status message from the first user at the first time is displayed in the chat interfaces; the first electronic device detects that the first user is in a second user state at a second time through the sensor, or determines that the first user is in the second user state through the user setting record; the first electronic equipment displays the chat interface between the first user and the second user, wherein a second status message sent to the second user at the second time is displayed in the chat interface, and the second status message is used for indicating 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 second status message from the first user at the second time is displayed in the chat interface; wherein the first user state is different from the second user state.
In one possible implementation manner, before the first electronic device displays the chat interface between the first user and the second user, the method further includes: the first electronic equipment receives a first message sent by the second electronic equipment, wherein 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 a first group, and the second message includes a user name of the first user.
In one possible implementation manner, before the first electronic device displays the chat interface between the first user and the second user, the method further includes: the first electronic device displays a state subscription request, wherein the state subscription request is used for indicating the first electronic device to set a state subscription authority, and the state 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 indicate that the first electronic device sets a status subscription right, and the group member status subscription broadcast message is sent by the second electronic device or generated by the first electronic device.
In one possible implementation, the method further includes: detecting an operation of a user for the state subscription request, displaying a first setting interface by the first electronic device, wherein the first setting interface comprises one or more options for setting state subscription authority of the second user, detecting the one or more options for setting the state subscription authority of the second user by the first electronic device, and storing state subscription authority information of the second user and a user name of the second user by the first electronic device; or, when detecting an operation for broadcasting a message in a group member state, the first electronic device displays a second setting interface, where the second setting interface includes one or more options for setting the state subscription right of the first group, and the first electronic device detects that a user has the one or more options for setting the state subscription right of the first group, and stores state subscription right information of the first group and a group name of the first group; the state authority subscription information of the second user and the state subscription authority information of the first group comprise the first user state and the second user state.
In one possible implementation, the method further includes: detecting the operation of a user for the state subscription request or the operation for the state broadcast message of the group member; the first electronic equipment sends a first instruction to third electronic equipment, wherein the first instruction is used for indicating the third electronic equipment to replace the first user to set a state subscription authority; and the first electronic equipment receives and stores first information sent by the third electronic equipment, wherein the first information is the state subscription permission information of the second user and the user name of the second user, or the state subscription permission information of the first group and the group name of the first group.
In one possible implementation manner, before the first electronic device displays the chat interface between the first user and the second user, the method further includes: the first electronic device detects that the first user state is different from the second user state at the second time through the sensor, wherein the sensor is one or more sensors on the first electronic device or one or more sensors on an electronic device connected with the first electronic device; or, the first electronic device determines, at the second time, that the first user state is different from the second user state through the user setting record.
In one possible implementation manner, before the first electronic device displays the chat interface of the first user and the second user, the method further includes: the first electronic equipment displays a first prompt, wherein the first prompt is used for prompting a user whether to send the second status message to the second electronic equipment; the first electronic device detects an operation of sending the second status message to the second electronic device by user's intention.
In one possible implementation, the method further includes: the first electronic device sends a feedback message to the second electronic device, wherein the feedback message is used for indicating that the first user opens a state subscription authority to the second user or the group members in the first group.
In one possible implementation manner, before the first electronic device displays the chat interface between the first user and the second user, the method further includes: the first electronic equipment determines that the state subscription authority has been opened to the second user based on the saved state subscription authority information of the second user and the user name of the second user; or the first electronic device determines that the state subscription authority has been opened to group members in the first group based on the saved state subscription authority information of the first group and the group name of the first group.
In a third aspect, an embodiment of the present application provides an electronic device, which 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 configured to store computer program code comprising computer instructions that, when executed by the one or more processors, cause the electronic device to perform the method as described in any one of the possible implementations of the second aspect.
In a fourth aspect, an embodiment of the present application provides a computer storage medium, where a computer program is stored, where the computer program includes program instructions, and when the program instructions are run on an electronic device, the electronic device is caused to execute the method described in any one of the possible implementation manners of the second aspect.
In a fifth aspect, the present application provides a computer program product, which when run on a computer, causes the computer to execute the method described in any one of the possible implementation manners of the second aspect.
Drawings
FIGS. 1A-1H are schematic diagrams of user interfaces for automatic reply to a set of typical setup messages provided by embodiments of the present application;
fig. 2 is a schematic diagram of a communication system according to an embodiment of the present application;
fig. 3 is a flowchart illustrating a message reply method according to an embodiment of the present application;
fig. 4A to 4O are schematic diagrams of user interfaces for setting a status subscription right and automatically replying a message in a single chat scenario set according to an embodiment of the present application;
fig. 5 is a flowchart illustrating another message reply method according to an embodiment of the present application;
fig. 6A to 6I are schematic user interfaces for setting a status subscription right and automatically replying a message in a group chat scenario provided in an embodiment of the present application;
fig. 7 is a flowchart illustrating another message reply method according to an embodiment of the present application;
8A-8E are schematic user interfaces for setting a status subscription right in another group chat scenario provided by an embodiment of the present application;
9A-9C are schematic diagrams of a set of user interfaces for uniformly setting status subscription rights for multiple users/groups according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;
fig. 11 is a schematic diagram of a software structure of an electronic device according to an embodiment of the present application;
fig. 12 is a schematic structural diagram of another electronic device provided in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. In the description of the embodiments herein, "/" means "or" unless otherwise specified, for example, a/B may mean a or B; "and/or" in the text is only an association relationship describing an associated object, and means that three relationships may exist, for example, a and/or B may mean: three cases of a alone, a and B both, and B alone exist, and in addition, "a plurality" means two or more than two in the description of the embodiments of the present application.
It should be understood that the terms "first," "second," and the like in the description and claims of this application and in the drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements but may alternatively include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Reference in the specification to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the specification. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The term "User Interface (UI)" in the following embodiments of the present application is a media interface for interaction and information exchange between an application program or an operating system and a user, and implements conversion between an internal form of information and a form acceptable to the user. The user interface is source code written by java, extensible markup language (XML) and other specific computer languages, and the interface source code is analyzed and rendered on the electronic device and finally presented as content which can be identified by the user. A common presentation form of the user interface is a Graphical User Interface (GUI), which refers to a user interface related to computer operations and displayed in a graphical manner. It may be a visual interface element such as text, an icon, a button, a menu, a tab, a text box, a dialog box, a status bar, a navigation bar, a Widget, etc. displayed in the display of the electronic device.
Currently, some chat Applications (APPs) provide functions of setting quick reply messages and automatically replying messages to improve the real-time performance of message reply.
Fig. 1A-1F illustrate user interfaces for setting a shortcut reply message.
Electronic device 100 may be a cell phone and electronic device 101 may be a watch connected to electronic device 100. The user can set a template for quickly replying the message on the watch through the mobile phone. Illustratively, as shown in fig. 1A, a user may enter the user interface 120 shown in fig. 1B by clicking on the default reply option 111 on the user interface 110, and the user interface 120 may include a plurality of default reply message templates, which may be modified autonomously by the user, for example, as shown in fig. 1B, after clicking on the option 121 and inputting the content desired to be modified (e.g., "good morning"), the user may modify "morning rest, evening" of the option 121 to "good morning" as shown in fig. 1C, thereby completing the setting of the quick reply message.
Further, as shown in fig. 1D, when receiving the message, the user may click on option 141 on user interface 140, so that the watch may display pop-up window 150 as shown in fig. 1E, where pop-up window 150 includes a plurality of quick reply message templates that have been set by the user, so that the user may select which template to use for quick reply, for example, the user may select "morning good" template 151, so that the quick reply as shown in fig. 1F may be completed.
Therefore, the quick reply message is set in the chat, so that the time for the user to reply the message can be simplified.
Fig. 1G-1H illustrate user interfaces for setting an auto-reply message.
FIG. 1G illustrates a user interface for automatically replying to a message based on keyword settings. As shown in fig. 1G, the user may click on the add rule option 171 on the user interface 170 to set the auto-reply message. The template frame 172 is a set automatic reply message template, wherein the three items of "rule", "keyword" and "reply content" can be set by the user. In this way, after the setting is completed, when one or more of the keywords are included in the message received by the user, the electronic apparatus 100 may automatically reply to the reply content set by the user for the keywords.
FIG. 1H illustrates a user interface for setting an auto-reply message based on the user's current status (e.g., busy, away, etc.). As shown in fig. 1H, the user can set whether to automatically reply and automatically reply to the content according to the current state on the user interface 180. For example, when the user selects option 181, it indicates that the user needs to auto-reply when receiving a message in a "busy" state, the auto-reply content may be a default "i am busy and contact you later", or may be modified autonomously by the user clicking on option 182. For another example, when the user selects the option 183, it indicates that the user needs to automatically reply when receiving the message in the "away" state, and the content of the automatic reply may be the default "i am out, come back and contact you", or may be modified autonomously by the user clicking the option 184.
Thus, the electronic device 100 can automatically reply to the message in a state where the user is "busy" or "away".
As can be seen from fig. 1A to fig. 1H, the function of setting a quick reply message and an automatic reply message provided by the current chat APP can improve the real-time performance of message reply to a certain extent, but the following problems still exist:
1. the user's status (e.g., busy, away, etc.) is manually set by the user himself, and may not be his true status, for example, the message recipient may intentionally set his status to "busy" in order to avoid being disturbed. Thus, inconvenience may be brought to the message sender.
2. The user cannot autonomously set the automatic reply content according to the relationship (such as the social relationship of family, friends, colleagues and the like) between the message sender and the user.
3. The user needs to manually turn on or turn off the automatic reply function, and the automatic reply function cannot be dynamically adapted according to the real-time state of the user.
In order to solve the above problem, an embodiment of the present application provides a message reply method, where an electronic device may obtain a current state (for example, a state of motion, sleep, or the like) of a user, and support the user to autonomously set an automatic reply message including the current state of the user based on a social relationship between the user and a message sender. When the electronic device determines that the user is currently inconvenient to reply the message based on the current state of the user, the electronic device can automatically reply the message containing the current state of the user to the message sender to indicate that the user is currently inconvenient to reply the message; then, when the electronic device determines that the user is currently convenient to reply the message based on the current state of the user, the electronic device can automatically reply the message containing the current state of the user to the message sender so as to indicate that the user is currently convenient to reply the message, and the message sender can timely contact with the user. Therefore, on the premise of ensuring the safety and privacy of the user, the electronic equipment can automatically reply the message based on the acquired current state of the user, and the communication efficiency and the user experience are improved.
The message reply method provided by the embodiment of the application mainly comprises the following two schemes:
scheme one (namely setting state subscription authority and message automatic reply in single chat scene):
the state subscription authority and the automatic reply message containing the current state of the user are autonomously set based on the social relationship between the user (a message receiver) and a single message sender (such as family, friends, colleagues and the like), and when the electronic device receives the message sent by the message sender, the electronic device can automatically reply the message under the condition that the user is determined to be inconvenient to reply the message.
Scheme two (namely setting state subscription authority and message automatic reply in group chat scene):
when the electronic device receives a message from a user in a chat group, the electronic device can automatically reply the message under the condition that the user is determined to be inconvenient to reply the message.
The two schemes are described in detail in the following embodiments, which are not expanded.
Next, a communication system provided in an embodiment of the present application is first described.
Fig. 2 illustrates a communication system provided in an embodiment of the present application.
As shown in fig. 2, the communication system may include: a plurality of electronic devices. The plurality of electronic devices are all intelligent terminal devices and can be of various types, and the specific types of the plurality of electronic devices are not limited in the embodiment of the application. For example, the plurality of electronic devices may include cell phones, and may also include wearable devices (e.g., watches, bracelets, etc.), tablets, desktop computers, laptop computers, handheld computers, notebook computers, smart screens, and so forth.
A communication connection may be established between a plurality of electronic devices in the communication system. The manner of establishing the communication connection may include, but is not limited to: logging in the same account, binding equipment, scanning a two-dimensional code and the like; the types of establishing a communication connection may include, but are not limited to: a wired connection, a wireless connection such as a Bluetooth (BT) connection, a Wireless Local Area Network (WLAN) such as a wireless fidelity point to point (Wi-Fi P2P) connection, a Near Field Communication (NFC) connection, an Infrared (IR) connection, and a remote connection (e.g., a connection established through a server), and so forth.
In addition, a plurality of electronic devices in the communication system may also be connected and communicate in any of the above manners, which is not limited in the embodiments of the present application.
In the embodiment of the application, a plurality of electronic devices in the communication system can support the operation of chat APP and/or have the monitoring capability of exercise health data and state. That is to say, the electronic device supporting the chat APP running and having the monitoring capability of the exercise health data and state may be the same device (for example, a child watch, which may be used for both running the chat APP and performing real-time monitoring of the exercise health state), or may be different devices (for example, a mobile phone and a watch, where the mobile phone may only be used for running the chat APP and the watch may only be used for performing real-time monitoring of the exercise health state).
Based on the first scheme (i.e., setting the status subscription right and automatically replying the message in a single chat scene), a message replying method provided by the embodiment of the present application is described in detail below.
Fig. 3 illustrates a specific flow of a message reply method provided by an embodiment of the present application.
As shown in fig. 3, the method may be applied to a communication system including the electronic device 100, the electronic device 101, and the electronic device 200. The electronic device 100 and the electronic device 200 both have chat APPs installed therein, and support the chat APPs to run, and may be used to implement receiving and sending of messages. The electronic device 101 has the capability of monitoring exercise health data and states, and can be used for realizing real-time monitoring of user states. For example, electronic device 100 may be a message recipient's cell phone, electronic device 101 may be a message recipient's watch, and electronic device 200 may be a message sender's cell phone. The specific steps of the method are described in detail below:
stage one: stage for setting state subscription authority
Optional step S301, the electronic device 100 establishes a communication connection with the electronic device 101.
Specifically, in the embodiment of the present application, the electronic device 100 may establish a communication connection with the electronic device 101, and then the electronic device 100 and the electronic device 101 may perform data transmission and reception based on the communication connection, so as to perform subsequent related steps.
The method for establishing the communication connection between the electronic device 100 and the electronic device 101 in the embodiment of the present application is not limited, and the communication connection may be established by logging in the same account, binding the device, scanning the two-dimensional code, and the like. In addition, the type of the communication connection established between the electronic device 100 and the electronic device 101 is not limited in the embodiments of the present application, and may include, for example, a wired connection, a wireless connection such as a bluetooth connection, a Wi-Fi P2P connection, an NFC connection, an IR connection, a remote connection, and the like.
Optional step S302, the electronic device 200 sends a status subscription request to the electronic device 100.
Illustratively, as shown in fig. 4A, the user interface 410 displayed by the electronic device 200 may be a chat interface of the chat-class APP, and it is assumed that a name of a user (i.e., a message sender) of the electronic device 200 remarks a user (i.e., a message receiver) of the electronic device 100 to be 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 an operation (e.g., a click operation) of the user on the status subscription option 411, in response to which the electronic device 200 may send a status subscription request to the electronic device 100, and at the same time, the electronic device 200 may display a prompt 412 as exemplarily shown in fig. 4B, for prompting that the user of the electronic device 200 has requested a status subscription to Lily.
In some embodiments, the status subscription request may also be automatically generated by the electronic device 100, or may also be automatically generated by the electronic device 200 and then sent to the electronic device 100.
S303-S304, the electronic device 100 detects an operation of the user setting a state subscription authority, and in response to the operation, the electronic device 100 saves the sender name and the state of permission to open.
Illustratively, as shown in fig. 4C, the user interface 430 displayed by the electronic device 100 may be a chat interface of the chat-type APP, assuming that the name of the user of the electronic device 100 (i.e., the message receiver) remarks 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 prompts Mary to request the status subscription to the user of the electronic device 100.
If the user of the electronic device 100 wants to open the status subscription authority to Mary, the electronic device 100 may detect an operation of the user with respect to the prompt 431 (for example, an operation of clicking "status subscription" in the prompt 431), and in response to the operation, the electronic device 100 may display a user interface 440 as exemplarily shown in fig. 4D, where the user interface 440 may be one user interface for setting the status subscription authority.
As shown in fig. 4D, a plurality of states allowed to be displayed (e.g., exercise, sleep, physiological cycle, health measurement, fall, etc.) and open setting options (e.g., option 441, option 442, option 443, option 444, option 445, etc.) corresponding to each state may be included in the user interface 440. If the user sets the open setting option to "ON", this indicates 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 the option 442 is set to "ON", this indicates 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, and for example, if the option 441 is set to "OFF", it means that the user does not allow the "sport" state to be opened to Mary.
Referring to table 1, table 1 exemplarily shows the types of the states allowed to be displayed (i.e., state classification) and the specific definition of each type of state (i.e., state definition).
As shown in table 1, the status types allowed to be displayed can be classified into five types: exercise status, sleep status, physiological cycle status, health measurement status, fall status. The exercise state may specifically include that the user is performing/finishing outdoor running, outdoor riding, swimming, skiing, golf and other sports; the sleep state may specifically include that the user is in a state of shallow/deep sleep/waking; the physiological cycle state may specifically include a state where the user is in a menstrual period/fertile period, etc.; the health measurement state may specifically include physiological data such as blood glucose and blood pressure being measured/finished by the user; a fall situation may particularly comprise the occurrence of a falling action by the user.
It should be noted that the display-enabled states shown in table 1 are only five sports health-like states, but are not limited to these, and the display-enabled states may also include more other sports health-like states (e.g., sudden heart disease, hypertension, and other emergency states).
The exercise health-like status may be a user status determined based on exercise health data information measured by one or more sensors, but is not limited thereto, and the status allowed to be displayed may include more other types of user statuses determined based on other data information (e.g., eating, working, driving, calling, entertaining, examination, etc.). In some embodiments, the location of the user (e.g., restaurant, company, entertainment venue, etc.) may be determined based on the location information measured by the sensor, and the user status (e.g., eating, working, entertainment, etc.) may be further determined based on the location of the user; in other embodiments, the user status (e.g., meeting, movie, etc.) may also be determined based on the schedule information recorded in the calendar of the application, such as a memo (e.g., 2 to 4 pm in a meeting today, 8 to 10 pm in a movie today, etc.) and the current time. In other embodiments, the user status may also be determined based on the position information and/or exercise health data measured by the sensor, for example, the current position is a work area, and the current exercise status is stationary, so as to further determine that the user status may be: opening a meeting; for another example, the current location is school, and the current motion state is still, so as to further determine that the user state may be: examination/class attendance; for another example, if the position is changing or in a high-speed motion state, it may be determined that the user state may be: and (5) driving the vehicle.
Figure BDA0003285692570000111
TABLE 1
With continued reference to fig. 4D, the user may set the status subscription rights from the master according to his/her needs in the user interface 440 shown in fig. 4D. Illustratively, the user may set the state of allowed openness based on a social relationship (e.g., a relationship of family, friends, colleagues, etc.) between himself and the message sender. For example, if the message sender is the user's elderly, the user may be allowed to open an exercise state, a sleep state, a physiological cycle state; for another example, if the message sender is the user's father/mother, the user may be allowed to go to their open sports state, sleep state; as another example, if the message sender is the user's XX colleague, the user may be allowed to open only the sleep state to him.
Optionally, the user may also set the status of open allowance based on chat behavior, wherein the chat behavior may include how many chat messages, chat frequency, chat time period (e.g., weekend or weekday, day or night, etc.), and the like.
After the user has set the open enabled status (e.g., the user clicks on option 448), electronic device 100 may save the message sender name and the open enabled status, i.e., as a list of status subscriptions as exemplarily shown in Table 2 below.
For example, assuming that Mary is a co-worker of the user of the electronic device 100, the user may only open the sleep state to the user, and after the user sets the open allowed state, the electronic device 100 may save the message sender name and the open allowed state, where the message sender name is: mary, the state allowed to open is: a sleep state.
It should be noted that the mapping relationship between the message sender name and the open allowed state shown in table 2 is merely an example, and the user may open more or less states according to the needs of the user, which is not limited in this embodiment of the application. In some embodiments, for family members (e.g., the elderly, father/mother, etc.), the user may choose to open more states to them, for example, the user may choose to open some emergency states such as falls, sudden illness, etc. to family members so that the user may be timely rescued in the event of an accident; for contacts that have few chats, the user may choose to have less or no states open to them.
Figure BDA0003285692570000112
Figure BDA0003285692570000121
TABLE 2
With continued reference to fig. 4D, options for setting the timing of the display state (e.g., options 446, 447) may also be included in user interface 440. If the user turns ON option 446, it indicates that the user turns ON the "state change automatic display" function (i.e., the user can automatically display in the chat interface with Mary when changing state), and if the user turns ON option 447, it indicates that the user turns ON the "automatic reply to me when sending message" function (i.e., mary can automatically reply when sending message to me).
Referring to table 3, table 3 illustrates a mapping relationship between the open enabled status and the auto-reply message. It can be seen that the auto-reply message includes a status of allowed open.
As shown in table 3, for example, after the electronic device 100 receives the message sent by the electronic device 200, the electronic device 100 may acquire the current status of the user and determine that it is inconvenient for the user to reply the message based on the status, for example, if the electronic device 100 acquires that the current status of the user is "running outdoors", the electronic device 100 may determine that it is inconvenient for the user to reply the message at this time, the electronic device 100 may automatically reply the message: i are inconvenient to reply when running outdoors and please leave a message in some cases. Further, when acquiring the state of the user that running is finished outdoors, the electronic device 100 may automatically reply a message: when running outdoors, i contact my bar soon.
Alternatively, after the electronic device 100 receives the message sent by the electronic device 200, if the electronic device 100 determines that the user conveniently replies to the message based on the acquired current state of the user, the electronic device 100 may not automatically reply to the message.
In some embodiments, assuming that the user of the electronic device 100 opens a subscription right for an emergency state (e.g., a fall, a sudden disease, etc.) to the user of the electronic device 200, if the user of the electronic device 100 is in the emergency state, the electronic device 100 may automatically send a message carrying the emergency state to the electronic device 200. For example, assuming that the emergency state is a fall, when it is detected that the user falls, the electronic apparatus 100 may automatically transmit a message to the electronic apparatus 200 to notify the user of the electronic apparatus 200 that the user of the electronic apparatus 100 falls. Further, in the case where it is detected that the user has fallen and then stood up, one implementation may be that the electronic apparatus 100 automatically sends a message to the electronic apparatus 200 again to notify the user of the electronic apparatus 200 that the user of the electronic apparatus 100 has fallen and then stood up in a safe state; another implementation may be that the electronic device 100 displays a pop-up window 450 as exemplarily shown in fig. 4E, prompting the user whether to agree to inform the current status of the buddy, and in case the user agrees (e.g., the user clicks on option 451), the electronic device 100 sends a message to the electronic device 200 again.
It should be noted that the contents of the automatic reply message shown in table 3 are merely exemplary, and the contents in the automatic reply message in the embodiment of the present application need to include a state that allows opening, so that the opposite side can know the current state of the user in time, and the embodiment of the present application is not limited to other contents in the automatic reply message.
Figure BDA0003285692570000122
Figure BDA0003285692570000131
TABLE 3
Optional step S305, the electronic device 100 sends a feedback message 1 to the electronic device 200, the message being used to indicate that the recipient has opened the state subscription right to the sender.
Specifically, after the user completes the operation of setting the state subscription authority, the electronic device 100 may transmit a feedback message 1 to the electronic device 200, the message indicating that the user of the electronic device 100 has opened the state subscription authority to the user of the electronic device 200.
Exemplarily, after the electronic apparatus 100 transmits the feedback message 1 to the electronic apparatus 200, the electronic apparatus 200 may display a prompt 461 (i.e., feedback message 1) as shown in fig. 4F for prompting Mary that the user Lily of the electronic apparatus 100 has subscribed rights to its open state. Optionally, the electronic device 100 may also display a prompt 471 as shown in fig. 4G for prompting that the user of the electronic device 100 has successfully opened state subscription rights to Mary of the user of the electronic device 200.
In the embodiment of the present application, the state subscription request and the feedback information after the state subscription authority is set may be displayed in various forms, such as characters and cards, which is not limited herein.
In some embodiments, step S305 is optional, that is, after the user sets the complete state subscription right, 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 state subscription right thereto.
In some embodiments, step S302 is optional, that is, the message sender may not send the status subscription request to the message receiver, and the message receiver may set the status subscription authority to the message sender on its own initiative. Illustratively, as shown in fig. 4C, electronic device 100 may detect a user operation (e.g., a click operation) with respect to option 432, and in response to the operation, electronic device 100 may display user interface 480 as exemplarily shown in fig. 4H. Further, the electronic device 100 may detect an operation (e.g., a click operation) of the user with respect to the option 481, in response to which the electronic device 100 may display a user interface (e.g., the user interface 440 shown in fig. 4D) in which the user may set the status subscription authority, so that the status subscription authority may be actively opened to the message sender, and then, the electronic device 100 may also send a feedback message to the electronic device of the message sender to notify the message receiver that the status subscription authority has been opened to the message sender. The specific process of setting the state subscription authority may refer to the foregoing related content, which is not described herein again.
It is easily understood that the "operation of the user setting the state subscription authority" described in step S303 may include: the user's operation of prompting 431 shown in fig. 4C and the user's operation of setting the status subscription right in the user interface 440 shown in fig. 4D as examples; alternatively, the user operates with respect to option 481 exemplarily shown in fig. 4H and the user sets the state subscription authority in user interface 440 exemplarily shown in fig. 4D.
In the above stage one, the setting of the state subscription authority by the user is persistent and can be effective all the time.
And a second stage: automatic message reply phase
S306, the electronic device 200 sends the chat message 1 to the electronic device 100.
Illustratively, as shown in fig. 4I, electronic device 200 may transmit chat message 1 to electronic device 100 (e.g., "at do"), and after electronic device 100 receives chat message 1, may display chat message 1 (e.g., "at do") and the transmission time of chat message 1 (e.g., "07 am 30).
S307, the electronic device 100 determines that the state subscription right is opened to the sender based on the saved sender name and the state allowing opening.
Specifically, after receiving the chat message 1 sent by the electronic device 200, the electronic device 100 may determine whether the user of the electronic device 100 has opened the status subscription authority to the user Mary of the electronic device 200 based on the sender name and the status allowed to be opened in step S304, that is, the electronic device 100 may determine whether the user name Mary of the electronic device 200 and at least one item of status allowed to be opened to Mary are recorded in the status subscription list (e.g., table 2). If so, the electronic device 100 determines that the user of the electronic device 100 has opened the status subscription authority to the user Mary of the electronic device 200, and may continue to perform the subsequent steps, and if not, the electronic device 100 does not need to continue to perform the subsequent steps, i.e., does not perform any processing.
S308-S310, the electronic device 100 sends a receiver current state query request to the electronic device 101, and after receiving the request, the electronic device 101 sends the receiver current state 1 to the electronic device 100. Thereafter, the electronic device 100 determines that the recipient is inconvenient to reply to the chat message 1 in the current state 1.
Specifically, after determining that the status subscription authority has been opened to the sender, the electronic device 100 may send a receiver current status query request to the electronic device 101, and after receiving the request, the electronic device 101 may determine that the receiver is in the current status 1 based on physiological data of the receiver collected by one or more sensors in real time, and further, the electronic device 101 may send the receiver current status 1 to the electronic device 100.
After receiving the current state 1, the electronic device 100 may determine whether the recipient is currently convenient to reply to the chat message 1 based on the current state 1, for example, when the current state 1 is running, riding, sleeping, and the like, the electronic device 100 may determine that the recipient is not convenient to reply to the chat message 1 in the current state 1, and then the electronic device 100 may continue to perform the subsequent steps. For another example, when the current state 1 is awake, idle, a state is ended (e.g., a riding state is ended), etc., the electronic device 100 may determine that the receiver conveniently replies to the chat message 1 in the current state 1, and then the electronic device 100 may not perform the subsequent steps.
Wherein the current state 1 is included in a state list that the receiver is allowed to open to the sender.
In some embodiments, the electronic device 100 may also perform steps S308 to S310 first, and then perform step S307, that is, after receiving the chat message 1, the electronic device 100 may first query the current state of the receiver, and determine whether the receiver is inconvenient to reply the chat message 1 in the current state, and then determine whether the receiver opens the state subscription right to the sender, if so, continue to perform the subsequent steps, and if not, not continue to perform the subsequent steps, that is, do not perform any processing.
In some embodiments, step S308 is optional, and step S309 may be performed periodically without performing step S308 to trigger.
In some embodiments, step S301 may not be performed as soon as the stage is performed, but may be performed before step S308 is performed, that is, before the electronic device 100 needs to acquire the current state of the user from the electronic device 101, the electronic device 100 and the electronic device 101 complete establishing the communication connection.
S311-S312, the electronic device 100 sends a receiver status message 1 to the electronic device 200, wherein the current status 1 is carried in the message and is used for indicating that the receiver is currently inconvenient to reply to the chat message 1. After that, the electronic apparatus 100 saves the current status 1 and the sender name of the chat message 1.
Specifically, in the case where it is determined that the user is inconvenient to reply to the chat message 1 in the current state 1, the electronic device 100 may automatically reply to the message based on the settings in the aforementioned table 3, that is, the electronic device 100 may send the recipient state message 1 to the electronic device 200, where the current state 1 is carried in the message for indicating that the recipient is inconvenient to reply to the chat message 1 at present. Thus, the user of the electronic device 200 can know the current status of the receiver in time and know that the receiver is not convenient to reply the message currently, thereby avoiding misunderstandings caused by the fact that the receiver replies the message in time.
For example, as shown in fig. 4I, if the current state 1 is asleep, the electronic device 100 may automatically reply to the message "I am asleep, inconvenient to reply to the message, have something left", and display the message on the chat interface, and the sending time (e.g., 7.
Further, referring to table 4, table 4 illustrates a mapping relationship between the message sender name and the current status of the subscription. The sender name of the message may be the sender name (e.g., mary) of the chat message 1, and the current status of the subscription may be the current status 1. After automatically replying to the message, the electronic apparatus 100 may save the sender name of the chat message 1 and the current status 1 as shown in table 4.
Message sender name Current state of subscription
XX colleague (for example Mary) Deep sleep (sleep state in state classification)
TABLE 4
In some embodiments, after the electronic device 200 receives the status message 1, a prompt message exemplarily shown in fig. 4K may be displayed for prompting the user whether to notify the user of the electronic device 200 in a case where the user of the electronic device 100 conveniently replies to the message (for example, in a case where the user of the electronic device 100 is in an idle state), and after determining that the user clicks "yes", the electronic device 200 may transmit an instruction to the electronic device 100, the instruction being used for triggering the electronic device 100 to perform a subsequent step so as to notify the user of the electronic device 200 in a case where the user of the electronic device 100 conveniently replies to the message. Wherein the display of the option "no" is selectable. Here, the setting of the user for the above-described prompt message (e.g., clicking on yes or no) is effected at once, not always.
S313, the electronic device 101 sends the recipient current status 2 to the electronic device 100.
In some embodiments, step S313 may be performed periodically, that is, the electronic device 101 may periodically transmit the status of the recipient to the electronic device 100.
In other embodiments, the electronic device 101 may also send the status of the recipient to the electronic device 100 when the status of the recipient changes. For example, when the state of the recipient changes from current state 1 to current state 2, the electronic device 101 may send the recipient current state 2 to the electronic device 100. It is easy to understand that in this case, the electronic device 101 also needs to save the current state 1, and in the case that a change in the current state of the receiver is detected, that is, in the case that the current state is determined to be different from the saved current state 1, the electronic device 101 may transmit the current state of the receiver to the electronic device 100 again.
S314, the electronic device 100 determines that the current state 2 is different from the saved current state 1, and the recipient conveniently replies to the chat message 1 in the current state 2.
Specifically, after the electronic device 100 receives the current state 2 sent by the electronic device 101, since the electronic device 100 already stores the current state 1 and the name of the sender of the chat message 1 in the aforementioned step S312 (see table 4), the electronic device 100 may determine whether the current state 2 is different from the stored current state 1, for example, if the current state 2 is an awake state and the stored current state 1 is a asleep state, the electronic device 100 may determine that the current state 2 is different from the current state 1, and the electronic device may determine which message/messages the receiver conveniently replies to in the current state 2, specifically which message/messages need to reply, and the electronic device 100 may determine based on the mapping relationship between the recorded name of the sender of the message and the subscribed current state. For example, the electronic device 100 may 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 and the current state of the subscription recorded in table 4, so that the electronic device 100 may determine that the recipient conveniently replies to the chat message 1 in the current state 2.
In some embodiments, in the case that it is determined that the current state 2 is different from the saved current state 1, but the recipient still does not conveniently reply to the chat message 1 in the current state 2, the electronic device 100 may automatically reply to the state message carrying the current state 2 again, or may not perform any processing until it is determined that the recipient conveniently replies to the chat message 1 in the current state 2.
S315, the electronic device 100 sends a receiver status message 2 to the electronic device 200, where the message carries the current status 2 and is used to indicate that the receiver is currently convenient to reply to the chat message 1.
Specifically, in the case that it is determined that the user conveniently replies to the chat message 1 in the current state 2, the electronic device 100 may automatically reply to the message based on the settings in the foregoing table 3, that is, the electronic device 100 may send a recipient state message 2 to the electronic device 200, where the message carries the current state 2, for indicating that the recipient conveniently replies to the chat message 1 currently, so as to contact the recipient in time.
Illustratively, as shown in fig. 4I, if the current state of the recipient changes from current state 1 to current state 2, for example, from a deep sleep state in a sleep state to an awake state, the electronic device 100 may automatically reply with a message "I sleep finished, come to contact me bar soon", and display the message on the chat interface, along with the transmission time (e.g., 8.
It is easily understood that, as exemplarily shown in fig. 4J, after the electronic device 100 transmits the recipient status message (e.g., status message 1, status message 2) to the electronic device 200, the electronic device 200 may also display the status message, the transmission time of the status message, and the like on the chat interface.
In this way, the user of the electronic device 200 can know the status change of the receiver in time and know that the receiver is currently convenient to reply the message, and further, the user of the electronic device 200 can autonomously determine whether to contact the receiver in time according to the urgency of the current event.
In some embodiments, the electronic device 100 triggers the step S315 to be executed after receiving the user instruction, for example, after the electronic device 100 executes the step S314, a pop-up window 450 exemplarily shown in fig. 4E may be displayed to prompt the user whether to send the current status to the buddy, and after the user agrees (e.g., the user clicks on the option 451), the electronic device 100 executes the step S315 again.
In some embodiments, the electronic device 100 may also automatically send the current status of the user of the electronic device 100 to users who have been allowed open status subscription rights when no chat message is received. For example, when the user of the electronic device 100 is in some emergency situations (e.g., falls, sudden illness, etc.), the electronic device 100 may automatically send the emergency to the user who has been allowed to open the emergency subscription authority, so that the user of the electronic device 100 can be timely helped when an accident occurs.
In some embodiments, the electronic device 100 may present the current state of the user of the electronic device 100 to the user who has been allowed the open state subscription right in real time, i.e., the electronic device 100 may automatically update the current state of the user to the user who has been allowed the open state subscription right. For example, as shown in fig. 4L, if Lily of the user of the electronic apparatus 100 has opened a "sleep state" to the user of the electronic apparatus 200, in a state where Lily is asleep, the electronic apparatus 200 may display that Lily is currently in a state of being asleep in a contact Lily option in the user interface exemplarily shown in fig. 4L, which may allow the user of the electronic apparatus 200 to view the state of Lily in real time. The status display may be in various forms such as the status text display, the status image display, and the like, which is not limited in the embodiment of the present application.
In some embodiments, in a case that the electronic device 100 determines that it is inconvenient for the user to reply the message in the current state, if the electronic device 100 receives the chat message, the electronic device 100 may automatically reply the message, but does not display the message reminder, that is, does not prompt the user that there is a message to be replied, so that an accident caused by the message reminder disturbing the user can be avoided (for example, a traffic accident caused by the distracting of the message reminder during driving can be avoided).
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 be performed by the electronic device. For example, the electronic device may be the electronic device 100, and the electronic device 100 may perform not only the operations performed by the electronic device 100 in the above-described embodiments but also the operations performed by the electronic device 101. In this case, step S301 need not be performed.
With continued reference to fig. 4I-4J, it can be seen that the current status of the user is transmitted and displayed in the form of a chat message, and in some embodiments, the current status of the user may be transmitted and displayed in other forms. For example, as exemplarily shown in fig. 4M to 4N, when the current state of the user is "deep sleep", on the electronic device 100, "i am sleeping", and on the electronic device 200, "Lily is sleeping" may be displayed; when the current state of the user changes from the "deep sleep" state to the "wake-up" state, "i'm sleep completed" may be displayed on the electronic apparatus 100, and "Lily sleep completed" may be displayed on the electronic apparatus 200.
In some embodiments, the status message sent by electronic device 100 to electronic device 200 may also be revoked. For example, as shown in fig. 4O, after the automatic reply message, the electronic device 100 may display a prompt message for prompting the user whether to withdraw the automatic reply message, after determining that the user withdraws the automatic reply message (e.g., detecting that the user clicks the operation of "yes" on the option), the electronic device 100 may 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. Without being limited thereto, the revocation function may also be implemented in other ways, for example, the electronic device 100 may display a "revocation" option at the auto-reply message, which the user may manually click to revoke the auto-reply message.
It is easily understood that, in the case that the current state of the user (for example, the current state 1 and the current state 2) can be obtained by other applications on the electronic device 100 (for example, the current state of the user is obtained by schedule information recorded by an application such as a memo, a calendar, etc.), the above steps S308 to S309 may be replaced by: the electronic device 100 locally obtains the current status 1 of the user, and the step S313 may be replaced with: the electronic device 100 locally obtains the user's current state 2.
It should be noted that the current state 1 and the current state 2 in the above embodiments are only examples of the sports health state, and are not limited thereto, and may be more other types of states (for example, eating, working, driving, making a call, entertaining, etc.), and the embodiments of the present application do not limit this.
In summary, the message reply method provided by the embodiment of the application can automatically reply the message based on the current state of the user, so that the opposite side can know the state change of the user in time, and the communication efficiency is improved.
The method provided by the embodiment of the application is not limited to the application scenario of instant message reply in the chat APP, and can also be applied to other application scenarios, for example, when a user receives a call or receives a short message and does not reply in time, the electronic device can also automatically reply a message carrying the current state of the user; for another example, in an APP such as interactive learning, online game, etc., a user can view the friend status in real time.
Based on the second scheme (i.e., setting the state subscription right and automatically replying to the message in the group chat scenario), another message replying method provided by the embodiment of the present application is described in detail below.
Fig. 5 illustrates a specific flow of another message reply method provided in an embodiment of the present application.
As shown in fig. 5, the method may be applied to a communication system including the electronic device 100, the electronic device 101, and the electronic device 200. The electronic device 100 and the electronic device 200 both have chat APPs installed therein, and support the chat APPs to run, and may be used to implement receiving and sending of messages. The electronic device 101 has the capability of monitoring exercise health data and states, and can be used for realizing real-time monitoring of user states. For example, electronic device 100 may be a cell phone of group member a, electronic device 101 may be a watch of group member a, and electronic device 200 may be a cell phone of a group administrator. The specific steps of the method are described in detail below:
stage one: stage for setting state subscription authority
Optional step S501, the electronic device 100 establishes a communication connection with the electronic device 101.
The specific execution process of step S501 may refer to the related content in step S301 in the embodiment shown in fig. 3, which is not described herein again.
Optional step S502, the electronic device 200 sends a group member status subscription broadcast message to the electronic device 100.
Illustratively, as shown in fig. 6A, the user interface 610 displayed by the electronic device 200 may be a chat interface of a group chat name "XX group" of the chat class APP, where the group includes a plurality of 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 a group administrator. If a user XXX (e.g., a group administrator) of the electronic device 200 wants to subscribe to the states of the group members, so as to obtain the states of the group members and the group members can be notified in time when the states change, the electronic device 200 may receive an operation (e.g., a click operation) of the user with respect to the state subscription option 611, and in response to the operation, the electronic device 200 may initiate a state subscription request to electronic devices (e.g., the electronic device 100) of all group members in the group. Meanwhile, the electronic device 200 may display a prompt 612, as exemplarily shown in fig. 6B, for prompting that the user of the electronic device 200 has initiated a status subscription request to a group member.
In some embodiments, the 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 group, the electronic device 100 system may automatically generate the group member status subscription broadcast message.
S503-S504, the electronic device 100 detects an operation of the user setting a state subscription authority, and in response to the operation, the electronic device 100 saves the group name and the state allowed to be opened.
Illustratively, as shown in fig. 6C, the user interface 630 displayed by the electronic device 200 may be a chat interface of a group chat name "XX group" of the chat class APP, and 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 prompting being used to prompt the user of the electronic device 100 that the user XXX of the electronic device 200 initiated the group member status subscription request.
If the user of the electronic device 100 (i.e. group member a) wants to open the status subscription authority to the group member, the electronic device 100 may detect an operation of the user with respect to the prompt 631 (e.g. an operation of clicking "status subscription" in the prompt 631), and in response to the operation, the electronic device 100 may display a user interface 640 as exemplarily shown in fig. 6D, where the user interface 640 may be a user interface for setting the status subscription authority, and the user may autonomously set the status subscription authority according to the user's own needs in the user interface (i.e. set the timing for allowing the user to open the status and displaying the status).
The timing for setting the display state in fig. 6D may include two options: the status change automatically displays the option and automatically replies the option when sending messages to me. Under the condition that the state change automatic display option is in an 'ON' state, the state of the user can be displayed in a message mode, or in a state image mode, a state character mode and the like, so that the members in the group can view the states of other group members. The auto-reply to me when messaging option may include two sub-options: the reply option in the group and the reply option of the single chat can automatically reply in the group when the user receives the message sent by the member in the group to the user under the condition that the reply option in the group is in an 'ON' state; when the user receives the group member to send the message to the user, the user can automatically reply to the group member sending the message to the user individually under the condition that the single chat reply option is in the 'ON' state. In this case, it is also possible to support notifying the message sender in case of conveniently replying to the message, which may be specifically referred to the relevant text description of fig. 4J.
After the user sets the open allowed state (e.g., the user clicks on the option 641) in the group, the electronic device 100 may save the group name and the open allowed state, i.e., may save the list of state subscriptions as exemplarily shown in table 5 below.
The specific process of setting the state subscription permission by the user may refer to the related contents in step S303 to step S304 in the embodiment shown in fig. 3, and details are not repeated here.
Figure BDA0003285692570000191
TABLE 5
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 subscription right.
Specifically, after the user completes the operation of setting the status subscription authority, the electronic device 100 may send a feedback message 2 to the electronic devices (e.g., the electronic device 200) of all group members in the group, where the feedback message is used to indicate that the user of the electronic device 100 (i.e., the group member a) has opened the status subscription authority to all group members in the group.
For example, after the electronic device 100 sends the feedback message 2 to the electronic devices (e.g., the electronic device 200) of all group members in the group, the electronic device 200 may display a prompt 651 (i.e., the feedback message 2) as shown in fig. 6E for prompting the user of the electronic device 200 that the user Lily of the electronic device 100 has opened the status subscription right to the group members. Optionally, the electronic device 100 may also display a prompt 661 as shown in fig. 6F for prompting that the user of the electronic device 100 has successfully opened the state subscription rights to the group members.
In the embodiment of the present application, the state subscription request and the feedback information after the state subscription authority is set may be displayed in various forms, such as characters and cards, which is not limited herein.
In some embodiments, step S505 is optional, that is, after the user sets the completion status subscription authority, 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 authority has been opened to the group members.
In some embodiments, step S502 is optional, i.e., the group administrator may not initiate a status subscription request, but the group members may actively open status subscription rights to the group members. Illustratively, as shown in fig. 6C, device 100 may detect a user operation (e.g., a click operation) for option 632, in response to which device 100 may display user interface 670, as exemplarily shown in fig. 6G. Further, the electronic device 100 may detect an operation (e.g., a click operation) of the user with respect to the option 671, in response to which the electronic device 100 may display a user interface (e.g., the user interface 640 shown in fig. 6D) in which the user may set the status subscription authority, so that the status subscription authority may be actively opened to the group member, and thereafter, the electronic device 100 may also send a feedback message to the electronic devices of all the group members in the group to notify that the group member has opened the status subscription authority thereto. The specific process of setting the state subscription authority may refer to the foregoing related content, which is not described herein again.
It is easily understood that the "operation of the user setting the state subscription authority" described in step S503 may include: the user's operation of prompting 631 exemplarily shown in fig. 6C and the user's operation of setting the state subscription right in the user interface 640 exemplarily shown in fig. 6D; alternatively, the user operates the option 671 exemplarily shown in fig. 6G and the user sets the status subscription right in the user interface 640 exemplarily shown in fig. 6D.
In the above stage one, the setting of the state subscription authority by the user is persistent and can be effective all the time.
And a second stage: automatic message reply phase
S506, the electronic device 200 sends a group chat message 1 to the electronic device 100, in which the group member a is mentioned.
Specifically, the electronic device 200 may send the group chat message 1 in a 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 the group member a), and the electronic devices of all group members in the group may receive and display the group chat message 1, where the group member a is mentioned in the group chat message 1.
The group chat message 1 mentioned above may refer to the content in the group chat message 1 in a combination of "@ + the name or nickname of the 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.
Illustratively, as shown in fig. 6H, the electronic device 100, after receiving the group chat message 1, may display the group chat message 1 (e.g., "Hello @ Lily") and a transmission time of the group chat message 1 (e.g., "07 am.
S507, the electronic device 100 determines that the subscription right of the state has been opened to the group member based on the saved group name and the state allowed to be opened.
Specifically, after receiving the group chat message 1 sent by the electronic device 200, the electronic device 100 determines that the electronic device 200 is the group chat message 1 sent in the "XX group", and further, may determine whether the user of the electronic device 100 has opened the status subscription authority to the group member in the group based on the group name and the status of allowing to open saved in the foregoing step S504, that is, the electronic device 100 may determine whether the status subscription list (for example, table 5) records the group name "XX group" and at least one status of allowing to open to the group member in the group. If so, the electronic device 100 determines that the status subscription authority has been opened to the group members in the group, and may continue to perform the subsequent steps, and if not, the electronic device 100 does not perform the subsequent steps, i.e., does not perform any processing.
S508 to S510, the electronic device 100 sends a query request of the current state of the group member a to the electronic device 101, and after receiving the query request, the electronic device 101 sends the current state 1 of the group member a to the electronic device 100. Thereafter, the electronic device 100 determines that it is inconvenient for the group member a to reply to the group chat message 1 in the current state 1.
Specifically, after determining that the status subscription authority has been opened to the group chat message 1 sending group, the electronic device 100 may send a group member a current status query request to the electronic device 101, and after receiving the request, the electronic device 101 may determine that the group member a is in the current status 1 based on the real-time collected physiological data of the group member a, and further, the electronic device 101 may send the group member a current status 1 to the electronic device 100.
After receiving the current state 1, the electronic device 100 may determine whether the group member a is currently convenient to reply to the group chat message 1 based on the current state 1, for example, when the current state 1 is a running state, a cycling state, a sleeping state, or the like, the electronic device 100 may determine that the group member a is inconvenient to reply to the group chat message 1 in the current state 1, and then the electronic device 100 may continue to perform subsequent steps. For another example, when the current state 1 is awake, idle, a state is ended (e.g., a cycling state is ended), etc., the electronic device 100 may determine that the group member a conveniently replies to the group chat message 1 in the current state 1, and then the electronic device 100 may not perform the subsequent steps.
Wherein the current state 1 is included in a state list that the group member a allows opening to the sending group of the group chat message 1.
In some embodiments, the electronic device 100 may also perform steps S508 to S510 first, and then perform step S507, that is, after receiving the group chat message 1, the electronic device 100 may first query the current state of the group member a, determine that the group member a is inconvenient to reply to the group chat message 1 in the current state, and then determine whether the group member a opens the state subscription authority to the sending group of the group chat message 1, if yes, continue to perform the subsequent steps, and if not, not continue to perform the subsequent steps, that is, do not perform any processing.
In some embodiments, step S508 is optional, and step S509 may be performed periodically without performing step S508 to trigger.
In some embodiments, step S501 may not be performed as soon as the stage is performed, but may be performed before step S508 is performed, that is, before the electronic device 100 needs to acquire the current status of the user from the electronic device 101, the electronic device 100 and the electronic device 101 complete establishing the communication connection.
S511-S512, the electronic device 100 sends a group member a status message 1 to the electronic device 200, where the current status 1 is carried in the message and is used to indicate that the group member a is currently inconvenient to reply to the group chat message 1. Thereafter, the electronic device 100 saves the current state 1 and the transmission group name of the group chat message 1.
Specifically, in the case that it is determined that the user is inconvenient to reply to the group chat message 1 in the current state 1, the electronic device 100 may automatically reply to the message based on the settings in the foregoing table 3, that is, the electronic device 100 may send a 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 (for example, the electronic device 200 of the group administrator), where the current state 1 is carried in the message, and is used to indicate that the group member a is inconvenient to reply to the group chat message 1 currently. Thus, the sender of the group chat message 1 (i.e. the user of the electronic device 200) and other group members in the group can know the current state of the group member a in time and know that the group member a is not convenient to reply the message currently, thereby avoiding misunderstanding caused by the group member a not replying the message in time.
For example, as shown in fig. 6H, if the current state 1 is in cycling, the electronic device 100 may automatically reply to the message "i am cycling, do not conveniently reply to the message, have something left", and display the message on the chat interface, along with the sending time of the message (e.g., 7.
Further, referring to table 6, table 6 illustrates a mapping relationship between messaging group names and current states of subscriptions. The message sending group name may be a sending group name (e.g., XX group) of the group chat message 1, and the current status of the subscription may be the current status 1. After automatically replying to the message, the electronic device 100 may save the transmission group name and the current state 1 of the group chat message 1 as shown in table 6.
Message sending group name Current state of subscription
XX group Cycling (belonging to the state classification of the "motion state")
TABLE 6
S513, the electronic device 101 sends the current status 2 of the group member a to the electronic device 100.
The specific implementation process of step S513 may refer to the related content in step S313 in the embodiment shown in fig. 3, which is not described herein again.
S514, the electronic device 100 determines that the current state 2 is different from the saved current state 1, and the group member a conveniently replies to the group chat message 1 in the current state 2.
Specifically, after the electronic device 100 receives the current state 2 sent by the electronic device 101, since the electronic device 100 already stores 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 may determine whether the current state 2 is different from the already stored current state 1, for example, if the current state 2 is a cycling end state and the already stored current state 1 is a cycling state, the electronic device 100 may determine that the current state 2 is different from the current state 1, and the electronic device 100 may determine that the group member a conveniently replies to the message in the current state 2, specifically which message/messages need to be replied, and the electronic device 100 may determine based on the mapping relationship between the recorded message sending group name and the subscribed current state. For example, the electronic device 100 may determine that the messaging 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 messaging group name and the current state of the subscription recorded in table 6, so that the electronic device 100 may determine that the group member a conveniently replies to the group chat message 1 in the current state 2.
In some embodiments, in a case that it is determined that the current state 2 is different from the saved current state 1, but the group member a still does not facilitate to reply to the group chat message 1 in the current state 2, the electronic device 100 may automatically reply to the state message carrying the current state 2 again, or may not perform any processing until it is determined that the group member a facilitates to reply to the group chat message 1 in the current state 2.
S515, the electronic device 100 sends a group member a status message 2 to the electronic device 200, where the current status 2 is carried in the message and is used to indicate that the group member a is currently convenient to reply to the group chat message 1.
Specifically, in a case that it is determined that the user is convenient to reply to the group chat message 1 in the current state 2, the electronic device 100 may automatically reply to the message based on the settings in the foregoing table 3, that is, the electronic device 100 may send a group member a status message 2 in the group, that is, send the group member a status message 2 to electronic devices (for example, the electronic device 200 of the group administrator) of all group members in the group, where the current state 2 is carried in the message, and is used for indicating that the group member a is currently convenient to reply to the group chat message 1, so as to contact the group member a in time.
For example, as shown in fig. 6H, if the current state of group member a changes from current state 1 to current state 2, e.g., from cycling state to cycling end state, the electronic device 100 may automatically reply with a message "i cycle end, soon come to contact with my bar", and display the message on the chat interface, along with the sending time of the message (e.g., 8.
It is to be understood that, as exemplarily shown in fig. 6I, after the electronic device 100 transmits the recipient status message (e.g., status message 1, status message 2) to the electronic device 200, the electronic device 200 may also display the status message, the transmission time of the status message, and the like on the chat interface.
Thus, the sender of the group chat message 1 (i.e. the user of the electronic device 200) and other group members in the group can know the state change of the group member a in time, know that the group member a is currently convenient to reply the message, and further, can autonomously determine whether to contact the group member a in time according to the urgency of the current event.
In some embodiments, the electronic device 100 triggers the step S515 to be performed after receiving the user instruction, for example, after the electronic device 100 performs the step S514, a pop-up window 450 exemplarily shown in fig. 4E may be displayed to prompt the user whether to agree to send the current status to the group, and after the user agrees (e.g., the user clicks an option 451), the electronic device 100 performs the step S515 again.
In some embodiments, the electronic device 100 may also automatically send the current status of the user of the electronic device 100 to a group that has been allowed open state subscription rights when no group chat message is received. For example, when the user of the electronic device 100 is in some emergency situations (e.g., falls, sudden illness, etc.), the electronic device 100 may automatically send the emergency to the group that has been allowed to open the emergency subscription right, so that the user of the electronic device 100 can be timely helped when an accident occurs.
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 be performed by the electronic device. For example, the electronic device may be the electronic device 100, and the electronic device 100 may perform not only the operations performed by the electronic device 100 in the above-described embodiments but also the operations performed by the electronic device 101. In this case, step S501 need not be performed.
It is easily understood that, in the case that the current status (for example, the current status 1 and the current status 2) of the group member a can be obtained by other applications on the electronic device 100 (for example, the current status of the user is obtained by schedule information recorded by an application such as a memo, a calendar, etc.), the above steps S508 to S509 may be replaced by: the electronic device 100 locally acquires the current state 1 of the group member a, and the step S513 may be replaced with: the electronic device 100 locally obtains the current state 2 of group member a.
It should be noted that the current state 1 and the current state 2 in the above embodiments are only examples of the sports health state, and are not limited thereto, and may be more other types of states (for example, eating, working, driving, making a call, entertaining, etc.), and the embodiments of the present application do not limit this.
In summary, the message reply method provided by the embodiment of the application can automatically reply the message to the current state (such as the exercise health state) of the users in the group chat scene, so that the state of the users in the group can be finely controlled and managed, and the effective communication between the users in the group is facilitated.
The above-mentioned embodiment shown in fig. 5 is a process of setting a status subscription authority by a user himself in a group chat scenario, and particularly, when the user is a child, in order to ensure privacy security of the child, a parent of the child may set the status subscription authority instead of the child. Another message reply method provided in the embodiment of the present application is described below for the case where the user is a child.
The method is also introduced by taking a group chat scene as an example, and is not limited to the group chat scene, and the method is also suitable for a single chat scene.
Fig. 7 illustrates a specific flow of another message reply method provided in an embodiment of the present application.
As shown in fig. 7, the method may be applied to a communication system including the electronic apparatus 200, the electronic apparatus 300, and the electronic apparatus 400. The chat type APPs are installed on the electronic devices 200 and 300, and the chat type APPs are supported to run, so that the receiving and sending of the messages can be realized. Meanwhile, the electronic device 300 also has the capability of monitoring exercise health data and states, and can be used for realizing real-time monitoring of user states. The electronic device 400 may be used to manage the electronic device 300. For example, electronic device 300 may be a child watch of group member B (child), electronic device 400 may be a cell phone of a parent of group member B, and APP (e.g., smart care APP) for managing electronic device 300 is installed on electronic device 400, and electronic device 200 may be a cell phone of a group administrator. The specific steps of the method are described in detail below:
stage one: stage for setting state subscription authority
S701, the electronic device 300 establishes communication connection with the electronic device 400.
Specifically, in the embodiment of the present application, the electronic device 300 may establish a communication connection with the electronic device 400 (for example, establish a communication connection by logging in the same account, and the like), and then the electronic device 300 and the electronic device 400 may perform sending and receiving of data based on the communication connection, so as to perform subsequent related steps.
S702, the electronic device 200 sends a group member status subscription broadcast message to the electronic device 300.
The specific execution process of step S702 may refer to the related contents in step S502 in the foregoing embodiment shown in fig. 5, and is not described herein again.
S703-S704, the electronic device 300 detects that the user agrees to the operation of setting the state subscription authority, and in response to the operation, the electronic device 300 sends a command of setting the state subscription authority to the electronic device 400.
Illustratively, as shown in fig. 8A, the user interface 810 displayed by the electronic device 300 may be a chat interface of a group chat name "XX group" of the chat class APP, and after the electronic device 300 receives the status subscription request initiated by the electronic device 200, the electronic device 300 may display a prompt 811 in the user interface 810 for prompting the user of the electronic device 300 that the user XXX of the electronic device 200 initiated the group member status subscription request.
If the user of electronic device 300 (i.e., group member B) wants to open status subscription rights to the group members, electronic device 300 may detect an operation of the user with respect to prompt 811 (e.g., an operation of clicking "status subscription" in prompt 811), and in response to the operation, electronic device 300 may transmit a set status subscription rights instruction to electronic device 400, the instruction instructing parents of group member B to set status subscription rights in place of group member B.
Optionally, after the user clicks "status subscribe" in prompt 811, electronic device 300 may display popup 820 as exemplarily shown in fig. 8B, which popup 820 may include prompt 821, option 822, and option 823. Prompt 821 is used to prompt the user whether to approve the parent instead of setting the status subscription rights. After the user agrees (e.g., clicking on option 822), electronic device 300 may send a set state subscription rights instruction to electronic device 400 again.
It is easily understood that the "operation that the user agrees to set the state subscription authority" described in the step S703 may include: user operation with respect to prompt 811; alternatively, the user operates on prompt 811 and the user operates on option 822.
S705-S708, the electronic device 400 sets a status subscription right instead of the group member B, and then the electronic device 400 saves the group name and the status of allowing to open, and sends the group name and the status of allowing to open to the electronic device 300, and after receiving the group name and the status of allowing to open, the electronic device 300 saves the group name and the status of allowing to open.
For example, as shown in fig. 8C, after the electronic device 400 receives the instruction for setting the status subscription authority sent by the electronic device 300, the electronic device 400 may display a popup window 830, and a prompt 831 (for example, you have a task "XX group status subscription authority setting" to be processed) may be included in the popup window 830 to prompt the user to set the status subscription authority in place of the group member B. Further, the electronic device 400 may detect an operation (e.g., a click operation) of the user with respect to the prompt 831, and in response to the operation, the electronic device 400 may display a user interface 840 as exemplarily shown in fig. 8D, where the user interface 840 may be a user interface in which the user sets a status subscription authority in place of the group member B according to the relationship between the group member B and the XX group (i.e., sets a status allowing the group member B to open into the group and an opportunity to display the status). The specific process of setting the state subscription right by the user may refer to related content in the embodiment shown in fig. 3, and is not described herein again.
The timing for setting the display state in fig. 8D may include two options: the status change automatically displays the options and automatically replies the options when sending messages to me. Under the condition that the state change automatic display option is in an 'ON' state, the state of the user can be displayed in a message mode, or in a state image mode, a state character mode and the like, so that the members in the group can view the states of other group members. The auto-reply to me when messaging option may include two sub-options: the reply option in the group and the reply option of the single chat can automatically reply in the group when the user receives the message sent by the member in the group to the user under the condition that the reply option in the group is in an 'ON' state; under the condition that the single chat reply option is in an 'ON' state, when a user receives a message sent to the user by an intra-group member, the intra-group member sending the message to the user can automatically reply to the intra-group member sending the message to the user individually. In this case, it may be supported to notify the message sender in case of conveniently replying to the message, which may be specifically referred to the relevant text description of fig. 4J.
After the user sets the status of allowing opening into the group (e.g., the user clicks on option 841), the electronic device 400 may save the group name and the status of allowing opening (e.g., the status subscription list exemplarily shown in table 5) and send the group name and the status of allowing opening to the electronic device 300, and after the electronic device 300 receives the group name and the status of allowing opening, save the group name and the status of allowing opening. Therefore, the parents can replace the children to set the state subscription authority, the privacy safety of the children can be guaranteed more effectively, and the parents can acquire the states of the children more conveniently to serve as a better guardian.
It is easily understood that in the single chat scenario, the group name in the above steps S705-S708 needs to be replaced with the message sender name, that is, in the single chat scenario, what the electronic device 400 saves and sends to the electronic device 300 is the message sender name and the state of allowing to open, and what the electronic device 300 also saves is the message sender name and the state of allowing to open.
In a possible implementation manner, in order to give the child some autonomy, the child may also set the status subscription authority autonomously, and meanwhile, in consideration of the security of the child, after the child sets autonomously each time, the electronic device may automatically notify the parent to which friend/group the child has opened/closed the status subscription authority.
Illustratively, referring to fig. 8B, the electronic device 300 may detect a user operation for option 823, and in response to the operation, the electronic device 300 may also display a user interface 840 exemplarily shown in fig. 8D, in which the user may autonomously set the state subscription rights. After the setting is completed, the electronic device 300 may send a child autonomous setting completion instruction to the electronic device 400, and after receiving the instruction, the electronic device 400 may display a popup 850 as exemplarily shown in fig. 8E, which may include a prompt 851 (e.g., "baby has opened state subscription authority to XX group") for notifying the parent that the child has opened state subscription authority to XX group.
S709, the electronic device 300 sends a feedback message 3 to the electronic device 200, where the message is used to indicate that the group member B has an open subscription right.
The specific execution process of step S709 may refer to the related content in step S505 in the embodiment shown in fig. 5, and is not described herein again.
In the above stage one, the setting of the state subscription authority by the user is persistent and can be effective all the time.
And a second stage: automatic message reply phase
S710, the electronic device 200 sends a group chat message 2 to the electronic device 300, in which the group member B is mentioned.
S711, the electronic device 300 determines that the subscription right of the state is opened to the group member based on the saved group name and the state allowed to be opened.
The specific implementation process of steps S710 to S711 may refer to the related contents in steps S506 to S507 in the embodiment shown in fig. 5, and is not repeated herein.
S712, the electronic device 300 obtains the current status 1 of the group member B.
Specifically, the electronic device 300 has the capability of monitoring the exercise health data and state, for example, the capability of monitoring the exercise health data and state can be realized through the exercise health APP, so that the exercise health APP can determine that the group member B is in the current state 1 based on the information such as the physiological data collected in real time, and send the current state 1 to the chat APP, so that the chat APP further performs the subsequent steps based on the current state 1.
The current state 1 is included in a state list in which the group member B allows the sending group of the group chat message 2 to be opened.
In some embodiments, step S712 may be performed periodically.
S713, the electronic device 300 determines that the group member B is inconvenient to reply to the group chat message 2 in the current state 1.
S714-S715, the electronic device 300 sends a group member B status message 1 to the electronic device 200, where the current status 1 is carried in the message, and is used to indicate that the group member B is currently inconvenient to reply to the group chat message 2. Thereafter, the electronic device 300 saves the current state 1 and the transmission group name of the group chat message 2.
The specific implementation process of steps S713 to S715 may refer to the related contents in steps S510 to S512 in the embodiment shown in fig. 5, and is not repeated herein.
S716, the electronic device 300 obtains the current state 2 of the group member B.
In some embodiments, step S716 may be performed periodically.
In other embodiments, the exercise health APP may send the state of the group member B to the chat APP when the state of the group member B changes. For example, when the state of the group member B changes from the current state 1 to the current state 2, the sports health class APP may send the group member B current state 2 to the chat class APP again.
It should be noted that the current state 1 and the current state 2 are only states determined based on the sports health data by the sports health APP, but are not limited to these, and may be more other types of states (for example, states of eating, working, driving, calling, entertainment, and the like) determined based on other data (position information, schedule information) by other types of APPs (for example, map type APP, schedule type APP, and the like), and the present embodiment is not limited to this.
S717, the electronic device 300 determines that the current state 2 is different from the saved current state 1, and the group member B conveniently replies to the group chat message 2 in the current state 2.
S718, the electronic device 300 sends a group member B status message 2 to the electronic device 200, where the current status 2 is carried in the message, and is used to indicate that the group member B is currently convenient to reply to the group chat message 2.
The specific execution process of steps S717 to S718 may refer to the related contents in steps S514 to S515 in the foregoing embodiment shown in fig. 5, and details are not repeated here.
In some embodiments, the electronic device 300 triggers the step S718 to be executed after receiving the user instruction, for example, after the electronic device 300 executes the step S717, a pop-up window 450 exemplarily shown in fig. 4E may be displayed to prompt the user whether to agree with the sending of the current status to the group, and after the user agrees (e.g., the user clicks on the option 451), the electronic device 300 executes the step S718 again.
In some embodiments, the electronic device 300 may also automatically send the current status of the user of the electronic device 300 to a group that has been allowed open state subscription rights when no group chat message is received. For example, when the user of the electronic device 300 is in some emergency situations (e.g., falls, sudden illness, etc.), the electronic device 300 may automatically send the emergency to the group that has been allowed to open the emergency subscription right, so that the user of the electronic device 300 can be timely helped when an accident occurs.
In some embodiments, the electronic device 300 may automatically identify social relationships between the user of the electronic device 300 and other users, e.g., a user of other electronic devices (e.g., electronic devices for managing the electronic device 300) that are bound to the same account as the electronic device 300 may identify family relationships of father, mother, etc.; for another example, the electronic device 300 may identify different social relationships of family, classmates, and the like based on the user's noted friend name/group name, and the like. Further, the electronic device 300 may display or reply to different levels of privacy states based on different social relationships. For example, for family members, the electronic device 300 may display or reply to a more detailed privacy status, such as where to do what, etc.; for another example, for classmates, friends, etc., electronic device 300 may display or reply to a lower level of privacy status, such as rough status of busy, free, etc.
The above-mentioned embodiments shown in fig. 3 to fig. 5 all describe the process of setting the status subscription authority for a single user or a single group, but are not limited thereto, and the status subscription authority may also be uniformly set for a plurality of users or a plurality of groups.
FIGS. 9A-9C are exemplary user interfaces for uniformly setting state subscription rights.
In one possible implementation, as shown in fig. 9A, the user interface 910 may be a setting interface of the chat-class APP, and the electronic device 100 may detect an operation (e.g., a click operation) performed by the user with respect to the option 911, and in response to the operation, the electronic device 100 may display a user interface 920 as exemplarily shown in fig. 9B, where the user interface may include a status subscription option 921. The electronic device 100 may detect an operation (e.g., a click operation) by the user with respect to the status subscription option 921, and in response to the operation, the electronic device 100 may display a user interface 930 as exemplarily shown in fig. 9C, which may include options 931 and 932.
Where option 931 may be for the user to add one or more users/groups that want to set state subscription rights, and option 932 may be for the user to set state subscription rights. User click option 931 may add one or more buddies/groups stored in the address book of the chat APP, and user click option 932 may enter the user interface exemplarily shown in fig. 4D to uniformly set state subscription rights for the added users/groups.
In this embodiment of the 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 a user of the first electronic device, the second user may be a user of the second electronic device, the first user status may be the current status 1, the second user status may be the current status 2, the first status message may be the status message 1, the second status message may be the status message 2, the first time may be a time for displaying the first status message (for example, "am 07" shown in fig. 4I), the second time may be a time for displaying the second status message (for example, "am 08 00" shown in fig. 4I), the chat interface may be a user interface shown in fig. 4I, fig. 4J, fig. 6H, fig. 6I, the first message may be a chat message 1, the second message may be a group chat message 1 or a group chat message 2, the first group setting interface may be XX, the second group setting interface may be a user interface shown in fig. 4D, the user feedback instruction may be a prompt of a third user feedback message shown in fig. 4D, the user feedback instruction may be a prompt feedback instruction of fig. 4D or a third status message, the user feedback instruction shown in fig. 4D.
In this embodiment, the first user status and the second user status may be detected by one or more sensors on the first electronic device, or one or more sensors on other electronic devices (e.g., the 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 by a user setting record (e.g., schedule information, physiological cycle record, etc. recorded by the user on a memo, calendar, etc. application).
The following describes a structure of an electronic device 100 according to an embodiment of the present application.
Fig. 10 schematically illustrates a structure of an electronic device 100 provided in an embodiment of the present application.
As shown in fig. 10, the electronic device 100 may include: the mobile terminal includes 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, a Subscriber Identity Module (SIM) card interface 195, and the like. 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, and the like.
It is to be understood that the illustrated structure of the embodiment of the present application does not specifically limit the electronic device 100. In other embodiments of the present application, electronic device 100 may include more or fewer components than shown, or some components may be combined, some components may be split, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 110 may include one or more processing units, such as: the processor 110 may include an Application Processor (AP), a modem processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a memory, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural-Network Processing Unit (NPU), etc. The different processing units may be separate devices or may be integrated into one or more processors.
The controller may be, among other things, a neural center and a command center of the electronic device 100. The controller can generate an operation control signal according to the instruction operation code and the timing signal to complete the control of instruction fetching and instruction execution.
A memory may also be provided in processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to use the instruction or data again, it can be called directly from the memory. Avoiding repeated accesses reduces the latency of the processor 110, thereby increasing the efficiency of the system.
In some embodiments, processor 110 may include one or more interfaces. The interface may include an integrated circuit (I2C) interface, an integrated circuit built-in audio (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.
The I2C interface is a bidirectional synchronous serial bus comprising a serial data line (SDA) and a Serial Clock Line (SCL). In some embodiments, processor 110 may include multiple sets 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, respectively. For example: the processor 110 may be coupled to the touch sensor 180K through an I2C interface, so that the processor 110 and the touch sensor 180K communicate through an I2C bus interface to implement a touch function of the electronic device 100.
The I2S interface may be used for audio communication. In some embodiments, processor 110 may include multiple sets of I2S buses. The processor 110 may be coupled to the audio module 170 through an I2S bus to enable communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 may transmit the audio signal to the wireless communication module 160 through the I2S interface, so as to implement a function of receiving a call through a bluetooth headset.
The PCM interface may 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 may be coupled by a PCM bus interface. In some embodiments, the audio module 170 may also transmit audio signals to the wireless communication module 160 through the PCM interface, so as to implement a function of answering a call through a bluetooth headset. Both the I2S interface and the PCM interface may be used for audio communication.
The UART interface is a universal serial data bus used for asynchronous communications. The bus may be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, a UART interface is generally used to connect the processor 110 with the wireless communication module 160. For example: the processor 110 communicates with a bluetooth module in the wireless communication module 160 through a UART interface to implement a bluetooth function. In some embodiments, the audio module 170 may transmit the audio signal to the wireless communication module 160 through a UART interface, so as to implement the function of playing music through a bluetooth headset.
The MIPI interface may be used to connect the processor 110 with peripheral devices such as the display screen 194, the camera 193, and the like. The MIPI interface includes a Camera Serial Interface (CSI), a Display Serial Interface (DSI), and the like. In some embodiments, processor 110 and camera 193 communicate through a CSI interface to implement the capture functionality of electronic device 100. Processor 110 and display screen 194 communicate via a DSI interface to implement display functions of electronic device 100.
The GPIO interface may be configured by software. The GPIO interface may be configured as a control signal and may also be configured as a data signal. In some embodiments, a GPIO interface may 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, and the like. The GPIO interface may also be configured as an I2C interface, I2S interface, UART interface, MIPI interface, and the like.
The USB interface 130 is an interface conforming to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 130 may be used to connect a charger to charge the electronic device 100, and may also be used to transmit data between the electronic device 100 and a peripheral device. And the earphone can also be used for connecting an earphone and playing audio through the earphone. The interface may also be used to connect other terminal devices, such as AR devices and the like.
It should be understood that the connection relationship between the modules illustrated in the embodiment of the present application is only an exemplary illustration, and does not limit the structure of the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection manners or a combination of multiple interface connection manners in the above embodiments.
The charging management module 140 is configured 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 via the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive a wireless charging input through a wireless charging coil of the electronic device 100. The charging management module 140 may also supply power to the electronic device 100 through the power management module 141 while charging the battery 142.
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 charge management module 140 and provides power to the processor 110, the internal memory 121, the external memory, the display 194, the camera 193, the wireless communication module 160, and the like. The power management module 141 may also be used to monitor parameters such as battery capacity, battery cycle count, battery state of health (leakage, impedance), etc. In some other embodiments, the power management module 141 may also be disposed in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 may be disposed in the same device.
The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 100 may be used to cover a single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution including wireless communication of 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), and the like. The mobile communication module 150 may receive the electromagnetic wave from the antenna 1, filter, amplify, etc. the received electromagnetic wave, and transmit the electromagnetic wave to the modem processor for demodulation. The mobile communication module 150 may also amplify the signal modulated by the modem processor, and convert the signal into electromagnetic wave through the antenna 1 to radiate the electromagnetic wave. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be provided in the same device as at least some of the modules of the processor 110.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating a low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then passes the demodulated low frequency baseband signal to a baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.) or displays an image or video through the display screen 194. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be provided in the same device as the mobile communication module 150 or other functional modules, independent of the processor 110.
The wireless communication module 160 may provide a solution for wireless communication applied to the electronic device 100, including Wireless Local Area Networks (WLANs) (e.g., wireless fidelity (Wi-Fi) networks), bluetooth (bluetooth, BT), global Navigation Satellite System (GNSS), frequency Modulation (FM), near Field Communication (NFC), infrared (IR), and the like. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering on electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, perform frequency modulation and amplification on the signal, and convert the signal into electromagnetic waves through the antenna 2 to radiate the electromagnetic waves.
In some embodiments, antenna 1 of electronic device 100 is coupled to mobile communication module 150 and antenna 2 is coupled to wireless communication module 160 so that electronic device 100 can communicate with networks and other devices through wireless communication techniques. The wireless communication technology may include global system for mobile communications (GSM), general Packet Radio Service (GPRS), code division multiple access (code division multiple access, CDMA), wideband Code Division Multiple Access (WCDMA), time-division code division multiple access (time-division code division multiple access, TD-SCDMA), long Term Evolution (LTE), BT, GNSS, WLAN, NFC, FM, and/or IR technologies, etc. The GNSS may include 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).
The electronic device 100 implements display functions via the GPU, the display screen 194, and the application processor. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and an 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 alter display information.
The display screen 194 is used to display images, video, and the like. The display screen 194 includes a display panel. The display panel may adopt a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (active-matrix organic light-emitting diode, AMOLED), a flexible light-emitting diode (FLED), a miniature, a Micro-oeld, a quantum dot light-emitting diode (QLED), and the like. In some embodiments, the electronic device 100 may include 1 or N display screens 194, N being a positive integer greater than 1.
The electronic device 100 may implement a shooting function through the ISP, the camera 193, the video codec, the GPU, the display 194, the application processor, and the like.
The ISP is used to process the data fed back by the camera 193. For example, when a photo is taken, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converting into an image visible to naked eyes. The ISP can also carry out algorithm optimization on the noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, the ISP may be provided in camera 193.
The camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image to the photosensitive element. The photosensitive element may be a Charge Coupled Device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The light sensing element converts the optical signal into an electrical signal, which is then passed to the ISP where it is converted into a digital image signal. And the ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into image signal in standard RGB, YUV and other formats. In some embodiments, electronic device 100 may include 1 or N cameras 193, N being a positive integer greater than 1.
The digital signal processor is used for processing digital signals, and can process digital image signals and other digital signals. For example, when the electronic device 100 selects a frequency bin, the digital signal processor is used to perform fourier transform or the like on the frequency bin energy.
Video codecs are used to compress or decompress digital video. The electronic device 100 may support one or more video codecs. In this way, the electronic device 100 may play or record video in a variety of encoding formats, such as: moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, and the like.
The NPU is a neural-network (NN) computing processor, which processes input information quickly by referring to a biological neural network structure, for example, by referring to a transfer mode between neurons of a human brain, and can also learn by itself continuously. Applications such as intelligent recognition of the electronic device 100 can be realized through the NPU, for example: image recognition, face recognition, speech recognition, text understanding, and the like.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to extend the memory capability 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. For example, files such as music, video, etc. are saved in an external memory card.
The internal memory 121 may be used to store computer-executable program code, which includes instructions. The processor 110 executes various functional applications of the electronic device 100 and data processing by executing instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. The storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, and the like) required by at least one function, and the like. The storage data area may store data (such as audio data, phone book, etc.) created during use of the electronic device 100, and the like. In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (UFS), and the like.
The electronic device 100 may implement audio functions via the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone interface 170D, and the application processor. Such as music playing, recording, etc.
The audio module 170 is used to convert digital audio information into analog audio signals for output, and also used to convert analog audio inputs into digital audio signals. The audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be disposed in the processor 110, or some functional modules of the audio module 170 may be disposed in the processor 110.
The speaker 170A, also called a "horn", is used to convert the audio electrical signal into a sound signal. The electronic apparatus 100 can listen to music through the speaker 170A or listen to a handsfree call.
The receiver 170B, also called "earpiece", is used to convert the electrical audio signal into an acoustic signal. When the electronic apparatus 100 receives a call or voice information, it can receive voice by placing the receiver 170B close to the ear of the person.
The microphone 170C, also referred to as a "microphone," is used to convert sound signals into electrical signals. When making a call or transmitting voice information, the user can input a voice signal to the microphone 170C by speaking near the microphone 170C through the mouth. The electronic device 100 may be provided with at least one microphone 170C. In other embodiments, the electronic device 100 may be provided with two microphones 170C to achieve a noise reduction function in addition to collecting sound signals. In other embodiments, the electronic device 100 may further include three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, perform directional recording, and so on.
The earphone interface 170D is used to connect a wired earphone. The headset interface 170D may be the USB interface 130, or may be an Open Mobile Terminal Platform (OMTP) standard interface of 3.5mm, or a cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
The pressure sensor 180A is used for sensing a pressure signal, and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194. The pressure sensor 180A can be of a wide variety, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, and the like. The capacitive pressure sensor may be a sensor comprising at least two parallel plates having an electrically conductive material. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the strength of the pressure from the change in capacitance. When a touch operation is applied to the display screen 194, the electronic device 100 detects the intensity of the touch operation according to the pressure sensor 180A. The electronic apparatus 100 may also calculate the touched position from the detection signal of the pressure sensor 180A. In some embodiments, the touch operations that are applied to the same touch position but different touch operation intensities may correspond to different operation instructions. For example: and when the touch operation with the touch operation intensity smaller than the first pressure threshold value acts on the short message application icon, executing an instruction for viewing the short message. And when the touch operation with the touch operation intensity larger than or equal to the first pressure threshold value acts on the short message application icon, executing an instruction of newly building the short message.
The gyro sensor 180B may be used to determine the motion attitude of the electronic device 100. In some embodiments, the angular velocity of electronic device 100 about three axes (i.e., the x, y, and z axes) may be determined by gyroscope sensor 180B. The gyro sensor 180B may be used for photographing anti-shake. For example, when the shutter is pressed, the gyro sensor 180B detects a shake angle of the electronic device 100, calculates a distance to be compensated for by the lens module according to the shake angle, and allows the lens to counteract the shake of the electronic device 100 through a reverse movement, thereby achieving anti-shake. The gyroscope sensor 180B may also be used for navigation, somatosensory gaming scenes.
The air pressure sensor 180C is used to measure air pressure. In some embodiments, electronic device 100 calculates altitude, aiding in positioning and navigation, from barometric pressure values measured by barometric pressure sensor 180C.
The magnetic sensor 180D includes a hall sensor. The electronic device 100 may detect the opening and closing of the flip holster using the magnetic sensor 180D. In some embodiments, when the electronic device 100 is a flip phone, the electronic device 100 may detect the opening and closing of the flip according to the magnetic sensor 180D. And then according to the detected opening and closing state of the leather sheath or the opening and closing state of the flip, the characteristics of automatic unlocking of the flip and the like are set.
The acceleration sensor 180E may detect the magnitude of acceleration of the electronic device 100 in various directions (typically three axes). The magnitude and direction of gravity may be detected when the electronic device 100 is stationary. The method can also be used for identifying the posture of the electronic equipment 100, and is applied to horizontal and vertical screen switching, pedometers and other applications.
A distance sensor 180F for measuring a distance. The electronic device 100 may measure the distance by infrared or laser. In some embodiments, taking a picture of a scene, electronic device 100 may utilize range sensor 180F to range for fast focus.
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 to the outside through the light emitting diode. The electronic device 100 detects infrared reflected light from a nearby object using a photodiode. 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 may determine that there are no objects near the electronic device 100. The electronic device 100 can utilize the proximity light sensor 180G to detect that the user holds the electronic device 100 close to the ear for talking, so as to automatically turn off the screen to achieve the purpose of saving power. The proximity light sensor 180G can also be used in a holster mode, a pocket mode automatically unlocks and locks the screen.
The ambient light sensor 180L is used to sense the ambient light level. Electronic device 100 may adaptively adjust the brightness of display screen 194 based on the perceived ambient light level. The ambient light sensor 180L may also be used to automatically adjust the white balance when taking a picture. The ambient light sensor 180L may also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in a pocket to prevent accidental touches.
The fingerprint sensor 180H is used to collect a fingerprint. The electronic device 100 can utilize the collected fingerprint characteristics to unlock the fingerprint, access the application lock, photograph the fingerprint, answer an incoming call with the fingerprint, and so on.
The temperature sensor 180J is used to detect temperature. In some embodiments, electronic device 100 implements a temperature processing strategy using the temperature detected by temperature sensor 180J. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the electronic device 100 performs a reduction in performance of a processor located near the temperature sensor 180J, so as to reduce power consumption and implement thermal protection. In other embodiments, the electronic device 100 heats the battery 142 when the temperature is below another threshold to avoid the low temperature causing the electronic device 100 to shut down abnormally. In other embodiments, when the temperature is lower than a further threshold, the electronic device 100 performs boosting on the output voltage of the battery 142 to avoid abnormal shutdown due to low temperature.
The touch sensor 180K is also referred to as a "touch panel". The touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen". The touch sensor 180K is used to detect a touch operation applied thereto or nearby. The touch sensor can communicate the detected touch operation to the application processor to determine the touch event type. Visual output associated with the touch operation may be provided via the display screen 194. In other embodiments, the touch sensor 180K may be disposed on a surface of the electronic device 100, different from the position of the display screen 194.
The bone conduction sensor 180M may acquire a vibration signal. In some embodiments, the bone conduction sensor 180M may acquire a vibration signal of the human voice vibrating a bone mass. The bone conduction sensor 180M may also contact the human body pulse to receive the blood pressure pulsation signal. In some embodiments, the bone conduction sensor 180M may also be disposed in a headset, integrated into a bone conduction headset. The audio module 170 may analyze a voice signal based on the vibration signal of the bone mass vibrated by the sound part acquired by the bone conduction sensor 180M, so as to implement a voice function. The application processor can analyze heart rate information based on the blood pressure beating signal acquired by the bone conduction sensor 180M, so as to realize the heart rate detection function.
The keys 190 include a power-on key, a volume key, and the like. The keys 190 may be mechanical keys. Or may be touch keys. The electronic apparatus 100 may receive a key input, and generate a key signal input related to user setting and function control of the electronic apparatus 100.
The motor 191 may generate a vibration cue. The motor 191 may be used for incoming call vibration cues, as well as for touch vibration feedback. For example, touch operations applied to different applications (e.g., photographing, audio playing, etc.) may correspond to different vibration feedback effects. The motor 191 may also respond to different vibration feedback effects for touch operations applied to different areas of the display screen 194. Different application scenes (such as time reminding, receiving information, alarm clock, game and the like) can also correspond to different vibration feedback effects. The touch vibration feedback effect may also support customization.
Indicator 192 may be an indicator light that may be used to indicate a state of charge, a change in charge, or a message, missed call, notification, etc.
The SIM card interface 195 is used to connect a SIM card. The SIM card can be brought into and out of contact with the electronic apparatus 100 by being inserted into the SIM card interface 195 or being pulled out of the SIM card interface 195. The electronic device 100 may support 1 or N SIM card interfaces, N being a positive integer greater than 1. The SIM card interface 195 may support a Nano SIM card, a Micro SIM card, a SIM card, etc. The same SIM card interface 195 can be inserted with multiple cards at the same time. The types of the plurality of cards may be the same or different. The SIM card interface 195 may also be compatible with different types of SIM cards. The SIM card interface 195 is also compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to implement functions such as communication and data communication. In some embodiments, the electronic device 100 employs esims, namely: an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.
It should be understood that the electronic device 100 shown in fig. 10 is merely an example, and that the electronic device 100 may have more or fewer components than shown in fig. 10, may combine two or more components, or may have a different configuration of components. The various components shown in fig. 10 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.
The structures of other electronic devices (e.g., the electronic device 101, the electronic device 200, the electronic device 300, the electronic device 400, etc.) included in the communication system are the same as or similar to the structure of the electronic device 100, and related contents of the structures may be described with reference to the related texts of the structure of the electronic device 100 shown in fig. 10, which are not described again here.
A software structure of an electronic device 100 provided in an embodiment of the present application is described below.
Fig. 11 illustrates a software structure of an electronic device 100 provided in an embodiment of the present application.
As shown in fig. 11, the software system of the electronic device 100 may adopt a hierarchical architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. The embodiment of the present application takes an Android system with a layered architecture as an example, and exemplarily illustrates a software structure of the electronic device 100.
The layered architecture divides the software into several layers, each layer having a clear role and division of labor. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, an application layer, an application framework layer, an Android runtime (Android runtime) and system library, and a kernel layer from top to bottom.
The application layer may include a series of application packages.
As shown in fig. 11, the application package may include camera, gallery, calendar, call, map, chat, WLAN, bluetooth, music, video, short message, etc. applications. Wherein, the "chat" application program can be the chat APP mentioned in the foregoing embodiments.
The application framework layer provides an Application Programming Interface (API) and a programming framework for the application program of the application layer. The application framework layer includes a number of predefined functions.
As shown in FIG. 11, the application framework layer may include a window manager, content provider, view system, phone manager, resource manager, notification manager, status service module, and the like.
The window manager is used for managing window programs. The window manager can obtain the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like.
The content provider is used to store and retrieve data and make it accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
The view system includes visual controls such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, the display interface including the short message notification icon may include a view for displaying text and a view for displaying pictures.
The phone manager is used to provide communication functions of the electronic device 100. Such as management of call status (including on, off, etc.).
The resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and the like.
The notification manager enables the application to display notification information in the status bar, can be used to convey notification-type messages, can disappear automatically after a short dwell, and does not require user interaction. Such as a notification manager used to notify download completion, message alerts, etc. The notification manager may also be a notification that appears in the form of a chart or scrollbar text in a status bar at the top of the system, such as a notification of a running application in the background, or a notification that appears on the screen in the form of a dialog window. For example, prompting text information in the status bar, sounding a prompt tone, vibrating the electronic device, flashing an indicator light, etc.
The state service module may be configured to obtain a current state of the user (for example, may obtain the current state of the user from another device or another APP), send the obtained current state of the user to the chat-class application, store the current state of the user and a name of a sender of the chat message, and the like.
In some embodiments, the presence service module may also be integrated in the "chat" application described above, i.e., the application framework layer may not include the presence service module, but rather include the presence service module in the "chat" application.
The Android Runtime comprises a core library and a virtual machine. The Android runtime is responsible for scheduling and managing an Android system.
The core library comprises two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. And executing java files of the application program layer and the application program framework layer into a binary file by the virtual machine. The virtual machine is used for performing the functions of object life cycle management, stack management, thread management, safety and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface managers (surface managers), media Libraries (Media Libraries), three-dimensional graphics processing Libraries (e.g., openGL ES), 2D graphics engines (e.g., SGL), and the like.
The surface manager is used to manage the display subsystem and provide fusion of 2D and 3D layers for multiple applications.
The media library supports a variety of commonly used audio, video format playback and recording, and still image files, among others. The media library may support a variety of audio-video encoding formats, such as MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, and the like.
The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like.
The 2D graphics engine is a drawing engine for 2D drawing.
The kernel layer is a layer between hardware and software. The inner nuclear layer at least comprises a display driver, a camera driver, a Bluetooth driver and a sensor driver.
The following describes exemplary workflow of the software and hardware of the electronic device 100 in connection with capturing a photo scene.
When the touch sensor 180K receives a touch operation, a corresponding hardware interrupt is issued to the kernel layer. The kernel layer processes the touch operation into an original input event (including touch coordinates, a time stamp of the touch operation, and other information). The raw input events are stored at the kernel layer. And the application program framework layer acquires the original input event from the kernel layer and identifies the control corresponding to the input event. Taking the touch operation as a touch click operation, and taking a control corresponding to the click operation as a control of a camera application icon as an example, the camera application calls an interface of an application framework layer, starts the camera application, further starts a camera drive by calling a kernel layer, and captures a still image or a video through the camera 193.
The software structures of other electronic devices (e.g., the electronic device 101, the electronic device 200, the electronic device 300, the electronic device 400, etc.) included in the foregoing communication system may be the same as or similar to the software structure of the electronic device 100, and the related contents of the software structures may refer to the description of the relevant words of the software structure of the electronic device 100 shown in fig. 11, which is not described herein again.
The following describes another structure of the electronic device 100 according to the embodiment of the present application.
Fig. 12 exemplarily shows a structure of another electronic apparatus 100 provided in the embodiment of the present application.
As shown in fig. 12, the electronic device 100 may include: chat-class application 1201, status service module 1202.
Chat-class application 1201 may be used for receiving and sending chat messages, setting status subscription rights, and the like.
The state service module 1202 may be configured to obtain a current state of the user, send the obtained current state of the user to the chat application 1201, store the current state of the user and a name of a sender of the chat message, and the like.
In one possible implementation, the state service module 1202 may also be integrated in the chat-class application 1201.
In one possible implementation, the state service module 1202 may also be a device independent from the electronic device 100, for example, the state service module 1202 may be a server.
Optionally, the electronic device 100 may further include a state monitoring module 1203 (e.g., an exercise health APP, etc.), which may have a monitoring capability of exercise health data and states, and is configured to implement real-time monitoring of the user state. In this case, the electronic device 100 may simultaneously support the chat-type APP running and the exercise health data and status monitoring capability, that is, the operations performed by the electronic device 100 and the electronic device 101 in the foregoing embodiments may be performed only by the electronic device 100.
For more details on the functions and working principles of the electronic device 100, reference may be made to the relevant contents in the above embodiments, which are not described herein again.
The structures of other electronic devices (e.g., the electronic device 101, the electronic device 200, the electronic device 300, the electronic device 400, etc.) included in the foregoing communication system may be the same as or similar to the structure of the electronic device 100, and further details of functions and working principles of the modules thereof may refer to relevant contents in the foregoing embodiments, and are not repeated herein.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may 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 procedures or functions described in accordance with the present application are generated, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (e.g., coaxial cable, fiber optic, digital subscriber line) or wirelessly (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a Solid State Disk (SSD)), among others.
One of ordinary skill in the art will appreciate that all or part of the processes in the methods of the above embodiments may be implemented by hardware related to instructions of a computer program, which may be stored in a computer-readable storage medium, and when executed, may include the processes of the above method embodiments. And the aforementioned storage medium includes: various media capable of storing program codes, such as ROM or RAM, magnetic or optical disks, etc.
The above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and these modifications or substitutions do not depart from the scope of the technical solutions of the embodiments of the present application.

Claims (21)

1. A message reply method applied to a communication system comprising a first electronic device and a second electronic device is characterized by comprising the following steps:
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 second electronic equipment displays a chat interface of the first user and a second user, wherein a first status message from the first user at the first time is displayed in the chat interface, and the first status message is used for indicating that the first user is in the first user state at the first time; the first electronic equipment displays the chat interfaces of the first user and the second user, wherein the first status message sent to the second user at the first time is displayed in the chat interfaces;
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 second electronic equipment displays the chat interface of the first user and the second user, wherein a second status message from the first user at the second time is displayed in the chat interface, and the second status message is used for indicating that the first user is in the second user state at the second time; the first electronic equipment displays the chat interfaces of the first user and the second user, and the second state message sent to the second user at the second time is displayed in the chat interfaces;
wherein the first user state is different from the second user state.
2. The method of claim 1, wherein before the second electronic device displays the chat interface of the first user and the second user, the method further comprises:
the first electronic equipment receives a first message sent by the second electronic equipment, wherein the first message is a chat message of the first user and the second user;
or the like, or, alternatively,
the first electronic device receives a second message sent by the second electronic device, wherein the second message is a group chat message in a first group, and the second message comprises a user name of the first user.
3. The method of claim 1 or 2, wherein before the second electronic device displays the chat interface of the first user and the second user, the method further comprises:
the first electronic device displays a state subscription request, wherein the state subscription request is used for indicating the first electronic device to set a state subscription authority, and the state subscription request is sent by the second electronic device or generated by the first electronic device;
or the like, or a combination thereof,
the first electronic device displays a group member status subscription broadcast message, wherein the group member status subscription broadcast message is used for indicating that the first electronic device sets status subscription permission, and the group member status subscription broadcast message is sent by the second electronic device or generated by the first electronic device.
4. The method of claim 3, further comprising:
detecting the operation of a user for the state subscription request, displaying a first setting interface by the first electronic device, wherein the first setting interface comprises one or more options for setting the state subscription authority of the second user, detecting the one or more options for setting the state subscription authority of the second user by the first electronic device, and storing the state subscription authority information of the second user and the user name of the second user by the first electronic device;
or the like, or a combination thereof,
detecting an operation of broadcasting a message aiming at the state of the group member, displaying a second setting interface by the first electronic device, wherein the second setting interface comprises one or more options for setting the state subscription authority of the first group, the first electronic device detects the one or more options for setting the state subscription authority of the first group by a user, and the first electronic device stores the state subscription authority information of the first group and the group name of the first group;
the state authority subscription information of the second user and the state authority subscription information of the first group comprise the first user state and the second user state.
5. The method of claim 3, wherein the communication system further comprises a third electronic device, and wherein the method further comprises:
detecting the operation of a user for the state subscription request or the operation for the state broadcast message of the group member;
the first electronic equipment sends a first instruction to the third electronic equipment, wherein the first instruction is used for indicating the third electronic equipment to replace the first user to set a state subscription authority;
the third electronic equipment detects the operation of setting the state subscription authority by the user;
the third electronic equipment stores and sends first information to the first electronic equipment;
and the first electronic equipment receives and stores the first information, wherein the first information is the state subscription authority information of the second user and the user name of the second user, or the state subscription authority information of the first group and the group name of the first group.
6. The method of any of claims 1-5, wherein prior to the second electronic device displaying the chat interface of the first user and the second user, the method further comprises:
the first electronic device detects that the first user state is different from the second user state at the second time through the sensor, wherein the sensor is one or more sensors on the first electronic device or one or more sensors on an electronic device connected with the first electronic device;
or the like, or, alternatively,
and the first electronic equipment determines that the first user state is different from the second user state through the user setting record at the second time.
7. The method of claim 6, wherein before the second electronic device displays the chat interface of the first user and the second user, the method further comprises:
the first electronic equipment displays a first prompt, and the first prompt is used for prompting a user whether to send the second state message to the second electronic equipment;
the first electronic device detects an operation of sending the second status message to the second electronic device by the user's intention.
8. The method according to any one of claims 4-7, further comprising:
the first electronic device sends a feedback message to the second electronic device, wherein the feedback message is used for indicating that the first user opens a state subscription authority to the second user or the group members in the first group.
9. The method of any of claims 4-8, wherein prior to the second electronic device displaying the chat interface of the first user and the second user, the method further comprises:
the first electronic equipment determines that the state subscription authority has been opened to the second user based on the saved state subscription authority information of the second user and the user name of the second user;
or the like, or a combination thereof,
the first electronic equipment determines that the state subscription authority is opened to group members in the first group based on the saved state subscription authority information of the first group and the group name of the first group.
10. The method according to any one of claims 1-9, characterized in that the method comprises:
the second electronic equipment displays a second prompt, wherein the second prompt is used for prompting a user whether to inform the second user when the first user is in the second user state;
the second electronic equipment detects the operation of the user consent notification;
and the second electronic equipment sends a second instruction to the first electronic equipment, wherein the second instruction is used for indicating the first electronic equipment to send the second state message to the second electronic equipment when the first user is in the second user state.
11. A message reply method is applied to a first electronic device, and is characterized by comprising the following steps:
the first electronic equipment 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 equipment displays a chat interface between the first user and a second user, wherein a first status message sent to the second user at the first time is displayed in the chat interface, and the first status message is used for indicating that the first user is in the first user state at the first time; the second electronic device displays the chat interfaces of the first user and the second user, and the first status message from the first user at the first time is displayed in the chat interfaces;
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, a second status message sent to the second user at the second time is displayed in the chat interface, and the second status message is used for indicating that the first user is in the second user status at the second time; the second electronic device displays the chat interfaces of the first user and the second user, and the second status message from the first user at the second time is displayed in the chat interfaces;
wherein the first user state is different from the second user state.
12. The method of claim 11, wherein before the first electronic device displays the chat interface of the first user and the second user, the method further comprises:
the first electronic equipment receives a first message sent by the second electronic equipment, wherein the first message is a chat message between the first user and the second user;
or the like, or a combination thereof,
the first electronic device receives a second message sent by the second electronic device, wherein the second message is a group chat message in a first group, and the second message comprises a user name of the first user.
13. The method of claim 11 or 12, wherein before the first electronic device displays the chat interface of the first user and the second user, the method further comprises:
the first electronic equipment displays a state subscription request, wherein the state subscription request is used for indicating the first electronic equipment to set a state subscription authority, and the state subscription request is sent by the second electronic equipment or generated by the first electronic equipment;
or the like, or, alternatively,
the first electronic device displays a group member status subscription broadcast message, wherein the group member status subscription broadcast message is used for indicating that the first electronic device sets status subscription authority, and the group member status subscription broadcast message is sent by the second electronic device or generated by the first electronic device.
14. The method of claim 13, further comprising:
detecting an operation of a user for the state subscription request, displaying a first setting interface by the first electronic device, wherein the first setting interface comprises one or more options for setting state subscription authority of the second user, detecting the one or more options for setting the state subscription authority of the second user by the first electronic device, and storing state subscription authority information of the second user and a user name of the second user by the first electronic device;
or the like, or a combination thereof,
detecting an operation of broadcasting a message aiming at the state of the group member, displaying a second setting interface by the first electronic device, wherein the second setting interface comprises one or more options for setting the state subscription authority of the first group, the first electronic device detects the one or more options for setting the state subscription authority of the first group by a user, and the first electronic device stores the state subscription authority information of the first group and the group name of the first group;
the state authority subscription information of the second user and the state subscription authority information of the first group comprise the first user state and the second user state.
15. The method of claim 13, further comprising:
detecting the operation of a user for the state subscription request or the operation for the state broadcast message of the group member;
the first electronic equipment sends a first instruction to third electronic equipment, wherein the first instruction is used for indicating the third electronic equipment to replace the first user to set a state subscription authority;
and the first electronic equipment receives and stores first information sent by the third electronic equipment, wherein the first information is the state subscription authority information of the second user and the user name of the second user, or the state subscription authority information of the first group and the group name of the first group.
16. The method of any of claims 11-15, wherein prior to the first electronic device displaying the chat interface of the first user and the second user, the method further comprises:
the first electronic device detects that the first user state is different from the second user state at the second time through the sensor, wherein the sensor is one or more sensors on the first electronic device or one or more sensors on an electronic device connected with the first electronic device;
or the like, or, alternatively,
and the first electronic equipment determines that the first user state is different from the second user state through the user setting record at the second time.
17. The method of claim 16, wherein prior to the first electronic device displaying the chat interface of the first user and the second user, the method further comprises:
the first electronic equipment displays a first prompt, wherein the first prompt is used for prompting a user whether to send the second status message to the second electronic equipment;
the first electronic device detects an operation of sending the second status message to the second electronic device by user's intention.
18. The method according to any one of claims 14-17, further comprising:
the first electronic device sends a feedback message to the second electronic device, wherein the feedback message is used for indicating that the first user opens a state subscription authority to the second user or the group members in the first group.
19. The method of any of claims 14-18, wherein prior to the first electronic device displaying the chat interface of the first user with the second user, the method further comprises:
the first electronic equipment determines that the state subscription authority has been opened to the second user based on the saved state subscription authority information of the second user and the user name of the second user;
or the like, or a combination thereof,
the first electronic device determines that the state subscription authority has been opened to group members in the first group based on the saved state subscription authority information of the first group and the group name of the first group.
20. 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 for storing computer program code, the computer program code comprising computer instructions that, when executed by the one or more processors, cause the electronic device to perform the method of any of claims 11-19.
21. A computer storage medium, characterized in that it stores a computer program comprising program instructions which, when run on an electronic device, cause the electronic device to perform the method of any of claims 11-19.
CN202111157550.0A 2021-09-28 2021-09-28 Message reply method and related equipment Pending CN115883714A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111157550.0A CN115883714A (en) 2021-09-28 2021-09-28 Message reply method and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111157550.0A CN115883714A (en) 2021-09-28 2021-09-28 Message reply method and related equipment

Publications (1)

Publication Number Publication Date
CN115883714A true CN115883714A (en) 2023-03-31

Family

ID=85756606

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111157550.0A Pending CN115883714A (en) 2021-09-28 2021-09-28 Message reply method and related equipment

Country Status (1)

Country Link
CN (1) CN115883714A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103596145A (en) * 2013-11-08 2014-02-19 小米科技有限责任公司 Information automatic responding method, device and terminal equipment
CN106961384A (en) * 2017-03-06 2017-07-18 宇龙计算机通信科技(深圳)有限公司 A kind of message treatment method and electronic equipment
CN107026941A (en) * 2017-05-26 2017-08-08 北京小米移动软件有限公司 The reply treating method and apparatus of unread message
CN110784393A (en) * 2019-10-25 2020-02-11 上海连尚网络科技有限公司 Automatic message reply method and device
CN111901483A (en) * 2020-07-30 2020-11-06 维沃移动通信有限公司 Control method and electronic device
CN112565519A (en) * 2020-11-30 2021-03-26 Oppo(重庆)智能科技有限公司 Message reminding method and device and electronic equipment
CN113037932A (en) * 2021-02-26 2021-06-25 北京百度网讯科技有限公司 Reply message generation method and device, electronic equipment and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103596145A (en) * 2013-11-08 2014-02-19 小米科技有限责任公司 Information automatic responding method, device and terminal equipment
CN106961384A (en) * 2017-03-06 2017-07-18 宇龙计算机通信科技(深圳)有限公司 A kind of message treatment method and electronic equipment
CN107026941A (en) * 2017-05-26 2017-08-08 北京小米移动软件有限公司 The reply treating method and apparatus of unread message
CN110784393A (en) * 2019-10-25 2020-02-11 上海连尚网络科技有限公司 Automatic message reply method and device
CN111901483A (en) * 2020-07-30 2020-11-06 维沃移动通信有限公司 Control method and electronic device
CN112565519A (en) * 2020-11-30 2021-03-26 Oppo(重庆)智能科技有限公司 Message reminding method and device and electronic equipment
CN113037932A (en) * 2021-02-26 2021-06-25 北京百度网讯科技有限公司 Reply message generation method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
WO2021052263A1 (en) Voice assistant display method and device
CN110114747B (en) Notification processing method and electronic equipment
CN111650840B (en) Intelligent household scene arranging method and terminal
CN112399390B (en) Bluetooth connection method and related device
CN110401767B (en) Information processing method and apparatus
CN114173204A (en) Message prompting method, electronic equipment and system
WO2021000817A1 (en) Ambient sound processing method and related device
WO2021037146A1 (en) File sharing method and device for mobile terminal
CN114173000B (en) Method, electronic equipment and system for replying message and storage medium
CN113747374B (en) Message pushing method and device
EP4187872A1 (en) Task processing method and related electronic device
WO2023015963A1 (en) File management method, electronic device, and computer-readable storage medium
CN113452945A (en) Method and device for sharing application interface, electronic equipment and readable storage medium
CN113689171A (en) Method and device for fusing family schedules
CN114115770A (en) Display control method and related device
WO2022088964A1 (en) Control method and apparatus for electronic device
CN114064160A (en) Application icon layout method and related device
CN110191223B (en) Method for adding mail contact and electronic equipment
CN115883714A (en) Message reply method and related equipment
WO2020062308A1 (en) Location information processing method and related device
CN116708630B (en) Alarm clock setting method and terminal equipment
CN114520887B (en) Video call background switching method and first terminal equipment
WO2022052767A1 (en) Method for controlling device, electronic device, and system
WO2022042774A1 (en) Profile picture display method and electronic device
CN115243235A (en) Data transmission method and related equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination