CN114173204A - Message prompting method, electronic equipment and system - Google Patents

Message prompting method, electronic equipment and system Download PDF

Info

Publication number
CN114173204A
CN114173204A CN202010844414.8A CN202010844414A CN114173204A CN 114173204 A CN114173204 A CN 114173204A CN 202010844414 A CN202010844414 A CN 202010844414A CN 114173204 A CN114173204 A CN 114173204A
Authority
CN
China
Prior art keywords
electronic device
message
user
information
electronic
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.)
Granted
Application number
CN202010844414.8A
Other languages
Chinese (zh)
Other versions
CN114173204B (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 CN202010844414.8A priority Critical patent/CN114173204B/en
Priority to PCT/CN2020/142600 priority patent/WO2021164445A1/en
Priority to CN202080100013.XA priority patent/CN115428413A/en
Publication of CN114173204A publication Critical patent/CN114173204A/en
Application granted granted Critical
Publication of CN114173204B publication Critical patent/CN114173204B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/488Data services, e.g. news ticker
    • H04N21/4882Data services, e.g. news ticker for displaying messages, e.g. warnings, reminders
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video stream to a specific local network, e.g. a Bluetooth® network
    • H04N21/43637Adapting the video stream to a specific local network, e.g. a Bluetooth® network involving a wireless protocol, e.g. Bluetooth, RF or wireless LAN [IEEE 802.11]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4367Establishing a secure communication between the client and a peripheral device or smart card
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/441Acquiring end-user identification, e.g. using personal code sent by the remote control or by inserting a card
    • H04N21/4415Acquiring end-user identification, e.g. using personal code sent by the remote control or by inserting a card using biometric characteristics of the user, e.g. by voice recognition or fingerprint scanning
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/475End-user interface for inputting end-user data, e.g. personal identification number [PIN], preference data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/33Services specially adapted for particular environments, situations or purposes for indoor environments, e.g. buildings
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/40Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/12Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Human Computer Interaction (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • General Health & Medical Sciences (AREA)
  • Theoretical Computer Science (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

The application provides a method, electronic equipment and a system for prompting messages, wherein the method comprises the following steps: the first electronic equipment receives a message; the first electronic equipment sends the message to the second electronic equipment when determining that the equipment focused by the owner of the first electronic equipment is the second electronic equipment; and the second electronic equipment prompts the message to the user according to the equipment information of the second electronic equipment. The embodiment of the application is beneficial to the prompt that the user receives the message in time, and the user is prevented from missing important messages; meanwhile, different message prompt modes are presented to the user through different equipment information, and the user experience is improved.

Description

Message prompting method, electronic equipment and system
Technical Field
The present application relates to the field of terminals, and more particularly, to a method, an electronic device, and a system for prompting a message.
Background
Currently, users have more and more devices, more and more applications and services on the devices, more and more notification messages sent by various applications and services, and users are being inundated with "flooding" notifications. Meanwhile, as more and more devices are provided for users, the users cannot acquire and process the notification messages in time, so that the users miss important notification messages, and the user experience is affected.
Disclosure of Invention
The application provides a method, electronic equipment and system for prompting a message, which are beneficial for a user to receive a prompt of the message in time, so that the user is prevented from missing an important message, and the user experience is improved.
In a first aspect, a system is provided that includes a first electronic device and a second electronic device, wherein the first electronic device is configured to receive a message; the first electronic device is further used for sending the message to the second electronic device when the device focused by the owner of the first electronic device is determined to be the second electronic device; the second electronic device is used for prompting the message to the user according to the device information of the second electronic device.
In the embodiment of the application, when the first electronic device determines that the device focused by the user is not the first electronic device but the second electronic device, the first electronic device can forward the message to the second electronic device, and the second electronic device can prompt the message to the user according to the device information of the second electronic device, so that the prompt that the user receives the message in time is facilitated, and the user is prevented from missing important messages; meanwhile, different second electronic devices have different device information, so that prompts in different modes can be presented to the user, and the user experience in message receiving is improved.
In some possible implementations, the device information of the second electronic device may include, but is not limited to: hardware capability information of the second electronic device (e.g., whether the second electronic device is a large screen device or the second electronic device is a car machine), a current state of the device (e.g., whether the device is currently interacting with a user, or whether the device is in an immersive state), and so forth.
In some possible implementations, the second electronic device may be a device in a device list in the first electronic device; alternatively, the second electronic device may be a device surrounding the first electronic device.
With reference to the first aspect, in some implementations of the first aspect, the device information includes that the second electronic device has a display screen, and the second electronic device is specifically configured to: the second electronic device displays a message reminding frame through the display screen, wherein the message reminding frame comprises the message and the message reminding frame does not comprise a control.
In the embodiment of the application, for the second electronic device with the display screen, the second electronic device does not display the control when prompting the message to the user, and the user can check the message in the notification center of the second electronic device when wishing to reply the message, so that the user can be helped to timely receive the prompt of the message, the user is prevented from missing important messages, and the user experience is improved.
With reference to the first aspect, in some implementations of the first aspect, the device information includes that the second electronic device has a display screen, and the second electronic device is specifically configured to: when the second electronic equipment detects that the input of a user is being received, displaying a message reminding frame through the display screen without positioning a cursor in the message reminding frame, wherein the message reminding frame comprises the message; or when the second electronic device detects that the input of the user is not received, the reminding frame is displayed through the display screen, and the cursor is positioned in the message reminding frame.
In the embodiment of the application, for the second electronic device with the display screen, if the second electronic device receives the message forwarded by the first electronic device and the second electronic device is receiving the input of the user (or the second electronic device is interacting with the user), the second electronic device may not position the cursor in the message reminding frame, so that the trouble of the current operation of the user is avoided, and the user experience is improved.
With reference to the first aspect, in certain implementations of the first aspect, the second electronic device is further configured to: when the second electronic device detects that the input of the user is being received, prompt information is displayed through the display screen, and the prompt information is used for prompting the user to position the cursor to the message prompting frame through a first operation.
In this embodiment of the application, if the second electronic device receives the input of the user (or the second electronic device is interacting with the user) while the second electronic device receives the message forwarded by the first electronic device, the second electronic device may further prompt the user to position the cursor to the message reminding box through a preset operation. Therefore, the user can be quickly positioned to the message reminding frame through the prompt message while avoiding the trouble caused by the current operation of the user, so that the user can conveniently reply the message, and the user experience is favorably improved.
In some possible implementations, the prompting message is used to prompt the user to position the cursor to the message prompting box through a first operation, including: the prompt message is used for prompting the user to position the cursor to the reply control in the message prompting frame through a first operation.
With reference to the first aspect, in some implementations of the first aspect, the device information includes that the second electronic device has a voice function, and the second electronic device is specifically configured to: reminding the user of receiving the message through voice; alternatively, the user is alerted to the contents of the message by voice.
In the embodiment of the application, for the second electronic device with the voice function, when the message received by the second electronic device from the first electronic device is a text message, the second electronic device may prompt the user to receive the message or prompt the user of the content of the message through voice. Therefore, the user is prevented from checking the screen of the second electronic device and obtaining the prompt of the message through the voice prompt, the user is prevented from missing important messages, and the user experience is improved.
In some possible implementations, the second electronic device is a car machine or a smart speaker.
With reference to the first aspect, in certain implementations of the first aspect, the first electronic device is further configured to send, to the second electronic device, indication information, where the indication information is used to instruct the second electronic device to add a reply control to the message; the second electronic device is specifically configured to display a message reminding frame according to the device information and the indication information, where the message reminding frame includes the message and the reply control; the second electronic equipment is also used for sending reply content to the first electronic equipment when the operation of replying the message by the user is detected; the first electronic device is further configured to reply to the message according to the reply content.
In this embodiment of the application, when it is determined that the device focused by the owner of the first electronic device is not the first electronic device but the second electronic device, the first electronic device may send a message and indication information to the second electronic device, so that the second electronic device may present a message reminding frame including the message and a reply control to a user. Therefore, the owner of the first electronic equipment can complete the virtual reply to the message on the second electronic equipment conveniently. The second electronic device may send the reply content to the first electronic device so that the first electronic device completes a true reply to the message. Therefore, the method and the device are beneficial to the user to receive the message prompt in time and finish the reply to the message, the process that the user returns to the first electronic equipment to reply to the message is avoided, and the user is prevented from missing important messages.
In some possible implementations, the second electronic device is a large-screen device, and then if the second electronic device is receiving the user input when receiving the indication information, the second electronic device may display a message alert box and position a cursor at a reply control in the message alert box; the second electronic device, upon receiving the indication, may display the message alert box without positioning a cursor at a reply control of the message alert box if the second electronic device does not receive the user's input.
With reference to the first aspect, in certain implementations of the first aspect, the message is a message of a first application, and the second electronic device is a device in which the first application is not installed.
In this embodiment of the application, if the second electronic device is a device that does not have the first application installed, the second electronic device may also obtain, by adding the reply control to the message reminding box after receiving the indication information, the content replied by the user through the reply content input by the user and the detected operation of clicking the reply control by the second electronic device, and send the replied content to the first electronic device. Thereby completing a true reply to the message on the first electronic device. Therefore, the user can receive the message in time, and the user is prevented from missing important messages, so that the user experience is improved.
With reference to the first aspect, in certain implementations of the first aspect, the device information includes that the second electronic device is provided with a camera, and the second electronic device is further configured to: when the second electronic equipment detects that only the owner of the first electronic equipment focuses on the second electronic equipment through a camera, prompting the content of the message; or when the second electronic device detects that a plurality of users including the owner of the first electronic device focus on the second electronic device through the camera, prompting that the message is received.
In the embodiment of the application, for a second electronic device with a camera, if the second electronic device detects that only the owner of the first electronic device focuses on the second electronic device through the camera, the second electronic device may prompt the content of the message to the user; if there are multiple users in focus with the second electronic device, including the owner of the first electronic device, the second electronic device may prompt the user for receipt of a message. Therefore, the method and the device help to avoid the disclosure of the user privacy, and ensure the safety of message forwarding, thereby improving the user experience.
With reference to the first aspect, in certain implementations of the first aspect, the second electronic device is further configured to: before prompting the user for the message, determining that the second electronic device is in a non-do-not-disturb mode, or determining that the second electronic device is not currently running a preset application.
In an embodiment of the application, the second electronic device may determine that it is in a non-immersive state before prompting the user for the message. The immersive state may also be understood as a notification disabled state, as the immersive state may be that the user disables the notification or turns on the do-not-disturb mode, or the immersive state may also be that an application running in the foreground of the second electronic device is a preset application (e.g., a video App or a game App). This helps avoid causing interference to the user, thereby helping to improve the user's experience.
With reference to the first aspect, in certain implementations of the first aspect, the first electronic device is further configured to: before sending the message to the second electronic equipment, determining the type of the message as a message type set by a user; or, before sending the message to the second electronic device, determining that the message is an Instant Messaging (IM) type message.
In the embodiment of the application, before forwarding the message to the second electronic device, the first electronic device may determine that the message is a message type set by the user or an IM type message, which is beneficial to avoiding that some unimportant messages are also forwarded to the second electronic device, thereby avoiding interference of the unimportant messages to the user and being beneficial to improving user experience.
With reference to the first aspect, in certain implementations of the first aspect, the first electronic device is further configured to: before sending the message to the second electronic device, determining a device for receiving message forwarding set by the second electronic device for a user; or before sending the message to the second electronic device, determining that the account logged in on the first electronic device is associated with the account logged in on the second electronic device.
In the embodiment of the application, before the first electronic device forwards the message to the second electronic device, the device, which is set by the second electronic device for the user and receives the message forwarding, can be determined first, or the account number logged in the first electronic device and the account number logged in the second electronic device are determined to be associated with each other, so that the message is favorably prevented from being forwarded to the unauthorized device of the user, the message forwarding safety is improved, the privacy of the user is prevented from being revealed, and the user experience is favorably improved.
With reference to the first aspect, in some implementations of the first aspect, the first electronic device is specifically configured to: when determining that the device which is currently focused by the owner of the first electronic device is not the first electronic device, sending request information to a second electronic device, wherein the request information is used for requesting the second electronic device to determine whether the owner of the first electronic device focuses on the second electronic device; the second electronic device is further configured to send response information to the first electronic device according to the request information, where the response information is used to indicate that the currently focused device of the owner of the first electronic device is the second electronic device; the first electronic device is specifically configured to: in response to receiving the response information, the message is sent to the second electronic device.
In this embodiment of the application, the second electronic device may be a device in a message forwarding list of the first electronic device, and the first electronic device may be a device under the same account number as the second electronic device (or the first electronic device and the second electronic device may store information of the same user), so that after receiving the request information, the second electronic device may acquire user characteristics and match the user characteristics with the owner characteristics of the first electronic device preset in the second electronic device, and if matching is successful, it is determined that a device currently focused by the owner of the first electronic device is the second electronic device, so as to send response information to the first electronic device. Therefore, the safety of message forwarding is improved, the situation that other users except the owner of the first electronic device receive the prompt of the message is avoided, and the experience of the user is improved.
In some possible implementation manners, after receiving the request message, the second electronic device may first determine whether the first electronic device and the second electronic device are devices under the same account. If the second electronic device determines that the first electronic device and the second electronic device are devices under the same account, the second electronic device may acquire feature information of a user focusing on the second electronic device through the user feature acquisition device, match the acquired user feature information with feature information of a owner of the first electronic device preset in the second electronic device, and send the response information to the first electronic device if the matching is successful.
With reference to the first aspect, in certain implementation manners of the first aspect, the second electronic device includes a user characteristic acquisition apparatus, and the first electronic device is specifically configured to: when determining that the device which is currently focused by the owner of the first electronic device is not the first electronic device, sending request information to a second electronic device, wherein the request information is used for requesting the second electronic device to determine whether the owner of the first electronic device focuses on the second electronic device; the second electronic device is further configured to: acquiring user characteristics through the user characteristic acquisition device according to the request information and sending the user characteristics to the first electronic equipment; the first electronic device is specifically configured to: determining that the user characteristic matches a preset user characteristic in the first electronic device before sending the notification message to the second electronic device.
In this embodiment of the present application, the second electronic device may be a device in a message forwarding list of the first electronic device, and the first electronic device may not be a device under the same account with the second electronic device (or the first electronic device and the second electronic device may store information of different users); alternatively, the second electronic device may be a device surrounding the first electronic device. Thus, after receiving the request message, the second electronic device can collect the feature information of the user focusing on the second electronic device through the user feature collecting device and send the feature information to the first electronic device. And the first electronic equipment matches with the user characteristic information preset in the first electronic equipment according to the characteristic information, and if the matching is successful, the message is forwarded to the second electronic equipment. Therefore, the safety of message forwarding is improved, the situation that other users except the owner of the first electronic device receive the prompt of the message is avoided, and the experience of the user is improved.
In a second aspect, a method for prompting a message is provided, and the method is applied to an electronic device, and includes: the electronic equipment receives a message sent by another electronic equipment, wherein the message is obtained by the other electronic equipment from a server; the electronic equipment prompts the message to the user according to the equipment information of the electronic equipment.
In the embodiment of the application, when the first electronic device determines that the device focused by the user is not the first electronic device but the second electronic device, the first electronic device can forward the message to the second electronic device, and the second electronic device can prompt the message to the user according to the device information of the second electronic device, so that the prompt that the user receives the message in time is facilitated, and the user is prevented from missing important messages; meanwhile, different second electronic devices have different device information, so that prompts in different modes can be presented to the user, and the user experience in message receiving is improved.
In some possible implementations, the device information of the second electronic device may include, but is not limited to: hardware capability information of the second electronic device (e.g., whether the second electronic device is a large screen device or the second electronic device is a car machine), a current state of the device (e.g., whether the device is currently interacting with a user, or whether the device is in an immersive state), and so forth.
With reference to the second aspect, in some implementations of the second aspect, the device information includes that the electronic device has a display screen, and the electronic device prompts the message to the user according to the device information of the electronic device, including: and displaying a message reminding frame through the display screen, wherein the message reminding frame comprises the message and the message reminding frame does not comprise a control.
In the embodiment of the application, for the electronic equipment with the display screen, the electronic equipment does not display the control when prompting the message to the user, and the user can check the message in the notification center of the electronic equipment when wishing to reply the message, so that the user can be helped to timely receive the prompt of the message, the user is prevented from missing the important message, and the user experience is improved.
With reference to the second aspect, in some implementations of the second aspect, the device information includes that the electronic device has a display screen, and the electronic device prompts the message to the user according to the device information of the electronic device, including: when the electronic equipment detects that the input of a user is being received, displaying a message reminding frame through the display screen without positioning a cursor in the message reminding frame, wherein the message reminding frame comprises the message; or when the electronic equipment detects that the input of the user is not received, the message reminding frame is displayed through the display screen, and the cursor is positioned in the message reminding frame.
In the embodiment of the application, for the electronic device with the display screen, if the electronic device receives the input of the user (or the second electronic device is interacting with the user) while the electronic device receives the message forwarded by the other electronic device, the electronic device may not position the cursor in the message reminding frame, so that the trouble of the current operation of the user is avoided, and the experience of the user is improved.
With reference to the second aspect, in certain implementations of the second aspect, the method further includes: when the electronic equipment detects that the input of a user is being received, prompt information is displayed through the display screen, and the prompt information is used for reminding the user to position the cursor to the message reminding frame through a first operation.
In the embodiment of the application, if the electronic device receives an input of a user while receiving a message forwarded by another electronic device (or a second electronic device is interacting with the user), the electronic device may further prompt the user to position a cursor to a message reminding box through a preset operation. Therefore, the user can be quickly positioned to the message reminding frame through the prompt message while avoiding the trouble caused by the current operation of the user, so that the user can conveniently reply the message, and the user experience is favorably improved.
In some possible implementations, the prompting message is used to prompt the user to position the cursor to the message prompting box through a first operation, including: the prompt message is used for prompting the user to position the cursor to the reply control in the message prompting frame through a first operation.
With reference to the second aspect, in some implementations of the second aspect, the device information includes that the electronic device has a voice function, and the electronic device prompts the message to the user according to the device information of the electronic device, including: the electronic equipment reminds the user of receiving the message by voice; or the electronic equipment reminds the user of the content of the message through voice.
In the embodiment of the application, for the electronic device with the voice function, when the electronic device receives a message of another electronic device, the electronic device may prompt the user to receive the message or prompt the user of the content of the message through voice. Therefore, the user is prevented from being informed of the prompt of the message through the voice prompt by checking the screen of the electronic equipment, and the user is prevented from missing important messages, so that the user experience is improved.
In some possible implementations, the electronic device is a car machine or a smart speaker.
With reference to the second aspect, in some implementations of the second aspect, before the electronic device prompts the user with the message, the method further includes: the electronic equipment receives indication information sent by the other electronic equipment, wherein the indication information is used for indicating the electronic equipment to add a reply control to the message; the electronic device prompts the message to the user according to the device information, and the method comprises the following steps: the electronic equipment displays a message reminding frame according to the equipment information and the indication information, wherein the message reminding frame comprises the message and the reply control; after the electronic device prompts the message to the user, the method further comprises: and when the operation of replying to the message by the user is detected, sending the replied content to the other electronic equipment.
In the embodiment of the application, the electronic device can present a message reminding frame comprising the message and the reply control to the user according to the device information of the electronic device and the indication information. This may facilitate the user completing a virtual reply to the message on the electronic device. The electronic device may send the reply content to the other electronic device so that the other electronic device completes a true reply to the message. Therefore, the method and the device are beneficial to the user to receive the message prompt in time and finish the reply to the message, the process that the user returns to another electronic device to reply to the message is avoided, and the user is prevented from missing important messages.
With reference to the second aspect, in some implementations of the second aspect, the message is a message of a first application, and the electronic device is a device in which the first application is not installed.
In this embodiment of the application, if the second electronic device is a device that does not have the first application installed, the second electronic device may also obtain, by adding the reply control to the message reminding box after receiving the indication information, the content replied by the user through the reply content input by the user and the detected operation of clicking the reply control by the second electronic device, and send the replied content to the first electronic device. Thereby completing a true reply to the message on the first electronic device. Therefore, the user can receive the message in time, and the user is prevented from missing important messages, so that the user experience is improved.
With reference to the second aspect, in some implementations of the second aspect, the device information includes that the electronic device has a camera, and the electronic device prompts the message to the user according to the device information of the electronic device, including: when the electronic equipment detects that only the owner of the other electronic equipment focuses on the electronic equipment through the camera, the electronic equipment prompts the content of the message; or when the electronic equipment detects that a plurality of users including the owner of the other electronic equipment focus on the electronic equipment through the camera, prompting the user to receive the message.
In the embodiment of the application, for the electronic device with the camera, if the electronic device detects that only the owner of another electronic device focuses on the electronic device through the camera, the electronic device can prompt the content of the message to the user; if multiple users, including the owner of another electronic device, are focusing on the electronic device, the electronic device may prompt the user for receipt of a message. Therefore, the method and the device help to avoid the disclosure of the user privacy, and ensure the safety of message forwarding, thereby improving the user experience.
With reference to the second aspect, in certain implementations of the second aspect, the method further includes: before prompting the user for the message, it is determined that the electronic device is in a non-do-not-disturb mode, or that the electronic device is not currently running a preset application.
In an embodiment of the application, the electronic device may determine that it is in a non-immersive state before prompting the user for the message. The immersive state may also be understood as a notification disabled state, as the immersive state may be that the user disables the notification or turns on the do-not-disturb mode, or the immersive state may be that an application running in the foreground of the electronic device is a preset application (e.g., a video App or a game App). This helps avoid causing interference to the user, thereby helping to improve the user's experience.
With reference to the second aspect, in certain implementations of the second aspect, the method further includes: before receiving a message sent by the other electronic device, the electronic device receives request information sent by the other electronic device, wherein the request information is used for requesting the electronic device to determine whether an owner of the other electronic device focuses on the electronic device; and the electronic equipment sends response information to the other electronic equipment according to the request information, wherein the response information is used for indicating that the equipment currently focused by the owner of the other electronic equipment is the electronic equipment.
In this embodiment of the application, the electronic device may be a device in a message forwarding list of another electronic device, and the electronic device may be a device under the same account with the another electronic device (or the electronic device and the another electronic device may store information of the same user), so that after receiving the request information, the electronic device may collect user characteristics and match the user characteristics preset in the electronic device, and if matching is successful, it is determined that the device currently focused by the owner of the another electronic device is the electronic device, so as to send response information to the another electronic device. Therefore, the safety of message forwarding is improved, the situation that other users except the owner of another electronic device receive the prompt of the message is avoided, and the experience of the user is improved.
In some possible implementation manners, after receiving the request message, the electronic device may first determine whether another electronic device and the electronic device are devices under the same account. If the electronic device determines that the other electronic device and the electronic device are devices under the same account, the electronic device may collect feature information of a user focusing on the electronic device through the user feature collecting device, match the collected user feature information with feature information of a host of the other electronic device preset in the electronic device, and send the response information to the other electronic device if the matching is successful.
With reference to the second aspect, in some implementations of the second aspect, the electronic device includes a user characteristic acquisition apparatus, and the method further includes: before receiving a message sent by the other electronic device, the electronic device receives request information sent by the other electronic device, wherein the request information is used for requesting the electronic device to determine whether an owner of the other electronic device focuses on the electronic device; and the electronic equipment acquires the user characteristics through the user characteristic acquisition device according to the request information and sends the user characteristics to the other electronic equipment.
In this embodiment of the present application, the electronic device may be a device in a message forwarding list of another electronic device, and the electronic device may not be a device under the same account with the another electronic device (or the first electronic device and the second electronic device may store information of different users); alternatively, the electronic device may be a device around another electronic device. Thus, after receiving the request message, the electronic device can collect the feature information of the user focusing on the second electronic device through the user feature collecting device and send the feature information to another electronic device. And the other electronic equipment matches with the user characteristic information preset in the other electronic equipment according to the characteristic information, and if the matching is successful, the message is forwarded to the electronic equipment. Therefore, the safety of message forwarding is improved, the situation that other users except the owner of another electronic device receive the prompt of the message is avoided, and the experience of the user is improved.
In a third aspect, an apparatus for prompting a message is provided, where the apparatus is disposed in an electronic device, and the apparatus includes: the receiving unit is used for receiving a message sent by another electronic device; and the prompting unit is used for prompting the information to the user according to the equipment information of the device.
In a fourth aspect, an electronic device is provided, comprising: one or more processors; a memory; and one or more computer programs. Wherein the one or more computer programs are stored in the memory, the one or more computer programs comprising instructions. The instructions, when executed by the electronic device, cause the electronic device to perform the method of prompting for a message in any of the possible implementations of the second aspect described above.
In a fifth aspect, a computer program product comprising instructions is provided, which, when run on an electronic device, causes the electronic device to perform the method of prompting messages of the second aspect.
In a sixth aspect, a computer-readable storage medium is provided, which comprises instructions that, when executed on an electronic device, cause the electronic device to perform the method of prompting a message according to the second aspect.
In a seventh aspect, a chip is provided for executing instructions, and when the chip runs, the chip executes the method for prompting a message according to the second aspect.
Drawings
Fig. 1 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application.
Fig. 2 is a block diagram of a software structure provided in an embodiment of the present application.
FIG. 3 is a set of graphical user interfaces provided by embodiments of the present application.
Fig. 4 is another set of graphical user interfaces provided by embodiments of the present application.
Fig. 5 is another set of graphical user interfaces provided by embodiments of the present application.
Fig. 6 is another set of graphical user interfaces provided by embodiments of the present application.
Fig. 7 is another set of graphical user interfaces provided by embodiments of the present application.
Fig. 8 is another set of graphical user interfaces provided by embodiments of the present application.
Fig. 9 is another set of graphical user interfaces provided by embodiments of the present application.
FIG. 10 is another set of graphical user interfaces provided by embodiments of the present application.
FIG. 11 is another set of graphical user interfaces provided by embodiments of the present application.
FIG. 12 is another set of graphical user interfaces provided by embodiments of the present application.
FIG. 13 is another set of graphical user interfaces provided by embodiments of the present application.
FIG. 14 is a schematic diagram of source-side and sink-side interactions provided in an embodiment of the present application.
Fig. 15 is a schematic flow chart of a method for prompting a message according to an embodiment of the present application.
Fig. 16 is a schematic block diagram of an apparatus for prompting a message provided in an embodiment of the present application.
Fig. 17 is a schematic structural diagram of a reminder electronic device provided in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application. In the description of the embodiments herein, "/" means "or" unless otherwise specified, for example, a/B may mean a or B; "and/or" herein is merely an association describing an associated object, and means that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, in the description of the embodiments of the present application, "a plurality" or "a plurality" means two or more.
In the following, the terms "first", "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the present embodiment, "a plurality" means two or more unless otherwise specified.
The method provided by the embodiment of the application can be applied to electronic devices such as a mobile phone, a tablet personal computer, a wearable device, an in-vehicle device, an Augmented Reality (AR)/Virtual Reality (VR) device, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a Personal Digital Assistant (PDA), and the like, and the embodiment of the application does not limit the specific types of the electronic devices at all.
Fig. 1 shows a schematic structural diagram of an electronic device 100. The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a Universal Serial Bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a key 190, a motor 191, an indicator 192, a camera 193, a display screen 194, a Subscriber Identification Module (SIM) card interface 195, and the like. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
It is to be understood that the illustrated structure of the embodiment of the present application does not specifically limit the electronic device 100. In other embodiments of the present application, electronic device 100 may include more or fewer components than shown, or some components may be combined, some components may be split, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 110 may include one or more processing units, such as: the processor 110 may include an Application Processor (AP), a modem processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a memory, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural-Network Processing Unit (NPU), etc. The different processing units may be separate devices or may be integrated into one or more processors.
The controller may be, among other things, a neural center and a command center of the electronic device 100. The controller can generate an operation control signal according to the instruction operation code and the timing signal to complete the control of instruction fetching and instruction execution.
A memory may also be provided in processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Avoiding repeated accesses reduces the latency of the processor 110, thereby increasing the efficiency of the system.
In some embodiments, processor 110 may include one or more interfaces. The interface may include an integrated circuit (I2C) interface, an integrated circuit built-in audio (I2S) interface, a Pulse Code Modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a Mobile Industry Processor Interface (MIPI), a general-purpose input/output (GPIO) interface, a Subscriber Identity Module (SIM) interface, and/or a Universal Serial Bus (USB) interface, etc.
The I2C interface is a bi-directional synchronous serial bus that includes a serial data line (SDA) and a Serial Clock Line (SCL). In some embodiments, processor 110 may include multiple sets of I2C buses. The processor 110 may be coupled to the touch sensor 180K, the charger, the flash, the camera 193, etc. through different I2C bus interfaces, respectively. For example: the processor 110 may be coupled to the touch sensor 180K via an I2C interface, such that the processor 110 and the touch sensor 180K communicate via an I2C bus interface to implement the touch functionality of the electronic device 100.
The I2S interface may be used for audio communication. In some embodiments, processor 110 may include multiple sets of I2S buses. The processor 110 may be coupled to the audio module 170 via an I2S bus to enable communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 may communicate audio signals to the wireless communication module 160 via the I2S interface, enabling answering of calls via a bluetooth headset.
The PCM interface may also be used for audio communication, sampling, quantizing and encoding analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 may be coupled by a PCM bus interface. In some embodiments, the audio module 170 may also transmit audio signals to the wireless communication module 160 through the PCM interface, so as to implement a function of answering a call through a bluetooth headset. Both the I2S interface and the PCM interface may be used for audio communication.
The UART interface is a universal serial data bus used for asynchronous communications. The bus may be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, a UART interface is generally used to connect the processor 110 with the wireless communication module 160. For example: the processor 110 communicates with a bluetooth module in the wireless communication module 160 through a UART interface to implement a bluetooth function. In some embodiments, the audio module 170 may transmit the audio signal to the wireless communication module 160 through a UART interface, so as to realize the function of playing music through a bluetooth headset.
MIPI interfaces may be used to connect processor 110 with peripheral devices such as display screen 194, camera 193, and the like. The MIPI interface includes a Camera Serial Interface (CSI), a Display Serial Interface (DSI), and the like. In some embodiments, processor 110 and camera 193 communicate through a CSI interface to implement the capture functionality of electronic device 100. The processor 110 and the display screen 194 communicate through the DSI interface to implement the display function of the electronic device 100.
The GPIO interface may be configured by software. The GPIO interface may be configured as a control signal and may also be configured as a data signal. In some embodiments, a GPIO interface may be used to connect the processor 110 with the camera 193, the display 194, the wireless communication module 160, the audio module 170, the sensor module 180, and the like. The GPIO interface may also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, and the like.
The USB interface 130 is an interface conforming to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 130 may be used to connect a charger to charge the electronic device 100, and may also be used to transmit data between the electronic device 100 and a peripheral device. And the earphone can also be used for connecting an earphone and playing audio through the earphone. The interface may also be used to connect other electronic devices, such as AR devices and the like.
It should be understood that the interface connection relationship between the modules illustrated in the embodiments of the present application is only an illustration, and does not limit the structure of the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection manners or a combination of multiple interface connection manners in the above embodiments.
The charging management module 140 is configured to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive a wireless charging input through a wireless charging coil of the electronic device 100. The charging management module 140 may also supply power to the electronic device through the power management module 141 while charging the battery 142.
The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140 and provides power to the processor 110, the internal memory 121, the external memory, the display 194, the camera 193, the wireless communication module 160, and the like. The power management module 141 may also be used to monitor parameters such as battery capacity, battery cycle count, battery state of health (leakage, impedance), etc. In some other embodiments, the power management module 141 may also be disposed in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 may be disposed in the same device.
The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 100 may be used to cover a single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution including 2G/3G/4G/5G wireless communication applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a Low Noise Amplifier (LNA), and the like. The mobile communication module 150 may receive the electromagnetic wave from the antenna 1, filter, amplify, etc. the received electromagnetic wave, and transmit the electromagnetic wave to the modem processor for demodulation. The mobile communication module 150 may also amplify the signal modulated by the modem processor, and convert the signal into electromagnetic wave through the antenna 1 to radiate the electromagnetic wave. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the same device as at least some of the modules of the processor 110.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating a low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then passes the demodulated low frequency baseband signal to a baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.) or displays an image or video through the display screen 194. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be provided in the same device as the mobile communication module 150 or other functional modules, independent of the processor 110.
The wireless communication module 160 may provide a solution for wireless communication applied to the electronic device 100, including Wireless Local Area Networks (WLANs) (e.g., wireless fidelity (Wi-Fi) networks), bluetooth (bluetooth, BT), Global Navigation Satellite System (GNSS), Frequency Modulation (FM), Near Field Communication (NFC), Infrared (IR), and the like. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering processing on electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, perform frequency modulation and amplification on the signal, and convert the signal into electromagnetic waves through the antenna 2 to radiate the electromagnetic waves.
In some embodiments, antenna 1 of electronic device 100 is coupled to mobile communication module 150 and antenna 2 is coupled to wireless communication module 160 so that electronic device 100 can communicate with networks and other devices through wireless communication techniques. The wireless communication technology may include global system for mobile communications (GSM), General Packet Radio Service (GPRS), code division multiple access (code division multiple access, CDMA), Wideband Code Division Multiple Access (WCDMA), time-division code division multiple access (time-division code division multiple access, TD-SCDMA), Long Term Evolution (LTE), LTE, BT, GNSS, WLAN, NFC, FM, and/or IR technologies, etc. The GNSS may include a Global Positioning System (GPS), a global navigation satellite system (GLONASS), a beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS), and/or a Satellite Based Augmentation System (SBAS).
The electronic device 100 implements display functions via the GPU, the display screen 194, and the application processor. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and an application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
The display screen 194 is used to display images, video, and the like. The display screen 194 includes a display panel. The display panel may adopt a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (active-matrix organic light-emitting diode, AMOLED), a flexible light-emitting diode (FLED), a miniature, a Micro-oeld, a quantum dot light-emitting diode (QLED), and the like. In some embodiments, the electronic device 100 may include 1 or N display screens 194, with N being a positive integer greater than 1.
The electronic device 100 may implement a shooting function through the ISP, the camera 193, the video codec, the GPU, the display 194, the application processor, and the like.
The ISP is used to process the data fed back by the camera 193. For example, when a photo is taken, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converting into an image visible to naked eyes. The ISP can also carry out algorithm optimization on the noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, the ISP may be provided in camera 193.
The camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image to the photosensitive element. The photosensitive element may be a Charge Coupled Device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The light sensing element converts the optical signal into an electrical signal, which is then passed to the ISP where it is converted into a digital image signal. And the ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into image signal in standard RGB, YUV and other formats. In some embodiments, the electronic device 100 may include 1 or N cameras 193, N being a positive integer greater than 1.
The digital signal processor is used for processing digital signals, and can process digital image signals and other digital signals. For example, when the electronic device 100 selects a frequency bin, the digital signal processor is used to perform fourier transform or the like on the frequency bin energy.
Video codecs are used to compress or decompress digital video. The electronic device 100 may support one or more video codecs. In this way, the electronic device 100 may play or record video in a variety of encoding formats, such as: moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, and the like.
The NPU is a neural-network (NN) computing processor that processes input information quickly by using a biological neural network structure, for example, by using a transfer mode between neurons of a human brain, and can also learn by itself continuously. Applications such as intelligent recognition of the electronic device 100 can be realized through the NPU, for example: image recognition, face recognition, speech recognition, text understanding, and the like.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to extend the memory capability of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music, video, etc. are saved in an external memory card.
The internal memory 121 may be used to store computer-executable program code, which includes instructions. The processor 110 executes various functional applications of the electronic device 100 and data processing by executing instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. The storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required by at least one function, and the like. The storage data area may store data (such as audio data, phone book, etc.) created during use of the electronic device 100, and the like. In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (UFS), and the like.
The electronic device 100 may implement audio functions via the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone interface 170D, and the application processor. Such as music playing, recording, etc.
The audio module 170 is used to convert digital audio information into 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 some functional modules of the audio module 170 may be disposed in the processor 110.
The speaker 170A, also called a "horn", is used to convert the audio electrical signal into an acoustic signal. The electronic apparatus 100 can listen to music through the speaker 170A or listen to a handsfree call.
The receiver 170B, also called "earpiece", is used to convert the electrical audio signal into an acoustic signal. When the electronic apparatus 100 receives a call or voice information, it can receive voice by placing the receiver 170B close to the ear of the person.
The microphone 170C, also referred to as a "microphone," is used to convert sound signals into electrical signals. When making a call or transmitting voice information, the user can input a voice signal to the microphone 170C by speaking the user's mouth near 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 to achieve a noise reduction function in addition to collecting sound signals. In other embodiments, the electronic device 100 may further include three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, perform directional recording, and so on.
The headphone interface 170D is used to connect a wired headphone. The headset interface 170D may be the USB interface 130, or may be a 3.5mm open mobile electronic device platform (OMTP) standard interface, a cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
The pressure sensor 180A is used for sensing a pressure signal, and converting the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194. The pressure sensor 180A can be of a wide variety, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, and the like. The capacitive pressure sensor may be a sensor comprising at least two parallel plates having an electrically conductive material. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the strength of the pressure from the change in capacitance. When a touch operation is applied to the display screen 194, the electronic apparatus 100 detects the intensity of the touch operation according to the pressure sensor 180A. The electronic apparatus 100 may also calculate the touched position from the detection signal of the pressure sensor 180A. In some embodiments, the touch operations that are applied to the same touch position but different touch operation intensities may correspond to different operation instructions. For example: and when the touch operation with the touch operation intensity smaller than the first pressure threshold value acts on the short message application icon, executing an instruction for viewing the short message. And when the touch operation with the touch operation intensity larger than or equal to the first pressure threshold value acts on the short message application icon, executing an instruction of newly building the short message.
The gyro sensor 180B may be used to determine the motion attitude of the electronic device 100. In some embodiments, the angular velocity of electronic device 100 about three axes (i.e., the x, y, and z axes) may be determined by gyroscope sensor 180B. The gyro sensor 180B may be used for photographing anti-shake. For example, when the shutter is pressed, the gyro sensor 180B detects a shake angle of the electronic device 100, calculates a distance to be compensated for by the lens module according to the shake angle, and allows the lens to counteract the shake of the electronic device 100 through a reverse movement, thereby achieving anti-shake. The gyroscope sensor 180B may also be used for navigation, somatosensory gaming scenes.
The air pressure sensor 180C is used to measure air pressure. In some embodiments, electronic device 100 calculates altitude, aiding in positioning and navigation, from barometric pressure values measured by barometric pressure sensor 180C.
The magnetic sensor 180D includes a hall sensor. The electronic device 100 may detect the opening and closing of the flip holster using the magnetic sensor 180D. In some embodiments, when the electronic device 100 is a flip phone, the electronic device 100 may detect the opening and closing of the flip according to the magnetic sensor 180D. And then according to the opening and closing state of the leather sheath or the opening and closing state of the flip cover, the automatic unlocking of the flip cover is 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 can be detected when the electronic device 100 is stationary. The method can also be used for recognizing the posture of the electronic equipment, and is applied to horizontal and vertical screen switching, pedometers and other applications.
A distance sensor 180F for measuring a distance. The electronic device 100 may measure the distance by infrared or laser. In some embodiments, taking a picture of a scene, electronic device 100 may utilize range sensor 180F to range for fast focus.
The proximity light sensor 180G may include, for example, a Light Emitting Diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The electronic device 100 emits infrared light to the outside through the light emitting diode. The electronic device 100 detects infrared reflected light from nearby objects using a photodiode. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100. When insufficient reflected light is detected, the electronic device 100 may determine that there are no objects near the electronic device 100. The electronic device 100 can utilize the proximity light sensor 180G to detect that the user holds the electronic device 100 close to the ear for talking, so as to automatically turn off the screen to achieve the purpose of saving power. The proximity light sensor 180G may also be used in a holster mode, a pocket mode automatically unlocks and locks the screen.
The ambient light sensor 180L is used to sense the ambient light level. Electronic device 100 may adaptively adjust the brightness of display screen 194 based on the perceived ambient light level. The ambient light sensor 180L may also be used to automatically adjust the white balance when taking a picture. The ambient light sensor 180L may also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in a pocket to prevent accidental touches.
The fingerprint sensor 180H is used to collect a fingerprint. The electronic device 100 can utilize the collected fingerprint characteristics to unlock the fingerprint, access the application lock, photograph the fingerprint, answer an incoming call with the fingerprint, and so on.
The temperature sensor 180J is used to detect temperature. In some embodiments, electronic device 100 implements a temperature processing strategy using the temperature detected by temperature sensor 180J. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the electronic device 100 performs a reduction in performance of a processor located near the temperature sensor 180J, so as to reduce power consumption and implement thermal protection. In other embodiments, the electronic device 100 heats the battery 142 when the temperature is below another threshold to avoid the low temperature causing the electronic device 100 to shut down abnormally. In other embodiments, when the temperature is lower than a further threshold, the electronic device 100 performs boosting on the output voltage of the battery 142 to avoid abnormal shutdown due to low temperature.
The touch sensor 180K is also referred to as a "touch panel". The touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen". The touch sensor 180K is used to detect a touch operation applied thereto or nearby. The touch sensor can communicate the detected touch operation to the application processor to determine the touch event type. Visual output associated with the touch operation may be provided through the display screen 194. In other embodiments, the touch sensor 180K may be disposed on a surface of the electronic device 100, different from the position of the display screen 194.
The bone conduction sensor 180M may acquire a vibration signal. In some embodiments, the bone conduction sensor 180M may acquire a vibration signal of the human vocal part vibrating the bone mass. The bone conduction sensor 180M may also contact the human pulse to receive the blood pressure pulsation signal. In some embodiments, the bone conduction sensor 180M may also be disposed in a headset, integrated into a bone conduction headset. The audio module 170 may analyze a voice signal based on the vibration signal of the bone mass vibrated by the sound part acquired by the bone conduction sensor 180M, so as to implement a voice function. The application processor can analyze heart rate information based on the blood pressure beating signal acquired by the bone conduction sensor 180M, so as to realize the heart rate detection function.
The keys 190 include a power-on key, a volume key, and the like. The keys 190 may be mechanical keys. Or may be touch keys. The electronic apparatus 100 may receive a key input, and generate a key signal input related to user setting and function control of the electronic apparatus 100.
The motor 191 may generate a vibration cue. The motor 191 may be used for incoming call vibration cues, as well as for touch vibration feedback. For example, touch operations applied to different applications (e.g., photographing, audio playing, etc.) may correspond to different vibration feedback effects. The motor 191 may also respond to different vibration feedback effects for touch operations applied to different areas of the display screen 194. Different application scenes (such as time reminding, receiving information, alarm clock, game and the like) can also correspond to different vibration feedback effects. The touch vibration feedback effect may also support customization.
Indicator 192 may be an indicator light that may be used to indicate a state of charge, a change in charge, or a message, missed call, notification, etc.
The SIM card interface 195 is used to connect a SIM card. The SIM card can be brought into and out of contact with the electronic apparatus 100 by being inserted into the SIM card interface 195 or being pulled out of the SIM card interface 195. The electronic device 100 may support 1 or N SIM card interfaces, N being a positive integer greater than 1. The SIM card interface 195 may support a Nano SIM card, a Micro SIM card, a SIM card, etc. The same SIM card interface 195 can be inserted with multiple cards at the same time. The types of the plurality of cards may be the same or different. The SIM card interface 195 may also be compatible with different types of SIM cards. The SIM card interface 195 may also be compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to implement functions such as communication and data communication. In some embodiments, the electronic device 100 employs esims, namely: an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.
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. The embodiment of the present application takes an Android system with a layered architecture as an example, and exemplarily illustrates a software structure of the electronic device 100.
Fig. 2 is a block diagram of a software structure of the electronic device 100 according to the embodiment of the present application. The layered architecture divides the software into several layers, each layer having a clear role and division of labor. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, an application layer, an application framework layer, an Android runtime (Android runtime) and system library, and a kernel layer from top to bottom. The application layer may include a series of application packages.
As shown in fig. 2, the application package may include applications such as camera, gallery, calendar, phone call, map, navigation, WLAN, bluetooth, music, video, short message, etc.
The application framework layer provides an Application Programming Interface (API) and a programming framework for the application program of the application layer. The application framework layer includes a number of predefined functions.
As shown in FIG. 2, the application framework layers may include a window manager, content provider, view system, phone manager, resource manager, notification manager, and the like.
The window manager is used for managing window programs. The window manager can obtain the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like.
The content provider is used to store and retrieve data and make it accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
The view system includes visual controls such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, the display interface including the short message notification icon may include a view for displaying text and a view for displaying pictures.
The phone manager is used to provide communication functions of the electronic device 100. Such as management of call status (including on, off, etc.).
The resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and the like.
The notification manager enables the application to display notification information in the status bar, can be used to convey notification-type messages, can disappear automatically after a short dwell, and does not require user interaction. Such as a notification manager used to inform download completion, message alerts, etc. The notification manager may also be a notification that appears in the form of a chart or scroll bar text at the top status bar of the system, 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, prompting text information in the status bar, sounding a prompt tone, vibrating the electronic device, flashing an indicator light, etc.
The Android Runtime comprises a core library and a virtual machine. The Android runtime is responsible for scheduling and managing an Android system.
The core library comprises two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. And executing java files of the application program layer and the application program framework layer into a binary file by the virtual machine. The virtual machine is used for performing the functions of object life cycle management, stack management, thread management, safety and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface managers (surface managers), media libraries (media libraries), three-dimensional graphics processing libraries (e.g., OpenGL ES), 2D graphics engines (e.g., SGL), and the like.
The surface manager is used to manage the display subsystem and provide fusion of 2D and 3D layers for multiple applications.
The media library supports a variety of commonly used audio, video format playback and recording, and still image files, among others. The media library may support a variety of audio-video encoding formats, such as MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, and the like.
The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like.
The 2D graphics engine is a drawing engine for 2D drawing.
The kernel layer is a layer between hardware and software. The inner core layer at least comprises a display driver, a camera driver, an audio driver and a sensor driver.
Fig. 3 is a set of Graphical User Interfaces (GUIs) provided in embodiments of the present application.
The user is watching the smart television in the living room, the mobile phone is placed on a desk beside the user, and the mobile phone is in a screen locking state.
Referring to the GUI shown in (a) in fig. 3, the smart tv is playing a video at this time. The mobile phone receives a message of App1 sent by user Lihua (the message content is '9 am with meeting'). At this time, the mobile phone judges that the current focus of the user is on the smart television but not on the mobile phone, so that the mobile phone can send the message content of the App1 to the smart television, and the television reminds the user of the content of the received App1 message. A message reminding box 301 can be displayed on the smart television, and the message reminding box 301 comprises a message that the message is App1, the user sending the message is li hua, and the content of the message is "9 am with a meeting".
Referring to the GUI shown in (b) in fig. 3, the smart tv is performing a zapping operation at this time. The mobile phone receives a message of App1 sent by user Lihua (the message content is '9 am with meeting'). At this time, the mobile phone judges that the current focus of the user is on the smart television but not on the mobile phone, so that the mobile phone can send the message content of the App1 to the smart television, and the television reminds the user of the content of the received App1 message. A message reminding box 302 can be displayed on the smart television, and the message reminding box 302 comprises a message that the message is App1, that the user sending the message is li hua, and that the content of the message is "9 am with a meeting".
In one embodiment, the smart television can automatically position a cursor of the smart television at the message reminding frame when the message reminding frame is displayed. When the smart television detects that the user clicks the confirmation button through the remote controller, the smart television can automatically jump to the notification center. The user can complete a reply to the message at the notification center.
In one embodiment, if the smart television does not receive any operation of the user within the preset time length of displaying the message reminding frame, the smart television can hide the message reminding frame.
Referring to the GUI shown in (c) of fig. 3, after the user views the video or finishes the channel change operation, the user can enter the notification center of the smart tv through the operation. The notification center displayed by the smart television comprises a message reminding box 303 of a previously received App1, wherein the message reminding box 303 of the App1 comprises a message that the message is App1, a source of the message of the App1 is from a P40 mobile phone of a user Lily, a user sending the message is li hua, a content of the message is a reply control 304 of '9 am with meeting', and an ignore control 305. When the smart tv detects that the user clicks the reply control 304, the smart tv may display a GUI as shown in (d) of fig. 3.
See the GUI shown in (d) in fig. 3. When the smart television detects that the user clicks the control 304, the smart television may display the input method of the smart television. At this point, the user can reply to the App1 message by an input method.
It should be understood that in the GUIs shown in fig. 3 (a) and fig. 3 (b), the cell phone may not light up the display although it receives the message of App1 after it determines that the user is not focused on the cell phone. But the content of the notification message is sent to the smart television by judging that the device currently focused by the user is the smart television, so that the user is prompted by the smart television. When the mobile phone detects that the user clicks the power key, the mobile phone is in a screen locking and brightening state, and at the moment, the mobile phone can display the message prompt of the App1 on a screen locking interface.
It should also be understood that the smart television shown in (a) in fig. 3 is playing a video at this time, and the smart television shown in (b) in fig. 3 is performing a channel change operation, so that at this time, when the smart television displays the message reminder of App1, the control action may not be added to the message reminder box 301 (for example, a reply control, an ignore control, etc. may not be added to the message reminder box 301), so as to avoid confusion caused by a user clicking by mistake.
FIG. 4 illustrates another set of GUIs provided by an embodiment of the present application.
Referring to the GUI shown in (a) in fig. 4, the GUI is similar to the GUI shown in (a) in fig. 3. The difference is that a reply control and an ignore control are added in the message reminding frame displayed by the intelligent television.
In one embodiment, after the smart television receives the message of App1 sent by the mobile phone, the smart television may display a message reminding box and the smart television may automatically position a cursor to the reply control at this time. When the smart television detects that the user clicks the determination button through the remote controller, the user can complete the reply to the message of the App1 in the process of playing the video.
In one embodiment, if the smart tv does not detect that the user replies to the App1 message within a preset time, the smart tv may automatically hide the message reminder box. The user can check the message content in the notification center of the intelligent television and reply.
Referring to the GUI shown in (b) in fig. 4, the GUI is similar to the GUI shown in (a) in fig. 4. The difference lies in that when the user is operating the smart television and the smart television receives the notification message sent by the mobile phone, the smart television displays the message reminding frame but does not automatically position the cursor to the reply control, so that the trouble caused to the current operation of the user is avoided.
Because the user is operating the smart television to change channels at the moment, the smart television can not be automatically positioned at the moment, and therefore the operation of the user is prevented from causing troubles. Further, the GUI shown in fig. 4 (b) includes a text prompt "click menu button process" near the message alert window, so that the user can click the menu button after seeing the text prompt although the user is changing channels using the remote controller (the user clicks the up, down, left, and right buttons). When the smart television detects that the user clicks the menu key, the smart television can automatically position the cursor to the reply control, so that the reply to the message of App1 is completed.
As shown in (b) in fig. 4, when the smart television detects that the user has clicked the menu key, the smart television may automatically position the cursor to the reply control.
In an embodiment, the message reminding frame shown in (a) in fig. 4 may also not include a control, and when the smart television detects that the user does not interact with the smart television, the smart television may position a cursor to the message reminding frame. When the user clicks the 'confirm' button by using the remote controller, the smart television can jump to a notification center, wherein the notification center comprises the notification message and a corresponding reply control. The user can complete the reply to the message in the notification center.
FIG. 5 illustrates another set of GUIs provided by an embodiment of the present application.
The user is driving the car machine at the moment, and navigation information is displayed on a display screen of the car machine. The mobile phone is placed in a storage groove on the vehicle by a user and is in a screen locking state at the moment.
The mobile phone receives a message of App1 sent by user Lihua (the message content is '9 am with meeting'). At this time, the mobile phone judges that the current focus of the user is on the car machine but not on the mobile phone, so that the mobile phone can send the message content of the App1 to the display screen of the car machine, and the display screen reminds the user of the received message of the App 1. A message reminding box 501 can be displayed on the display screen of the car machine, wherein the message reminding box 501 comprises a message that the message is App1, the user sending the message is li hua, and the content of the message is "9 am with a meeting".
The car machine can remind the user of a meeting at 9 am in a voice reminding mode. Or the car machine can remind the user of 'the user Lihua reminds that there is a meeting at 9 am' in a voice reminding mode. The car machine can collect voice information of a user through a microphone. For example, the car machine can collect voice information that is "good, i know". The car machine can send the voice information to the user Li Hua, or can convert the voice information into text information and send the text information to the user Li Hua.
In one embodiment, the display screen of the car machine may further include a voice broadcast control, and when the car machine detects that the user clicks the voice broadcast control, the car machine may remind the user that a conference is available at 9 am in a voice reminding manner.
In one embodiment, a Digital Signal Processor (DSP) may be included on the vehicle. The DSP can process the voice information, so that the text content corresponding to the voice information can be analyzed and obtained.
In one embodiment, an Automatic Speech Recognition (ASR) module may be included on the vehicle, wherein the ASR module is primarily operative to recognize speech information of the user as text content.
In an embodiment, the message reminding frame displayed on the display screen of the car machine may also include a sending control, and after the user clicks the sending control, the car machine may send the content replied by the user to the mobile phone. Alternatively, the message reminder box may not include a send control. The car machine acquires the voice information of the user through the microphone, and after I know that the voice information of the user is replied to Li Hua, the car machine can send the content replied by the user to the mobile phone.
In one embodiment, after detecting that the user clicks the sending control, the car machine may also send the preset quick reply content to the mobile phone.
In the embodiment of the application, for the scene that the user is driving the car machine, the car machine can convert the text information into the voice information to prompt the user, so that the phenomenon that the user looks over the message content on the display screen and the attention is not focused can be avoided, and the safety of the user when driving the car machine is improved.
FIG. 6 illustrates another set of GUIs provided by an embodiment of the present application.
The user is sitting on the sofa, the mobile phone is placed by the user on a desk beside and the sound box is on a desk beside the user.
The mobile phone receives a mail from user Lihua (the mail topic is 'meeting notice'). At this time, the mobile phone judges that the current focus of the user is not on the mobile phone, then the mobile phone can send the mail prompt to the sound box, and the sound box prompts the user to 'you receive a mail and please check the mail on the mobile phone' through voice.
It should be understood that, although the focus of the user is not on the sound box at this time, the sound box can remind the user through voice, so that the user can be better noticed and important mails can be avoided from missing.
FIG. 7 illustrates another set of GUIs provided by an embodiment of the present application.
The user is wearing the wearable device and is sitting on a sofa, and the laptop is in a sleeping (or dormant) state and is placed on a table beside by the user.
The user sets a schedule on the notebook computer, the time of the schedule is 9 to 10 am, and the event of the schedule is a conference. When the notebook computer determines that 5 minutes of the schedule event is about to occur, the notebook computer cannot prompt the user because the notebook computer is in the sleep state at the moment (when the notebook computer detects that the notebook computer enters the working state when the notebook computer is opened from the sleep state when the notebook computer is closed, the notebook computer can prompt the schedule information for the user). The laptop can send the schedule reminder to the wearable device for reminder.
Referring to the GUI shown in fig. 7, the wearable device prompts for information about the schedule via the display screen.
In the embodiment of the application, a plurality of devices of the user can be mutually connected and mutually sensed. When device a receives the notification message, it may determine the focus that the user is currently focusing on. And if the focus currently concerned by the user is not in the equipment A, triggering the notification forwarding. When the focus equipment is judged to be in the equipment B, the mobile phone can forward the notification message to the equipment B, and then the equipment A does not perform notification and the equipment B performs notification, so that the user can be prevented from being harassed.
After the notification is forwarded to device B, device B may also optimize the notification presentation and interaction according to the capabilities of device B.
FIG. 8 illustrates another set of GUIs provided by an embodiment of the present application.
The user is playing the tablet on the sofa, the mobile phone is placed on a desk beside by the user, and the mobile phone is in a screen locking state.
The mobile phone receives a message of App1 sent by user Lihua (the message content is '9 am with meeting'). At this point the handset determines that the user is currently focused on the tablet and not on the handset, the handset may send the message content of App1 to the tablet. The tablet may determine whether to alert the user of the App1 message based on the current tablet state.
Referring to the GUI shown in (a) of fig. 8, if the tablet is currently in a state of playing video, the tablet may not prompt the user for the App1 message.
In the embodiment of the application, if the tablet is in the immersion state, the tablet may not prompt the App1 for a message. The immersive state may also be understood as a notification disabled state, as the immersive state may be that the user has disabled the notification or has turned on a do-not-disturb mode. For example, when a user is in a teleconference, especially when sharing a desktop, if a notification is sent, the notification will not only be affected by interference, but also seen by other participants, which may affect the user experience and may reveal the privacy of the user.
Referring to the GUI shown in (b) of fig. 8, if the tablet is displaying the desktop at this time, the tablet may display a message reminder box 801. The message reminding box 801 includes a message that the message is App1, a user who sends the message is li hua, the content of the message is "9 am conference", a reply control, and an ignore control.
In this embodiment of the application, when the focus device receives the notification message, the focus device may first determine whether the focus device is in the immersion state. If the focal device is in an immersive state, the focal device may not alert the user; if the focus device is not in an immersive state, the focus device may alert the user.
In one embodiment, the immersion state includes, but is not limited to:
(1) the focus device is in a do-not-disturb mode;
(2) the focus device is in a game, video, etc. scene.
It should be understood that the focus device may perform notification reminders according to the user's settings. The user can set that the message reminding can not be carried out in a game scene, and the message reminding can be carried out in a video scene.
FIG. 9 illustrates another set of GUIs provided by an embodiment of the present application.
The user is watching the smart television in the living room, the mobile phone is placed on a desk beside the user, and the mobile phone is in a screen locking state.
Referring to the GUI shown in (a) in fig. 9, the smart tv is playing a video at this time. The mobile phone receives a message of App1 sent by user Lihua (the message content is '9 am with meeting'). At this time, the mobile phone judges that the current focus of the user is on the smart television but not on the mobile phone, so that the mobile phone can send the message content of the App1 to the smart television, and the television reminds the user of the content of the received App1 message.
Before the smart television prompts the user for the App1 message, the smart television can automatically turn on a camera to collect the face information of the user. If the smart television judges that the user is the user himself according to the collected face information, a message reminding box 901 can be displayed on the smart television, wherein the message reminding box 901 comprises that the message is an App1 message, the user sending the message is Li Hua, and the content of the message is '9 am with meeting'.
Referring to the GUI shown in (b) of fig. 9, if the face information collected by the camera of the smart television includes a plurality of face information. Then the smart tv determines that someone other than the user is watching the smart tv at this time, then the smart tv may display a message alert box 902 at this time, where the message alert box 902 includes a message that the message is App1 and prompts the user "you have a message, P40 from Lily". If the user wants to view the message of App1, the user can view the message of App1 in the notification center of the smart television, or the user can return to the mobile phone to view the message of App 1.
In the embodiment of the application, when the focus device prompts the notification message to the user, the focus device can acquire user information such as face information and iris information of the user, so as to judge whether the user is the user. If the user is himself, the focus device may prompt the user for the notification message; if there is not the user himself or other user than the user himself, the focus device may prompt only one notification message without displaying the content of the notification message. Therefore, privacy disclosure of the user is avoided, and safety in the message forwarding process is improved.
In one embodiment, after receiving a message of App1 sent by a mobile phone, the smart television may determine whether the message is a privacy message, and if the message is a privacy message, may determine whether the message is the user himself or multiple users; if the message is not a privacy message, the message content can be directly displayed to the user without judgment.
In one embodiment, the privacy message may be set by the user, or may be a default Instant Messaging (IM) type message.
In the several sets of GUIs illustrated above by fig. 3 to 9, when a device a receives a notification message, the device a can determine the focus that the user is currently focusing on. And if the focus currently concerned by the user is not in the equipment A, triggering the notification forwarding. When the device B is determined to be the focus device, the mobile phone may forward the notification message to the device B, and at this time, the device a does not perform notification and the device B performs notification. In another embodiment of the present application, after the user determines that the focus device is in device B, device a may further send a notification message to device B and devices of other users, so that the focus device may perform notification and the other devices do not perform notification.
FIG. 10 illustrates another set of GUIs provided by an embodiment of the present application.
The user is sitting on the sofa with the wearable device, with the cell phone placed on a table beside the user and the tablet on the sofa beside the other with the cell phone.
The mobile phone receives a mail (the mail subject is 'meeting notice') sent by Lihua. At this time, the mobile phone determines that the current focus of the user is not on the mobile phone, and then the mobile phone may send the mail content to the tablet and the wearable device. Since the wearable device determines that the user is wearing the wearable device at this time, the wearable device may notify as a focused device. As shown in fig. 10, the wearable device may alert the user of the mail content by shaking. For the mobile phone and the tablet, the mail content can be prompted to the user on the screen locking interface in a bright screen mode because the mobile phone and the tablet are not focused equipment.
FIG. 11 illustrates another set of GUIs provided by an embodiment of the present application.
Referring to the GUI shown in (a) of fig. 11, the GUI is a desktop of a mobile phone. The GUI includes a plurality of application (App1, App2, and App3) icons including an icon 1101 of App 3. When the mobile phone detects an operation of the user clicking the setting icon 1101 on the desktop, a setting related function of the mobile phone may be started, and a GUI as shown in (b) of fig. 11 is displayed.
Referring to the GUI shown in (b) of fig. 11, the GUI is a setting interface of a mobile phone. The GUI includes a plurality of function options including wireless and network, device connection, desktop and wallpaper, sound, notification center, application and notification, etc., wherein the user can set functions such as rights management, default application and notification management, etc. through the application and notification. When the cellular phone detects an operation with the user clicking the application and notification function 1102, the GUI as shown in (c) of fig. 11 is displayed.
Referring to the GUI shown in (c) of fig. 11, the GUI sets up an interface for the application and notification functions of the cellular phone. The GUI includes multiple functional options for wireless and network applications including rights management, default applications, application affiliation, and cross device notification, among others. When the cellular phone detects an operation of the user clicking the cross device notification function 1103, a GUI as shown in (d) in fig. 11 is displayed.
Referring to the GUI shown in (d) in fig. 11, the GUI is a cross device notification function setup interface of a cellular phone. The GUI includes a plurality of functional options under cross-device notifications including switch controls for cross-device notifications, notification types, device management, and device authorization. Wherein the cross-device notification includes a functional description of the cross-device notification under the switch control of the cross-device notification, "when the notification comes, if you are using other devices, the notification is forwarded to the device". When the cellular phone detects an operation of the user clicking the notification type 1104, the cellular phone may display a GUI as shown in (e) of fig. 11.
Referring to the GUI shown in (e) of fig. 11, the GUI sets up an interface for a notification type of a cellular phone. The user can select a notification type that he wishes to forward from the notification types shown in (e) in fig. 11. Illustratively, the user may select the messages of App5, App6, and App7 as the type of notification desired to be forwarded.
In the embodiment of the application, the user can select the type of the notification which the user wants to forward by setting the option, so that the harassment caused by forwarding unnecessary notification messages to the user can be avoided.
The process of selecting a notification type by a cell phone is described above in connection with the GUI of fig. 11. The process of selecting a receiving device by the handset will now be described with reference to fig. 12 and 13.
When the handset detects that the user has clicked on the device management 1201 shown in (a) in fig. 12, the handset may display a GUI shown in (b) in fig. 12.
Referring to the GUI shown in (b) in fig. 12, the GUI displays an interface for the device management function. Where my device and other devices are included in the device management. Wherein, my equipment is the equipment which logs in the same Huawei ID with the mobile phone. Illustratively, the my device includes a tablet "HUAWEI matchad Pro", a smart WATCH "HUAWEI WATCH GT 2", another mobile phone "HUAWEI P40 Pro", a notebook computer "HUAWEI matchbook X" and a smart speaker "HUAWEI Sound X". When the mobile phone selects all the above devices, the mobile phone may forward the notification message to the above devices.
The user may select the devices under the same Huawei ID as the forwarding objects of the notification messages, or may select the devices under different Huawei IDs as the forwarding objects.
When the handset detects that the user has clicked on the device authority 1301 as shown in fig. 13 (a), the handset may display a GUI as shown in fig. 13 (b).
Referring to the GUI shown in (b) of fig. 13, the GUI displays an interface for the device authorization function. The display interface includes an add device option and a nearby device option. The description of the adding device is that you can add other devices under the Huacheng ID into other devices. For example, the user may add the royalty IDs of other family members in the family group, and the devices under the royalty IDs of other family members may appear in other devices as shown in fig. 12 (b). When the handset detects an operation of the user to open the control of the nearby device, the handset may search for the nearby device and display the GUI as shown in (c) of fig. 13.
Referring to the GUI shown in (c) of fig. 13, the GUI is another display interface of the device authorization function. The display interface displays the nearby devices searched by the mobile phone, including iphone 11Pro, iPad Pro 11 and millet 10 Pro. When the mobile phone detects that the user clicks the operation of adding iPad Pro 11 and millet 10Pro, the mobile phone can add the two devices into other devices in the device management.
Referring to the GUI shown in (d) in fig. 13, the GUI is another display interface for device management. Two nearby devices iPad Pro 11 and millet 10Pro are added to the other devices on the display interface.
In the embodiment of the application, the mobile phone can search other surrounding equipment in short-distance communication modes such as Bluetooth and Wi-Fi. For example, after detecting that the user clicks and adds the iPad Pro 11 and the millet 10Pro, the mobile phone may send a Bluetooth Low Energy (BLE) packet to the two devices, where the BLE packet may carry request information of a device requesting to add the notification message. If the handset receives responses (e.g., ACK messages) from both devices, the handset can successfully add both devices to the "other device". Further, on iPad Pro 11 and millet 10Pro, whether the user agrees to the addition request of the mobile phone or not can be prompted through a reminding box. If the iPad Pro 11 and millet 10Pro detect that the user indicates agreement to add a request for a device forwarded for notification messages, then both devices may send a response to the handset.
Fig. 14 shows a schematic block diagram of a transmitting end (source end) and a receiving end (sink end) provided in an embodiment of the present application. Wherein, the source end includes a notification monitoring service 1410, a device management module 1420, a message encapsulation module 1430, a notification forwarding management module 1440, etc., the sink end includes a message parsing module 1450, a system adaptation module 1460, etc., wherein,
the notification monitoring service 1410 is configured to register a monitoring notification service with a system at the source end, and obtain a system notification message in real time. When a third party App sends a notification message body, wherein the notification message body comprises a packet header, a notification ID attribute, a notification channel attribute, message content and the like. The header is used to determine which App the notification message belongs to, and the notification ID attribute and the notification channel attribute may be used to find the corresponding notification message.
The device management module 1420 is configured to manage the sink side. For example, the device management module 1420 is configured to store a device name, a device type, device status information, address information, and the like of the sink side, where the device status information is used to indicate whether the device is online or offline. For another example, the device management module 1420 is further configured to store the hardware attribute information (e.g., whether there is a screen, whether there is a speaker, etc.) of the sink side.
The sink terminal in the embodiment of the application may be a device under the same account as the source terminal. Then, when sending the notification message body to the sink, the source end can send the notification message body to the sink end through a short-distance communication mode, or send the notification message body to the sink end through a server.
In this embodiment, the device management module 1420 may control the source terminal to periodically send BLE packets to the surrounding devices, where the purpose of the BLE packets is to query whether the surrounding devices are online. If the source terminal receives a response, the state information stored in the device management module 1420 may be online; otherwise, the state information stored in the device management module 1420 is offline. When the source terminal has the notification message to be forwarded, the device management may first determine whether the sink terminal is online, and for the offline device, the source terminal may choose not to forward the notification message to the sink terminal.
The message encapsulation module 1430 may define a notification message body that is common across devices, or may define a notification message body that devices of different operating systems may parse. The message encapsulation module may re-encapsulate the notification message according to the format of the notification message body for the content of the notification message, so as to obtain the encapsulated notification message body.
For example, the encapsulated notification message body may include a header of the message, identification information (e.g., a notification ID attribute and a notification channel attribute), content of the notification, user information of the notification message, and device information of the source device, etc. The packet header of the notification message is used for determining which App the notification message belongs to; the identification information is used for finding out the corresponding notification message; after detecting the reply of the user, the sink end can send the content, the packet header and the identification information replied by the user to the source end, so that the source end can determine that the notification content is the reply of a certain notification message of a certain App.
For example, in (a) in fig. 3, the notification message body sent by the mobile phone to the smart television may include that the notification message belongs to App1, that the user sending the message is li hua, and that the content of the notification message is "9 am with a meeting".
For another example, as shown in fig. 7, the body of the notification message sent by the laptop to the wearable device may include the notification belonging to the schedule, the notification content including the time (9: 00-10:00 am) and the event (conference).
In an embodiment, the message encapsulation module 1430 may further carry indication information in the notification message body, where the indication information is used to indicate that the sink end adds a reply control to the notification message. For example, the indication information may be a flag attribute of "quick reply". And when the sink terminal determines that the notification message body carries the flag attribute of 'quick reply', a reply control can be added in the message reminding frame. Therefore, if the sink terminal device is a device which does not install the application program corresponding to the notification message, the sink terminal device can also prompt the user of the notification message, and the user can finish the reply to the notification message through the reply control; therefore, the sink end equipment can send the reply content to the source end, and the source end completes the real reply to the notification message. It should be understood that, for the process of the source end actually replying to the notification message, reference may be made to the description in the following embodiments, and details are not described herein for brevity.
The notification forwarding management module 1440 may be used to determine if the user is focused on the current source peer. If the user focus is not on the current device, the notification forwarding management module 1440 is further configured to determine the user focus device.
Illustratively, the source end may automatically turn on the camera after receiving the notification message from the server, and if the face information of the user is not collected by the camera, the source end may determine that the device currently focused by the user is not on the source end.
Illustratively, the source end may detect the user's pupil through a pupil detection sensor (e.g., an image sensor). If the pupil detection sensor can detect the user's pupil, then the source end determines that the user is controlling the device; otherwise, the source end determines that the user is not currently focused on the source end.
In an embodiment, if the notification forwarding management module determines that the current focus of the user is not on the source end, the source end device may further send request information to one or more sink ends stored in the device management module, where the request information is used to request the sink end to determine whether the focus of the user is on the device.
In one embodiment, the notification forwarding management module 1440 may save the priority determined by the focal device. Illustratively, the prioritization may be:
(1) a visual focus;
(2) an on-body device;
(3) the focus of the interaction.
It should be understood that the visual focus device may be a camera-equipped device, e.g., a smart television, a tablet computer, a laptop computer, etc.; the on-body device may be a wearable device of the user, e.g., VR/AR glasses, smart watches, smart bracelets, and so forth; the interactive device may be a device with input manipulation, e.g. a device with keyboard, mouse, touch, remote control, voice input, etc.
If the source end stores the device list for forwarding the notification message, the source end device may send request information to the devices in the device list. The source side may send the request information to the devices in the device list according to the priority of the devices.
For example, if the devices in the device list of the mobile phone include a smart television and a smart watch, the mobile phone may first send request information to the smart television, where the request information is used to request the smart television to determine whether the current focus of the user is on the smart television. After receiving the request information, the smart television can judge whether the focus of the user is on the smart television by starting the camera. If the smart television determines that the current focus equipment of the user is on the smart television through the face information acquired by the camera, the smart television can send a response to the mobile phone, wherein the response is used for indicating that the current focus of the user is on the smart television. After receiving the response, the mobile phone may not send the request information to other devices in the device list. If the mobile phone does not receive the response of the smart television within the preset time (or the mobile phone receives the response sent by the smart television, and the response indicates that the current focus of the user is not on the smart television), the mobile phone can continue to send the request message to the smart watch. After receiving the request information sent by the mobile phone, the smart watch may detect whether the user is wearing the wearable device based on the sensor. For example, a Photo Plethysmography (PPG) sensor in a smart watch may determine whether a user is wearing the smart watch by detecting the heart rate of the user. If the smart watch judges that the user is wearing the smart watch, the smart watch can send a response to the mobile phone to indicate that the user is wearing the smart watch currently.
When the source side sends the request information to the devices in the device list, the source side may also send the request information to a plurality of devices in the device list at the same time.
For example, if the devices in the device list of the mobile phone include a smart tv and a smart watch, the mobile phone may send the request message to the smart tv and the smart watch simultaneously. If the mobile phone only directly receives the response of the smart television, the mobile phone can forward the notification message to the smart television; or, if the mobile phone receives only the response of the smart watch, the mobile phone may forward the notification message to the smart watch; alternatively, if the mobile phone receives the responses of the smart television and the smart watch, the mobile phone may forward the notification message to the smart television according to the priority of the device.
If the source end does not store the device list for forwarding the notification message, the source end can send request information to devices around the source end in a broadcasting mode. If the mobile phone only receives the response of a certain surrounding device, the mobile phone can forward the notification message to the device; alternatively, if the handset receives responses from multiple surrounding devices, the handset may forward the notification message to a device with a higher priority according to the priority of the device.
It should be understood that, in this embodiment of the application, if a device list for forwarding the notification message is stored in the first electronic device, the first electronic device sends indication information to the second electronic device, where the indication information may be used to instruct the second electronic device to determine whether an owner of the first electronic device focuses on the second electronic device; alternatively, the indication information may be used to instruct the second electronic device to determine whether a user (who may be the owner of the first electronic device or another user) focuses on the second electronic device.
When the source end determines that the current focus of the user is not on the source end, the notification forwarding management module of the source end may send the encapsulated notification message body to the focus device.
Illustratively, as shown in fig. 14, the source side may send a notification message body to the sink side device through a network channel (e.g., bluetooth/Wi-Fi, etc.). For example, the source end may send the notification message body to the sink end in a BLE packet. The BLE packet includes a Protocol Data Unit (PDU), and the notification message body may be carried in a service data field (service data) in the PDU, or may also be carried in a vendor specific data field (vendor specific data) in the PDU. For example, a payload (payload) of the service data field may include a plurality of bits, wherein the plurality of bits includes an extensible bit. The sink side and the source side can agree on the content of a certain extensible bit. The source terminal can encode the notification message body by adopting encoding modes such as GBK, ISO8859-1 and the like, and carry the encoded information on one or more extensible bits.
The message parsing module 1450 of the sink side is configured to parse the notification message body sent by the source side, so as to obtain the content of the notification message body. For example, if the source end carries the notification message body in a BLE data packet and sends the notification message body to the sink end, the sink end may perform decoding in a corresponding decoding manner after receiving the BLE data packet, so as to obtain the notification message body.
The system adaptation module 1460 can optimize and forward the notification interaction and presentation mode to the sink according to the notification style rule local to the sink or according to the preset device and notification optimization mode corresponding table.
In one embodiment, if the notification message is a message of the first application, the sink device may be a device that does not install the first application. The notification message body sent by the source end to the sink end carries indication information (for example, a 'quick reply' flag attribute is used for indicating that the source end adds a reply control in the message reminding box). After the message analysis module at the sink end identifies the attribute of the 'quick reply' flag, the system adaptation module adapts the system interfaces corresponding to the systems aiming at the sink ends of different operating systems, and supports an 'quick reply' input box, UI presentation, user interactive response and the like.
Illustratively, if the sink end is a device of an Android system, the sink end may provide a notification manager, so as to implement drawing of a message reminding box, where the message reminding box includes notification content in a notification message body, a reply control drawn by the notification manager, and the like. For example, as shown in fig. 4 (a), after receiving a message body sent by a mobile phone, the smart television may display the content of the message and a reply control in a message alert box.
When the sink end detects that the user inputs the reply content, the sink end can display a text input box and a sending control. When the sink end detects that the user inputs reply content in the text input box and clicks the sending control, the content input by the user can be obtained through a callback interface getResultsFromIntent (). getresultsfrompotent () may establish an association of a send control and a text input box. And when the sink end detects that the user clicks the sending control, the sink end is triggered to acquire the content in the text input box. In the embodiment of the application, the callback interfaces can be registered on different systems, so that when the sink side detects the reply content of the user, the reply content of the user can be obtained through the callback interface. And after detecting that the user inputs the reply content in the text input box and detecting that the user clicks the sending control, the sink end can trigger the sending of the reply content of the user to the source end. Illustratively, table 1 shows a correspondence table between devices and notification optimization methods.
TABLE 1
Figure BDA0002642559050000251
Illustratively, as shown in (a) and (b) of fig. 3, when a notification comes, the smart television displays only the notification content without displaying the action control, and a subsequent user can view and reply to the notification message in the notification center. Thus, the experience for the user is consistent, and the user cannot be interfered.
As shown in (a) and (b) of fig. 4, when the notification comes, the smart tv may first determine whether there is interaction with the user. If there is no interaction with the user (e.g., the smart television is playing a video), the smart television may automatically focus the cursor on the reply control of the message reminder box and display the action control in the message reminder box; if the smart television has interaction with the user (the user is changing channels using the remote controller), the smart television displays the action control in the message reminding box and does not focus the cursor on the reply control, but focuses the cursor on the reply control by prompting the user to click a menu key. This helps to promote ease of interaction.
For example, as shown in fig. 5, when the mobile phone sends the notification message to the car machine, the car machine may prompt the user of the content of the notification message in a voice broadcast manner.
For example, as shown in fig. 7, when the smart watch receives a notification message sent by the notebook computer, the smart watch may remind the user through voice, vibration, display on a display screen, and the like.
When detecting that the user replies a certain notification message, the sink terminal can package the action response event and the content replied by the user together into a notification message body. The notification message body can adopt the same packaging format as the notification message sent from the source end to the sink end, so that the source end can analyze the notification message conveniently.
Illustratively, the sink end may send the notification message body to the source end in a BLE packet. The BLE data packet includes a PDU, and the notification message body may be carried in a service data field in the PDU or may also be carried in a vendor specific data field in the PDU. For example, the payload of the service data field may include a plurality of bits, wherein the plurality of bits includes an extensible bit. The sink side and the source side can agree on the content of a certain extensible bit. The sink end can adopt coding modes such as GBK, ISO8859-1 and the like to code the notification message body, and carry the coded information on one or more extensible bits.
In an embodiment, if a notification message body sent by the source end to the sink end carries a notification ID attribute and a notification channel attribute, the sink end may carry the notification ID attribute, the notification channel attribute, an action response event, and content replied by the user in the notification message. If the notification message body sent by the source end to the sink end does not carry the notification ID attribute and the notification channel attribute, the notification message body sent by the sink end to the source end may not carry the notification ID attribute and the notification channel attribute.
In the embodiment of the application, after the sink terminal detects a click event or a delete event of the notification message by the user, the corresponding event can be sent to the source terminal in real time. The source end can make a real-time response, so that the closed-loop processing of the message is completed, and the experience consistency of the user on different devices is achieved.
For example, as shown in (c) in fig. 3, after the user completes the reply to the App1 message on the smart television, the smart television may send an action response event to the cell phone, and reply content, where the action response event is used to indicate that the smart television has completed the reply to the message. After receiving the action response event and the reply content, the mobile phone can automatically pull up the chat interface, and realize the real reply of the message in a dragging mode.
The source terminal analyzes the notification message body sent by the sink terminal to obtain a packet header, a notification ID attribute, a notification channel attribute, an action response event and user reply content, and the real reply to the notification message is completed through the following processes. Wherein, the source end can confirm that the sink end replies the notification message through the action response event; determining which App notification message is replied through the packet header; the notification ID attribute and the notification channel attribute determine which notification message is replied to. And then the true reply of the notification message is completed through the following procedure.
(1) Pull-up social App display interface
If the source end is in the lock screen state, the processing can be performed in the following ways.
In a first mode
The source end may first determine which App the reply is directed to according to the packet header. If the App provides an Application Programming Interface (API) to reply the message, the App can directly complete the real reply to the notification message through the API provided by the App after acquiring the content replied by the user. For example, for short message applications, it provides that the API "sendTextMessage" can be used to notify the true reply to the message. After the source end obtains the reply content, it may be determined that the reply content is the reply content for the short message application through the packet header of the reply content. Because the short message provides the API for replying the notification message, the source end can determine which notification message is replied through the notification ID attribute and the notification channel attribute, and then the source end can directly complete the real replying of the notification message through the 'sendTextMessage'.
It should be understood that, for the reply mode of the mode one, the process of message reply is implemented inside the source end, and the process is not sensible to the user. If the App does not provide the API for replying the message, the App can adopt a second mode or a third mode, and replying is completed through a dragging event.
Mode two
If the App supports the lock screen loaded flags attribute, the source end can directly load the corresponding display interface on the lock screen interface. Such as a voice call request, a video call request, etc. of WeChat, are directly displayed on the screen locking interface. And (3) returning to the step (2) by dragging the event to finish the message reply.
Mode III
The reply method of the third method can also be called a cross-device unlocking scheme. In the third mode, the sink terminal can complete the collection of the user identity authentication information, for example, the sink terminal can acquire password information used by the user for unlocking the source terminal, such as digital passwords, fingerprint passwords, iris information, facial features and other identity authentication information. Then, the sink end can send the password information to the source end, so that the source end judges whether to unlock the equipment. And (5) if the source terminal determines to unlock according to the password information, and then the step (2) is carried out, and the message is replied through a dragging event.
(2) Completion of replies by dragging events
The source end responds to the action response event, and can determine that the sink end device detects the operation of the user on the notification message reply. The source end can determine a corresponding App according to the packet header of the notification message body, starts the App to a foreground, and finds a corresponding notification message through the notification ID attribute and the notification channel attribute. The source-side view system can send Drag and Drop events and reply content to the corresponding App. And the App responds to the Drag and Drop event, and pulls up the chat interface of a specific contact through the PendingIntent in the notification message, so as to reply to the notification message. At this point the true reply to the notification message is complete. The view system, while sending the Drag and Drop event and the reply content to the corresponding App, may also send a content attribute of the reply content to the corresponding App, which may be used to indicate the type of the reply content (e.g., text, picture, voice, video, file, etc.). The App can inform a three-dimensional graphics processing library (OpenGL ES) to draw different display interfaces according to the type of the reply content. For example, for text content, after pulling up the chat interface of a specific contact, the text content can be directly displayed at the position of the reply. For another example, for voice information, after pulling up a chat interface of a specific contact, the duration of the voice and a control for receiving the voice may be displayed (when the source end detects that the user clicks the control, the content of the voice may be played). For another example, for video information, after a chat interface of a certain contact is pulled up, a first frame image in the video may be displayed and a play control may be displayed (after the source end clicks the play control, the content of the video may be played).
(3) Restoring source end-of-site
And after the source end finishes replying, the interface of the App is hidden, and the display interface before starting the App is returned. And (3) if the source end equipment is originally locked in the step (1), locking the screen of the equipment again. By restoring the original state of the equipment, the user can not sense the quick reply function, and the user experience can be further improved.
For another example, when the smart television detects that the user ignores the message of the App1, the smart television may send a notification message body to the mobile phone, where the notification message body may carry an action response event, and the action response event is used to indicate that the smart television detects that the user ignores the message reminder box. After receiving the action event, the mobile phone can automatically hide the message reminding frame on the screen locking interface of the mobile phone. After receiving the notification message body, the handset may determine the App1 according to the packet header of the notification message body. In response to the action response event, the view system of the application framework layer may send a hidden event to App1 of the application layer. The App1 may notify a three-dimensional graphics processing library (OpenGL ES) to hide a notification message reminder box on a lock screen interface.
Fig. 15 shows a schematic flow chart of a method 1500 for prompting a message provided by an embodiment of the present application. As shown in fig. 15, the method may be performed by a first electronic device and a second electronic device, wherein the first electronic device may be a source terminal as shown in fig. 14, and the second electronic device may be a sink terminal as shown in fig. 14, and the method 1500 includes:
s1501, the first electronic device receives a message.
Illustratively, as shown in fig. 3 (a), the user's handset receives the message of App1 sent by user li.
It should be understood that the message in the embodiment of the present application may be a message sent by a server of a different application, and the type of the message includes, but is not limited to, text, voice, audio, video, link, share (e.g., location share), invite (e.g., invite to join a group), and the like.
S1502, when determining that the device focused by the owner of the first electronic device is the second electronic device, the first electronic device sends the message to the second electronic device.
If the first electronic device stores a device list for message forwarding, the second electronic device may be a device in the device list, and at this time, the first electronic device may send request information to the second electronic device through short-range wireless communication or through a server, where the request information is used to request the second electronic device to determine whether the owner of the first electronic device focuses on the second electronic device; if the first electronic device does not store the device list for message forwarding, the second electronic device may be a device around the first electronic device, and the first electronic device may send the request information to the surrounding devices in a broadcast manner.
Optionally, if the first electronic device determines that the device focused by the user is not the first electronic device, the first electronic device does not perform the notification.
For example, as shown in fig. 3 (a), upon receipt of the message of App1, if the handset determines that the device on which the user is focused is not a handset, the handset may not light up the message informing the user of App 1.
In the embodiment of the present application, a determination manner that the device that the first electronic device determines to focus is not the electronic device is not specifically limited.
In one embodiment, if the second electronic device is an electronic device in the device list of the first electronic device and user characteristics of the owner of the first electronic device are stored in the second electronic device (for example, the second electronic device and the first electronic device are two devices under the same user (the same user is logged in, the same user is an ID)), the first electronic device may store the same user characteristics (for example, fingerprint information, face information, voiceprint information, iris information, and the like) in the first electronic device and the second electronic device, and the first electronic device may send the request information to the second electronic device through a server or through short-distance communication. After receiving the request information sent by the first electronic device, the second electronic device can judge whether the user characteristics are matched with the preset user characteristics of the owner of the first electronic device by acquiring the user characteristics. And if so, sending response information to the first electronic equipment, wherein the response information is used for indicating that the owner of the first electronic equipment focuses on the second electronic equipment. The first electronic device may send the message to the second electronic device after receiving the response information.
For example, if the first electronic device includes a camera, when the first electronic device receives the message, the first electronic device may turn on the camera to collect face information of the user, and if the face information of the user is not collected by the camera, the first electronic device may determine that the device on which the user is currently focused is not the first electronic device, and may send the request information to the second electronic device. After receiving the request information, the second electronic device may collect face information of the user by turning on the camera, and if the collected face information matches with face information of a owner of the first electronic device preset in the second electronic device, the second electronic device may send response information to the first electronic device.
For another example, the second electronic device may collect voice information of the user by turning on a microphone after receiving the request information. The second electronic device may extract voiceprint information in the voice information, and if the voiceprint information matches with voiceprint information of a owner of the first electronic device preset in the second electronic device, the second electronic device may send response information to the first electronic device.
In this embodiment, the first electronic device may send the request information to the second electronic device through the server, or may send the request information to the second electronic device through short-range communication. For example, the request information may be a field in the BLE data packet for requesting the second electronic device to determine whether the user is focused on the second electronic device.
Illustratively, the BLE packet includes a Protocol Data Unit (PDU), and the request information may be carried in a service data field (service data) in the PDU, or may also be carried in a vendor specific data field (vendor specific data) in the PDU. For example, a payload (payload) of the service data field may include a plurality of bits, wherein the plurality of bits includes an extensible bit. The first electronic device and the second electronic device may agree in advance on a bit for transmission of the request message. When this extendable bit is a preset value (e.g., 1), the second electronic device may learn that the first electronic device requests it to determine whether the owner of the first electronic device is focused on the device.
And when the second electronic equipment determines that the user focuses on the second electronic equipment, sending response information to the first electronic equipment, wherein the response information is used for indicating that the equipment focused by the user is the second electronic equipment.
For example, the second electronic device may send the service data field or vendor specific data field of the PDU in the BLE packet to the first electronic device upon determining that the user focus is on the second electronic device. For example, the response information may be carried on scalable bits in the payload of the service data field. The first electronic device and the second electronic device may agree in advance on a certain scalable bit for transmission of the response message. When the extendable bit is a preset value (e.g., 1), it indicates that the second electronic device determines that the device in primary focus of the first electronic device is the second electronic device.
It should be understood that, in this embodiment of the present application, the second electronic device may determine whether the user focuses on the second electronic device by using other existing manners of determining a focus device, which is not limited in this embodiment of the present application.
Optionally, the first electronic device and the second electronic device are devices under the same account, and then the first electronic device may further send request information to the second electronic device through the server. Likewise, the second electronic device may also send a response message to the first electronic device through the server if it is determined that the user is focusing on the second electronic device.
For example, when the user is wearing the smart watch and the mobile phone is placed at home for charging, the mobile phone may send a request message to the smart watch through the server when the mobile phone receives the message. The smart watch may send the response message to the cell phone through the server.
In an embodiment, if the second electronic device is an electronic device in the device list of the first electronic device and the user feature of the owner of the first electronic device is not stored in the second electronic device, or the device list is not stored in the first electronic device, the second electronic device is a device around the first electronic device. The first electronic device may send the request information to the second electronic device upon determining that the owner of the first electronic device is not focused on the first electronic device; after receiving the request information, the second electronic device may collect the user characteristics through the user characteristic collection device, and send the collected user characteristics to the first electronic device. The first electronic device may send the message to the second electronic device upon determining that the user characteristic collected by the second electronic device matches a user characteristic preset in the first electronic device.
It should be understood that, for the case that the second electronic device is an electronic device in the device list of the first electronic device and the second electronic device stores the user feature of the owner of the first electronic device, the second electronic device may also collect the user feature and send the user feature to the first electronic device after receiving the request information, so that the first electronic device determines whether the owner of the first electronic device focuses on the second electronic device according to the user feature collected by the second electronic device and the preset user feature.
For example, the user feature sent by the second electronic device to the first electronic device may be carried in a service data field or a vendor specific field in the PDU.
For example, the second electronic device includes a camera. After receiving the request information, the second electronic device can acquire the face information through the camera and send the face information to the first electronic device. The first electronic equipment judges whether the user is the user according to the face information. For example, the first electronic device may match the face information acquired by the second electronic device with face information preset in the first electronic device, and if the matching is successful, it is determined that the owner of the first electronic device is currently focused on the second electronic device. The face information collected by the second electronic device may also be face information of multiple persons, and then the second electronic device may send the face information of the multiple persons to the first electronic device. The first electronic device may match the face information of each of the plurality of persons with the face information preset in the first electronic device, and if the matching is successful, it is determined that the second electronic device is currently focused by the user. The first electronic device may send a message to the second electronic device, which may prompt the user for a message (or prompt the user for a message from the XX device) and not prompt the user for the content of the message.
For another example, the second electronic device includes a microphone, and after receiving the request message, the second electronic device may collect voice information sent by the user through the microphone and send the voice information to the first electronic device. The first electronic equipment judges whether the user is the user himself or not according to the voice information. For example, the first electronic device may extract voiceprint information in the voice information acquired by the second electronic device, match the extracted voiceprint information with voiceprint information preset in the first electronic device, and determine that the second electronic device is currently focused by the user if the matching is successful.
In the embodiment of the application, when the first electronic device requests the second electronic device whether the owner of the first electronic device focuses on the second electronic device, the second electronic device may send the collected user characteristics to the first electronic device, so that the first electronic device may determine whether the second electronic device is a device focused by the owner of the first electronic device according to the received user characteristics and the preset user characteristics. Therefore, the safety of message forwarding is improved, privacy disclosure of users is avoided, and user experience is improved.
Alternatively, if the first electronic device does not receive the response information sent by any device within the preset time, the first electronic device may determine that the user is not focused on devices around the first electronic device. The first electronic device may alert the user of the message by a bright screen or vibration.
Optionally, the first electronic device may carry the content of the message in a BLE data packet and send the BLE data packet to the second electronic device; alternatively, the first electronic device may send the message to the second electronic device through the server.
Illustratively, the BLE packet includes a PDU, and the message may be carried in a service data (service data) field in the PDU or may be carried in a vendor specific data (vendor specific data) field in the PDU. For example, a payload (payload) of the service data field may include a plurality of bits, wherein the plurality of bits includes an extensible bit. The first electronic device and the second electronic device may agree in advance on one or more extensible bits for transmission of the message. The first electronic device may encode the content of the message in a GBK, ISO8859-1, or other encoding manner, and carry the encoded information on one or more scalable bits. After receiving the BLE data packet transmitted by the first electronic device, the second electronic device may decode information on a corresponding bit, thereby obtaining the content of the message.
S1503, the second electronic device prompts the message to the user according to the device information of the second electronic device.
In this embodiment, the device information of the second electronic device may include, but is not limited to: hardware capability information of the second electronic device (e.g., whether the second electronic device is a large screen device or the second electronic device is a car machine), a current state of the device (e.g., whether the device is currently interacting with a user, or whether the device is in an immersive state), and so forth.
Optionally, the device information of the second electronic device includes that the second electronic device has a display screen, and the second electronic device displays a message reminding frame through the display screen, where the message reminding frame includes the message and the message reminding frame does not include the control.
For example, as shown in (a) and (b) in fig. 3, after receiving a message sent by a mobile phone, a smart television may prompt the message through a message reminding box, where the message reminding box does not include a control. After seeing the message, the user can view the message in a notification center of the intelligent television.
Optionally, the device information of the second electronic device includes that the second electronic device has a display screen, and when the second electronic device detects that the input of the user is being received, a message reminding frame is displayed through the display screen without positioning a cursor in the message reminding frame, where the message reminding frame includes the message.
Illustratively, as shown in fig. 4 (b), when the smart television receives a message sent by the mobile phone, the smart television has interaction with the user, or the smart television detects that the user is operating the smart television. The smart tv may display a message alert box and the smart tv does not position a cursor in the message alert box.
In the embodiment of the application, if the second electronic device is receiving the input of the user when receiving the message, in order to avoid causing trouble to the user, the second electronic device may display the message reminding frame, but does not position the cursor in the message reminding frame. Therefore, the influence on the current interaction caused by the mistaken clicking of the user is avoided.
Optionally, when the second electronic device detects that the input of the user is being received, prompt information is also displayed through the display screen, and the prompt information is used for prompting the user to position the cursor to the message prompting frame through the first operation.
Illustratively, as shown in fig. 4 (b), the prompt message is "click menu key process". When the intelligent television detects that the user clicks a menu key, the cursor can be automatically positioned in the message reminding box. For example, the smart television may position a cursor at a reply control in the message alert box.
In the embodiment of the application, by displaying the prompt message, the user can position the cursor in the message reminding frame through the first operation, so that the message is processed. Therefore, the trouble of the current interaction behavior of the user is avoided, and the cursor on the intelligent television can be quickly and conveniently positioned in the message reminding frame, so that the user can conveniently process the message.
Optionally, the device information of the second electronic device includes that the second electronic device has a display screen, and when the second electronic device detects that the user input is not received, the message reminding frame is displayed through the display screen and the cursor is positioned in the message reminding frame.
Illustratively, as shown in fig. 4 (a), when the smart television receives a message sent by a mobile phone, there is no interaction between the smart television and the user, or the smart television detects that the user does not operate the smart television. The smart tv may display a message alert box and the smart tv positions a cursor in the message alert box. For example, the smart television positions a cursor at a reply control in the message reminder box.
In the embodiment of the application, if the intelligent television does not receive the input of the user when receiving the message, the intelligent television can display the message reminding frame and position the cursor in the message reminding frame, so that the user can conveniently process the message.
Optionally, the device information of the second electronic device includes a device of the smart television with a voice function, and the second electronic device may remind the user of receiving the message through voice; alternatively, the second electronic device may alert the user of the content of the message by voice.
For example, as shown in fig. 5, the car machine includes a voice function, and then after receiving a message sent by a mobile phone, the car machine can convert the content of the message into voice and prompt a user; or the car machine can also prompt the user to receive a message through voice.
In one embodiment, if the second electronic device has both a display screen and a voice reminding function, the second electronic device may continue to determine whether the second electronic device belongs to a large-screen device (e.g., a smart television), and if the second electronic device belongs to a large-screen device, the second electronic device may prompt the user through the display screen; alternatively, if the second electronic device is a tablet, a PC, or the like, the user may be prompted through the display screen. If the second electronic device is an intelligent voice device with a small display screen, such as an intelligent sound box, the second electronic device can prompt the user through voice.
Optionally, before the second electronic device prompts the message to the user, the method further includes: the first electronic equipment sends indication information to second electronic equipment, wherein the indication information is used for indicating the second electronic equipment to add a reply control to the message; the second electronic device prompts the message to the user according to the device information, and the method comprises the following steps: the second electronic equipment displays a message reminding frame according to the equipment information and the indication information, wherein the message reminding frame comprises the message and the reply control; after the second electronic device prompts the message to the user, the method further comprises: when detecting that the user replies to the message, the second electronic equipment sends reply content to the first electronic equipment; and the first electronic equipment replies the message according to the reply content.
Illustratively, as shown in fig. 4 (a), the smart tv may receive a message and indication information sent by a mobile phone. If the smart television does not receive the input of the user currently, the smart television can display a message reminding frame, the message reminding frame comprises the content of the message and a reply control, and the smart television positions a cursor on the reply control. When the smart television detects that the user clicks the reply control, the input method can be pulled up so that the user can reply to the message conveniently. The smart television can send the replied content to the mobile phone, so that the mobile phone can complete real reply to the message by calling the API or dragging an event.
Illustratively, as shown in (b) of fig. 4, the smart tv may receive a message and indication information sent by a mobile phone. If the smart television is currently receiving the input of the user (for example, the smart television is receiving a zapping operation of the user), the smart television may display a message reminding box, the message reminding box includes the content of the message and a reply control, and the smart television does not position the cursor at the reply control. The intelligent television can also display prompt information to prompt the user to reply the message by clicking a menu key. When the smart television detects that the user clicks a menu key, the smart television can position the cursor at the reply control. When the smart television detects that the user clicks the reply control, the input method can be pulled up so that the user can reply to the message conveniently. The smart television can send the replied content to the mobile phone, so that the mobile phone can complete real reply to the message by calling the API or dragging an event.
Optionally, the message is a message of a first application, and the second electronic device may be a device without the first application installed. Therefore, the user can conveniently complete the reply to the message on the focused device, the process that the user replies to the message on the first electronic device is avoided, and the user experience is favorably improved.
Optionally, the device information of the second electronic device includes that the second electronic device is provided with a camera. And when the second electronic equipment detects that only the owner of the first electronic equipment focuses on the second electronic equipment through the camera, prompting the content of the message to the user.
For example, as shown in (a) in fig. 9, when the smart television detects that only the owner of the mobile phone focuses on the smart television through the camera, the smart television may display a message reminding box 901 through the display screen, where the message reminding box 901 includes the content of the message (for example, "there is a meeting at 9 am").
Or when the second electronic equipment detects that a plurality of users including the owner of the first electronic equipment focus on the second electronic equipment through the camera, the second electronic equipment prompts the user to receive the message.
Illustratively, as shown in fig. 9 (b), when the smart tv detects that a plurality of users including the owner of the mobile phone are focusing on the smart tv through the camera, the smart tv may display a message reminding box 902 through the display screen, wherein the message reminding box 902 prompts the user that "you have a message, P40 from Lily".
Optionally, the second electronic device determines that the second electronic device is in a non-immersive state prior to prompting the user for the message. Illustratively, the immersive state may include a state in which the user is watching a video, as shown in fig. 8 (b), and if the user is watching a video at this time, the tablet may not prompt the user for the message. As shown in fig. 8 (a), if the tablet is displaying the desktop at this time, the tablet may prompt the user for the message.
It should be understood that, in the embodiment of the present application, if the second electronic device is in the immersion state, the second electronic device may not prompt the message. The immersive state may also be understood as a notification disabled state, as the immersive state may be that the user has disabled the notification or has turned on a do-not-disturb mode. For example, when a user is in a teleconference, especially when sharing a desktop, if a notification is sent, the notification will not only be affected by interference, but also seen by other participants, which may affect the user experience and may reveal the privacy of the user. Alternatively, the immersion state may be a state in which the second electronic device runs a preset application. For example, the immersive state may be that the second electronic device is currently running a video App or a game App.
Optionally, the method 1500 further comprises: before transmitting the notification message to the second electronic device, the first electronic device determines the type of the message as a message type set by a user.
For example, as shown in (e) in fig. 11, the user may set the type of the message that can be subjected to notification forwarding in advance, such as the messages for App5, App6, and App 7. When the first electronic equipment receives the message, judging whether the type of the message is the message type set by the user. If so, the first electronic device may perform S1502.
Optionally, the method 1500 further comprises: before sending the notification message to the second electronic device, the first electronic device determines that the message is an Instant Messaging (IM) type message.
Optionally, the method 1500 further comprises: before sending the message to the second electronic device, the first electronic device determines a device for the second electronic device to forward the received message set by the user.
For example, as shown in (b) of fig. 12, a user may set a device that can receive message forwarding in a handset in advance. When the first electronic device receives the message and determines that the device that the user is currently focused on is not the first electronic device, the device that the user is currently focused on may be determined from the devices that receive the message forwarding. And sends a message to the device.
Before sending the message to the second electronic device, the first electronic device determines that the account logged in on the first electronic device is associated with the account logged in on the second electronic device.
Optionally, the account number logged in on the electronic device and the account number logged in on the wearable device may be the same account number; or the account number logged in on the electronic equipment and the account number logged in on the wearable equipment are account numbers in the same family group; alternatively, the account logged in on the wearable device may be an account authorized by the account logged in on the electronic device.
In the embodiment of the application, when the first electronic device determines that the device focused by the user is not the first electronic device but the second electronic device, the first electronic device can forward the message to the second electronic device, and the second electronic device can prompt the message to the user according to the device information of the second electronic device, so that the prompt that the user receives the message in time is facilitated, and the user is prevented from missing important messages; meanwhile, the second electronic equipment presents different reminding modes to the user according to the equipment information of the second electronic equipment, and the experience of the user when receiving the message is improved.
Fig. 16 is a schematic block diagram of an apparatus 1600 for prompting a message provided by an embodiment of the present application. The apparatus 1600 may be disposed in the second electronic device, where the apparatus 1600 includes: a receiving unit 1610, configured to receive a message sent by the other electronic device, where the message is obtained by the other electronic device from a server; a prompting unit 1620 configured to prompt the user with the message according to the device information of the apparatus.
Fig. 17 shows a schematic block diagram of an electronic device 1700 provided in an embodiment of the present application. As shown in fig. 17, the electronic apparatus includes: one or more processors 1710, one or more memories 1720, the one or more memory stores 1720 having stored thereon one or more computer programs, the one or more computer programs comprising instructions. When executed by the one or more processors 1710, the instructions cause the first electronic device to perform the aspects of the embodiments described above; alternatively, when the instructions are executed by the one or more processors 1710, the second electronic device is caused to execute the technical solution in the above embodiments.
The embodiment of the application provides a system for prompting a message, which comprises a first electronic device and a second electronic device, and the system is used for executing the technical scheme of the prompting message in the embodiment. The implementation principle and technical effect are similar to those of the embodiments related to the method, and are not described herein again.
The embodiment of the present application provides a computer program product, which, when the computer program product runs on a first electronic device, enables the first electronic device to execute the technical solution in the above embodiment; or, when the computer program product runs on the second electronic device, the second electronic device is caused to execute the technical solution in the above embodiment. The implementation principle and technical effect are similar to those of the embodiments related to the method, and are not described herein again.
The embodiment of the application provides a readable storage medium, which contains instructions, and when the instructions are executed on a first electronic device, the first electronic device is caused to execute the technical scheme of the embodiment; or, when the instruction runs on a second electronic device, the second electronic device is caused to execute the technical solution of the above embodiment. The implementation principle and the technical effect are similar, and the detailed description is omitted here.
The embodiment of the application provides a chip, wherein the chip is used for executing instructions, and when the chip runs, the technical scheme in the embodiment is executed. The implementation principle and the technical effect are similar, and the detailed description is omitted here.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (26)

1. A system comprising a first electronic device and a second electronic device,
the first electronic equipment is used for receiving messages;
the first electronic device is further configured to send the message to the second electronic device when it is determined that the device on which the owner of the first electronic device focuses is the second electronic device;
and the second electronic equipment is used for prompting the message to the user according to the equipment information of the second electronic equipment.
2. The system of claim 1, wherein the device information includes that the second electronic device has a display screen, and the second electronic device is specifically configured to: and displaying a message reminding frame through the display screen, wherein the message reminding frame comprises the message and the message reminding frame does not comprise a control.
3. The system of claim 1, wherein the device information includes that the second electronic device has a display screen, and the second electronic device is specifically configured to:
when the second electronic device detects that the input of a user is being received, displaying a message reminding frame through the display screen without positioning a cursor in the message reminding frame, wherein the message reminding frame comprises the message; alternatively, the first and second electrodes may be,
when the second electronic equipment detects that the input of the user is not received, the reminding frame is displayed through the display screen, and the cursor is positioned in the message reminding frame.
4. The system of claim 3, wherein the second electronic device is further configured to:
when the second electronic device detects that the input of the user is being received, prompt information is displayed through the display screen, and the prompt information is used for reminding the user to position the cursor to the message reminding frame through a first operation.
5. The system of claim 1, wherein the device information includes that the second electronic device is voice-enabled, and wherein the second electronic device is specifically configured to:
reminding a user of receiving the message through voice; alternatively, the first and second electrodes may be,
and reminding the user of the content of the message through voice.
6. The system of claim 1, wherein the first electronic device is further configured to send indication information to the second electronic device, where the indication information is used to instruct the second electronic device to add a reply control to the message;
the second electronic device is specifically configured to: displaying a message reminding frame according to the equipment information and the indication information, wherein the message reminding frame comprises the message and the reply control;
the second electronic device is further configured to send reply content to the first electronic device when an operation of replying to the message is detected;
the first electronic device is further configured to reply to the message according to the reply content.
7. The system of claim 6, wherein the message is a message of a first application, and wherein the second electronic device is a device that does not have the first application installed.
8. The system of any one of claims 1-7, wherein the device information includes that the second electronic device is equipped with a camera, the second electronic device further configured to:
when the second electronic equipment detects that only the owner of the first electronic equipment focuses on the second electronic equipment through the camera, prompting the content of the message; alternatively, the first and second electrodes may be,
and when the second electronic equipment detects that a plurality of users including the owner of the first electronic equipment focus on the second electronic equipment through a camera, prompting that the message is received.
9. The system of any of claims 1-8, wherein the second electronic device is further configured to:
determining that the second electronic device is in a non-do-not-disturb mode or that the second electronic device is not currently running a preset application before prompting the message to the user.
10. The system of any of claims 1-9, wherein the first electronic device is further configured to:
before the message is sent to the second electronic equipment, determining the type of the message as a message type set by a user; alternatively, the first and second electrodes may be,
before sending the message to the second electronic device, determining that the message is an Instant Messaging (IM) type message.
11. The system of any of claims 1-10, wherein the first electronic device is further configured to:
before the message is sent to the second electronic device, determining a device which is set by the second electronic device for receiving message forwarding by a user; or
Determining that the account logged in on the first electronic device is associated with the account logged in on the second electronic device before sending the message to the second electronic device.
12. The system according to any one of claims 1 to 11, characterized in that the first electronic device is specifically configured to: when determining that the device currently focused by the owner of the first electronic device is not the first electronic device, sending request information to the second electronic device, wherein the request information is used for requesting the second electronic device to determine whether the owner of the first electronic device focuses on the second electronic device;
the second electronic device is further configured to send response information to the first electronic device according to the request information, where the response information is used to indicate that a currently focused device of the owner of the first electronic device is the second electronic device;
the first electronic device is specifically configured to: in response to receiving the response information, sending the message to the second electronic device.
13. The system according to any one of claims 1 to 11, wherein the second electronic device comprises a user characteristic acquisition device, and the first electronic device is specifically configured to: when determining that the device currently focused by the owner of the first electronic device is not the first electronic device, sending request information to the second electronic device, wherein the request information is used for requesting the second electronic device to determine whether the owner of the first electronic device focuses on the second electronic device;
the second electronic device is further to: acquiring user characteristics through the user characteristic acquisition device according to the request information and sending the user characteristics to the first electronic equipment;
the first electronic device is specifically configured to: determining that the user characteristic matches a preset user characteristic in the first electronic device before sending the message to the second electronic device.
14. A method for prompting a message, which is applied to an electronic device, comprises the following steps:
the electronic equipment receives a message sent by another electronic equipment, wherein the message is obtained by the other electronic equipment from a server;
and the electronic equipment prompts the message to a user according to the equipment information of the electronic equipment.
15. The method of claim 14, wherein the device information comprises that the electronic device is provided with a display screen, and the electronic device prompts the message to a user according to the device information of the electronic device, comprising:
and displaying a message reminding frame through the display screen, wherein the message reminding frame comprises the message and the message reminding frame does not comprise a control.
16. The method of claim 14, wherein the device information comprises that the electronic device is provided with a display screen, and the electronic device prompts the message to a user according to the device information of the electronic device, comprising:
when the electronic equipment detects that the input of a user is being received, displaying a message reminding frame through the display screen without positioning a cursor in the message reminding frame, wherein the message reminding frame comprises the message; alternatively, the first and second electrodes may be,
when the electronic equipment detects that the input of the user is not received, the message reminding frame is displayed through the display screen, and the cursor is positioned in the message reminding frame.
17. The method of claim 16, further comprising:
and when the electronic equipment detects that the input of the user is being received, displaying prompt information through the display screen, wherein the prompt information is used for prompting the user to position the cursor to the message prompting frame through a first operation.
18. The method of claim 14, wherein the device information comprises voice-enabled device information, and wherein the electronic device prompts the user for the message according to the device information of the electronic device, comprising:
the electronic equipment reminds a user of receiving the message through voice; alternatively, the first and second electrodes may be,
and the electronic equipment reminds the user of the content of the message through voice.
19. The method of claim 14, wherein prior to said prompting the user for the message, the method further comprises: the electronic equipment receives indication information sent by the other electronic equipment, wherein the indication information is used for indicating the electronic equipment to add a reply control to the message;
the electronic equipment prompts the message to a user according to the equipment information of the electronic equipment, and the method comprises the following steps: the electronic equipment displays a message reminding frame according to the equipment information and the indication information, wherein the message reminding frame comprises the message and the reply control;
after the prompting the message to the user, the method further comprises: and when the operation of replying to the message is detected, sending reply content to the other electronic equipment.
20. The method of claim 19, wherein the message is a message of a first application, and wherein the electronic device is a device that does not have the first application installed.
21. The method according to any one of claims 14 to 20, wherein the device information includes that the electronic device is provided with a camera, and the electronic device prompts the message to a user according to the device information of the electronic device, including:
when the electronic equipment detects that only the owner of the other electronic equipment focuses on the electronic equipment through a camera, the electronic equipment prompts the content of the message; alternatively, the first and second electrodes may be,
and when the electronic equipment detects that a plurality of users including the owner of the other electronic equipment focus on the electronic equipment through the camera, prompting the user to receive the message.
22. The method according to any one of claims 14 to 21, further comprising:
determining that the electronic device is in a non-do-not-disturb mode or that the electronic device is not currently running a preset application before prompting the message to the user.
23. The method according to any one of claims 14 to 22, further comprising:
before receiving a message sent by the other electronic device, the electronic device receives request information sent by the other electronic device, wherein the request information is used for requesting the electronic device to determine whether an owner of the other electronic device focuses on the electronic device;
and the electronic equipment sends response information to the other electronic equipment according to the request information, wherein the response information is used for indicating that the equipment currently focused by the owner of the other electronic equipment is the electronic equipment.
24. The method of any one of claims 14 to 22, wherein the electronic device comprises a user feature capture device, the method further comprising: before receiving a message sent by the other electronic device, the electronic device receives request information sent by the other electronic device, wherein the request information is used for requesting the electronic device to determine whether an owner of the other electronic device focuses on the electronic device;
and the electronic equipment acquires the user characteristics through the user characteristic acquisition device according to the request information and sends the user characteristics to the other electronic equipment.
25. An electronic device, characterized by one or more processors; one or more memories; the one or more memories store one or more computer programs, the one or more computer programs comprising instructions, which when executed by the one or more processors, cause the electronic device to perform the method of prompting a message of any of claims 14-24.
26. A computer readable storage medium comprising computer instructions which, when run on an electronic device, cause the electronic device to perform the method of prompting a message of any of claims 14 to 24.
CN202010844414.8A 2020-02-19 2020-08-20 Message prompting method, electronic equipment and system Active CN114173204B (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN202010844414.8A CN114173204B (en) 2020-08-20 2020-08-20 Message prompting method, electronic equipment and system
PCT/CN2020/142600 WO2021164445A1 (en) 2020-02-19 2020-12-31 Notification processing method, electronic apparatus, and system
CN202080100013.XA CN115428413A (en) 2020-02-19 2020-12-31 Notification processing method, electronic equipment and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010844414.8A CN114173204B (en) 2020-08-20 2020-08-20 Message prompting method, electronic equipment and system

Publications (2)

Publication Number Publication Date
CN114173204A true CN114173204A (en) 2022-03-11
CN114173204B CN114173204B (en) 2023-09-22

Family

ID=80475318

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010844414.8A Active CN114173204B (en) 2020-02-19 2020-08-20 Message prompting method, electronic equipment and system

Country Status (1)

Country Link
CN (1) CN114173204B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114915607A (en) * 2022-07-18 2022-08-16 荣耀终端有限公司 Notification message processing method, electronic equipment and system
CN115086482A (en) * 2022-07-22 2022-09-20 腾讯科技(深圳)有限公司 Reminding processing method and device, computer equipment and storage medium
CN116055617A (en) * 2022-07-27 2023-05-02 荣耀终端有限公司 Message notification method and device
CN116095224A (en) * 2022-08-31 2023-05-09 荣耀终端有限公司 Notification display method and terminal device
CN116095223A (en) * 2022-08-31 2023-05-09 荣耀终端有限公司 Notification display method and terminal device
WO2024001812A1 (en) * 2022-06-27 2024-01-04 华为技术有限公司 Message management method, electronic device and system
WO2024012398A1 (en) * 2022-07-12 2024-01-18 华为技术有限公司 Message sharing method and related device
CN117527957A (en) * 2022-07-31 2024-02-06 荣耀终端有限公司 Notification message prompting method, electronic device and readable storage medium
WO2024067328A1 (en) * 2022-09-28 2024-04-04 华为技术有限公司 Message processing method
WO2024114212A1 (en) * 2022-11-28 2024-06-06 华为技术有限公司 Cross-device focus switching method, electronic device and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090074224A1 (en) * 2007-09-17 2009-03-19 Ann Williams Group Llc. Sound recordable/playable device and method of use
CN103037319A (en) * 2011-09-30 2013-04-10 联想(北京)有限公司 Communication transferring method, mobile terminal and server
CN105025164A (en) * 2015-06-23 2015-11-04 上海斐讯数据通信技术有限公司 Communication information management system and method
CN105225457A (en) * 2015-10-28 2016-01-06 努比亚技术有限公司 System, the apparatus and method of information prompting are carried out by intelligent home device
CN106203186A (en) * 2016-07-29 2016-12-07 珠海市魅族科技有限公司 Electronic equipment and message display method thereof
CN109088815A (en) * 2018-08-30 2018-12-25 Oppo广东移动通信有限公司 Message prompt method, device, storage medium, mobile terminal and wearable device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090074224A1 (en) * 2007-09-17 2009-03-19 Ann Williams Group Llc. Sound recordable/playable device and method of use
CN103037319A (en) * 2011-09-30 2013-04-10 联想(北京)有限公司 Communication transferring method, mobile terminal and server
CN105025164A (en) * 2015-06-23 2015-11-04 上海斐讯数据通信技术有限公司 Communication information management system and method
CN105225457A (en) * 2015-10-28 2016-01-06 努比亚技术有限公司 System, the apparatus and method of information prompting are carried out by intelligent home device
CN106203186A (en) * 2016-07-29 2016-12-07 珠海市魅族科技有限公司 Electronic equipment and message display method thereof
CN109088815A (en) * 2018-08-30 2018-12-25 Oppo广东移动通信有限公司 Message prompt method, device, storage medium, mobile terminal and wearable device

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024001812A1 (en) * 2022-06-27 2024-01-04 华为技术有限公司 Message management method, electronic device and system
WO2024012398A1 (en) * 2022-07-12 2024-01-18 华为技术有限公司 Message sharing method and related device
CN114915607A (en) * 2022-07-18 2022-08-16 荣耀终端有限公司 Notification message processing method, electronic equipment and system
CN115086482A (en) * 2022-07-22 2022-09-20 腾讯科技(深圳)有限公司 Reminding processing method and device, computer equipment and storage medium
CN115086482B (en) * 2022-07-22 2022-10-28 腾讯科技(深圳)有限公司 Reminding processing method and device, computer equipment and storage medium
CN116055617A (en) * 2022-07-27 2023-05-02 荣耀终端有限公司 Message notification method and device
CN116055617B (en) * 2022-07-27 2024-03-29 荣耀终端有限公司 Message notification method, electronic device, computer storage medium and chip system
CN117527957A (en) * 2022-07-31 2024-02-06 荣耀终端有限公司 Notification message prompting method, electronic device and readable storage medium
WO2024027203A1 (en) * 2022-07-31 2024-02-08 荣耀终端有限公司 Method for prompting notification message, and electronic device and readable storage medium
CN116095224B (en) * 2022-08-31 2023-10-31 荣耀终端有限公司 Notification display method and terminal device
CN116095223B (en) * 2022-08-31 2023-11-07 荣耀终端有限公司 Notification display method and terminal device
CN116095223A (en) * 2022-08-31 2023-05-09 荣耀终端有限公司 Notification display method and terminal device
CN116095224A (en) * 2022-08-31 2023-05-09 荣耀终端有限公司 Notification display method and terminal device
WO2024067328A1 (en) * 2022-09-28 2024-04-04 华为技术有限公司 Message processing method
WO2024114212A1 (en) * 2022-11-28 2024-06-06 华为技术有限公司 Cross-device focus switching method, electronic device and system

Also Published As

Publication number Publication date
CN114173204B (en) 2023-09-22

Similar Documents

Publication Publication Date Title
CN114173204B (en) Message prompting method, electronic equipment and system
CN113885759B (en) Notification message processing method, device, system and computer readable storage medium
CN113542839B (en) Screen projection method of electronic equipment and electronic equipment
EP4113415A1 (en) Service recommending method, electronic device, and system
CN114173000B (en) Method, electronic equipment and system for replying message and storage medium
CN115428413A (en) Notification processing method, electronic equipment and system
CN110198362B (en) Method and system for adding intelligent household equipment into contact
CN114095599B (en) Message display method and electronic equipment
CN111835907A (en) Method, equipment and system for switching service across electronic equipment
CN114629993B (en) Cross-device authentication method and related device
CN112543447A (en) Device discovery method based on address list, audio and video communication method and electronic device
EP4187872A1 (en) Task processing method and related electronic device
EP4293997A1 (en) Display method, electronic device, and system
EP4024877A1 (en) Video communication method and video communication apparatus
EP4273695A1 (en) Service anomaly warning method, electronic device and storage medium
CN115706916A (en) Wi-Fi connection method and device based on position information
CN114489876A (en) Text input method, electronic equipment and system
CN113688368A (en) Cross-device authentication method
CN110737916A (en) Communication terminal and processing method
CN114071055B (en) Method for rapidly joining conference and related equipment
WO2023155583A1 (en) Cross-device application management method, electronic device, and system
WO2022052767A1 (en) Method for controlling device, electronic device, and system
WO2023197999A1 (en) Display method and electronic device
CN116700556A (en) Card generation method and related device
CN115243235A (en) Data transmission method and related equipment

Legal Events

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