Nothing Special   »   [go: up one dir, main page]

CN115883714B - Message reply method and related equipment - Google Patents

Message reply method and related equipment Download PDF

Info

Publication number
CN115883714B
CN115883714B CN202111157550.0A CN202111157550A CN115883714B CN 115883714 B CN115883714 B CN 115883714B CN 202111157550 A CN202111157550 A CN 202111157550A CN 115883714 B CN115883714 B CN 115883714B
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.)
Active
Application number
CN202111157550.0A
Other languages
Chinese (zh)
Other versions
CN115883714A (en
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/CN115883714B/en
Publication of CN115883714A publication Critical patent/CN115883714A/en
Application granted granted Critical
Publication of CN115883714B publication Critical patent/CN115883714B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

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

Abstract

The application discloses a message reply method and related equipment, wherein an electronic device can acquire the current state (such as the states of sports, sleeping 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 inconvenient to reply to the message based on the current state of the user, the electronic equipment can automatically reply to the message containing the current state of the user to indicate that the user is inconvenient to reply to the message; and then when the electronic equipment determines the current convenient reply message of the user 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 the current convenient reply message of the user, and the message sender can be contacted with the user. Therefore, on the premise of ensuring the privacy safety of the user, the electronic equipment can automatically reply to 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 related devices.
Background
With the popularization of intelligent 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 among people is mainly to send and receive messages through chat software.
While the message brings convenience to people, unnecessary troubles are often caused by non-real-time performance, such as the sender sends the message to the receiver, and in the case that the receiver is inconvenient to reply to the message (for example, the receiver is in a sport, sleeps, meetings, driving, etc.), the sender cannot know the state of the receiver, and does not know whether the receiver is intentionally not replying to the message or is really inconvenient to reply to the message, so that unnecessary misunderstanding may 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, where 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 second electronic device displays a chat interface between the first user and the 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 device displays the chat interface between the first user and the second user, and the chat interface displays the first status message sent to the second user at the first time; the first electronic device detects that the first user is in 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 device displays the chat interface of the first user and the second user, wherein a second state message from the first user at the second time is displayed in the chat interface, and the second state message is used for indicating that the first user is in the second user state at the second time; the first electronic device displays the chat interface between the first user and the second user, and the chat interface displays the second status message sent to the second user at the second time; wherein the first user state is different from the second user state.
According to the message reply method provided by the embodiment of the application, the electronic equipment can acquire the current state (such as the states of sports, sleeping 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 inconvenient to reply to the message based on the current state of the user, the electronic equipment can automatically reply to the message containing the current state of the user to indicate that the user is inconvenient to reply to the message; and then, when the electronic equipment determines the current convenient reply message of the user 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 the current convenient reply message of the user, 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 to 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, 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 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 equipment receives a second message sent by the second electronic equipment, wherein the second message is a group chat message in a first group, and the second message comprises the user name of the first user.
In this way, the electronic device can be triggered to reply to the state message under the condition of receiving the single chat message/group chat message, so that the second user can timely acquire the current state of the first user.
In one possible implementation, before the second electronic device displays the chat interface of the first user and the second user, the method further includes: the first electronic device displays a status subscription request, wherein the status subscription request is used for indicating the first electronic device to set status subscription authority, and the status subscription request is sent by the second electronic device or generated by the first electronic device; or, the first electronic device displays a group member status subscription broadcast message, where the group member status subscription broadcast message is used to instruct the first electronic device to set status subscription rights, 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 make status subscription authority settings by sending/generating status subscription requests.
In one possible implementation, the method further includes: detecting an operation of a user aiming at the state subscription request, wherein the first electronic equipment displays a first setting interface, the first setting interface comprises one or more options for setting the state subscription authority of the second user, the first electronic equipment detects the option of the user aiming at the one or more state subscription authorities of the second user, and the first electronic equipment stores the state subscription authority information of the second user and the user name of the second user; or detecting an operation of broadcasting a message aiming at the status of the group members, the first electronic equipment displays a second setting interface, wherein the second setting interface comprises one or more options for setting the status subscription authority of the first group, the first electronic equipment detects an option of a user aiming at the one or more status subscription authorities of the first group, and the first electronic equipment stores the status subscription authority information of the first group and the group name of the first group; the state subscription authority 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 this way, the user can set state subscription rights on the local machine.
In one possible implementation, the communication system further includes a third electronic device, and the method further includes: detecting an operation of a user for the state subscription request or an operation of broadcasting a message for the group member state; the first electronic device sends a first instruction to the third electronic device, wherein the first instruction is used for indicating the third electronic device to replace the first user to set state subscription permission; the third electronic equipment detects the operation of setting state subscription permission by a user; the third electronic equipment stores and sends first information to the first electronic equipment; 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 set state subscription permission, and safety is provided.
In one possible implementation, before the second electronic device displays the chat interface of 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 through the sensor at the second time, 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 that the first user state is different from the second user state through the user setting record at the second time.
In this way, the electronic equipment can be triggered to reply to 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 timely acquire the current state of the first user.
In one possible implementation, before the second electronic device displays the chat interface of the first user and the second user, the method further includes: the first electronic device 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 device; the first electronic device detects an operation that a user agrees to send the second status message to the second electronic device.
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 has opened state subscription rights to the second user or group members in the first group.
Thus, the opposite party can know that the first user has subscribed to the permission from the open state.
In one possible implementation, before the second electronic device displays the chat interface of the first user and the second user, the method further includes: the first electronic device determines that the state subscription authority is opened to the second user based on the stored 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 is opened to the 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 device displays a second prompt, wherein the second prompt is used for prompting a user whether to notify the second user when the first user is in the second user state; the second electronic equipment detects the operation of the user agreeing to the notification; the second electronic device sends a second instruction to the first electronic device, and the second instruction is used for indicating the first electronic device to send the second status message to the second electronic device when the first user is in the second user state.
In this way, the second user may actively subscribe to the second user state of the first user in order to timely notify the second user if the first user is in the second user state.
In one possible implementation, after the second electronic device displays the chat interface of the first user and the second user, the method further includes: the first electronic device displays a third prompt, wherein the third prompt is used for prompting a user whether to withdraw the second state message; the first electronic device detects an operation of withdrawing the second status message by a user; the first electronic device and the second electronic device do not display the second status message.
In one possible implementation, 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 stores 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, applied to a first electronic device, where 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 device displays a chat interface between the first user and the second user, wherein a first state message sent to the second user at the first time is displayed in the chat interface, and the first state 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 interface of the first user and the second user, and the chat interface displays the first status message from the first user at the first time; the first electronic device detects that the first user is in a second user state through the sensor at a second time, or determines that the first user is in the second user state through the user setting record; the first electronic device displays the chat interface between the first user and the second user, wherein a second state message sent to the second user at the second time is displayed in the chat interface, and the second state 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 of the first user and the second user, and the chat interface displays the second status message from the first user at the second time; wherein the first user state is different from the second user state.
In one possible implementation, 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 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 equipment receives a second message sent by the second electronic equipment, wherein the second message is a group chat message in a first group, and the second message comprises the user name of the first user.
In one possible implementation, before the first electronic device displays the chat interface of the first user and the second user, the method further includes: the first electronic device displays a status subscription request, wherein the status subscription request is used for indicating the first electronic device to set status subscription authority, and the status subscription request is sent by the second electronic device or generated by the first electronic device; or, the first electronic device displays a group member status subscription broadcast message, where the group member status subscription broadcast message is used to instruct the first electronic device to set status subscription rights, 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 aiming at the state subscription request, wherein the first electronic equipment displays a first setting interface, the first setting interface comprises one or more options for setting the state subscription authority of the second user, the first electronic equipment detects the option of the user aiming at the one or more state subscription authorities of the second user, and the first electronic equipment stores the state subscription authority information of the second user and the user name of the second user; or detecting an operation of broadcasting a message aiming at the status of the group members, the first electronic equipment displays a second setting interface, wherein the second setting interface comprises one or more options for setting the status subscription authority of the first group, the first electronic equipment detects an option of a user aiming at the one or more status subscription authorities of the first group, and the first electronic equipment stores the status subscription authority information of the first group and the group name of the first group; the state subscription authority 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 an operation of a user for the state subscription request or an operation of broadcasting a message for the group member state; the first electronic device sends a first instruction to third electronic device, wherein the first instruction is used for indicating the third electronic device to replace the first user to set state subscription permission; the first electronic device receives and stores first information sent by the third electronic device, 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.
In one possible implementation, before the first electronic device displays the chat interface of 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 through the sensor at the second time, 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 that the first user state is different from the first user state through the user setting record at the second time.
In one possible implementation, before the first electronic device displays the chat interface of the first user and the second user, the method further includes: the first electronic device 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 device; the first electronic device detects an operation that a user agrees to send the second status message to the second electronic device.
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 has opened state subscription rights to the second user or group members in the first group.
In one possible implementation, before the first electronic device displays the chat interface of the first user and the second user, the method further includes: the first electronic device determines that the state subscription authority is opened to the second user based on the stored 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 is opened to the 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, embodiments of the present application provide 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, the one or more memories being 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 of the possible implementations of the second aspect described above.
In a fourth aspect, embodiments of the present application provide a computer storage medium storing a computer program comprising program instructions which, when run on an electronic device, cause the electronic device to perform the method as described in any one of the possible implementations of the second aspect.
In a fifth aspect, embodiments of the present application provide a computer program product which, when run on a computer, causes the computer to perform the method as described in any one of the possible implementations of the second aspect above.
Drawings
FIGS. 1A-1H are diagrams of a user interface for an exemplary set of setup message auto-replies provided by an embodiment 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 flow chart of a message reply method according to an embodiment of the present application;
fig. 4A to fig. 4O are schematic diagrams of a user interface for setting state subscription rights and automatically replying to a message in a set of single chat scenarios provided in 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-6I are schematic views of a user interface for setting state subscription rights and automatically replying to 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;
Fig. 8A to fig. 8E are schematic views of a user interface for setting state subscription rights in another group chat scenario provided by an embodiment of the present application;
FIGS. 9A-9C are a set of user interface diagrams for uniformly setting status subscription rights for a plurality of users/groups according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
Fig. 11 is a schematic 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 according to 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 accompanying drawings in the embodiments of the present application. Wherein, in the description of the embodiments of the present application, unless otherwise indicated, "/" means or, for example, a/B may represent a or B; the text "and/or" is merely an association relation describing the associated object, and indicates that three relations may exist, for example, a and/or B may indicate: the three cases where a exists alone, a and B exist together, and B exists alone, and furthermore, in the description of the embodiments of the present application, "plural" means two or more than two.
It should be understood that the terms first, second, and the like in the description and in the claims and drawings are used for distinguishing between different objects and not necessarily for describing a particular sequential or chronological order. Furthermore, the terms "comprise" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those listed steps or elements but may include other steps or elements not 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 may be included in at least one embodiment of the application. The appearances of such phrases 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. Those of skill in the art will explicitly and implicitly appreciate that the described embodiments of the application may 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, which enables conversion between an internal form of information and a form acceptable to the user. The user interface is a source code written in a specific computer language such as java, extensible markup language (extensible markup language, XML) and the like, and the interface source code is analyzed and rendered on the electronic equipment to finally be presented as content which can be identified by a user. A commonly used presentation form of a user interface is a graphical user interface (graphic user interface, GUI), which refers to a graphically displayed user interface that is related to computer operations. It may be a visual interface element of text, icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, widgets, etc., displayed in a display of the electronic device.
Currently, in order to improve the real-time performance of message reply, some chat Application programs (APP) provide functions of setting shortcut reply messages and automatically replying messages.
Fig. 1A-1F illustrate user interfaces for setting up shortcut reply messages.
The electronic device 100 may be a mobile phone and the electronic device 101 may be a wristwatch connected to the electronic device 100. The user can set up a template for quickly replying to the message on the watch through the mobile phone. Illustratively, as shown in fig. 1A, the user may enter the user interface 120 shown in fig. 1B by clicking on the default reply option 111 on the user interface 110, the user interface 120 may include a plurality of message templates for default replies, and the user may autonomously modify these templates, e.g., as shown in fig. 1B, after clicking on the option 121 and entering the content (e.g., "morning good") desired to be modified, the user may modify "breakfast rest, evening" of the option 121 to "morning good" as shown in fig. 1C, thereby completing the setting of the quick reply message.
Further, as shown in fig. 1D, the user may click on the option 141 on the user interface 140 when receiving the message, so that the watch may display the popup window 150 shown in fig. 1E, where the popup window 150 includes a plurality of shortcut reply message templates that have been set by the user, so that the user may select which template to use for a shortcut reply, for example, the user may select the "good morning" template 151, so that the shortcut reply shown in fig. 1F may be completed.
Thus, by setting the quick reply message in the chat, the time for the user to reply to 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. An automatic reply message template is set in the template frame 172, wherein the three items of rule, keyword and reply content can be set independently by a user. Thus, after the setting is completed, when one or more of the keywords are included in the message received by the user, the electronic device 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 according to a user's current state (e.g., busy, away, etc.). As shown in fig. 1H, the user may 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, indicating that the user needs to reply automatically when receiving a message in the "busy" state, the content of the reply automatically may be "me busy" by default, contact you later ", or may be modified autonomously by the user clicking option 182. For another example, when the user selects option 183, indicating that the user needs to automatically reply when receiving a message in the "away" state, the content of the automatic reply may be "i am away," come back to contact you, "or may be modified autonomously by the user clicking on option 184.
In this way, the electronic device 100 may 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 functions of setting the shortcut reply message and automatically replying to the message provided by the chat APP at present can improve the real-time property of message reply to a certain extent, but the following problems still exist:
1. The status of the user (e.g., busy, away, etc.) is set manually by the user himself, possibly not its actual status, e.g., 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 between the message sender and the user (e.g., social relationship of family, friends, colleagues, etc.).
3. The user needs to manually turn on or 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-mentioned problems, the embodiment of the present application provides a message reply method, where an electronic device may obtain a current state (such as a state of movement, sleep, etc.) 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 sender of the message. When the electronic equipment determines that the user is inconvenient to reply to the message based on the current state of the user, the electronic equipment can automatically reply to the message containing the current state of the user to indicate that the user is inconvenient to reply to the message; and then, when the electronic equipment determines the current convenient reply message of the user 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 the current convenient reply message of the user, 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 to 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 (i.e. setting state subscription authority and automatic message reply in single chat scenario):
Status subscription rights are autonomously set based on social relationships between a user (message recipient) and individual message senders (e.g., family, friends, colleagues, etc.), and an automatic reply message containing the current status of the user, when the electronic device receives a message sent by the message sender, the electronic device can automatically reply to the message if it is determined that the user is inconvenient to reply to the message.
Scheme II (namely, setting state subscription authority and automatic message reply in group 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 (the message receiver) and the group members in a certain chat group (such as family group, friends group, colleagues group and the like), when the electronic equipment receives the message from the group members in the chat group to the user, the electronic equipment can automatically reply to the message under the condition that the inconvenient reply message of the user is determined.
The two schemes will be described in detail in the following embodiments, and will not be developed here.
Next, a communication system provided by an embodiment of the present application will be first described.
Fig. 2 illustrates a communication system provided by 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, but also wearable devices (e.g., watches, bracelets, etc.), tablet computers, desktop computers, laptop computers, handheld computers, notebook computers, smart screens, and the like.
Communication connections 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 number, binding equipment, scanning a two-dimensional code and the like; types of establishing a communication connection may include, but are not limited to: wired connections, wireless connections such as Bluetooth (BT) connections, wireless local area networks (wireless local area networks, WLAN) such as wireless fidelity point-to-point (Wi-Fi P2P) connections, near Field Communication (NFC) connections, infrared (IR) connections, and remote connections (e.g., connections established through a server), etc.
In addition, the plurality of electronic devices in the communication system may also be connected and communicate in any of the several manners described above, which is not limited by the embodiment of the present application.
In the embodiment of the application, a plurality of electronic devices in the communication system can support the running chat APP and/or have the monitoring capability of the sports health data and the state. That is, the electronic device supporting the chat APP and the monitoring capability with the sports health data and status may be the same device (e.g. a child watch, etc. may be used to run the chat APP and perform the sports health status real-time monitoring at the same time), or may be different devices (e.g. a mobile phone and a watch, where the mobile phone may be used to run the chat APP only, and the watch may be used to perform the sports health status real-time monitoring only).
Based on the foregoing scheme one (i.e. setting state subscription authority and automatic message reply in a single chat scenario), a message reply 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 according to 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 are both provided with a chat APP, and support to run the chat APP, which can be used for receiving and sending a message. The electronic device 101 has the ability to monitor sports health data and status, and can be used to monitor the status of a user in real time. For example, electronic device 100 may be a message recipient's mobile phone, electronic device 101 may be a message recipient's watch, and electronic device 200 may be a message sender's mobile phone. The specific steps of the method are described in detail below:
stage one: setting state subscription rights phase
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 communication connection between the electronic device 100 and the electronic device 101 is not limited in the embodiment of the present application, and for example, communication connection may be established by logging in the same account number, binding the device, scanning a two-dimensional code, and the like. In addition, the type of 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 a wired connection, a wireless connection such as a bluetooth connection, a Wi-Fi P2P connection, an NFC connection, an IR connection, and a remote connection, for example.
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, assuming that the user of the electronic device 200 (i.e., the message sender) notes the user of the electronic device 100 (i.e., the message receiver) with the name Lily. If the user of the electronic device 200 wants to subscribe to the state of lie in order to obtain the state of lie and be notified in time when the state changes, the electronic device 200 may receive an operation (e.g., a click operation) of the user with respect to the state subscription option 411, and in response to the operation, the electronic device 200 may send a state 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 the state subscription from lie.
In some embodiments, the status subscription request may be automatically generated by the system of the electronic device 100, or may be automatically generated by the system of the electronic device 200 and then sent to the electronic device 100.
S303-S304, the electronic device 100 detects an operation of setting a status subscription authority by the user, and in response to the operation, the electronic device 100 saves the sender name and the status of allowing opening.
Illustratively, as shown in FIG. 4C, the user interface 430 displayed by the electronic device 100 may be a chat interface of the chat class APP, assuming that the name of the note given by the user of the electronic device 100 (i.e., the message recipient) to the user of the electronic device 200 (i.e., the message sender) is Mary. After the electronic device 100 receives the status subscription request sent by the electronic device 200, the electronic device 100 may display a prompt 431 in the user interface 430 for prompting the user of the electronic device 100 that Mary wants to request a status subscription.
If the user of the electronic device 100 wants to open a status subscription right to Mary, the electronic device 100 may detect an operation of the user with respect to the prompt 431 (e.g., clicking on "status subscription" in the prompt 431), in response to which the electronic device 100 may display a user interface 440 as exemplarily shown in fig. 4D, which user interface 440 may be one of the user interfaces for setting status subscription rights.
As shown in fig. 4D, a plurality of states (e.g., sports, sleep, physiological cycle, health measurement, fall, etc.) that allow for display and open settings 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 settings option to "ON", this indicates that the user allows the status to be open to Mary (i.e., the user allows Mary to subscribe to the status), e.g., option 442 is set to "ON" which indicates that the user allows the status to be open to Mary "sleep". If the user sets the open setting option to "OFF", this indicates that the user is not allowed to open the status to Mary, e.g., option 441 is set to "OFF", which indicates that the user is not allowed to open the "sports" status to Mary.
Referring to table 1, table 1 illustrates the types of states (i.e., state classifications) and the specific definitions of each type of state (i.e., state definitions) that are allowed to be displayed.
As shown in table 1, the above state types that allow display can be classified into five types: exercise state, sleep state, physiological cycle state, health measurement state, and fall state. The sport state can specifically comprise sport projects such as outdoor running, outdoor riding, swimming, skiing, golf and the like when a user is in progress/finished; sleep states may include, in particular, the user being in a state of shallow sleep/deep sleep/awake, etc.; the physiological cycle state may specifically include a state in which the user is in menstrual/fertility, etc.; the health measurement state may specifically include physiological data such as blood glucose being measured/blood pressure being measured by the user; the fall status may in particular comprise a fall action by the user.
It should be noted that, the states allowed to be displayed in table 1 are only five sports health states, and not limited thereto, and the allowed states may also include other sports health states (e.g. emergency states such as sudden heart disease and hypertension).
The sports health status may be a user status determined based on sports health data information measured by one or more sensors, and the status allowed to be displayed may also include more other types of user status determined based on other data information (such as eating, working, driving, making a phone call, leisure and entertainment, 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 determined based on the location of the user; in other embodiments, the user status (e.g., meeting, movie watching, etc.) may also be determined based on schedule information recorded in the calendar record of the application such as a memo (e.g., 2 pm to 4 pm meeting, 8 pm to 10 pm movie watching, etc.) and the current time. In other embodiments, the user status may also be determined based on the location information and/or the sports health data measured by the sensor, for example, the current location is a work area, the current sports status is stationary, and thus it may be further determined that the user status is likely to be: meeting; for another example, the current location is school and the current motion state is stationary, so that further determination of the user state may be: examination/lesson; as 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) starting.
TABLE 1
With continued reference to FIG. 4D, the user may autonomously set state subscription rights according to his own needs in the user interface 440 shown in FIG. 4D. Illustratively, the user may set the state of allowing for opening based on social relationships (e.g., relationships of family, friends, colleagues, etc.) between himself and the message sender. For example, if the message sender is the user's boss, the user may be allowed to open to his or her movement state, sleep state, physiological cycle state; for another example, if the message sender is the father/mother of the user, the user may be allowed to open a movement state, sleep state, thereto; for another example, if the message sender is a user's XX colleague, the user may be allowed to only open sleep states to him.
Alternatively, the user may set the state of allowing opening based on chat behavior, which may include how many chat messages, the frequency of chat, the chat period (e.g., weekends or weekdays, daytime or nighttime, etc.), and so forth.
After the user has set the allowed open state (e.g., the user clicks on option 448), electronic device 100 may save the message sender name and the allowed open state, i.e., as a list of state subscriptions as exemplarily shown in table 2 below.
For example, assuming that Mary is a colleague of the user of the electronic device 100, the user may only open a sleep state to him, and after the user has set 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, allowed open state is: sleep state.
It should be noted that, the mapping relationship between the message sender names and the states allowing opening shown in table 2 is merely exemplary, and the user may open more or less states according to the own requirement, which is not limited in the embodiment of the present application. In some embodiments, for a family (e.g., a senior citizen, father/mother, etc.), the user may choose to open more states to him, e.g., the user may choose to open some emergency states such as falls, sudden illness, etc. to the family so that the user may be promptly rescued in the event of an unexpected event; for contacts with little chat, the user may choose to open fewer states to them or not open any states.
TABLE 2
With continued reference to fig. 4D, options (e.g., option 446, option 447) for setting the timing of displaying the status may also be included in the user interface 440. If the user turns ON option 446, it indicates that the user turns ON the "status change auto display" function (i.e., the user may automatically display the status change in chat interface with Mary), and if the user turns ON option 447, it indicates that the user turns ON the "reply automatically to me" function (i.e., mary replies automatically to me).
Referring to table 3, table 3 exemplarily shows a mapping relationship between an allowed open state and an auto-reply message. It can be seen that the auto-reply message includes a state that allows for opening.
As shown in table 3, illustratively, after the electronic device 100 receives the message sent by the electronic device 200, the electronic device 100 may obtain the current state of the user and determine that the user is inconvenient to reply to the message based on the state, for example, the electronic device 100 obtains that the current state of the user is "running outdoors", the electronic device 100 may determine that the user is inconvenient to reply to the message at this time, and the electronic device 100 may reply to the message automatically: in outdoor running, the user can not conveniently reply and leave a message. Further, when the electronic device 100 obtains the state that the outdoor running of the user is finished, the electronic device may automatically reply to the message: i have finished running outdoors and come into contact with i bar.
Alternatively, after the electronic device 100 receives the message sent by the electronic device 200, if the electronic device 100 determines that the user is convenient to reply to the message based on the obtained current state of the user, the electronic device 100 may not reply to the message automatically.
In some embodiments, assuming that the user of the electronic device 100 opens subscription rights to the user of the electronic device 200 for an emergency state (e.g., fall, sudden illness, etc.), the user of the electronic device 100 may automatically send a message carrying the emergency state to the electronic device 200 in the case of the above-described emergency state. For example, assuming that the emergency state is a fall, upon detecting a user fall, the electronic device 100 may automatically send a message to the electronic device 200 to inform the user of the electronic device 200 that the user of the electronic device 100 has fallen. Further, in the case that the user falls and stands up again after detecting that the user falls, one implementation may be that the electronic device 100 automatically sends a message to the electronic device 200 again to notify the user of the electronic device 200 that the user of the electronic device 100 stands up after falling, and is 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, prompts the user whether to agree to inform the buddy of the current status, and in case the user agrees (e.g., clicks on the option 451), the electronic device 100 sends a message to the electronic device 200 again.
It should be noted that, the content of the automatic reply message shown in table 3 is merely exemplary, and in the embodiment of the present application, the content of the automatic reply message needs to include a state allowing to be opened so that the opposite party can timely obtain the current state of the user, and the embodiment of the present application is not limited to other contents in the automatic reply message.
TABLE 3 Table 3
Optional step S305, the electronic device 100 sends a feedback message 1 to the electronic device 200, which indicates that the recipient has opened status subscription rights to the sender.
Specifically, after the user completes the operation of setting the status subscription right, the electronic device 100 may send a feedback message 1 to the electronic device 200, the message indicating that the user of the electronic device 100 has opened the status subscription right to the user of the electronic device 200.
Illustratively, after the electronic device 100 sends the feedback message 1 to the electronic device 200, the electronic device 200 may display a hint 461 (i.e., the feedback message 1) as shown in fig. 4F for prompting Mary that the user lie of the electronic device 100 has subscribed to the rights in 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 a status subscription right to the user Mary of the electronic device 200.
In the embodiment of the application, the status subscription request and the feedback information after setting the status subscription authority can be displayed in various forms such as characters, cards and the like, which is not limited.
In some embodiments, step S305 is optional, that is, the user does not need to notify the user of the electronic device 200 that the user of the electronic device 100 has opened the status subscription right to it after the user sets the status subscription right.
In some embodiments, step S302 is optional, i.e., the message sender may not send a status subscription request to the message recipient, but the message recipient may actively set status subscription rights to the message sender. Illustratively, as shown in fig. 4C, the electronic device 100 may detect a user operation (e.g., a click operation) on the option 432, in response to which the electronic device 100 may display a user interface 480 as shown in fig. 4H by way of example. Further, the electronic device 100 may detect an operation (e.g., a clicking operation) of the user with respect to the option 481, and in response to the operation, 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 right, so that the status subscription right may be actively opened to the message sender, and thereafter, 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 right has been opened thereto. The specific process of setting the state subscription authority may refer to the foregoing related content, which is not described herein.
It is easy to understand that the "operation of setting state subscription rights by the user" described in step S303 may include: the user operates on prompt 431, shown in the example of fig. 4C, and the user sets status subscription rights in user interface 440, shown in the example of fig. 4D; or the user sets the status subscription right with respect to the operation of option 481 exemplarily shown in fig. 4H and the operation of the user in the user interface 440 exemplarily shown in fig. 4D.
In the first stage, the user can always take effect because the setting of the state subscription authority is durable.
Stage two: automatic reply message 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 send chat message 1 to electronic device 100 (e.g., "at molder"), and after receiving chat message 1, electronic device 100 may display chat message 1 (e.g., "at molder") and the time of sending chat message 1 (e.g., "07:30 am") at the chat interface.
S307, the electronic device 100 determines that the status subscription authority has been opened to the sender based on the saved sender name and the status that allows 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 state subscription rights to the user Mary of the electronic device 200 based on the sender name and the state of permission to open that have been saved in the foregoing step S304, that is, the electronic device 100 may determine whether the user name Mary of the electronic device 200 and at least one state of permission to open to Mary are recorded in the state subscription list (for example, table 2). If so, the electronic device 100 determines that the user of the electronic device 100 has opened the state subscription authority to the user Mary of the electronic device 200, and may continue to execute the subsequent steps, and if not, the electronic device 100 does not need to continue to execute the subsequent steps, i.e. does not perform any processing.
S308-S310, the electronic device 100 sends a request for inquiring the current state of the receiver to the electronic device 101, and after receiving the request, the electronic device 101 sends the current state 1 of the receiver to the electronic device 100. Thereafter, the electronic device 100 determines that the recipient is inconvenient to reply to chat message 1 in current state 1.
Specifically, after determining that the status subscription authority has been opened to the sender, the electronic device 100 may send a request for querying the current status of the receiver 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, or the like, and further, the electronic device 101 may send the current status 1 of the receiver 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 a state of running, riding, sleeping, etc., the electronic device 100 may determine that the recipient is inconvenient to reply to the chat message 1 in the current state 1, and the electronic device 100 may continue to perform subsequent steps. For another example, when the current state 1 is awake, idle, a state has ended (e.g., a cycling state has ended, etc.), etc., the electronic device 100 may determine that the recipient is convenient to reply to the chat message 1 in the current state 1, and the electronic device 100 may not perform the subsequent steps.
Wherein the current state 1 is contained in a list of states that the recipient is allowed to open to the sender.
In some embodiments, the electronic device 100 may also execute steps S308-S310 first, and then execute step S307, that is, after receiving the chat message 1, the electronic device 100 may query the current state of the receiver first, determine whether the receiver opens the state subscription authority to the sender if the receiver is inconvenient to reply to the chat message 1 in the current state, if yes, continue to execute the subsequent steps, if no, not continue to execute 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 be performed not just in the first stage, but rather before step S308 is performed, that is, the electronic device 100 may complete the communication connection with the electronic device 101 before the electronic device 100 needs to obtain the current state of the user from the electronic device 101.
S311-S312, the electronic device 100 sends the receiver status message 1 to the electronic device 200, where the message carries the current status 1, so as to indicate that the receiver is inconvenient to reply to the chat message 1 currently. Thereafter, the electronic device 100 saves the current state 1 and the sender name of the chat message 1.
Specifically, in the case where the electronic device 100 determines that the user does not reply to the chat message 1 in the current state 1, the message may be automatically replied based on the foregoing settings in table 3, that is, the electronic device 100 may send the recipient state message 1 to the electronic device 200, where the message carries the current state 1 and is used to indicate that the recipient does not reply to the chat message 1 currently. Thus, the user of the electronic device 200 can timely know the current state of the receiver and know that the receiver is inconvenient to reply to the message, so that misunderstanding caused by that the receiver does not reply to the message timely can be avoided.
For example, as shown in fig. 4I, if the current state 1 is in a deep sleep state, the electronic device 100 may automatically reply to the message "I am asleep, inconvenient to reply to the message, leave a message in a request", and display the message on the chat interface, and the sending time (e.g. 7:30) of the message, etc.
Further, referring to table 4, table 4 illustrates a mapping relationship between a message sender name and a current state of a subscription. The message sender name may be the sender name (e.g. Mary) of the chat message 1, and the current state of subscription may be the current state 1. After automatically replying to the message, the electronic device 100 may save the sender name, current state 1, of chat message 1 as shown in table 4.
Message sender name Current state of subscription
XX colleagues (e.g. Mary) Deep sleep (sleep state in state classification)
TABLE 4 Table 4
In some embodiments, after receiving the status message 1, the electronic device 200 may display a prompt message as exemplarily shown in fig. 4K, 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 is convenient to reply 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 send an instruction to the electronic device 100, where the instruction is used to trigger 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 is convenient to reply to the message. Wherein the display of the option "no" is optional. Here, the setting (e.g., clicking on "yes" or "no" operation) of the user for the above-described hint message is effected once, not at all times.
S313, the electronic device 101 transmits the current state 2 of the recipient to the electronic device 100.
In some embodiments, step S313 may be performed periodically, that is, the electronic device 101 may periodically send the status of the recipient to the electronic device 100.
In other embodiments, the electronic device 101 may also send the status of the recipient to the electronic device 100 if the status of the recipient changes. For example, when the state of the recipient changes from the current state 1 to the 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 above-mentioned current state 1, and in the case where a change in the current state of the recipient is detected, that is, in the case where it is determined that the current state is different from the saved current state 1, the electronic device 101 may send the current state of the recipient 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 can reply to the chat message 1 conveniently 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 has saved the current state 1 and the sender name of the chat message 1 (see table 4) in the foregoing step S312, the electronic device 100 may determine whether the current state 2 is different from the saved current state 1, for example, if the current state 2 is an awake state and the saved current state 1 is a sleep 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 that the recipient is convenient to reply to the message in the current state 2, and specifically needs to reply to which message (S), and the electronic device 100 may determine based on the mapping relationship between the recorded sender name of the message and the subscribed current state. For example, the electronic device 100 may determine that the sender name of the message corresponding to the current state 1 is the sender name of the chat message 1 based on the mapping relationship between the sender names of the messages and the current state of the subscription recorded in table 4, so that the electronic device 100 may determine that the recipient is convenient to reply to the chat message 1 in the current state 2.
In some embodiments, the electronic device 100 may automatically reply again to the status message carrying the current state 2 or may not perform any processing until it is determined that the recipient is not convenient to reply to the chat message 1 in the current state 2, in the case that the current state 2 is determined to be different from the saved current state 1, but the recipient is still not convenient to reply to the chat message 1 in the current state 2.
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 where the electronic device 100 determines that the user is convenient to reply to the chat message 1 in the current state 2, the message may be automatically replied based on the foregoing settings in table 3, that is, the electronic device 100 may send the electronic device 200 a recipient state message 2, where the message carries the current state 2, to indicate that the recipient is currently convenient to reply to the chat message 1, so as to contact the recipient in time.
Illustratively, as shown in fig. 4I, if the current state of the recipient changes from the current state 1 to the current state 2, for example, from a deep sleep state to an awake state in the sleep state, the electronic device 100 may automatically reply to the message "I sleep end, contact I bar soon", and display the message on the chat interface, and the transmission time of the message (e.g., 8:00), etc.
It will be readily appreciated 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 also displays the status message on the chat interface, and the transmission time of the status message, etc.
In this way, the user of the electronic device 200 can timely know the state change of the receiver and know that the receiver is convenient to reply to the message, and further, the user of the electronic device 200 can also automatically decide whether to contact the receiver in time according to the urgency of the current matters.
In some embodiments, the electronic device 100 triggers the execution of step S315 after receiving the user instruction, for example, after the electronic device 100 has performed step S314, a pop-up window 450 shown in fig. 4E may be displayed, to prompt the user whether to agree to send the current status to the friend, and after the user agrees (e.g., the user clicks the option 451), the electronic device 100 executes 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 the user who has been allowed to open status subscription rights when no chat message is received. For example, in some emergency situations (e.g., fall, sudden illness, etc.), the user of the electronic device 100 may automatically send the emergency to the user who has been allowed to open emergency subscription rights so that the user of the electronic device 100 may be promptly rescued in the event of an unexpected event.
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 rights in real time, i.e., the electronic device 100 may automatically update the user's current state to the user who has been allowed the open state subscription rights. For example, as shown in fig. 4L, if the user lie of the electronic device 100 has opened a "sleep state" to the user of the electronic device 200, in a state where lie is asleep, the electronic device 200 may display that the current state of lie is "asleep" in the contact lie option in the user interface as exemplarily shown in fig. 4L, so that the user of the electronic device 200 may view the state of lie in real time. The state display mode may be the state text display mode or the state image display mode, and the embodiment of the application is not limited to this.
In some embodiments, when the electronic device 100 determines that the user is inconvenient to reply to the message in the current state, if the electronic device 100 receives the chat message, the electronic device 100 may reply to the message automatically, but does not display a message reminder, that is, does not prompt the user that there is a message to reply, so that accidents caused by disturbing the user with the message reminder can be avoided (for example, traffic accidents caused by distraction of the message reminder in the driving process of the user can be avoided).
In some embodiments, the electronic device 100 and the electronic device 101 may also be integrated into one electronic device, i.e. 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 user's current status is sent and displayed in the form of chat messages, and in some embodiments, the user's current status may be sent and displayed in other forms. For example, as exemplarily shown in fig. 4M to 4N, when the current state of the user is "asleep", the "i am asleep" may be displayed on the electronic device 100, and the "lie is asleep" may be displayed on the electronic device 200; when the user's current state changes from the "deep sleep" state to the "wake" state, "i have finished sleeping" may be displayed on the electronic device 100, and "ly have finished sleeping" may be displayed on the electronic device 200.
In some embodiments, status messages sent by electronic device 100 to electronic device 200 may also be withdrawn. For example, as shown in fig. 4O, the electronic device 100 may display a prompt message after the automatic reply message, the prompt message being used to prompt the user whether to withdraw the automatic reply message, and after determining that the user withdraws the automatic reply message (e.g., detects an operation that the user clicks on the option "yes"), the electronic device 100 may withdraw the automatic reply message, after which neither the electronic device 100 nor the electronic device 200 has the automatic reply message displayed thereon. The revocation function may also be implemented by other means, such as, but not limited to, the electronic device 100 may display a "revoke" option at the automatic reply message that the user may manually click to revoke the automatic reply message.
It is easy to understand that in the case where the user current state (e.g., the current state 1 and the current state 2 described above) can be obtained by other applications on the electronic device 100 (e.g., the user current state is obtained by the schedule information recorded by the applications such as a memo, a calendar, etc.), the above-described steps S308 to S309 may be replaced with: the electronic device 100 obtains the current state 1 of the user locally, and the step S313 may be replaced by: the electronic device 100 obtains the user's current state 2 locally.
It should be noted that, the current state 1 and the current state 2 in the above embodiment are only exemplified by the sports health state, and are not limited thereto, but may be any other type of state (for example, eating, working, driving, making a call, leisure and entertainment, etc.), which is not limited thereto.
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, the communication efficiency is improved, in addition, the user can set the state subscription authority according to different social relations, the state of the user can be displayed, and excessive disclosure of privacy can be avoided.
The method provided by the embodiment of the application can be also suitable for other application scenes, for example, when a user receives a call or receives a short message and does not reply in time, the electronic equipment can reply the message carrying the current state of the user automatically; for another example, in APP for interactive learning, online gaming, etc., a user may view friend status in real-time.
Based on the foregoing scheme two (i.e. setting state subscription authority and automatic message reply in group chat scenario), another message reply 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 according to 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 are both provided with a chat APP, and support to run the chat APP, which can be used for receiving and sending a message. The electronic device 101 has the ability to monitor sports health data and status, and can be used to monitor the status of a user in real time. 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: setting state subscription rights phase
Optional step S501, the electronic device 100 establishes a communication connection with the electronic device 101.
The specific implementation 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.
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 with a group chat name "XX group" of the chat class APP, where the group includes a plurality of group members such as a user of the electronic device 200, a user of the electronic device 100, and the like, 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 status of the group member in order to obtain the status of the group member and the group member can be notified in time when the status changes, the electronic device 200 may receive an operation (e.g., a click operation) of the user with respect to the status subscription option 611, and in response to the operation, the electronic device 200 may initiate a status subscription request to electronic devices (e.g., the electronic device 100) of all the group members in the group. At the same time, the electronic device 200 may display a prompt 612, as exemplarily shown in fig. 6B, for prompting the user of the electronic device 200 that a status subscription request has been initiated to a group member.
In some embodiments, the group member status subscription broadcast message may also be automatically generated by the system of the electronic device 100, for example, if the user of the electronic device 100 is a new member joining the group, the system of the electronic device 100 may automatically generate the group member status subscription broadcast message.
S503-S504, the electronic device 100 detects an operation of setting a status subscription authority by the user, and in response to the operation, the electronic device 100 saves the group name and the status of allowing opening.
Illustratively, as shown in fig. 6C, the user interface 630 displayed by the electronic device 200 may be a chat interface with a group chat name "XX group" of the chat class APP, and after the electronic device 100 receives a status subscription request initiated by the electronic device 200, the electronic device 100 may display a prompt 631 in the user interface 630 for prompting 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., the 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 on the prompt 631 (for example, clicking on the operation of "status subscription" in the prompt 631), and in response to this operation, the electronic device 100 may display the user interface 640 as exemplarily shown in fig. 6D, where the user interface 640 may be one of the user interfaces for setting the status subscription authority, and the user may autonomously set the status subscription authority according to its own requirement (i.e., set the opportunity for allowing to open into the group and displaying the status).
The timing of setting the display state in fig. 6D may include two options: the state change automatically displays options, and automatically replies to options when sending messages to me. In the case 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 text mode and the like, so that the states of other group members can be checked by the members in the group. The auto-reply option at the time of messaging me may include two sub-options: the group reply option and the single chat reply option can automatically reply in the group when the user receives a message sent by a group member to the user under the condition that the group reply option is in an ON state; when the user receives the message sent by the group member to the user, the single chat reply option is in an ON state, and the single chat reply option can automatically reply to the group member which sends the message to the user. In this case, it is also possible to support the notification of the message sender in the case of a convenient reply message, as described in detail with reference to fig. 4J.
After the user has set the state of allowing opening into the group (e.g., the user clicks on option 641), the electronic device 100 may save the group name and the state of allowing opening, i.e., may save the state subscription list as exemplarily shown in table 5 below.
The specific process of setting the status subscription authority by the user may refer to the related content in step S303-step S304 in the embodiment shown in fig. 3, which is not described herein.
TABLE 5
Optional step S505, the electronic device 100 sends a feedback message 2 to the electronic device 200, where the feedback message is used to indicate that the group member a has opened a state subscription right.
Specifically, after the user completes the operation of setting the status subscription right, the electronic device 100 may send a feedback message 2 to the electronic devices (e.g., the electronic device 200) of all the group members in the group, where the message is used to indicate that the user of the electronic device 100 (i.e., the group member a) has opened the status subscription right to all the group members in the group.
Illustratively, after the electronic device 100 sends the feedback message 2 to the electronic devices of all group members (e.g., the electronic device 200) within 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 lie of the electronic device 100 has opened a 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 the user of the electronic device 100 that the status subscription rights have been successfully opened to the group members.
In the embodiment of the application, the status subscription request and the feedback information after setting the status subscription authority can be displayed in various forms such as characters, cards and the like, which is not limited.
In some embodiments, step S505 is optional, that is, after the user sets the status subscription right, the electronic device 100 does not need to send a feedback message 2 to the group to inform the user of the electronic device 100 that the status subscription right 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 rather the group member may actively open status subscription rights to the group member. Illustratively, as shown in fig. 6C, the electronic device 100 may detect a user operation (e.g., a click operation) on the option 632, in response to which the electronic device 100 may display a user interface 670 as shown in the example of fig. 6G. Further, the electronic device 100 may detect an operation (e.g., clicking operation) of the user on the option 671, and in response to the operation, the electronic device 100 may display a user interface (e.g., the user interface 640 shown in fig. 6D) for setting the status subscription rights, in which the user may set the status subscription rights, so that the status subscription rights may be actively opened to the group members, and then, the electronic device 100 may also send a feedback message to the electronic devices of all the group members in the group to notify the group members that the status subscription rights have been opened thereto. The specific process of setting the state subscription authority may refer to the foregoing related content, which is not described herein.
It is easy to understand that the "operation of setting state subscription authority by the user" described in step S503 may include: the user operates the prompt 631 illustrated in the example of fig. 6C and the user operates the user to set the status subscription right in the user interface 640 illustrated in the example of fig. 6D; or the user sets the status subscription right with respect to the operation of the option 671 shown in the example of fig. 6G and the operation of the user in the user interface 640 shown in the example of fig. 6D.
In the first stage, the user can always take effect because the setting of the state subscription authority is durable.
Stage two: automatic reply message 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 the group, that is, send the group chat message 1 to electronic devices of all group members in the group (for example, the electronic device 100 of the group member a), and then all 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.
Wherein, the group chat message 1 mentioned above refers to the content in the combination of "@ + group member a name or nickname" included in the group chat message 1. For example, assuming that the name or nickname of group member a is oly, group chat message 1"hello, @ oly" 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, @ lie") and a transmission time of the group chat message 1 (e.g., "07:30 a.m.) at the chat interface.
S507, the electronic device 100 determines that the state subscription right has been opened to the group member based on the saved group name and the state allowed to be opened.
Specifically, after the electronic device 100 receives the group chat message 1 sent by the electronic device 200, it determines that the electronic device 200 is the group chat message 1 sent in the "XX group", further, it 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 be opened, which are 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 be opened to the group member in the group. If yes, the electronic device 100 determines that the state subscription authority has been opened to the group members in the group, and may continue to execute the subsequent steps, if not, the electronic device 100 does not execute the subsequent steps, i.e. does not perform any processing.
S508-S510, the electronic device 100 sends a current state query request of the group member a to the electronic device 101, and after receiving the 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 group member a is inconvenient to reply to group chat message 1 in current state 1.
Specifically, after determining that the state subscription authority has been opened to the sending group of the group chat message 1, the electronic device 100 may send a current state query request of the group member a 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 state 1 based on the physiological data of the group member a collected in real time, or the like, and further, the electronic device 101 may send the current state 1 of the group member a 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 state of running, riding, sleeping, etc., 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 the electronic device 100 may continue to perform the subsequent steps. For another example, when the current state 1 is awake, idle, a certain state has ended (e.g., a riding state has ended, etc.), etc., the electronic device 100 may determine that the group member a is convenient to reply to the group chat message 1 in the current state 1, and the electronic device 100 may not perform the subsequent steps any more.
The current state 1 is included in a state list that the group member a allows to open to the sending group of the group chat message 1.
In some embodiments, the electronic device 100 may also execute the steps S508-S510 first, and then execute the step S507, that is, after the electronic device 100 receives the group chat message 1, the electronic device may query the current state of the group member a first, and determine whether the group member a opens the state subscription authority to the sending group of the group chat message 1 if the current state is determined that the group member a is inconvenient to reply to the group chat message 1, and if the current state is not determined that the group member a opens the state subscription authority to the sending group of the group chat message 1, continue to execute the subsequent step, if the current state is not determined that the group member a does not reply to the group chat message 1, then not continue to execute the subsequent step.
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 be performed not just in the first stage, but rather before step S508 is performed, that is, the electronic device 100 may complete the communication connection with the electronic device 101 before the electronic device 100 needs to obtain the current state of the user from the electronic device 101.
S511-S512, the electronic device 100 sends a group member a status message 1 to the electronic device 200, where the message carries the current status 1, and is used to indicate that the group member a is inconvenient to reply to the group chat message 1 currently. 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 the electronic device 100 determines that the user does not reply to the group chat message 1 in the current state 1, the message may be automatically replied based on the setting in the foregoing table 3, that is, the electronic device 100 may send the group member a state message 1 in the group, that is, send the group member a state message 1 to electronic devices (for example, the electronic device 200 of the group administrator) of all the group members in the group, where the message carries the current state 1 and is used to indicate that the group member a does not 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 timely know the current state of the group member a and know that the group member a is inconvenient to reply to the message at present, so that misunderstanding caused by that the group member a does not reply to the message in time can be avoided.
For example, as shown in fig. 6H, if the current state 1 is in riding, the electronic device 100 may automatically reply to the message "i am riding, inconvenient to reply to the message, leave a message in a request", and display the message on the chat interface, and the sending time (e.g. 7:30) of the message, etc.
Further, referring to table 6, table 6 illustrates a mapping relationship between a messaging group name and a current state of a subscription. The message sending group name may be the sending group name (for example, XX group) of the group chat message 1, and the current state of subscription may be the current state 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.
Messaging group name Current state of subscription
XX group Cycling (motion state belonging to the state classification)
TABLE 6
S513, the electronic device 101 sends the current state 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.
S514, the electronic device 100 determines that the current state 2 is different from the saved current state 1, and the group member a is convenient to reply to the group chat message 1 in the current state 2.
Specifically, after receiving the current state 2 sent by the electronic device 101, since the electronic device 100 has saved the current state 1 and the sending group name of the group chat message 1 (see table 6) in the foregoing step S512, the electronic device 100 may determine whether the current state 2 is different from the saved current state 1, for example, if the current state 2 is the riding end state and the saved current state 1 is the riding 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 is convenient to reply to the message in the current state 2, specifically, needs to reply to which message/S, 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 names and the current states of subscriptions recorded in table 6, so that the electronic device 100 may determine that the group member a is convenient to reply to the group chat message 1 in the current state 2.
In some embodiments, the electronic device 100 may reply again automatically to the status message carrying the current state 2 or may not perform any processing until it is determined that the current state 2 is different from the saved current state 1, but the group member a does not 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 message carries the current status 2, and is used to indicate that the group member a is currently convenient to reply to the group chat message 1.
Specifically, in the case that the electronic device 100 determines that the user is convenient to reply to the group chat message 1 in the current state 2, the message may be automatically replied based on the setting in the foregoing table 3, that is, the electronic device 100 may send the group member a state message 2 in the group, that is, send the group member a state message 2 to electronic devices (for example, the electronic device 200 of the group administrator) of all the group members in the group, where the message carries the current state 2, so as to indicate that the group member a is convenient to reply to the group chat message 1 currently, so as to timely contact the group member a.
For example, as shown in fig. 6H, if the current state of the group member a changes from the current state 1 to the current state 2, for example, from the riding state to the riding end state, the electronic device 100 may automatically reply to the message "i'm end riding, contact i'm bar soon", and display the message on the chat interface, and the transmission time (e.g., 8:00) of the message, etc.
It will be readily appreciated 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 also displays the status message on the chat interface, and the transmission time of the status message, etc.
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 replied with the message conveniently, and further can independently 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 execution of step S515 after receiving the user instruction, for example, after the electronic device 100 completes the execution of step S514, a pop-up window 450 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 the option 451), the electronic device 100 executes step S515 again.
In some embodiments, the electronic device 100 may also automatically send the current state of the user of the electronic device 100 to the group that has been allowed to open state subscription rights when the group chat message is not received. For example, in some emergency situations (e.g., fall, sudden illness, etc.), the user of the electronic device 100 may automatically send the emergency to a group that has been allowed to open emergency subscription rights so that the user of the electronic device 100 may be promptly rescued in the event of an unexpected event.
In some embodiments, the electronic device 100 and the electronic device 101 may also be integrated into one electronic device, i.e. 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 embodiment but also the operations performed by the electronic device 101. In this case, step S501 need not be performed.
It is easy to understand that in the case where the current state of the group member a (e.g., the current state 1 and the current state 2) can be obtained by other applications on the electronic device 100 (e.g., the current state of the user is obtained by the schedule information recorded by the applications such as a memo, a calendar, etc.), the above steps S508 to S509 may be replaced by: the electronic device 100 obtains the current state 1 of the group member a locally, and the step S513 may be replaced by: the electronic device 100 obtains the current state 2 of group member a locally.
It should be noted that, the current state 1 and the current state 2 in the above embodiment are only exemplified by the sports health state, and are not limited thereto, but may be any other type of state (for example, eating, working, driving, making a call, leisure and entertainment, etc.), which is not limited thereto.
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 motion health state and the like) of the users in the group chat scene, thereby carrying out fine control management on the state of the users in the group and facilitating the effective communication among the users in the group.
The embodiment shown in fig. 5 is a process of setting the state subscription rights by the user in the group chat scenario, and particularly, when the user is a child, in order to ensure the privacy security of the child, parents of the child may replace the child to set the state subscription rights. Another message reply method provided by the embodiment of the application is described below for the case that the user is a child.
The method is also described by taking the group chat scene as an example, and is not limited to the group chat scene, and the method is also applicable to the single chat scene.
Fig. 7 illustrates a specific flow of another message reply method according to an embodiment of the present application.
As shown in fig. 7, the method may be applied to a communication system including the electronic device 200, the electronic device 300, and the electronic device 400. The electronic device 200 and the electronic device 300 are both provided with a chat APP, and support to run the chat APP, which can be used for receiving and sending the message. Meanwhile, the electronic device 300 also has the monitoring capability of the sports health data and the state, and can be used for realizing the real-time monitoring of the user state. Electronic device 400 may be used to manage 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: setting state subscription rights phase
S701, the electronic device 300 establishes a 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 (e.g. establish a communication connection by logging in the same account, etc.), and then, the electronic device 300 and the electronic device 400 may perform data transmission and reception based on the communication connection, so as to execute the subsequent related steps.
S702, the electronic device 200 sends a group member status subscription broadcast message to the electronic device 300.
The specific implementation process of step S702 may refer to the related content in step S502 in the embodiment shown in fig. 5, which is not described herein.
S703-S704, the electronic device 300 detects an operation in which the user agrees to set the status subscription right, and in response to the operation, the electronic device 300 sends a set status subscription right instruction 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 chat class APP, with a group chat name "XX group", and after the electronic device 300 receives a status subscription request initiated by the electronic device 200, the electronic device 300 may display a prompt 811 in the user interface 810 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 member, electronic device 300 may detect an operation of user on prompt 811 (e.g., clicking on "status subscription" in prompt 811), in response to which electronic device 300 may send a set status subscription rights instruction to electronic device 400 instructing the parent of group member B to set status subscription rights in place of group member B.
Optionally, after the user clicks on "status subscription" in prompt 811, electronic device 300 may display a pop-up window 820 as exemplarily shown in fig. 8B, where pop-up window 820 may include prompt 821, option 822, and option 823. Prompt 821 is used to prompt the user whether to agree with the parent to set state subscription rights instead. After the user agrees (e.g., after clicking on option 822), electronic device 300 may then send a set state subscription right instruction to electronic device 400.
It is easy to understand that the "operation in which the user agrees to set the state subscription right" described in step S703 may include: operation of prompt 811 by the user; or the user's operation with respect to prompt 811 and the user's operation with respect to option 822.
S705-S708, the electronic device 400 sets a state subscription right instead of the group member B, and then, the electronic device 400 saves the group name and the state of allowing opening, and sends the group name and the state of allowing opening to the electronic device 300, and after receiving the group name and the state of allowing opening, the electronic device 300 saves the group name and the state of allowing opening.
For example, as shown in fig. 8C, after the electronic device 400 receives the status subscription permission setting instruction sent by the electronic device 300, the electronic device 400 may display a pop-up window 830, where the pop-up window 830 may include a prompt 831 (e.g. you have a task "XX group status subscription permission setting" to be processed) for prompting the user to set status subscription permissions in place of group member B. Further, the electronic device 400 may detect an operation (e.g., a clicking operation) of the prompt 831 by the user, 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 state subscription rights in place of the group member B, and the user may set state subscription rights in place of the group member B according to a relationship between the group member B and the XX group (i.e., set a state allowing the group member B to be opened into the group and a timing for displaying the state). The specific process of setting the state subscription authority by the user may refer to the related content in the embodiment shown in fig. 3, which is not described herein.
The timing of setting the display state in fig. 8D may include two options: the state change automatically displays options, and automatically replies to options when sending messages to me. In the case 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 text mode and the like, so that the states of other group members can be checked by the members in the group. The auto-reply option at the time of messaging me may include two sub-options: the group reply option and the single chat reply option can automatically reply in the group when the user receives a message sent by a group member to the user under the condition that the group reply option is in an ON state; when the user receives the message sent by the group member to the user, the single chat reply option is in an ON state, and the single chat reply option can automatically reply to the group member which sends the message to the user. In this case, notification of the message sender in the case of a convenient reply message may be supported, as described in detail with respect to fig. 4J.
After the user has set the state of allowing to be opened into the group (e.g., the user clicks the option 841), the electronic device 400 may save the group name and the state of allowing to be opened (e.g., the state subscription list exemplarily shown in table 5), and send the group name and the state of allowing to be opened to the electronic device 300, and after the electronic device 300 receives the group name and the state of allowing to be opened, save the group name and the state of allowing to be opened. Therefore, parents can replace children to set state subscription authorities, privacy safety of the children can be guaranteed more powerfully, the parents can acquire the states of the children more conveniently, and a better guardian can be made.
It is easy to understand that in the single chat scenario, the group names in the above steps S705-S708 need to be replaced with the message sender names, i.e., in the single chat scenario, the electronic device 400 saves and transmits to the electronic device 300 the message sender names and the open allowed states, and the electronic device 300 also saves the message sender names and the open allowed states.
In one possible implementation, to give some autonomy to the child, the child may also autonomously set the status subscription right, and in consideration of the security of the child, the electronic device may automatically notify the parents of which friend/group the child opens/closes the status subscription right after each autonomous setting by the child.
Illustratively, referring to FIG. 8B, the electronic device 300 may detect a user operation with respect to the option 823, in response to which the electronic device 300 may also display a user interface 840, illustrated illustratively in FIG. 8D, in which the user may autonomously set state subscription rights. After the setting is completed, the electronic device 300 may send a child independent setting completion instruction to the electronic device 400, and after receiving the instruction, the electronic device 400 may display a pop-up window 850 as shown in fig. 8E, where a prompt 851 (for example, "the child has opened a status subscription right to the XX group") may be included in the pop-up window, to notify the parent that the child has opened the status subscription right to the XX group.
S709, the electronic device 300 sends a feedback message 3 to the electronic device 200, the message indicating that the group member B has opened the status subscription right.
The specific implementation of step S709 may refer to the related content in step S505 in the embodiment shown in fig. 5, which is not described herein.
In the first stage, the user can always take effect because the setting of the state subscription authority is durable.
Stage two: automatic reply message 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 state subscription authority has been opened to the group member based on the saved group name and the state of allowing opening.
The specific execution of steps S710 to S711 may refer to the relevant content of steps S506 to S507 in the embodiment shown in fig. 5, and will not be described herein.
S712, the electronic device 300 acquires the current state 1 of the group member B.
Specifically, the electronic device 300 itself has the ability to monitor the sports health data and the status, for example, the ability to monitor the sports health data and the status may be achieved through the sports health APP, so that the sports health APP may 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 that the group member B allows to open to the group chat message 2.
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 the group member B status message 1 to the electronic device 200, where the message carries the current status 1, and is used to indicate that the group member B is 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 execution of steps S713-S715 may refer to the relevant content of steps S510-S512 in the embodiment shown in fig. 5, which is not described 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 sports health APP may send the status of the group member B to the chat APP when the status of the group member B changes. For example, when the state of group member B changes from current state 1 to current state 2, the sports health class APP may send the current state 2 of group member B to the chat class APP.
It should be noted that, the above-mentioned current state 1 and the current state 2 are only states determined by the sports health APP based on the sports health data, and are not limited thereto, but may be states of other types (such as eating, working, driving, making a call, leisure and entertainment, etc.) determined by other APP types (such as map APP type, schedule APP type, etc.) based on other data (location information, schedule information), which are not limited thereto by the embodiment of the present application.
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 message carries the current status 2, and is used to indicate that the group member B is currently convenient to reply to the group chat message 2.
The specific execution of steps S717-S718 may refer to the relevant content of steps S514-S515 in the embodiment shown in fig. 5, and will not be described herein.
In some embodiments, the electronic device 300 triggers the execution of step S718 after receiving the user instruction, for example, after the electronic device 300 completes the execution of step S717, the pop-up window 450 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 the option 451), the electronic device 300 executes step S718 again.
In some embodiments, the electronic device 300 may also automatically send the current state of the user of the electronic device 300 to the group that has been allowed to open state subscription rights when the group chat message is not received. For example, in some emergency situations (e.g., fall, sudden illness, etc.), the user of the electronic device 300 may automatically send the emergency to a group that has been allowed to open emergency subscription rights so that the user of the electronic device 300 may be promptly rescued in the event of an unexpected event.
In some embodiments, electronic device 300 may automatically identify social relationships between users of electronic device 300 and other users, e.g., users of other electronic devices that bind the same account as electronic device 300 (e.g., electronic devices for managing electronic device 300) may be identified as family relationships of parents, mothers, and the like; for another example, the electronic device 300 may identify different social relationships of a family, a classmate, etc., based on the friend name/group name of the user's remark, etc. Further, the electronic device 300 may display or reply to different levels of privacy status based on different social relationships. For example, for a family, the electronic device 300 may display or reply to a higher level of privacy status, such as a more detailed concrete status of what is done where; for another example, for classmates, friends, etc., the electronic device 300 may display or reply to a lower level privacy state, such as a general state of busy, idle, etc.
The above-described embodiments shown in fig. 3 to 5 all describe a process of setting state subscription rights for a single user or a single group, and are not limited thereto, and state subscription rights may be set uniformly for a plurality of users or a plurality of groups.
Fig. 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 setup interface of a chat class APP, the electronic device 100 may detect an operation (e.g., a click operation) of the user on the option 911, and in response to the operation, the electronic device 100 may display the user interface 920 as exemplarily shown in fig. 9B, which may include a status subscription option 921 therein. The electronic device 100 may detect an operation (e.g., a click operation) of the user on 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, in which an option 931, an option 932 may be included.
Where option 931 may be used for a user to add one or more users/groups desiring to set status subscription rights and option 932 may be used for a user to set status subscription rights. User click option 931 may add one or more friends/groups stored in the address book of chat class APP and user click option 932 may enter the user interface illustrated in fig. 4D to uniformly set state subscription rights for the added user/group.
In the embodiment of the present application, the first electronic device may be the electronic device 100 or the electronic device 300, the second electronic device may be the electronic device 200, the third electronic device may be the electronic device 400, the first user may be a user of the first electronic device, the second user may be a user of the second electronic device, the first user state may be the current state 1, the second user state may be the current state 2, the first state message may be the state message 1, the second state message may be the state message 2, the first time may be a time for displaying the first state message (for example, "am 07:30" shown in fig. 4I), the second time may be a time for displaying the second state message (for example, "am 08:00" shown in fig. 4I), the chat interface may be the user interface shown in fig. 4I, 4J, 6H, and 6I, the first message may be chat message 1, the second message may be group chat message 1 or group chat message 2, the first group may be XX group, the first setting interface may be the user interface shown in fig. 4D, the second setting interface may be the user interface shown in fig. 6D or 8D, the first instruction may be the status subscription right setting instruction shown in fig. 7, the first prompt may be the prompt information shown in fig. 4E, the feedback message may be feedback message 1 or feedback message 2 or feedback message 3, the second prompt may be the prompt information shown in fig. 4K, the second instruction may be the instruction sent after the user clicks the option "yes" shown in fig. 4K, and the third prompt may be the prompt information shown in fig. 4O.
In embodiments of the present application, the first user state and the second user state may be detected by one or more sensors on the first electronic device, or one or more sensors on other electronic devices (e.g., electronic device 101) connected to the first electronic device; the first user state and the second user state may also be determined by the first electronic device through user settings records (e.g., user schedule information recorded on a memo, calendar, etc. application, physiological cycle records, etc.).
The following describes a structure of an electronic device 100 according to an embodiment of the present application.
Fig. 10 exemplarily shows a structure of an electronic apparatus 100 provided in an embodiment of the present application.
As shown in fig. 10, the electronic device 100 may include: processor 110, external memory interface 120, internal memory 121, universal serial bus (universal serial bus, USB) interface 130, charge management module 140, power management module 141, battery 142, antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, headset interface 170D, sensor module 180, keys 190, motor 191, indicator 192, camera 193, display 194, and subscriber identity module (subscriber identification module, SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyro sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity 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 should be understood that the illustrated structure of the embodiment of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the application, electronic device 100 may include more or fewer components than shown, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The processor 110 may include one or more processing units, such as: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (IMAGE SIGNAL processor, ISP), a controller, a memory, a video codec, a digital signal processor (DIGITAL SIGNAL processor, DSP), a baseband processor, and/or a neural Network Processor (NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors.
The controller may be a neural hub and a command center of the electronic device 100, among others. The controller can generate operation control signals according to the instruction operation codes and the time sequence signals to finish the control of instruction fetching and instruction execution.
A memory may also be provided in the 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 the processor 110 has just used or recycled. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby improving the efficiency of the system.
In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include an integrated circuit (inter-INTEGRATED CIRCUIT, I2C) interface, an integrated circuit built-in audio (inter-INTEGRATED CIRCUIT SOUND, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous receiver transmitter (universal asynchronous receiver/transmitter, UART) interface, a mobile industry processor interface (mobile industry processor interface, MIPI), a general-purpose input/output (GPIO) interface, a subscriber identity module (subscriber identity module, SIM) interface, and/or a universal serial bus (universal serial bus, USB) interface, among others.
The I2C interface is a bi-directional synchronous serial bus comprising a serial data line (SERIAL DATA LINE, SDA) and a serial clock line (derail clock line, SCL). In some embodiments, the processor 110 may contain multiple sets of I2C buses. The processor 110 may be coupled to the touch sensor 180K, charger, flash, camera 193, etc., respectively, through different I2C bus interfaces. For example: the processor 110 may be coupled to the touch sensor 180K through an I2C interface, such that the processor 110 communicates with the touch sensor 180K 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, the processor 110 may contain multiple sets of I2S buses. The processor 110 may be coupled to the audio module 170 via an I2S bus to enable communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 may transmit an audio signal to the wireless communication module 160 through the I2S interface, to implement a function of answering a call through the bluetooth headset.
PCM interfaces may also be used for audio communication to sample, quantize and encode analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 may be coupled through 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 to implement a function of answering a call through the 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 for asynchronous communications. The bus may be a bi-directional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, a UART interface is typically 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 an audio signal to the wireless communication module 160 through a UART interface, to implement a function of playing music through a bluetooth headset.
The MIPI interface may be used to connect the processor 110 to peripheral devices such as a display 194, a camera 193, and the like. The MIPI interfaces include camera serial interfaces (CAMERA SERIAL INTERFACE, CSI), display serial interfaces (DISPLAY SERIAL INTERFACE, DSI), and the like. In some embodiments, processor 110 and camera 193 communicate through a CSI interface to implement the photographing functions of electronic device 100. The processor 110 and the display 194 communicate via a DSI interface to implement the display functionality of the electronic device 100.
The GPIO interface may be configured by software. The GPIO interface may be configured as a control signal or 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, an I2S interface, a UART interface, an MIPI interface, etc.
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 transfer data between the electronic device 100 and a peripheral device. And can also be used for connecting with a headset, and playing audio through the headset. The interface may also be used to connect other terminal devices, such as AR devices, etc.
It should be understood that the interfacing relationship between the modules illustrated in the embodiments of the present application is only illustrative, and is not meant to limit the structure of the electronic device 100. In other embodiments of the present application, the electronic device 100 may also employ different interfacing manners in the above embodiments, or a combination of multiple interfacing manners.
The charge management module 140 is configured to receive a charge input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charge management module 140 may receive a charging input of a wired charger through the USB interface 130. In some wireless charging embodiments, the charge management module 140 may receive 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 for connecting the battery 142, and the charge 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 configured to monitor battery capacity, battery cycle number, battery health (leakage, impedance) and other parameters. In other embodiments, the power management module 141 may also be provided in the processor 110. In other embodiments, the power management module 141 and the charge 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 may also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed into 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 for wireless communication including 2G/3G/4G/5G, etc., applied to the electronic device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA), etc. The mobile communication module 150 may receive electromagnetic waves from the antenna 1, perform processes such as filtering, amplifying, and the like on the received electromagnetic waves, and transmit the processed electromagnetic waves to the modem processor for demodulation. The mobile communication module 150 can amplify the signal modulated by the modem processor, and convert the signal into electromagnetic waves through the antenna 1 to radiate. 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 the 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 transmits the demodulated low frequency baseband signal to the baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs sound signals through an audio device (not limited to the speaker 170A, the receiver 170B, etc.), or displays images 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 module, independent of the processor 110.
The wireless communication module 160 may provide solutions for wireless communication including wireless local area network (wireless local area networks, WLAN) (e.g., wireless fidelity (WIRELESS FIDELITY, wi-Fi) network), bluetooth (BT), global navigation satellite system (global navigation SATELLITE SYSTEM, GNSS), frequency modulation (frequency modulation, FM), near field communication (NEAR FIELD communication, NFC), infrared (IR), etc., applied to the electronic device 100. The wireless communication module 160 may be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the electromagnetic wave signals, filters the 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, frequency modulate it, amplify it, and convert it to electromagnetic waves for radiation via the antenna 2.
In some embodiments, antenna 1 and mobile communication module 150 of electronic device 100 are coupled, and antenna 2 and wireless communication module 160 are coupled, such that electronic device 100 may communicate with a network and other devices through wireless communication techniques. The wireless communication techniques can include the Global System for Mobile communications (global system for mobile communications, GSM), general packet radio service (GENERAL PACKET radio service, GPRS), code division multiple access (code division multiple access, CDMA), wideband code division multiple access (wideband code division multiple access, WCDMA), time division code division multiple access (time-division code division multiple access, TD-SCDMA), long term evolution (long term evolution, LTE), BT, GNSS, WLAN, NFC, FM, and/or IR techniques, among others. The GNSS may include a global satellite positioning system (global positioning system, GPS), a global navigation satellite system (global navigation SATELLITE SYSTEM, GLONASS), a beidou satellite navigation system (beidou navigation SATELLITE SYSTEM, BDS), a quasi zenith satellite system (quasi-zenith SATELLITE SYSTEM, QZSS) and/or a satellite based augmentation system (SATELLITE BASED AUGMENTATION SYSTEMS, SBAS).
The electronic device 100 implements display functions through a GPU, a display screen 194, an application processor, and the like. The GPU is a microprocessor for image processing, and is connected to the display 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
The display screen 194 is used to display images, videos, and the like. The display 194 includes a display panel. The display panel may employ a Liquid Crystal Display (LCD) CRYSTAL DISPLAY, an organic light-emitting diode (OLED), an active-matrix organic LIGHT EMITTING diode (AMOLED), a flexible light-emitting diode (FLED), miniled, microLed, micro-oLed, a quantum dot LIGHT EMITTING diode (QLED), or 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 photographing functions through an ISP, a camera 193, a video codec, a GPU, a display screen 194, an application processor, and the like.
The ISP is used to process data fed back by the camera 193. For example, when photographing, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electric signal, and the camera photosensitive element transmits the electric signal to the ISP for processing and is converted into an image visible to naked eyes. ISP can also optimize 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 the 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 onto the photosensitive element. The photosensitive element may be a charge coupled device (charge coupled device, CCD) or a Complementary Metal Oxide Semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, which is then transferred to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV, or the like format. 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 other digital signals besides digital image signals. For example, when the electronic device 100 selects a frequency bin, the digital signal processor is used to fourier transform the frequency bin energy, or the like.
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: dynamic picture experts group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
The NPU is a neural-network (NN) computing processor, and can rapidly process input information by referencing a biological neural network structure, for example, referencing a transmission mode between human brain neurons, and can also continuously perform self-learning. Applications such as intelligent awareness of the electronic device 100 may be implemented through the NPU, for example: image recognition, face recognition, speech recognition, text understanding, etc.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to enable expansion of the memory capabilities of the electronic device 100. The external memory card communicates with the processor 110 through an external memory interface 120 to implement data storage functions. For example, files such as music, video, etc. are stored in an external memory card.
The internal memory 121 may be used to store computer executable program code including 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 storage program area and a storage data area. The storage program area may store an application program (such as a sound playing function, an image playing function, etc.) required for at least one function of the operating system, etc. The storage data area may store data created during use of the electronic device 100 (e.g., audio data, phonebook, etc.), and so on. 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 (universal flash storage, UFS), and the like.
The electronic device 100 may implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, an application processor, and the like. Such as music playing, recording, etc.
The audio module 170 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. 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 a portion of the functional modules of the audio module 170 may be disposed in the processor 110.
The speaker 170A, also referred to as a "horn," is used to convert audio electrical signals into sound signals. The electronic device 100 may listen to music, or to hands-free conversations, through the speaker 170A.
A receiver 170B, also referred to as a "earpiece", is used to convert the audio electrical signal into a sound signal. When electronic device 100 is answering a telephone call or voice message, voice may be received by placing receiver 170B in close proximity to the human ear.
Microphone 170C, also referred to as a "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or transmitting voice information, the user can sound near the microphone 170C through the mouth, inputting a sound signal to the microphone 170C. 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, and may implement a noise reduction function in addition to collecting sound signals. In other embodiments, the electronic device 100 may also be provided with three, four, or more microphones 170C to enable collection of sound signals, noise reduction, identification of sound sources, directional recording functions, etc.
The earphone interface 170D is used to connect a wired earphone. The earphone interface 170D may be a USB interface 130 or a 3.5mm open mobile terminal platform (open mobile terminal platform, OMTP) standard interface, a american cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
The pressure sensor 180A is used to sense a pressure signal, and may 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 is of various types, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, and the like. The capacitive pressure sensor may be a capacitive pressure sensor comprising at least two parallel plates with conductive material. The capacitance between the electrodes changes when a force is applied to the pressure sensor 180A. 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 apparatus 100 detects the touch operation intensity according to the pressure sensor 180A. The electronic device 100 may also calculate the location of the touch based on the detection signal of the pressure sensor 180A. In some embodiments, touch operations that act on the same touch location, but at different touch operation strengths, may correspond to different operation instructions. For example: and executing an instruction for checking the short message when the touch operation with the touch operation intensity smaller than the first pressure threshold acts on the short message application icon. And executing an instruction for newly creating the short message when the touch operation with the touch operation intensity being greater than or equal to the first pressure threshold acts on the short message application icon.
The gyro sensor 180B may be used to determine a motion gesture of the electronic device 100. In some embodiments, the angular velocity of electronic device 100 about three axes (i.e., x, y, and z axes) may be determined by gyro 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 the shake angle of the electronic device 100, calculates the distance to be compensated by the lens module according to the angle, and makes the lens counteract the shake of the electronic device 100 through the reverse motion, so as to realize anti-shake. The gyro sensor 180B may also be used for navigating, somatosensory game scenes.
The air pressure sensor 180C is used to measure air pressure. In some embodiments, electronic device 100 calculates altitude from barometric pressure values measured by barometric pressure sensor 180C, aiding in positioning and navigation.
The magnetic sensor 180D includes a hall sensor. The electronic device 100 may detect the opening and closing of the flip cover using the magnetic sensor 180D. In some embodiments, when the electronic device 100 is a flip machine, 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 gesture of the electronic equipment 100, and can be applied to applications such as horizontal and vertical screen switching, pedometers and the like.
A distance sensor 180F for measuring a distance. The electronic device 100 may measure the distance by infrared or laser. In some embodiments, the electronic device 100 may range using the distance sensor 180F to achieve quick 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 outward through the light emitting diode. The electronic device 100 detects infrared reflected light from nearby objects using a photodiode. When sufficient reflected light is detected, it may be determined that there is an object in the vicinity of the electronic device 100. When insufficient reflected light is detected, the electronic device 100 may determine that there is no object in the vicinity of the electronic device 100. The electronic device 100 can detect that the user holds the electronic device 100 close to the ear by using the proximity light sensor 180G, so as to automatically extinguish the screen for the purpose of saving power. The proximity light sensor 180G may also be used in holster mode, pocket mode to automatically unlock and lock the screen.
The ambient light sensor 180L is used to sense ambient light level. The electronic device 100 may adaptively adjust the brightness of the display 194 based on the perceived ambient light level. The ambient light sensor 180L may also be used to automatically adjust white balance when taking a photograph. Ambient light sensor 180L may also cooperate with proximity light sensor 180G to detect whether electronic device 100 is in a pocket to prevent false touches.
The fingerprint sensor 180H is used to collect a fingerprint. The electronic device 100 may utilize the collected fingerprint feature to unlock the fingerprint, access the application lock, photograph the fingerprint, answer the incoming call, etc.
The temperature sensor 180J is for detecting temperature. In some embodiments, the electronic device 100 performs a temperature processing strategy using the temperature detected by the temperature sensor 180J. For example, when the temperature reported by temperature sensor 180J exceeds a threshold, electronic device 100 performs a reduction in the performance of a processor located in the vicinity of temperature sensor 180J in order to reduce power consumption to implement thermal protection. In other embodiments, when the temperature is below another threshold, the electronic device 100 heats the battery 142 to avoid the low temperature causing the electronic device 100 to be abnormally shut down. In other embodiments, when the temperature is below a further threshold, the electronic device 100 performs boosting of the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperatures.
The touch sensor 180K, 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 for detecting a touch operation acting thereon or thereabout. The touch sensor may communicate the detected touch operation to the application processor to determine the touch event type. Visual output related to touch operations may be provided through the display 194. In other embodiments, the touch sensor 180K may also be disposed on the surface of the electronic device 100 at a different location than the display 194.
The bone conduction sensor 180M may acquire a vibration signal. In some embodiments, bone conduction sensor 180M may acquire a vibration signal of a human vocal tract vibrating bone pieces. The bone conduction sensor 180M may also contact the pulse of the human body to receive the blood pressure pulsation signal. In some embodiments, bone conduction sensor 180M may also be provided in a headset, in combination with an osteoinductive headset. The audio module 170 may analyze the voice signal based on the vibration signal of the sound portion vibration bone block obtained by the bone conduction sensor 180M, so as to implement a voice function. The application processor may analyze the heart rate information based on the blood pressure beat signal acquired by the bone conduction sensor 180M, so as to implement a heart rate detection function.
The keys 190 include a power-on key, a volume key, etc. The keys 190 may be mechanical keys. Or may be a touch key. The electronic device 100 may receive key inputs, generating key signal inputs related to user settings and function controls of the electronic device 100.
The motor 191 may generate a vibration cue. The motor 191 may be used for incoming call vibration alerting as well as for touch vibration feedback. For example, touch operations acting on different applications (e.g., photographing, audio playing, etc.) may correspond to different vibration feedback effects. The motor 191 may also correspond to different vibration feedback effects by touching different areas of the display screen 194. Different application scenarios (such as time reminding, receiving information, alarm clock, game, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect may also support customization.
The indicator 192 may be an indicator light, may be used to indicate a state of charge, a change in charge, a message indicating a missed call, a notification, etc.
The SIM card interface 195 is used to connect a SIM card. The SIM card may be inserted into the SIM card interface 195, or removed from the SIM card interface 195 to enable contact and separation with the electronic device 100. 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 Nano SIM cards, micro SIM cards, and the like. The same SIM card interface 195 may be used to insert multiple cards simultaneously. 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 may also be compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to realize functions such as communication and data communication. In some embodiments, the electronic device 100 employs esims, i.e.: an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.
It should be understood that the electronic device 100 shown in fig. 10 is only one 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 structure 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 is the same as or similar to the structure of the electronic device 100, and the relevant content of the structure may refer to the relevant text description of the structure of the electronic device 100 shown in fig. 10, which is not repeated herein.
The following describes a software structure of the electronic device 100 according to an embodiment of the present application.
Fig. 11 schematically shows a software structure of an electronic device 100 provided in an embodiment of the application.
As shown in fig. 11, the software system of the electronic device 100 may employ a layered architecture, an event driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. In the embodiment of the application, taking an Android system with a layered architecture as an example, a software structure of the electronic device 100 is illustrated.
The layered architecture divides the software into several layers, each with distinct roles and branches. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, from top to bottom, an application layer, an application framework layer, an Zhuoyun rows (Android runtime) and system libraries, and a kernel layer, respectively.
The application layer may include a series of application packages.
As shown in fig. 11, the application package may include applications such as cameras, gallery, calendar, talk, map, chat, WLAN, bluetooth, music, video, short message, etc. Wherein the "chat" application may be the chat class APP mentioned in the previous embodiments.
The application framework layer provides an application programming interface (application programming interface, API) and programming framework for the application 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, a content provider, a view system, a phone manager, a resource manager, a notification manager, a status service module, and the like.
The window manager is used for managing window programs. The window manager can acquire 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 such data accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phonebooks, 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, a display interface including a text message notification icon may include a view displaying text and a view displaying a picture.
The telephony manager is used to provide the communication functions of the electronic device 100. Such as the management of call status (including on, hung-up, etc.).
The resource manager provides various resources for the application program, such as localization strings, icons, pictures, layout files, video files, and the like.
The notification manager allows the application to display notification information in a status bar, can be used to communicate notification type messages, can automatically disappear after a short dwell, and does not require user interaction. Such as notification manager is used to inform that the download is complete, message alerts, etc. The notification manager may also be a notification in the form of a chart or scroll bar text that appears on the system top status bar, such as a notification of a background running application, or a notification that appears on the screen in the form of a dialog window. For example, a text message is prompted in a status bar, a prompt tone is emitted, the electronic device vibrates, and an indicator light blinks, etc.
The status service module may be used to obtain the user's current status (e.g., may obtain the user's current status from other devices or other APP), send the obtained user's current status to a chat-like application, save the user's current status and the sender name of the chat message, etc.
In some embodiments, the status service module may also be integrated in the "chat" application described above, i.e., the application framework layer may not include the status service module, but rather the status service module in the "chat" application.
Android run time includes a core library and virtual machines. Android runtime is responsible for scheduling and management of the android system.
The core library consists of 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. The virtual machine executes java files of the application program layer and the application program framework layer as binary files. The virtual machine is used for executing the functions of object life cycle management, stack management, thread management, security and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface manager (surface manager), media Libraries (Media Libraries), three-dimensional graphics processing Libraries (e.g., openGL ES), 2D graphics engines (e.g., SGL), etc.
The surface manager is used to manage the display subsystem and provides a fusion of 2D and 3D layers for multiple applications.
Media libraries support a variety of commonly used audio, video format playback and recording, still image files, and the like. The media library may support a variety of audio and video encoding formats, such as MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, etc.
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 kernel layer at least comprises a display driver, a camera driver, a Bluetooth driver and a sensor driver.
The workflow of the electronic device 100 software and hardware is illustrated below in connection with capturing a photo scene.
When 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 the original input event (including information such as touch coordinates, time stamp of touch operation, etc.). The original input event is stored at the kernel layer. The application framework layer acquires an original input event from the kernel layer, and identifies a control corresponding to the input event. Taking the touch operation as a touch click operation, taking a control corresponding to the click operation as an example of a control of a camera application icon, the camera application calls an interface of an application framework layer, starts the camera application, further starts a camera driver by calling a kernel layer, and captures a still image or video by the camera 193.
The software structure 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 relevant content of the software structure may refer to the relevant text description of the software structure of the electronic device 100 shown in fig. 11, which is not repeated herein.
The following describes the structure of another electronic device 100 provided in an embodiment of the present application.
Fig. 12 exemplarily shows a structure of another electronic apparatus 100 provided in an embodiment of the present application.
As shown in fig. 12, the electronic device 100 may include: chat-like application 1201, status service module 1202.
Chat class application 1201 may be used for the reception and transmission of chat messages, setting of status subscription rights, etc.
The status service module 1202 may be configured to obtain a user current status, send the obtained user current status to the chat-like application 1201, save the user current status and a sender name of the chat message, and the like.
In one possible implementation, the status service module 1202 may also be integrated into the chat-like application 1201.
In one possible implementation, the status service module 1202 may also be a device separate from the electronic device 100, e.g., the status service module 1202 may be a server.
Optionally, the electronic device 100 may further include a state monitoring module 1203 (e.g. sports health APP, etc.), which may have sports health data and state monitoring capabilities, for implementing real-time monitoring of the user state. In this case, the electronic device 100 may support both the chat class APP and the monitoring capability with sports health data and status, that is, the operations performed by the electronic device 100 and the electronic device 101 in the foregoing embodiments may be performed by the electronic device 100 only.
For more details on the function and the working principle of the electronic device 100, reference may be made to the relevant content in the above embodiments, which are not described herein.
The structure 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 the functions and working principles of each module may refer to the relevant content in each of the foregoing embodiments, which is not described herein again.
In the above embodiments, it may be implemented in whole or in part 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 processes or functions in accordance with the present application are produced in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by a wired (e.g., coaxial cable, fiber optic, digital subscriber line), or wireless (e.g., infrared, wireless, microwave, etc.). The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains an integration of one or more available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid State Drive (SSD)), etc.
Those of ordinary skill in the art will appreciate that implementing all or part of the above-described method embodiments may be accomplished by a computer program to instruct related hardware, the program may be stored in a computer readable storage medium, and the program may include the above-described method embodiments when executed. And the aforementioned storage medium includes: ROM or random access memory RAM, magnetic or optical disk, etc.
The above embodiments are only for illustrating the technical solution of the present application, and are not limiting; although the application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the application.

Claims (17)

1. A message reply method applied to a communication system comprising a first electronic device and a second electronic device, the method comprising:
the first electronic equipment receives a state subscription request or a group member state subscription broadcast message sent by the second electronic equipment;
The first electronic device displays the state subscription request or the group member state subscription broadcast message, wherein the state subscription request or the group member state subscription broadcast message is used for indicating the first electronic device to set state subscription rights of a second user which is open to the second electronic device or is used for indicating the first electronic device to set state subscription rights of a first group which the second user which is open to the second electronic device belongs to, and the state subscription rights set by the first electronic device comprise a first user state and a second user state;
The first electronic equipment detects that a first user is in the first user state through a sensor, or determines that the first user is in the first user state through user setting records, wherein the first user state is inconvenient for replying to a message;
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 equipment receives a second message sent by the second electronic equipment, the second message is a group chat message in the first group, and the second message comprises a user name of the first user;
the first electronic device does not display a message reminder for the first message or the second message;
The second electronic equipment displays a chat interface between the first user and the second user, a first state message from the first user is displayed in the chat interface displayed by the second electronic equipment, and the first state message is used for indicating that the first user is in the first user state; the first electronic equipment displays a chat interface between the first user and the second user, the first state message sent to the second user is displayed in the chat interface displayed by the first electronic equipment, and the first state message in the chat interface displayed by the first electronic equipment and the second electronic equipment is triggered and sent by the first message or the second message;
The first electronic device detects that the first user is in the second user state through the sensor, or determines that the first user is in the second user state through the user setting record, wherein the second user state is a state convenient for replying to a message;
The first electronic device displays a message reminder for the first message or the second message;
The second electronic equipment displays a chat interface between the first user and the second user, and a second status message from the first user is displayed in the chat interface displayed by the second electronic equipment and is used for indicating that the first user is in the second user state; the first electronic equipment displays a chat interface between the first user and the second user, and the second state message sent to the second user is displayed in the chat interface displayed by the first electronic equipment.
2. The method according to claim 1, wherein the method further comprises:
Detecting an operation of a user aiming at the state subscription request, wherein the first electronic equipment displays a first setting interface, the first setting interface comprises one or more options for setting the state subscription authority of the second user, the first electronic equipment detects the option of the user aiming at the one or more state subscription authorities of the second user, and the first electronic equipment stores the state subscription authority information of the second user and the user name of the second user;
Or alternatively, the first and second heat exchangers may be,
Detecting an operation of broadcasting a message aiming at the status of the group members, wherein the first electronic equipment displays a second setting interface, one or more options for setting the status subscription authority of the first group are included in the second setting interface, the first electronic equipment detects an option of a user aiming at the status subscription authority of the one or more status subscription authorities of the first group, and the status subscription authority information of the first group and the group name of the first group are saved by the first electronic equipment;
the state subscription authority 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.
3. The method of claim 1, wherein the communication system further comprises a third electronic device, the method further comprising:
detecting an operation of a user for the state subscription request or an operation of broadcasting a message for the group member state;
the first electronic device sends a first instruction to the third electronic device, wherein the first instruction is used for indicating the third electronic device to replace the first user to set state subscription permission;
the third electronic equipment detects the operation of setting state subscription permission by a user;
the third electronic equipment stores and sends first information to the first electronic equipment;
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.
4. The method of claim 1, wherein prior to the second electronic device displaying the chat interface of the first user with the second user, the method further comprises:
The first electronic device detects that the first user state is different from the second user state 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 alternatively, the first and second heat exchangers may be,
The first electronic device determines, through the user setting record, that the first user state is different from the second user state.
5. The method of claim 4, wherein prior to the second electronic device displaying the chat interface of the first user with the second user, the method further comprises:
The first electronic device 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 device;
the first electronic device detects an operation that a user agrees to send the second status message to the second electronic device.
6. The method according to claim 2, wherein the method further comprises:
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 has opened state subscription rights to the second user or group members in the first group.
7. The method of claim 2, wherein prior to the second electronic device displaying the chat interface of the first user with the second user, the method further comprises:
The first electronic device determines that the state subscription authority is opened to the second user based on the stored state subscription authority information of the second user and the user name of the second user;
Or alternatively, the first and second heat exchangers may be,
The first electronic device determines that state subscription rights have been opened to group members in the first group based on the saved state subscription rights information for the first group and the group name of the first group.
8. The method according to any one of claims 1-7, characterized in that the method comprises:
The second electronic device displays a second prompt, wherein the second prompt is used for prompting a user whether to notify the second user when the first user is in the second user state;
the second electronic equipment detects the operation of the user agreeing to the notification;
The second electronic device sends a second instruction to the first electronic device, and the second instruction is used for indicating the first electronic device to send the second status message to the second electronic device when the first user is in the second user state.
9. A message reply method applied to a first electronic device, the method comprising:
the first electronic equipment receives a state subscription request or a group member state subscription broadcast message sent by the second electronic equipment;
the first electronic device displays the state subscription request or the group member state subscription broadcast message, wherein the state subscription request or the group member state subscription broadcast message is used for indicating the first electronic device to set state subscription authority, the state subscription authority of the second user, which is set by the first electronic device and is open to the second electronic device, comprises a first user state and a second user state, or the state subscription authority of the first group, which is set by the first electronic device and is open to the second user of the second electronic device, comprises a first user state and a second user state;
The first electronic equipment detects that a first user is in the first user state through a sensor, or determines that the first user is in the first user state through user setting records, wherein the first user state is inconvenient for replying to a message;
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 equipment receives a second message sent by the second electronic equipment, the second message is a group chat message in the first group, and the second message comprises a user name of the first user;
the first electronic device does not display a message reminder for the first message or the second message;
The first electronic equipment displays a chat interface between the first user and the second user, wherein a first state message sent to the second user at a first time is displayed in the chat interface, and the first state message is used for indicating that the first user is in the first user state, and the first state message in the chat interface is triggered by the first message or the second message and is sent;
The first electronic device detects that the first user is in the second user state through the sensor, or determines that the first user is in the second user state through the user setting record, wherein the second user state is a state convenient for replying to a message;
The first electronic device displays a message reminder for the first message or the second message;
The first electronic device displays a chat interface between the first user and the second user, wherein a second status message sent to the second user 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.
10. The method according to claim 9, wherein the method further comprises:
Detecting an operation of a user aiming at the state subscription request, wherein the first electronic equipment displays a first setting interface, the first setting interface comprises one or more options for setting the state subscription authority of the second user, the first electronic equipment detects the option of the user aiming at the one or more state subscription authorities of the second user, and the first electronic equipment stores the state subscription authority information of the second user and the user name of the second user;
Or alternatively, the first and second heat exchangers may be,
Detecting an operation of broadcasting a message aiming at the status of the group members, wherein the first electronic equipment displays a second setting interface, one or more options for setting the status subscription authority of the first group are included in the second setting interface, the first electronic equipment detects an option of a user aiming at the status subscription authority of the one or more status subscription authorities of the first group, and the status subscription authority information of the first group and the group name of the first group are saved by the first electronic equipment;
the state subscription authority 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.
11. The method according to claim 9, wherein the method further comprises:
detecting an operation of a user for the state subscription request or an operation of broadcasting a message for the group member state;
the first electronic device sends a first instruction to third electronic device, wherein the first instruction is used for indicating the third electronic device to replace the first user to set state subscription permission;
the first electronic device receives and stores first information sent by the third electronic device, 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.
12. The method of claim 9, 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 device detects that the first user state is different from the second user state 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 alternatively, the first and second heat exchangers may be,
The first electronic device determines, through the user setting record, that the first user state is different from the second user state.
13. The method of claim 12, 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 device 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 device;
the first electronic device detects an operation that a user agrees to send the second status message to the second electronic device.
14. The method according to claim 10, wherein the method further comprises:
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 has opened state subscription rights to the second user or group members in the first group.
15. The method of claim 10, 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 device determines that the state subscription authority is opened to the second user based on the stored state subscription authority information of the second user and the user name of the second user;
Or alternatively, the first and second heat exchangers may be,
The first electronic device determines that state subscription rights have been opened to group members in the first group based on the saved state subscription rights information for the first group and the group name of the first group.
16. An electronic device, characterized in that, the electronic device includes one or more processors and one or more memories; wherein the one or more memories are coupled to the one or more processors, the one or more memories for storing 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 9-15.
17. A computer storage medium storing a computer program comprising program instructions which, when run on an electronic device, cause the electronic device to perform the method of any one of claims 9-15.
CN202111157550.0A 2021-09-28 2021-09-28 Message reply method and related equipment Active CN115883714B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111157550.0A CN115883714B (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 CN115883714B (en) 2021-09-28 2021-09-28 Message reply method and related equipment

Publications (2)

Publication Number Publication Date
CN115883714A CN115883714A (en) 2023-03-31
CN115883714B true CN115883714B (en) 2024-09-17

Family

ID=85756606

Family Applications (1)

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

Country Status (1)

Country Link
CN (1) CN115883714B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (5)

* 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
CN107026941B (en) * 2017-05-26 2020-06-02 北京小米移动软件有限公司 Method and device for processing reply of unread message
CN112565519B (en) * 2020-11-30 2022-01-18 Oppo(重庆)智能科技有限公司 Message reminding method and device, electronic equipment and readable storage medium
CN113037932B (en) * 2021-02-26 2022-09-23 北京百度网讯科技有限公司 Reply message generation method and device, electronic equipment and storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Also Published As

Publication number Publication date
CN115883714A (en) 2023-03-31

Similar Documents

Publication Publication Date Title
WO2021017889A1 (en) Display method of video call appliced to electronic device and related apparatus
WO2021213164A1 (en) Application interface interaction method, electronic device, and computer readable storage medium
CN113542485B (en) Notification processing method, electronic equipment and computer readable storage medium
CN110401767B (en) Information processing method and apparatus
EP4002144A1 (en) File sharing method and device for mobile terminal
EP4187891A1 (en) Method and system for replying to message, and electronic device
CN114173204A (en) Message prompting method, electronic equipment and system
CN114115770B (en) Display control method and related device
EP3923617A1 (en) Method for reducing power consumption of mobile terminal and mobile terminal
WO2021000817A1 (en) Ambient sound processing method and related device
WO2021031865A1 (en) Call method and apparatus
CN113170279B (en) Communication method based on low-power Bluetooth and related device
EP4187872A1 (en) Task processing method and related electronic device
WO2022088964A1 (en) Control method and apparatus for electronic device
EP4138377A1 (en) Family schedule fusion method and apparatus
CN112543447A (en) Device discovery method based on address list, audio and video communication method and electronic device
WO2020062304A1 (en) File transmission method and electronic device
CN115022807A (en) Express delivery information reminding method and electronic equipment
CN114064160A (en) Application icon layout method and related device
EP4398613A1 (en) Audio playing method, and electronic device and system
CN117785340A (en) Card sharing method and device
CN114520887B (en) Video call background switching method and first terminal equipment
CN115883714B (en) Message reply method and related equipment
WO2020216144A1 (en) Method for adding mail contact, and electronic device
CN116301483A (en) Application card management method, electronic device and storage medium

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
GR01 Patent grant
GR01 Patent grant