WO2024114493A1 - 一种人机交互的方法和装置 - Google Patents

一种人机交互的方法和装置 Download PDF

Info

Publication number
WO2024114493A1
WO2024114493A1 PCT/CN2023/133513 CN2023133513W WO2024114493A1 WO 2024114493 A1 WO2024114493 A1 WO 2024114493A1 CN 2023133513 W CN2023133513 W CN 2023133513W WO 2024114493 A1 WO2024114493 A1 WO 2024114493A1
Authority
WO
WIPO (PCT)
Prior art keywords
user
electronic device
change
mobile phone
head
Prior art date
Application number
PCT/CN2023/133513
Other languages
English (en)
French (fr)
Inventor
张瑾婷
郑江震
王宗波
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2024114493A1 publication Critical patent/WO2024114493A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72436User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for text messaging, e.g. short messaging services [SMS] or e-mails

Definitions

  • the present application relates to the field of terminals, and more specifically, to a method and device for human-computer interaction.
  • the present application provides a method and device for human-computer interaction, which can be applied to electronic devices and can enhance the user experience of the electronic devices.
  • the present application provides a method for human-computer interaction, the method comprising: obtaining a first change, the first change comprising at least one of a change in a user's body movement, a change in a position of at least part of a user's body relative to an electronic device, a change in a position of the electronic device, and a change in a position of the electronic device relative to the user; processing a target event, the target event being viewing a real-time message on the electronic device.
  • the electronic device can identify the user's pre-interaction action according to the first change, thereby inferring that the user wants to view real-time messages, so that the user does not need to click on the electronic device or perform other interactive actions to directly operate the electronic device, thereby enhancing the user's intelligent experience of using the electronic device.
  • this also includes the body movements before directly operating the electronic device into the scope of interactive input, shortening the user's interaction path.
  • the change in the user's body movement includes: the user's head rotates.
  • the rotation of the user's head is determined based on the transformation of the reflection surface of the user's head from the side of the head to the front of the head.
  • the target event is one of a plurality of interactive events.
  • this technical scheme compared with directly selecting the target event that matches the user's body movements from all the events of the electronic device, this technical scheme first screens out the interactive events that can be interacted or processed by the user, and then determines the events that match the user's body movements from these interactive events as the target events that the user wants to process. This narrows the scope of the electronic device to select the target event, thereby reducing the time to determine the target event, and thus further improving the user's intelligent experience when using the electronic device.
  • the method further includes: determining a plurality of interactive events according to a current process of the electronic device.
  • the method also includes: determining a priority ranking of multiple interactive events, the multiple interactive events including real-time interactive events and long-term interactive events, the priority of real-time interactive events is greater than the priority of long-term interactive events, real-time interactive events are events that require users to process within a preset time, and long-term interactive events are events that users can process at any time; determining a target event from the multiple interactive events based on the first change and the priority ranking.
  • the real-time interactive event is prioritized as the event that needs to be processed at the moment. This is more in line with the user's current interaction intention and further improves the user's intelligent experience of using electronic devices.
  • processing the target event includes: the electronic device enters the Lock screen interface.
  • an electronic device when an electronic device receives a real-time message, the user does not need to click on the electronic device message or perform other operations directly on the electronic device. Instead, the electronic device will know the user's intention through a pre-interaction action indicating that the user wants to view the source of the real-time message, and then enter the lock screen interface from the off-screen display interface, shortening the user's interaction path and further improving the user's intelligent experience of using electronic devices.
  • processing the target event when the distance between the user's head and the electronic device becomes smaller, processing the target event also includes: the electronic device displays the entire content of the real-time message on the lock screen interface.
  • the user when an electronic device receives a real-time message and the electronic device is in the lock screen interface, the user does not need to click on the electronic device message or perform other operations directly on the electronic device. Instead, the user can realize the intention of viewing the complete content of the message by simply using the body movement of the probe to indicate that the user wants to view the specific content of the real-time message, thereby shortening the user's interaction path and further improving the user's intelligent experience of using electronic devices.
  • the decreasing distance between the user's head and the electronic device is determined based on the increasing size of the reflective surface of the user's head.
  • obtaining the first change includes: obtaining the first change when a to-be-processed event occurs in the electronic device.
  • the first change of the user's current behavior data is obtained after the event to be processed occurs, which can extend the use time of the electronic device.
  • obtaining the first change includes: obtaining the first change using at least one of a millimeter wave radar sensor, a lidar sensor, and an ultrasonic radar sensor.
  • the present application provides a method for human-computer interaction, the method comprising: obtaining a first change, the first change comprising at least one of a change in a user's body movement, a change in the position of at least part of the user's body relative to an electronic device, a change in the position of the electronic device, and a change in the position of the electronic device relative to the user; processing a target event, the target event being waking up a voice assistant.
  • the electronic device can identify the user's pre-interaction action according to the first change, thereby inferring that the user wants to wake up the voice assistant, so that the user does not need to click on the electronic device or other interactive actions to directly operate the electronic device, thereby enhancing the user's intelligent experience of using the electronic device.
  • this also includes the body movements before directly operating the electronic device into the scope of interactive input, shortening the user's interaction path.
  • the change in position of at least part of a limb of the user relative to the electronic device includes: a distance between the head of the user and the electronic device becomes smaller.
  • the change in position of the electronic device includes: the electronic device moves upward.
  • waking up the voice assistant includes: waking up the voice assistant when the distance between the electronic device and the user is less than a preset value.
  • the present application provides a human-computer interaction device, comprising: an acquisition unit, used to acquire a first change, the first change including at least one of a change in a user's limb movement, a change in the position of at least part of the user's limb relative to an electronic device, a change in the position of the electronic device, and a change in the position of the electronic device relative to the user; and a processing unit, used to process a target event, the target event being viewing a real-time message on the electronic device.
  • the electronic device can identify the user's pre-interaction action according to the first change through the human-computer interaction device, thereby inferring that the user wants to view real-time messages, so that the user does not need to click on the electronic device or other interactive actions to directly operate the electronic device, thereby enhancing the user's intelligent experience of using the electronic device.
  • this also includes the body movements before directly operating the electronic device into the scope of interactive input, shortening the user's interaction path.
  • the change in the user's body movement includes: the user's head rotates.
  • the rotation of the user's head is determined based on the transformation of the user's head reflection surface from the side of the head to the front of the head.
  • the target event is one of a plurality of interactive events.
  • the electronic device in this technical scheme compared with directly selecting the target event that matches the user's body movements from all the events of the electronic device, the electronic device in this technical scheme first uses the human-computer interaction device to screen out interactive events that can be interacted or processed by the user, and then determines the event that matches the user's body movements from these interactive events as the target event that the user wants to process. This narrows the scope of the electronic device's selection of target events, thereby reducing the time to determine the target event, thereby further improving the user's intelligent experience when using the electronic device.
  • the device further includes: a determination unit, configured to determine a plurality of interactive events according to a current process of the electronic device.
  • the determination unit is also used to: determine the priority ranking of multiple interactive events, the multiple interactive events include real-time interactive events and long-term interactive events, the priority of real-time interactive events is greater than the priority of long-term interactive events, real-time interactive events are events that require users to process within a preset time, and long-term interactive events are events that users can process at any time; determine the target event from the multiple interactive events based on the first change and the priority ranking.
  • the electronic device uses the device to prioritize the real-time interactive event as the event that needs to be processed at the moment, which is more in line with the user's current interaction intention and further improves the user's intelligent experience of using the electronic device.
  • the processing unit is further used to enable the electronic device to enter a lock screen interface from a screen-off display interface.
  • an electronic device when an electronic device receives a real-time message, the user does not need to click on the electronic device message or perform other operations directly on the electronic device. Instead, the user only needs to perform a pre-interaction action indicating that the user wants to view the source of the real-time message.
  • the electronic device will then know the user's intention through the human-computer interaction device, and then enter the lock screen interface from the off-screen display interface, shortening the user's interaction path and further improving the user's intelligent experience in using electronic devices.
  • the processing unit when the distance between the user's head and the electronic device becomes smaller, the processing unit is further used to: enable the electronic device to display the entire content of the real-time message on the lock screen interface.
  • the electronic device when the electronic device receives a real-time message and is in the lock screen interface, the electronic device can analyze the user's intention to view the specific content of the real-time message through the human-computer interaction device simply through the user's body movement of probing the head, thereby shortening the user's interaction path and further improving the user's intelligent experience of using the electronic device.
  • the decreasing distance between the user's head and the electronic device is determined based on the increasing size of the reflective surface of the user's head.
  • the acquisition unit is further configured to acquire the first change when a to-be-processed event occurs in the electronic device.
  • the electronic device waits for the processing event to occur through the human-computer interaction device before acquiring the user's current behavior data, which can extend the use time of the electronic device.
  • the acquisition unit is further used to acquire the first change using at least one of a millimeter wave radar sensor, a lidar sensor, and an ultrasonic radar sensor.
  • the present application provides a human-computer interaction device, which includes: an acquisition unit, used to acquire a first change, the first change including at least one of a change in the user's body movement, a change in the position of at least part of the user's body relative to the electronic device, a change in the position of the electronic device, and a change in the position of the electronic device relative to the user; and a processing unit, used to process a target event, the target event being waking up a voice assistant.
  • an acquisition unit used to acquire a first change, the first change including at least one of a change in the user's body movement, a change in the position of at least part of the user's body relative to the electronic device, a change in the position of the electronic device, and a change in the position of the electronic device relative to the user
  • a processing unit used to process a target event, the target event being waking up a voice assistant.
  • the electronic device can identify the user's pre-interaction action according to the first change through the human-computer interaction device, thereby inferring that the user wants to wake up the voice assistant, so that the user does not need to click on the electronic device or other interactive actions to directly operate the electronic device, thereby enhancing the user's intelligent experience of using the electronic device.
  • this also includes the body movements before directly operating the electronic device into the scope of interactive input, shortening the user's interaction path.
  • the change in position of at least part of a limb of the user relative to the electronic device includes: a distance between the user's head and the electronic device becomes smaller.
  • the change in position of the electronic device includes: the electronic device moves upward.
  • the upward position change of the electronic device is combined with the change of the user's own body movement, which can better More accurately infer that the user currently wants to wake up the voice assistant.
  • the processing unit is further used to wake up the voice assistant when the distance between the electronic device and the user is less than a preset value.
  • the present application provides an electronic device, comprising: a memory for storing a computer program; a processor for executing the computer program stored in the memory, so that the electronic device executes the method of the above-mentioned first aspect, any one of the implementations of the first aspect, the second aspect, or any one of the implementations of the second aspect.
  • the present application provides a computer-readable storage medium, which stores a computer program.
  • the computer program When the computer program is executed by a computer, the computer executes the method of the above-mentioned first aspect, any one of the implementations of the first aspect, the second aspect, or any one of the implementations of the second aspect.
  • the present application provides a computer program product, which includes a computer program.
  • the computer program When the computer program is executed by a computer, it enables the computer to execute the method of the above-mentioned first aspect, any one of the implementations of the first aspect, the second aspect, or any one of the implementations of the second aspect.
  • FIG1 is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application.
  • FIG. 2 is a software structure block diagram of an electronic device provided in an embodiment of the present application.
  • FIG. 3 is a set of graphical user interfaces provided in an embodiment of the present application.
  • FIG. 4 is another set of graphical user interfaces provided in an embodiment of the present application.
  • FIG. 5 is another set of graphical user interfaces provided in an embodiment of the present application.
  • FIG. 6 is another set of graphical user interfaces provided in an embodiment of the present application.
  • FIG. 7 is another set of graphical user interfaces provided in an embodiment of the present application.
  • FIG. 8 is another set of graphical user interfaces provided in an embodiment of the present application.
  • FIG. 9 is another set of graphical user interfaces provided in an embodiment of the present application.
  • FIG. 10 is another set of graphical user interfaces provided in an embodiment of the present application.
  • FIG. 11 is another set of graphical user interfaces provided in an embodiment of the present application.
  • FIG. 12 is a flow chart of a method for human-computer interaction provided in an embodiment of the present application.
  • FIG. 13 is a flow chart of another method for human-computer interaction provided in an embodiment of the present application.
  • FIG. 14 is a schematic structural diagram of a human-computer interaction device provided in an embodiment of the present application.
  • FIG. 15 is a schematic structural diagram of another human-computer interaction device provided in an embodiment of the present application.
  • FIG. 16 is a schematic structural diagram of an electronic device provided in an embodiment of the present application.
  • first and 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 the indicated technical features.
  • a feature defined as “first” or “second” may explicitly or implicitly include one or more of the features.
  • plural means two or more.
  • the method provided in the embodiments of the present application can be applied to electronic devices such as mobile phones, tablet computers, wearable devices, vehicle-mounted devices, augmented reality (AR)/virtual reality (VR) devices, laptop computers, ultra-mobile personal computers (UMPC), netbooks, personal digital assistants (PDA), etc.
  • electronic devices such as mobile phones, tablet computers, wearable devices, vehicle-mounted devices, augmented reality (AR)/virtual reality (VR) devices, laptop computers, ultra-mobile personal computers (UMPC), netbooks, personal digital assistants (PDA), etc.
  • the embodiments of the present application do not impose any restrictions on the specific types of electronic devices.
  • the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc.
  • SIM subscriber identification module
  • the sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.
  • the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 100.
  • the electronic device 100 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently.
  • the components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
  • the processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and/or a neural-network processing unit (NPU), etc.
  • AP application processor
  • GPU graphics processor
  • ISP image signal processor
  • controller a memory
  • video codec a digital signal processor
  • DSP digital signal processor
  • NPU neural-network processing unit
  • Different processing units may be independent devices or integrated in one or more processors.
  • the controller may be the nerve center and command center of the electronic device 100.
  • the controller may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.
  • the processor 110 may also be provided with a memory for storing instructions and data.
  • the memory in the processor 110 is a cache memory.
  • the memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
  • the processor 110 may include one or more interfaces.
  • the interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input/output (GPIO) interface, a subscriber identity module (SIM) interface, and/or a universal serial bus (USB) interface, etc.
  • I2C inter-integrated circuit
  • I2S inter-integrated circuit sound
  • PCM pulse code modulation
  • UART universal asynchronous receiver/transmitter
  • MIPI mobile industry processor interface
  • GPIO general-purpose input/output
  • SIM subscriber identity module
  • USB universal serial bus
  • the I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (SCL).
  • the processor 110 may include multiple groups of I2C buses.
  • the processor 110 may be coupled to the touch sensor 180K, the charger, the flash, the camera 193, etc. through different I2C bus interfaces.
  • the processor 110 may be coupled to the touch sensor 180K through the I2C interface, so that the processor 110 communicates with the touch sensor 180K through the I2C bus interface, thereby realizing the touch function of the electronic device 100.
  • the I2S interface can be used for audio communication.
  • the processor 110 can include multiple I2S buses.
  • the processor 110 can be coupled to the audio module 170 via the I2S bus to achieve communication between the processor 110 and the audio module 170.
  • the audio module 170 can transmit an audio signal to the wireless communication module 160 via the I2S interface to achieve the function of answering a call through a Bluetooth headset.
  • the PCM interface can also be used for audio communication, sampling, quantizing and encoding analog signals.
  • the audio module 170 and the wireless communication module 160 can be coupled via a PCM bus interface.
  • the audio module 170 can also transmit audio signals to the wireless communication module 160 via the PCM interface to realize the function of answering calls via a Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.
  • the UART interface is a universal serial data bus for asynchronous communication.
  • the bus can be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication.
  • the UART interface is generally used to connect the processor 110 and the wireless communication module 160.
  • the processor 110 communicates with the Bluetooth module in the wireless communication module 160 through the UART interface to implement the Bluetooth function.
  • the audio module 170 can transmit an audio signal to the wireless communication module 160 through the UART interface to implement the function of playing music through a Bluetooth headset.
  • the MIPI interface can be used to connect the processor 110 with peripheral devices such as the display screen 194 and the camera 193.
  • the MIPI interface includes a camera serial interface (CSI), a display serial interface (DSI), etc.
  • the processor 110 and the camera 193 communicate via the CSI interface to implement the shooting function of the electronic device 100.
  • the processor 110 and the display screen 194 communicate via the DSI interface to implement the display function of the electronic device 100.
  • the GPIO interface can be configured by software.
  • the GPIO interface can be configured as a control signal or as a data signal.
  • the GPIO interface can be used to connect the processor 110 with the camera 193, the display 194, the wireless communication module 160, the audio module 170, the sensor module 180, etc.
  • the GPIO interface can also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, etc.
  • the USB interface 130 is an interface that complies with the USB standard specification, and can be a Mini USB interface, a Micro USB interface, or a USB Type C interface, etc.
  • the USB interface 130 can be used to connect a charger to charge the electronic device 100, or to transmit data between the electronic device 100 and a peripheral device. It can also be used to connect headphones to play audio through the headphones.
  • the interface can also be used to connect other electronic devices, such as AR devices, etc.
  • the interface connection relationship between the modules illustrated in the embodiment of the present application is only a schematic illustration and does not constitute a structural limitation on the electronic device 100.
  • the electronic device 100 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
  • the charging management module 140 is used to receive charging input from a charger.
  • the charger may be a wireless charger or a wired charger.
  • the charging management module 140 may receive charging input from a wired charger through the USB interface 130.
  • the charging management module 140 may receive wireless charging input through a wireless charging coil of the electronic device 100. While the charging management module 140 is charging the battery 142, it may also power the electronic device through the power management module 141.
  • the power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110.
  • the power management module 141 receives input from the battery 142 and/or the charging management module 140, and supplies power to the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, and the wireless communication module 160.
  • the power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle number, battery health status (leakage, impedance), etc.
  • the power management module 141 can also be set in the processor 110.
  • the power management module 141 and the charging management module 140 can also be set in the same device.
  • the wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.
  • Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of antennas.
  • antenna 1 can be reused as a diversity antenna for a wireless local area network.
  • the antenna can be used in combination with a tuning switch.
  • the mobile communication module 150 can provide solutions for wireless communications including 2G/3G/4G/5G, etc., applied to the electronic device 100.
  • the mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc.
  • the mobile communication module 150 may receive electromagnetic waves from the antenna 1, and perform filtering, amplification, and other processing on the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation.
  • the mobile communication module 150 may also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1.
  • at least some of the functional modules of the mobile communication module 150 may be arranged in the processor 110.
  • at least some of the functional modules of the mobile communication module 150 may be arranged 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 to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal.
  • the demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal.
  • the demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing.
  • the application processor outputs a sound signal through an audio device (not limited to a speaker 170A, a receiver 170B, etc.), or displays an image or video through a display screen 194.
  • the modem processor may be an independent device.
  • the modem processor may be independent of the processor 110 and be set in the same device as the mobile communication module 150 or other functional modules.
  • the wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) network), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR) and the like applied to the electronic device 100.
  • WLAN wireless local area networks
  • BT wireless fidelity
  • GNSS global navigation satellite system
  • FM frequency modulation
  • NFC near field communication
  • IR infrared
  • the wireless communication module 160 can be one or more devices integrating at least one communication processing module.
  • the wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the frequency of the electromagnetic wave signal and performs filtering processing, and sends the processed signal to the processor 110.
  • the wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency of the signal, amplify the signal, and convert it into electromagnetic waves for radiation through the antenna 2.
  • the antenna 1 of the electronic device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology.
  • the wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and/or IR technology, etc.
  • GNSS may include global positioning system (GPS), global navigation satellite system (GLONASS), Beidou navigation satellite system (BDS), quasi-zenith satellite system (QZS), etc.
  • the QZSS Quality Zero Satellite System
  • SBAS satellite based augmentation systems
  • the electronic device 100 implements the display function through a GPU, a display screen 194, and an application processor.
  • the GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor.
  • the GPU is used to perform mathematical and geometric calculations for graphics rendering.
  • the processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
  • the display screen 194 is used to display images, videos, etc.
  • the display screen 194 includes a display panel.
  • the display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diodes (QLED), etc.
  • the electronic device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.
  • the electronic device 100 can realize the shooting function through ISP, camera 193, video codec, GPU, display screen 194 and application processor.
  • ISP is used to process the data fed back by camera 193. For example, when taking a photo, the shutter is opened, and the light is transmitted to the camera photosensitive element through the lens. The light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to ISP for processing and converts it into an image visible to the naked eye. ISP can also perform algorithm optimization on the noise, brightness, and skin color of the image. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, ISP can be set in camera 193.
  • the camera 193 is used to capture still images or videos.
  • the object generates an optical image through the lens and projects it onto the photosensitive element.
  • the photosensitive element can be a charge coupled device (CCD) or a complementary metal oxide semiconductor (CMOS) phototransistor.
  • CMOS complementary metal oxide semiconductor
  • the photosensitive element converts the optical signal into an electrical signal, and then passes the electrical signal to the ISP to be converted into a digital image signal.
  • the ISP outputs the digital image signal to the DSP for processing.
  • the DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format.
  • the electronic device 100 may include 1 or N cameras 193, where N is a positive integer greater than 1.
  • the digital signal processor is used to process digital signals, and can process not only digital image signals but also other digital signals. For example, when the electronic device 100 is selecting a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.
  • Video codecs are used to compress or decompress digital videos.
  • the electronic device 100 may support one or more video codecs. In this way, the electronic device 100 may play or record videos in a variety of coding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
  • MPEG Moving Picture Experts Group
  • MPEG2 MPEG2, MPEG3, MPEG4, etc.
  • NPU is a neural network (NN) computing processor.
  • NN neural network
  • applications such as intelligent cognition of electronic device 100 can be realized, such as image recognition, face recognition, voice recognition, text understanding, etc.
  • the external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100.
  • the external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music and videos can be stored in the external memory card.
  • the internal memory 121 can be used to store computer executable program codes, and the executable program codes include instructions.
  • the processor 110 executes various functional applications and data processing of the electronic device 100 by running the instructions stored in the internal memory 121.
  • the internal memory 121 may include a program storage area and a data storage area.
  • the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.
  • the data storage area may store data created during the use of the electronic device 100 (such as audio data, a phone book, etc.), etc.
  • the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.
  • UFS universal flash storage
  • the electronic device 100 can implement audio functions such as music playing and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.
  • the audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals.
  • the audio module 170 can also be used to encode and decode audio signals.
  • the audio module 170 can be arranged in the processor 110, or some functional modules of the audio module 170 can be arranged in the processor 110.
  • the speaker 170A also called a "speaker" is used to convert an audio electrical signal into a sound signal.
  • the electronic device 100 can listen to music or listen to a hands-free call through the speaker 170A.
  • the receiver 170B also called a "earpiece" is used to convert audio electrical signals into sound signals.
  • the voice can be received by placing the receiver 170B close to the human ear.
  • Microphone 170C also called “microphone” or “microphone” is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can speak by putting their mouth close to microphone 170C to input the sound signal into microphone 170C.
  • the electronic device 100 can be provided with at least one microphone 170C. In other embodiments, the electronic device 100 can be provided with two microphones 170C, which can not only collect sound signals but also realize noise reduction function. In other embodiments, the electronic device 100 can also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify the sound source, realize directional recording function, etc.
  • the earphone interface 170D is used to connect a wired earphone.
  • the earphone interface 170D may be the USB interface 130, or may be a 3.5 mm open mobile terminal platform (OMTP) standard interface or a cellular telecommunications industry association of the USA (CTIA) standard interface.
  • OMTP open mobile terminal platform
  • CTIA cellular telecommunications industry association of the USA
  • the pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal.
  • the pressure sensor 180A can be set on the display screen 194.
  • the capacitive pressure sensor can be a parallel plate including at least two conductive materials.
  • the electronic device 100 determines the intensity of the pressure according to the change in capacitance.
  • the electronic device 100 detects the touch operation intensity according to the pressure sensor 180A.
  • the electronic device 100 can also calculate the touch position according to the detection signal of the pressure sensor 180A.
  • touch operations acting on the same touch position but with different touch operation intensities can correspond to different operation instructions. For example: when a touch operation with a touch operation intensity less than the first pressure threshold acts on the short message application icon, an instruction to view the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, an instruction to create a new short message is executed.
  • the gyro sensor 180B can be used to determine the motion posture of the electronic device 100.
  • the angular velocity of the electronic device 100 around three axes i.e., x, y, and z axes
  • the gyro sensor 180B can be used for anti-shake shooting. For example, when the shutter is pressed, the gyro sensor 180B detects the angle of the electronic device 100 shaking, calculates the distance that the lens module needs to compensate based on the angle, and allows the lens to offset the shaking of the electronic device 100 through reverse movement to achieve anti-shake.
  • the gyro sensor 180B can also be used for navigation and somatosensory game scenes.
  • the air pressure sensor 180C is used to measure air pressure.
  • the electronic device 100 calculates the altitude through the air pressure value measured by the air pressure sensor 180C to assist positioning and navigation.
  • the magnetic sensor 180D includes a Hall sensor.
  • the electronic device 100 can use the magnetic sensor 180D to detect the opening and closing of the flip leather case.
  • the electronic device 100 when the electronic device 100 is a flip phone, the electronic device 100 can detect the opening and closing of the flip cover according to the magnetic sensor 180D. Then, according to the detected opening and closing state of the leather case or the opening and closing state of the flip cover, the flip cover can be automatically unlocked.
  • the acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in all directions (generally three axes). When the electronic device 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of the electronic device and is applied to applications such as horizontal and vertical screen switching and pedometers.
  • the distance sensor 180F is used to measure the distance.
  • the electronic device 100 can measure the distance by infrared or laser. In some embodiments, when shooting a scene, the electronic device 100 can use the distance sensor 180F to measure the distance to achieve fast focusing.
  • the proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector, such as a photodiode.
  • the light emitting diode may be an infrared light emitting diode.
  • the electronic device 100 emits infrared light outward through the light emitting diode.
  • the electronic device 100 uses a photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100. When insufficient reflected light is detected, the electronic device 100 can determine that there is no object near the electronic device 100.
  • the electronic device 100 can use the proximity light sensor 180G to detect that the user holds the electronic device 100 close to the ear to talk, so as to automatically turn off the screen to save power.
  • the proximity light sensor 180G can also be used in leather case mode and pocket mode to automatically unlock and lock the screen.
  • the ambient light sensor 180L is used to sense the brightness of the ambient light.
  • the electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived ambient light brightness.
  • the ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures.
  • the ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in a pocket to prevent accidental touches.
  • the fingerprint sensor 180H is used to collect fingerprints.
  • the electronic device 100 can use the collected fingerprint characteristics to achieve fingerprint unlocking, access application locks, fingerprint photography, fingerprint call answering, etc.
  • the temperature sensor 180J is used to detect temperature.
  • the electronic device 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the electronic device 100 reduces the performance of a processor located near the temperature sensor 180J to reduce power consumption and implement thermal protection. In other embodiments, when the temperature is lower than another threshold, the electronic device 100 heats the battery 142 to avoid abnormal shutdown of the electronic device 100 due to low temperature. In other embodiments, when the temperature is lower than another threshold, the electronic device 100 boosts the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.
  • the touch sensor 180K is also called a "touch panel”.
  • the touch sensor 180K can be set on the display screen 194. Together with the display screen 194, the touch screen is also called a "touch screen”.
  • the touch sensor 180K is used to detect a touch operation applied thereto or near it.
  • the touch sensor can transmit the detected touch operation to the application processor to determine the type of touch event.
  • Visual output related to the touch operation can be provided through the display screen 194.
  • the touch sensor 180K can also be disposed on the surface of the electronic device 100, which is different from the position of the display screen 194.
  • the bone conduction sensor 180M can obtain a vibration signal. In some embodiments, the bone conduction sensor 180M can obtain a vibration signal of a vibrating bone block of the vocal part of the human body. The bone conduction sensor 180M can also contact the human pulse to receive a blood pressure beat signal. In some embodiments, the bone conduction sensor 180M can also be set in an earphone and combined into a bone conduction earphone.
  • the audio module 170 can parse out a voice signal based on the vibration signal of the vibrating bone block of the vocal part obtained by the bone conduction sensor 180M to realize a voice function.
  • the application processor can parse the heart rate information based on the blood pressure beat signal obtained by the bone conduction sensor 180M to realize a heart rate detection function.
  • the key 190 includes a power key, a volume key, etc.
  • the key 190 may be a mechanical key or a touch key.
  • the electronic device 100 may receive key input and generate key signal input related to user settings and function control of the electronic device 100.
  • Motor 191 can generate vibration prompts.
  • Motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback.
  • touch operations acting on different applications can correspond to different vibration feedback effects.
  • touch operations acting on different areas of the display screen 194 can also correspond to different vibration feedback effects.
  • Different application scenarios for example: time reminders, receiving messages, alarm clocks, games, etc.
  • the touch vibration feedback effect can also support customization.
  • the indicator 192 may be an indicator light, which may be used to indicate the charging status, power changes, messages, missed calls, notifications, etc.
  • the SIM card interface 195 is used to connect a SIM card.
  • the SIM card can be connected to or separated from the electronic device 100 by inserting it into the SIM card interface 195 or pulling it out from the SIM card interface 195.
  • the electronic device 100 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1.
  • the SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, and the like. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the multiple cards can be the same or different.
  • the SIM card interface 195 can also be compatible with different types of SIM cards.
  • the SIM card interface 195 can also be compatible with external memory cards.
  • the electronic device 100 interacts with the network through the SIM card to implement functions such as calls and data communications.
  • the electronic device 100 uses an eSIM, i.e., an embedded SIM card.
  • the eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.
  • the software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture.
  • the embodiment of the present application takes the Android system of the layered architecture as an example to exemplify the software structure of the electronic device 100.
  • FIG2 is a software structure diagram of the electronic device 100 of an embodiment of the present application.
  • the layered architecture divides the software into several layers, each layer has a clear role and division of labor.
  • the layers communicate with each other through software interfaces.
  • the Android system is divided into four layers, from top to bottom, namely, the application layer, the application framework layer, the Android runtime (Android runtime) and the system library, and the kernel layer.
  • the application layer can include a series of application packages.
  • the application package may include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message, etc.
  • the application framework layer provides application programming interface (API) and programming framework for the applications in the application layer.
  • API application programming interface
  • the application framework layer includes some predefined functions.
  • the application framework layer may include a window manager, a content provider, a view system, a telephony manager, a resource manager, a notification manager, and the like.
  • the window manager is used to manage window programs.
  • the window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc.
  • Content providers are used to store and retrieve data and make it accessible to applications.
  • the data can include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
  • the view system includes visual controls, such as controls for displaying text, controls for displaying images, etc.
  • the view system can be used to build applications.
  • a display interface can be composed of one or more views.
  • a display interface including a text notification icon can include a view for displaying text and a view for displaying images.
  • the phone manager is used to provide communication functions of the electronic device 100, such as management of call status (including connecting, hanging up, etc.).
  • the resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.
  • the notification manager allows applications to display notification information in the status bar. It can be used to convey notification-type messages and can disappear automatically after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc.
  • the notification manager can also be a notification that appears in the top status bar of the system in the form of an icon or scroll bar text, such as a notification of an application running in the background.
  • a notification that appears on the screen in the form of a dialog window such as a text message in the status bar, a beep, a vibration of an electronic device, a flashing indicator light, etc.
  • Android Runtime includes core libraries and virtual machines. Android Runtime is responsible for the scheduling and management of the Android system.
  • the core library consists of two parts: one part is the function that needs to be called by the Java language, and the other part is the Android core library.
  • the application layer and the application framework layer run in a virtual machine.
  • the virtual machine executes the Java files of the application layer and the application framework layer as binary files.
  • the virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.
  • the system library can include multiple functional modules, such as surface manager, media libraries, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.
  • functional modules such as surface manager, media libraries, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.
  • the surface manager is used to manage the display subsystem and provide the fusion of 2D and 3D layers for multiple applications.
  • the media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc.
  • the media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
  • the 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
  • a 2D graphics engine is a drawing engine for 2D drawings.
  • the kernel layer is the layer between hardware and software.
  • the kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.
  • the hardware layer may include various sensors, such as the various sensors introduced in Figure 1.
  • the sensors involved in the embodiments of the present application include proximity sensors, image sensors, millimeter wave radar sensors, lidar sensors, ultrasonic radar sensors, gravity sensors, gyroscope sensors, etc.
  • the user's body movements before interacting with electronic devices such as mobile phones can express the user's interaction intention. For example, when a person turns his head to look at the phone when receiving a text message notification, it means that he already knows that the phone has received the text message notification and wants to check the source of the information; when he leans closer to the phone, it means that the user wants to view the specific content of the text message; when the user reaches out to the phone, it means that he wants to process the received text message.
  • users do not need to perform interactive actions such as clicking on the screen of electronic devices such as mobile phones, but can express their intentions through body movements before interacting with electronic devices such as mobile phones.
  • the embodiments of the present application provide a method and device for human-computer interaction.
  • the method can judge the user's intention to handle mobile phone events based on the user's body movements before interacting with electronic devices such as mobile phones, thereby enhancing the user's intelligent experience when using electronic devices.
  • FIG. 4 is a set of graphical user interface (GUI) schematic diagrams provided in an embodiment of the present application.
  • GUI graphical user interface
  • the user is working on a computer, and the mobile phone is placed next to the computer with the screen off.
  • the mobile phone receives a real-time message, and the mobile phone switches from the off-screen interface (i.e., black screen state) to the off-screen display interface, and the off-screen display interface displays the icon of the source APP of the real-time message, and the icon shows that the message comes from the instant messaging APP.
  • the user notices the change in the mobile phone screen with the corner of his eye, and wants to check what event caused the change in the mobile phone interface, but does not intend to switch from the current working state to the state of processing mobile phone messages immediately, and wants to decide based on the importance of the message. Therefore, the user turns his head to look at the mobile phone to preview the interface changes of the mobile phone.
  • the mobile phone can obtain data representing the user's head rotation through data acquisition devices such as millimeter wave radar sensors.
  • data acquisition devices such as millimeter wave radar sensors.
  • the mobile phone can determine that the user has turned his head.
  • the mobile phone can find an event that matches the user's head turning action in the current process - viewing real-time messages, that is, it is determined that the user's intention to turn his head is largely to process the event of "viewing real-time messages".
  • the mobile phone screen switches from the off-screen display interface to the lock screen interface, as shown in the GUI shown in (b) of FIG4 .
  • the unlock screen displays a message bubble and the unlock screen also displays the current
  • the message bubble contains the source APP icon of the message and the number of messages.
  • the unlocked interface contains more information than the off-screen display interface.
  • the mobile phone before searching for an event that matches the user's head turning motion, the mobile phone first filters out events that can be processed by the user, and then searches for an event that matches the user's head turning motion from among these events that can be processed by the user.
  • the mobile phone first filters out events that can be processed by the user, and then searches for events that match the user's actions from these events.
  • the addition of the screening step can reduce the search time, thereby improving the operating efficiency of the mobile phone.
  • FIG5 is a set of GUI schematic diagrams provided in an embodiment of the present application.
  • the mobile phone can obtain the user's probe data through sensors and other devices.
  • the mobile phone determines that the user has made a probe action.
  • the mobile phone can find an event that matches the user's probe action in the current process - checking real-time messages. That is, the mobile phone determines that the user probes to a large extent in order to process the event "the mobile phone receives a real-time message".
  • the message bubble on the unlocking interface of the mobile phone will expand into a message card, see the GUI shown in Figure 5, and the message card displays the full content of the message for the user to view the specific content of the message.
  • the user verification function such as face recognition of the mobile phone can be automatically activated.
  • the message bubble will be further expanded into a message card; when the user verification shows that the currently identified user is not the owner of the phone, the unlocking interface will maintain the display interface of the original message bubble.
  • the mobile phone obtains the user's probe data through a millimeter wave radar sensor and other devices, and can also obtain the movement state of the mobile phone through a gyroscope sensor and other devices.
  • the movement state can include a stationary state and a moving state.
  • the millimeter wave radar obtains the user's own probe data, and the movement state of the mobile phone obtained by the gyroscope indicates that the mobile phone is in a stationary state.
  • the mobile phone can combine the two to comprehensively determine whether the user has actively approached the mobile phone and probed.
  • the motion state data of the mobile phone collected by the mobile phone through the gyroscope assists the data of the user's own body movements collected by the millimeter wave radar sensor to determine the user's current body movements, which can improve the accuracy of the mobile phone in recognizing human body movements.
  • the mobile phone can sense that the user wants to view the complete content of the message through the user's body action of "looking at the phone", and then expand the message bubble into a message card for the user to view. This can save the user the action of clicking on the phone and reduce the operation steps, thereby enhancing the user experience.
  • the user turns his head first, and the mobile phone screen switches from the off-screen display interface to the unlocking interface. Then the user pokes his head again, and the mobile phone screen displays the complete content of the message. After adding the subsequent poke action, the continuous action of "turning the head first and then pokes the head" allows the user to see the complete information, thereby reducing the possibility of misjudgment. For example, the user turns his head but does not check the mobile phone interface, but moves his neck to relax the body.
  • FIG. 6 is a set of GUI schematic diagrams provided in an embodiment of the present application.
  • the user is watching a video in front of a computer, with a mobile phone placed next to the computer and the screen of the phone is off.
  • the mobile phone receives a message at this time, and the mobile phone switches from the off-screen interface to the off-screen display interface, and the off-screen display interface displays the source of the message.
  • the user wants to view the information directly, so the user reaches close to the phone.
  • the mobile phone obtains the distance data between the user's hand and the mobile phone through sensors and other devices.
  • the mobile phone determines that the user has reached out to the mobile phone.
  • the phone After determining that the user has reached out to the phone, the phone can find an event matching the user's action of reaching out to the phone from the current process - viewing real-time messages. After the phone finds an event matching the user's action of reaching out to the phone - viewing real-time messages, referring to the GUI shown in FIG6 (b), the phone screen switches from the off-screen display interface to the unlock interface, which displays a message card that displays the full content of the message for the user to view.
  • the user verification function such as face recognition of the mobile phone can be automatically activated.
  • the off-screen display interface will switch to the unlocking interface only when the user verification indicates that the currently recognized user is the owner of the phone; This means that when the currently identified user is not the owner of the phone, the phone will continue to keep the screen off.
  • the user after receiving a message on the mobile phone, the user wants to check it immediately, so he reaches out and picks up the mobile phone in front of him.
  • the mobile phone can obtain the contact between the user's hand and the mobile phone through the proximity sensor, obtain the user's face facing the mobile phone screen through the millimeter wave radar sensor, and obtain the mobile phone is in a moving state through the gyroscope. Combining the information obtained by the proximity sensor, millimeter wave radar sensor and gyroscope, the mobile phone can determine that the user has raised the mobile phone to face the face.
  • the mobile phone determines the user's action by integrating the data of the hand holding the mobile phone obtained by the proximity sensor and the distance data between the face and the mobile phone obtained by the millimeter wave radar sensor, thereby improving the accuracy of the mobile phone in recognizing the user's body movements.
  • FIG8 is a schematic diagram of a GUI provided in an embodiment of the present application.
  • the user is watching TV in the living room, with the phone placed on the TV cabinet, and the screen is off.
  • the user suddenly remembers that he needs to go to the hospital for a physical examination at 10:00 tomorrow morning, so he reaches out to pick up the phone to wake up the voice assistant to create a reminder event "Go to the hospital for a physical examination at 10:00 tomorrow morning".
  • the phone when the user reaches out to pick up the phone and brings it close to his mouth, the phone can obtain data indicating that the distance between the user's mouth and the phone is gradually shortening through devices such as millimeter wave radar sensors, and can also obtain data indicating that the phone is moving upward at this time through devices such as gyroscopes.
  • the phone can determine that the user has taken the action of picking up the phone and bringing it close to his mouth.
  • the phone After determining the user's action, the phone can find an event that matches the action of the user's phone bringing it close to his mouth in the current process - waking up the voice assistant, that is, determining that the user's action of picking up the phone and bringing it close to his mouth is to process the event of "waking up the voice assistant.”
  • the mobile phone finds an event that matches the user's action of picking up the phone and bringing it close to his mouth - after waking up the voice assistant, the mobile phone screen will switch from the off-screen interface to the voice assistant working interface.
  • the voice assistant working interface displays the reminder text "Please say" and the touch screen control. The user presses the touch screen control and says “Go to the hospital for a physical examination at 10:00 tomorrow morning” to create a mobile phone reminder event.
  • the mobile phone can know the user's intention through the user's pre-interaction action of picking up the phone and bringing it close to the mouth, thereby enabling the user to wake up the voice assistant without clicking the screen, enhancing the user's intelligent experience, reducing the steps for the user to wake up the voice assistant, and thus reducing the time to wake up the voice assistant.
  • FIG. 9 is a set of GUI schematic diagrams provided in an embodiment of the present application.
  • the user is watching a movie in front of a computer, with a mobile phone placed next to the computer and the screen of the mobile phone is off.
  • the mobile phone receives an incoming call at some point, and the mobile phone switches from the off-screen interface to the off-screen display interface, and the off-screen display interface displays the icon of the source APP of the message, and the icon shows that the message comes from the phone APP.
  • the user reaches out to pick up the phone and puts it close to his mouth to immediately answer the call using the speaker.
  • the phone when the user picks up the phone and brings it close to his mouth, the phone can obtain data about the user's contact with the phone through the proximity sensor, data about the distance between the user's mouth and the phone gradually shortening through the millimeter wave radar sensor, and data about the phone being in motion at this time through the gyroscope.
  • the phone can determine that the user has taken the action of picking up the phone and bringing it close to his mouth.
  • the phone After determining the above actions of the user, the phone can find an event that matches the action of the user picking up the phone and bringing it close to his mouth from the current process - "the phone receives an incoming call", that is, it is determined that the user's intention to pick up the phone and bring it close to his mouth is largely to handle the event "the phone receives an incoming call”.
  • the mobile phone screen switches from the off-screen display interface to the call interface, that is, the incoming call is automatically answered in the form of a speaker.
  • the mobile phone determines that the event that matches the user's action of picking up the phone and putting it close to the mouth is "the phone receives an incoming call”, and determines that the user's intention of picking up the phone and putting it close to the mouth is to deal with the event of "the phone receives an incoming call", that is, to answer the call in the form of a speaker.
  • FIG. 10 is another set of GUI schematic diagrams provided in an embodiment of the present application.
  • the application scenario of this embodiment is the same as that of FIG. 9 , that is, a mobile phone receives an incoming call while the user is watching a movie in front of a computer, and the mobile phone switches from the screen-off interface to the screen-off display interface.
  • the user wants to check what event caused the change in the mobile phone interface, but does not intend to immediately switch from the current entertainment state to the state of processing mobile phone events, but wants to decide based on the importance of the event. Therefore, the user turns to look at the mobile phone to preview the APP icon on the mobile phone interface.
  • the user turns around and sees that the reason for the change in the mobile phone interface is an incoming call. Not wanting to answer the call, the user turns back to face the computer and continues watching the movie.
  • the mobile phone can obtain the rotation data of the user's head through sensors and other devices. When the user's head turns to face the phone, the phone can determine that the user has turned his head to look at the phone. When the user sees the incoming call and turns back to continue looking at the phone, the phone further determines that the user has turned his head to look at the phone and then moved away.
  • the phone After determining the above actions of the user, the phone can find an event in the current process that matches the action of the user turning his head to look at the phone and then moving away - the phone receives an incoming call, that is, it is determined that the user's intention to turn his head is largely to handle the event of "the phone receives an incoming call".
  • the user turns his head and sees that the current mobile phone has an incoming call, see (a) in Figure 11, and then picks up the mobile phone and brings it close to his head.
  • the user always looks at the mobile phone screen.
  • a text message is received, and the text message is suspended in the form of a bubble on the incoming call interface of the current mobile phone, see (b) in Figure 11. Since the user's actions at this time meet the two actions of looking at the mobile phone and picking up the mobile phone close to the ear, the mobile phone can first determine "the mobile phone receives a real-time message" as the current priority processing event.
  • the message bubble on the unlocking interface is expanded into a message card, see (c) in Figure 11, so that the user can view the real-time message.
  • the mobile phone receives an incoming call is determined as the current event to be processed, and when the distance between the mobile phone and the user's ear is equal to or less than the preset value, the mobile phone automatically answers the call, see (d) in Figure 11.
  • the mobile phone determines the events that need to be processed first by the time of occurrence. This method is closer to the user's current intention of processing mobile phone events and enhances the user's intelligent experience of using the mobile phone.
  • FIG. 12 shows a schematic flow chart of a human-computer interaction method 1200 provided in an embodiment of the present application.
  • the method 1200 includes:
  • obtaining a first change where the first change includes at least one of a change in a user's body movement, a change in a position of at least part of a user's body relative to the electronic device, a change in a position of the electronic device, and a change in a position of the electronic device relative to the user.
  • the user's current behavior data needs to be obtained first.
  • Electronic devices there are many ways for electronic devices to obtain the current behavior data of users.
  • electronic devices are equipped with various data collection devices.
  • Electronic devices can obtain data that can represent the current behavior of users through these data collection devices. This application does not limit this. All methods that can obtain the current behavior data of users should fall within the scope of protection of this application.
  • the following description will use data collection devices as a method for obtaining the current behavior data of users.
  • the data acquisition device may be a sensor in an electronic device, and this application does not limit this.
  • the following description will use the sensor as the data acquisition device.
  • electronic devices may include various devices such as mobile phones, personal computers, tablet computers, etc., and this application does not limit this.
  • mobile phones personal computers, tablet computers, etc.
  • this application does not limit this.
  • the following embodiments will be described using mobile phones as an example.
  • the sensors configured in existing mobile phones may include gyroscope sensors, gravity sensors, infrared sensors, millimeter wave radar sensors, laser radar sensors, ultrasonic radar sensors, etc.
  • Different types of sensors can collect different types of data.
  • proximity sensors can be used to measure the distance between the mobile phone and the object.
  • Gyroscope sensors also known as angular velocity sensors, can be used to measure whether the mobile phone is rotating, deflecting, shaking, etc., so as to assist in judging the user's current actual action.
  • Millimeter wave radar sensors will emit electromagnetic waves around the mobile phone. Objects touched within the range of the beam (such as human hands) will scatter this energy wave and reflect part of the energy back to the radar sensor. The reflected energy is captured by the radar. Through the arrival time of the signal and the change of the reflected band, the characteristics of the object such as size and shape and the direction, speed, movement distance and other information of the dynamic behavior can be sensed.
  • any one or more of a millimeter wave radar sensor, a lidar sensor, and an ultrasonic radar sensor may be used to acquire the user's current behavior data, which is not limited in this application.
  • the current behavior data of the user in the embodiment of the present application may include: data used to characterize changes in the user's body movements and/or data used to characterize changes in the position of at least part of the body relative to the electronic device, which is not limited in the present application.
  • changes in body movements may include changes such as rotation of at least part of the body.
  • the mobile phone can obtain data on the user's head rotation through a data acquisition device such as a millimeter wave radar sensor.
  • a data acquisition device such as a millimeter wave radar sensor.
  • the mobile phone can determine that the user has turned his head.
  • the body movement changes may include changes in head movements, hand movements, eye movements, etc.
  • this application does not limit this. For example, as shown in FIG4 (a), after the mobile phone receives a message, the user's head turns, indicating that the user has known that the mobile phone has received a message.
  • the change in position of at least part of the user's limbs relative to the electronic device may include a change in position of at least part of the user's limbs relative to the electronic device.
  • the proximity sensor can obtain data that the distance between the user's hand and the mobile phone is gradually decreasing.
  • the position change may also include a change in the relative orientation of the user's limbs relative to the terminal, which is not limited in this application.
  • the position change of at least part of the user's limbs relative to the electronic device may refer to the position change of one limb of the user relative to the terminal, or may refer to the position change of two or more limbs of the user relative to the terminal, which is not limited in the present application.
  • sensors can work in real time, that is, they can obtain the user's current behavior data in real time.
  • the proximity sensor can determine in real time whether the user is close to the mobile phone.
  • Some sensors can start working when the mobile phone meets certain conditions, that is, they can obtain the user's behavior data conditionally. For example, when the mobile phone receives a text message, the front image sensor can respond to the occurrence of the event and start collecting image data to collect images of the user's actions in the next period of time.
  • a proximity sensor can detect in real time whether a user is close to the phone when the screen is off.
  • the front camera can collect user images at a preset frequency when the screen is off.
  • certain conditions must be met, which are not limited in this application. For example, when an event to be processed occurs in the electronic device, the user's current behavior data will be obtained.
  • the changes in the user's body movements and/or the changes in the position of at least part of the user's body relative to the electronic device are determined based on the current behavior data.
  • the electronic device can determine the body movements generated by the user within the current period of time by analyzing these two changes.
  • the body movements that meet the above conditions can also be called pre-interaction actions.
  • the pre-interaction action may include at least one of: turning the head, probing the head, and holding the electronic device close to the head.
  • the mobile phone senses that the user's hand is approaching the mobile phone, and the user's pre-interaction action is that the user's hand is approaching the mobile phone.
  • the mobile phone senses that the user is holding the mobile phone in his hand, and the user's pre-interaction action is holding the mobile phone.
  • the electronic device may also determine the user's current pre-interaction action through data collected by the sensor that is not related to the user.
  • the data that is not related to the user may be data related to the electronic device, and this application is not limited to this.
  • the relevant data of the electronic device can be data used to characterize the change in the position of the electronic device, or data used to characterize the change in the position of the electronic device relative to the user. It can be understood that whether the position of the electronic device itself changes or the position of the electronic device relative to the user changes, it is fundamentally caused by the user's pre-interaction actions such as picking up the electronic device or moving the electronic device. Therefore, the electronic device can infer the pre-interaction actions of the user based on its own position change and/or position change relative to the user.
  • the mobile phone may also use data unrelated to the user collected by sensors in combination with the user's behavior data to assist in determining the user's current pre-interaction action.
  • At least one of the changes in the position of the electronic device represented by the electronic device related data, the changes in the position of the electronic device relative to the user, the changes in the user's body movements represented by the user behavior data, and the changes in the position of at least part of the user's body relative to the electronic device can determine the user's pre-interaction actions, thereby enhancing the user's intelligent experience of using the electronic device.
  • the user's pre-interaction action may be a continuous action within a period of time.
  • specific pre-interaction actions may include: 1 turning the head to look at the mobile phone; 2 leaning forward to look at the mobile phone; 3 bringing a body part close to the mobile phone, and the distance from the mobile phone is less than a preset value; 4 touching the mobile phone and changing the posture of the mobile phone (such as changing the mobile phone from being placed flat on the table to being stood up sideways), and the movement range of the mobile phone is less than a preset value; 5 moving the mobile phone close to the user's head, and the distance from the user's head is less than a preset value.
  • Different pre-interaction actions express different processing intentions of users. This intention may coincide with a certain event on the mobile phone, which means that the user's pre-interaction action is likely to be used to handle the event. Such an event can be called a target event.
  • the mobile phone After identifying the user's pre-interaction action, the mobile phone can infer the user's intention based on the user's pre-interaction action and believe that the user expects to process the target event.
  • pre-interaction actions used in different situations or when different people want to view real-time messages are not necessarily the same.
  • the user when receiving the same real-time message, the user may also directly reach out for the mobile phone to view the real-time message.
  • the user action is determined by at least one of the position change of the electronic device represented by the electronic device-related data, the position change of the electronic device relative to the user, the change of the user's body movement represented by the user behavior data, and the position change of at least part of the user's body relative to the electronic device, it can be used as a pre-interaction action that represents the user's desire to view the real-time message, thereby causing the electronic device to enter the lock screen interface from the off-screen display interface.
  • pre-interaction actions may correspond to the same target event.
  • the user's head turning and peeking are both for processing the target event of viewing real-time messages, but the corresponding processing strategies are different.
  • the phone screen will switch from the off-screen display interface to the unlock interface; after the user peeks, the phone screen will further expand the message bubble on the current unlock interface into a message card that displays the full content of the message.
  • the mobile phone can process the target event based on the correspondence between the target event and the preset processing strategy.
  • the correspondence between the two can be represented by a table form as shown in Table 1.
  • Table 1 the correspondence between the two is represented by a table form such as Table 1 for explanation below.
  • the mobile phone after determining that the current target event is "waking up the voice assistant", the mobile phone automatically activates the voice assistant when it is determined that the distance between the mobile phone and the user is less than a preset value based on the correspondence between the target event and the preset processing strategy in, for example, Table 1.
  • the mobile phone can process the target event based on the correspondence between the target event and the pre-interaction action and the preset processing strategy.
  • the correspondence between the three can be represented by a table form as shown in Table 2.
  • Table 2 the correspondence between the three is represented by a table form such as Table 2 for explanation below.
  • the same target event may correspond to more than one preset processing strategy.
  • the target event "the mobile phone receives a real-time message” corresponds to the three processing strategies of "entering the unlocking interface from the off-screen display interface, and turning off the screen after 5 seconds", “expanding the message bubble into a card, and the card fully displays the message content", and “entering the unlocking interface from the off-screen display interface, expanding the message in the form of a card, and the card fully displays the message content”.
  • the pre-interaction actions corresponding to these three processing strategies are not the same. Therefore, the pre-interaction action and the target event can be combined to judge the user's intention, thereby determining the preset processing strategy.
  • the mobile phone can find the preset processing strategy “enter the unlocking interface from the screen-off display interface, and turn off the screen after 5 seconds” from, for example, Table 2, based on the user’s head-turning action and the event that the mobile phone receives a real-time message.
  • the mobile phone can find the preset processing strategy “expand the message bubble into a card, and the card fully displays the message content” from, for example, Table 2, based on the user’s head-probing action and the event that the mobile phone receives a real-time message.
  • the mobile phone can find the preset processing strategy “enter the unlocking interface from the screen-off display interface, expand the message in the form of a card, and the card fully displays the message content” from, for example, Table 2, based on the user’s hand approaching the mobile phone and the event that the mobile phone receives a real-time message.
  • the multiple interactive events can be determined as target events in sequence.
  • multiple real-time interactive events occur at the same time, but when processed at the processor level, different interactive events still have a time sequence.
  • the phone receiving the message can be first determined as the target event during the movement of the phone, and the message bubble can be expanded into a message card, and the user can view the message content during the movement of the phone.
  • the phone receiving the call is determined as the target event, and the call is automatically answered when the distance between the phone and the user is less than the preset value.
  • the mobile phone may first find out the tasks that are currently available for the user to process on the mobile phone, which may be referred to as interactive events, and then determine the target event from multiple interactive events based on the actions before the interaction.
  • the mobile phone can determine the target event corresponding to the pre-interaction action through the preset correspondence between the pre-interaction action and the target event.
  • the correspondence between the two can be represented by a table as shown in Table 3.
  • Table 3 The present application does not limit this, but for ease of understanding, the correspondence between the two is represented by a table such as Table 3 for explanation below.
  • the mobile phone determines that the target event matching the pre-interaction action is the mobile phone receiving real-time information.
  • a mobile phone can find out the tasks that are currently available for the user to process from all processes in the current system. This application does not limit this. Any method that can find out the events that can be interacted with at the current moment should fall within the scope of protection of this application.
  • the user picks up the phone to wake up the voice assistant.
  • the phone determines that the user picks up the phone and brings the phone close to the mouth.
  • the interactive event of waking up the voice assistant matches the user's current action, so the target event is determined to be waking up the voice assistant.
  • Interactive events can be long-term, that is, they can exist all the time, and such events can be called long-term interactive events.
  • users can wake up the digital assistant at any time, so waking up the digital assistant can be an interactive event that exists normally.
  • the lock screen state includes two interactive events: several unprocessed historical messages received by the phone when the screen is off, and the phone is unlocked to enter the main screen to use the phone, and they exist normally.
  • Interactive events can also be real-time, that is, they only occur in a short period of time. Such events can be called real-time interactive events. For example, after receiving a message, the user may need to preview the message. After a brief preview, if the message is important, the user may want to view the full message. For another example, after receiving a call request, the user may need to answer the call/hang up the call.
  • the target event when determining the target event from the interactive events, priority is given to determining the target event from the real-time interactive events; when there are no real-time interactive events, or the current user's pre-interaction action is not used to process the current real-time interactive event, the target event is determined from the existing interactive events.
  • the user wants to answer the call in the form of a speaker.
  • the mobile phone determines that the user picks up the phone and puts it close to the mouth.
  • "The phone receives an incoming call” is real-time, that is, this event occurs only when the phone receives an incoming call, and there is no such event when there is no incoming call.
  • “Wake up the voice assistant” is long-term, that is, the event occurs whenever the user picks up the phone. Since the user's pre-interaction action is generated after the phone receives an incoming call, the mobile phone determines that the user's intention is more likely to answer the call, so the mobile phone determines the target event as "The phone receives an incoming call”.
  • FIG. 13 shows a schematic flow chart of a method 1300 for human-computer interaction provided in an embodiment of the present application.
  • the method 1300 includes:
  • obtaining a first change where the first change includes at least one of a change in a user's body movement, a change in a position of at least part of a user's body relative to the electronic device, a change in a position of the electronic device, and a change in a position of the electronic device relative to the user.
  • the change in position of at least part of the user's limbs relative to the electronic device may include a decrease in the distance between the user's head and the electronic device.
  • the user wants to use the voice assistant, so the user performs a pre-interaction action of picking up the phone and bringing it close to the head or mouth.
  • the phone recognizes the pre-interaction action, it infers that the user wants to wake up the voice assistant, and then the phone automatically wakes up the voice assistant.
  • the change in position of the electronic device may include: the electronic device moves upward.
  • the electronic device can also use the data collected by the sensor that is not related to the user, combined with the user's behavior data to assist in determining the user's current pre-interaction action.
  • the mobile phone can recognize that the distance between the user's head or mouth and the mobile phone is gradually shortening. In addition, it can also recognize that the mobile phone is moving upward. The mobile phone can combine the above two types of information to determine that the user's pre-interaction action is to pick up the phone and bring it close to the user's head. If the gyroscope recognizes that the mobile phone is in a stationary state, as shown in (a) in Figure 6, it is determined that the user's pre-interaction action is that the person's hand actively approaches the mobile phone.
  • the electronic device after recognizing a pre-interaction action that indicates that the user wants to wake up the voice assistant, the electronic device will wake up the voice assistant when the distance between the electronic device and the user is less than a preset value. For example, as shown in (a) of FIG8 , when the user picks up the mobile phone and gradually approaches the user's head or mouth, and the distance between the mobile phone and the user's head is less than 8 cm, the mobile phone can automatically wake up the voice assistant.
  • FIG. 14 shows a possible schematic diagram of the composition of a human-computer interaction device 1400 involved in the above embodiment.
  • the device 1400 can be arranged in an electronic device such as the above mobile phone.
  • the apparatus 1400 When the apparatus 1400 is used to implement the functions in the method embodiment of FIG. 12 , the apparatus 1400 may include:
  • the acquisition unit 1410 may be used to acquire a first change, where the first change includes at least one of a change in a user's body movement, a change in a position of at least a portion of a user's body relative to the electronic device, a change in a position of the electronic device, and a change in a position of the electronic device relative to the user;
  • Processing unit 1420 can be used to process a target event, where the target event is viewing a real-time message on an electronic device.
  • the change in the user's body movement includes: the user's head turns.
  • the rotation of the user's head is determined based on the transformation of the reflection plane of the user's head from the side of the head to the front of the head.
  • the target event is one of multiple interactive events.
  • processing unit 1420 can also be used to enable the electronic device to enter a lock screen interface from an off-screen display interface.
  • the processing unit 1420 is further used to: enable the electronic device to display the entire content of the real-time message on the lock screen interface.
  • the decreasing distance between the user's head and the electronic device is determined based on the increasing size of the reflection surface of the user's head.
  • the acquiring unit 1410 may also be configured to acquire the first change when a to-be-processed event occurs in the electronic device.
  • the acquisition unit 1410 may also be configured to acquire the first change using at least one of a millimeter wave radar sensor, a laser radar sensor, and an ultrasonic radar sensor.
  • the human-computer interaction device 1400 may further include:
  • the determining unit 1430 can be used to determine a plurality of interactive events according to the current process of the electronic device, so as to determine a target event from the plurality of interactive events.
  • the determination unit 1430 can also be used to determine the priority ranking of multiple interactive events, where the multiple interactive events include real-time interactive events and long-term interactive events, the priority of real-time interactive events is greater than the priority of long-term interactive events, real-time interactive events are events that require users to process within a preset time, and long-term interactive events are events that users can process at any time; determine the target event from the multiple interactive events based on the first change and the priority ranking.
  • the device 1400 may include:
  • the acquisition unit 1410 may be used to acquire a first change, where the first change includes at least one of a change in a user's body movement, a change in a position of at least a portion of a user's body relative to the electronic device, a change in a position of the electronic device, and a change in a position of the electronic device relative to the user;
  • Processing unit 1420 can be used to process a target event, where the target event is to wake up the voice assistant.
  • the change in position of at least part of a limb of the user relative to the electronic device includes: a distance between the head of the user and the electronic device becomes smaller.
  • the change in position of the electronic device includes: the electronic device moves upward.
  • the processing unit 1420 can also be used to wake up the voice assistant when the distance between the electronic device and the user is less than a preset value.
  • the device provided in this embodiment is used to execute the above-mentioned human-computer interaction method, and thus can achieve the same effect as the above-mentioned implementation method.
  • the electronic device includes hardware and/or software modules corresponding to the execution of each function.
  • the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application in combination with the embodiments, but such implementation should not be considered to be beyond the scope of the present application.
  • the electronic device can be divided into functional units according to the above method example.
  • each functional unit can be divided according to each function, or two or more functions can be integrated into one processing unit.
  • the above integrated unit can be implemented in the form of hardware. It should be noted that the division of units in this embodiment is schematic and is only a logical function division. There may be other division methods in actual implementation.
  • FIG16 shows a possible composition diagram of the electronic device 1600 involved in the above embodiment.
  • the electronic device includes: one or more processors 1610, one or more memories 1620, and the one or more memories 1620 store one or more computer programs, and the one or more computer programs include instructions.
  • the electronic device such as a mobile phone executes the technical solution in the above embodiment.
  • An embodiment of the present application provides a computer program product.
  • the computer program product When the computer program product is run on a mobile phone or other electronic device, the mobile phone or other electronic device executes the technical solution in the above embodiment. Its implementation principle and technical effect are similar to those of the above method-related embodiments and will not be repeated here.
  • An embodiment of the present application provides a computer-readable storage medium, which contains instructions.
  • the instructions are executed on an electronic device such as a mobile phone, the electronic device such as the mobile phone executes the technical solution in the above embodiment.
  • the disclosed devices and methods can be implemented in other ways.
  • the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, for example, multiple units or components can be combined or integrated into another device, or some Features may be ignored or not performed.
  • Another point is that the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, which may be electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
  • the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium.
  • the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to execute all or part of the steps of the methods of each embodiment of the present application.
  • the aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本申请提供了一种人机交互的方法和装置,该方法可以应用于电子设备,该方法包括:获取第一变化,该第一变化包括用户的肢体动作变化、用户的至少部分肢体相对电子设备的位置变化、电子设备的位置变化和电子设备相对用户的位置变化中的至少一项;处理目标事件,该目标事件为查看电子设备上的实时消息。根据本申请实施例提供的方法和装置,使得电子设备能够通过上述第一变化推断用户的交互意图,从而处理用户期望处理的事件,这样能够增强用户使用电子设备时的智能化体验。

Description

一种人机交互的方法和装置
本申请要求于2022年12月02日提交中国专利局、申请号为202211537174.2、申请名称为“一种人机交互的方法和装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及终端领域,并且更具体地,涉及一种人机交互的方法和装置。
背景技术
随着电子技术和移动互联网的发展,手机、平板电脑、个人电脑等电子设备已经成为了人们日常所不可缺少的设备,人们通过电子设备可以处理各种各样的事件。当想要处理电子设备上的事件时,用户往往需要通过点击电子设备的屏幕等直接对电子设备进行操作的交互动作,才能查看或处理消息。
但在有些情况下,用户不便对电子设备进行点击等直接对电子设备进行操作的交互动作,例如当前用户手部正忙于其他事务。在这些情况下,用户无法及时查看电子设备上的事件或处理该事件,从而影响用户对该电子设备的使用体验。
发明内容
本申请提供一种人机交互的方法和装置,该方法和装置可以应用于电子设备,能够提升用户对电子设备的使用体验。
第一方面,本申请提供了一种人机交互的方法,该方法包括:获取第一变化,第一变化包括用户的肢体动作变化、用户的至少部分肢体相对电子设备的位置变化、电子设备的位置变化和电子设备相对用户的位置变化中的至少一项;处理目标事件,目标事件为查看电子设备上的实时消息。
在上述技术方案中,电子设备能够根据第一变化识别出用户的交互前动作,从而推断用户的想要查看实时消息,这样用户无需对电子设备进行点击等直接对电子设备进行操作的交互动作,增强了用户使用电子设备的智能化体验。另外,这样也将对电子设备直接进行操作前的肢体动作纳入了交互输入的范畴,缩短了用户的交互路径。
结合第一方面,在第一方面的某些实现方式中,用户的肢体动作变化包括:用户的头部发生转动。
结合第一方面,在第一方面的某些实现方式中,用户的头部发生转动是根据用户的头部反射面由头部侧面变换至头部正面而确定的。
结合第一方面,在第一方面的某些实现方式中,目标事件为多个可供交互的事件中的一个事件。
在上述技术方案中,相较于直接在电子设备的所有事件中挑选与用户的肢体动作相匹配的目标事件,本技术方案先筛选出可以供用户进行交互或处理的可交互的事件,再从这些可交互的事件中确定与用户的肢体动作相匹配的事件为用户想要处理的目标事件,这样缩小了电子设备选择目标事件的范围,从而减少了确定出目标事件的时间,因而进一步提高了用户使用电子设备时的智能化体验。
结合第一方面,在第一方面的某些实现方式中,方法还包括:根据电子设备的当前进程,确定多个可供交互的事件。
结合第一方面,在第一方面的某些实现方式中,方法还包括:确定多个可供交互的事件的优先级排序,多个可供交互的事件包括实时可供交互的事件和长期可供交互的事件,实时可供交互的事件的优先级大于长期可供交互的事件的优先级,实时可供交互的事件为需要用户在预设时间内处理的事件,长期可供交互的事件为用户随时可以处理的事件;根据第一变化和优先级排序从多个可供交互的事件中确定目标事件。
在上述技术方案中,当同一个肢体动作同时对应一个长期可供交互的事件和一个实时可供交互的事件时,优先选择实时可供交互的事件为当下需要处理的事件,这样更符合用户当下的交互意图,进一步提高了用户使用电子设备的智能化体验。
结合第一方面,在第一方面的某些实现方式中,处理目标事件包括:电子设备由熄屏显示界面进入 锁屏界面。
在上述技术方案中,电子设备收到实时消息时,用户不需要点击电子设备消息等直接对电子设备进行操作的操作行为,只是通过一个表示用户想要查看该实时消息来源的交互前动作,电子设备就会知晓用户意图,进而由熄屏显示界面进入锁屏界面,缩短了用户的交互路径,进一步提高了用户使用电子设备的智能化体验。
结合第一方面,在第一方面的某些实现方式中,用户的头部相对电子设备的距离变小的情况下,处理目标事件还包括:电子设备在锁屏界面上显示实时消息的全部内容。
在上述技术方案中,电子设备收到实时消息且电子设备处于锁屏界面时,用户不需要点击电子设备消息等直接对电子设备进行操作的操作行为,只是通过探头这个表示用户想要查看该实时消息的具体内容的肢体动作,就可以实现查看消息完整内容的意图,缩短了用户的交互路径,进一步提高了用户使用电子设备的智能化体验。
结合第一方面,在第一方面的某些实现方式中,用户的头部相对电子设备的距离变小是根据用户的头部反射面由小变大而确定的。
结合第一方面,在第一方面的某些实现方式中,获取第一变化,包括:在电子设备出现待处理事件的情况下,获取第一变化。
在上述技术方案中,相较于长期不间断获取用户的第一变化,待处理事件发生后才获取用户的当前行为数据第一变化,这样能够加长电子设备的使用时间。
结合第一方面,在第一方面的某些实现方式中,获取第一变化,包括:利用毫米波雷达传感器、激光雷达传感器和超声波雷达传感器中的至少一种获取第一变化。
第二方面,本申请提供了一种人机交互的方法,该方法包括:获取第一变化,第一变化包括用户的肢体动作变化、用户的至少部分肢体相对电子设备的位置变化、电子设备的位置变化和电子设备相对用户的位置变化中的至少一项;处理目标事件,目标事件为唤醒语音助手。
在上述技术方案中,电子设备能够根据第一变化识别出用户的交互前动作,从而推断用户想要唤醒语音助手,这样用户无需对电子设备进行点击等直接对电子设备进行操作的交互动作,增强了用户使用电子设备的智能化体验。另外,这样也将对电子设备直接进行操作前的肢体动作纳入了交互输入的范畴,缩短了用户的交互路径。
结合第二方面,在第二方面的某些实现方式中,用户的至少部分肢体相对电子设备的位置变化包括:用户的头部相对电子设备的距离变小。
在上述技术方案中,用户想要使用语音助手时,不需要通过点击屏幕打开语音助手,只是通过拿起电子设备靠近用户的头部这个表示用户想要打开语音助手的肢体动作,就可以实现打开语音助手的意图,缩短了用户的交互路径,进一步提高了用户使用电子设备的智能化体验。
结合第二方面,在第二方面的某些实现方式中,电子设备的位置变化包括:电子设备向上移动。
在上述技术方案中,将电子设备向上移动的位置变化与用户自身的肢体动作变化结合起来,可以更加准确地推断出用户当前想要唤醒语音助手。
结合第二方面,在第二方面的某些实现方式中,唤醒语音助手包括:在电子设备与用户之间的距离小于预设值的情况下,唤醒语音助手。
第三方面,本申请提供了一种人机交互的装置,该装置包括:获取单元,用于获取第一变化,第一变化包括用户的肢体动作变化、用户的至少部分肢体相对电子设备的位置变化、电子设备的位置变化和电子设备相对用户的位置变化中的至少一项;处理单元,用于处理目标事件,目标事件为查看电子设备上的实时消息。
在上述技术方案中,电子设备能够通过人机交互的装置根据第一变化识别出用户的交互前动作,从而推断用户的想要查看实时消息,这样用户无需对电子设备进行点击等直接对电子设备进行操作的交互动作,增强了用户使用电子设备的智能化体验。另外,这样也将对电子设备直接进行操作前的肢体动作纳入了交互输入的范畴,缩短了用户的交互路径。
结合第三方面,在第三方面的某些实现方式中,用户的肢体动作变化包括:用户的头部发生转动。
结合第三方面,在第三方面的某些实现方式中,用户的头部发生转动是根据用户的头部反射面由头部侧面变换至头部正面而确定的。
结合第三方面,在第三方面的某些实现方式中,目标事件为多个可供交互的事件中的一个事件。
在上述技术方案中,相较于直接在电子设备的所有事件中挑选与用户的肢体动作相匹配的目标事件,本技术方案中的电子设备先利用该人机交互的装置筛选出可以供用户进行交互或处理的可交互的事件,再从这些可交互的事件中确定与用户的肢体动作相匹配的事件为用户想要处理的目标事件,这样缩小了电子设备选择目标事件的范围,从而减少了确定出目标事件的时间,因而进一步提高了用户使用电子设备时的智能化体验。
结合第三方面,在第三方面的某些实现方式中,装置还包括:确定单元,用于根据电子设备的当前进程,确定多个可供交互的事件。
结合第三方面,在第三方面的某些实现方式中,确定单元还用于:确定多个可供交互的事件的优先级排序,多个可供交互的事件包括实时可供交互的事件和长期可供交互的事件,实时可供交互的事件的优先级大于长期可供交互的事件的优先级,实时可供交互的事件为需要用户在预设时间内处理的事件,长期可供交互的事件为用户随时可以处理的事件;根据第一变化和优先级排序从多个可供交互的事件中确定目标事件。
在上述技术方案中,当同一个肢体动作同时对应一个长期可供交互的事件和一个实时可供交互的事件时,电子设备利用该装置优先选择实时可供交互的事件为当下需要处理的事件,这样更符合用户当下的交互意图,进一步提高了用户使用电子设备的智能化体验。
结合第三方面,在第三方面的某些实现方式中,处理单元还用于令电子设备由熄屏显示界面进入锁屏界面。
在上述技术方案中,电子设备收到实时消息时,用户不需要点击电子设备消息等直接对电子设备进行操作的操作行为,只是通过一个表示用户想要查看该实时消息来源的交互前动作,电子设备就会通过该人机交互的装置知晓用户意图,进而由熄屏显示界面进入锁屏界面,缩短了用户的交互路径,进一步提高了用户使用电子设备的智能化体验。
结合第三方面,在第三方面的某些实现方式中,在用户的头部相对电子设备的距离变小的情况下,处理单元还用于:令电子设备在锁屏界面上显示实时消息的全部内容。
在上述技术方案中,电子设备收到实时消息且电子设备处于锁屏界面时,电子设备通过该人机交互的装置只是通过用户探头这个肢体动作,就可以分析出用户想要查看该实时消息的具体内容的意图,缩短了用户的交互路径,进一步提高了用户使用电子设备的智能化体验。
结合第三方面,在第三方面的某些实现方式中,用户的头部相对电子设备的距离变小是根据用户的头部反射面由小变大而确定的。
结合第三方面,在第三方面的某些实现方式中,获取单元还用于在电子设备出现待处理事件的情况下,获取第一变化。
在上述技术方案中,相较于长期不间断获取用户的当前行为数据,电子设备通过该人机交互的装置等待处理事件发生后才获取用户的当前行为数据,这样能够加长电子设备的使用时间。
结合第三方面,在第三方面的某些实现方式中,获取单元还用于利用毫米波雷达传感器、激光雷达传感器和超声波雷达传感器中的至少一种获取第一变化。
第四方面,本申请提供了一种人机交互的装置,该装置包括:获取单元,用于获取第一变化,第一变化包括用户的肢体动作变化、用户的至少部分肢体相对电子设备的位置变化、电子设备的位置变化和电子设备相对用户的位置变化中的至少一项;处理单元,用于处理目标事件,目标事件为唤醒语音助手。
在上述技术方案中,电子设备能够通过该人机交互的装置根据第一变化识别出用户的交互前动作,从而推断用户想要唤醒语音助手,这样用户无需对电子设备进行点击等直接对电子设备进行操作的交互动作,增强了用户使用电子设备的智能化体验。另外,这样也将对电子设备直接进行操作前的肢体动作纳入了交互输入的范畴,缩短了用户的交互路径。
结合第四方面,在第四方面的某些实现方式中,用户的至少部分肢体相对电子设备的位置变化包括:用户的头部相对电子设备的距离变小。
在上述技术方案中,用户想要使用语音助手时,不需要通过点击屏幕打开语音助手,只是通过拿起电子设备靠近用户的头部这个表示用户想要打开语音助手的肢体动作,就可以实现打开语音助手的意图,缩短了用户的交互路径,进一步提高了用户使用电子设备的智能化体验。
结合第四方面,在第四方面的某些实现方式中,电子设备的位置变化包括:电子设备向上移动。
在上述技术方案中,将电子设备向上移动的位置变化与用户自身的肢体动作变化结合起来,可以更 加准确地推断用户当前想要唤醒语音助手。
结合第四方面,在第四方面的某些实现方式中,处理单元还用于在电子设备与用户之间的距离小于预设值的情况下,唤醒语音助手。
第五方面,本申请提供了一种电子设备,电子设备包括:存储器,用于存储计算机程序;处理器,用于执行存储器中存储的计算机程序,以使得电子设备执行上述第一方面、第一方面任意一种实现方式、第二方面或第二方面任意一种实现方式的方法。
第六方面,本申请提供了一种计算机可读存储介质,计算机可读存储介质存储有计算机程序,当计算机程序被计算机执行时,使得计算机执行上述第一方面、第一方面任意一种实现方式、第二方面或第二方面任意一种实现方式的方法。
第七方面,本申请提供了一种计算机程序产品,计算机程序产品包括计算机程序,当计算机程序被计算机执行时,使得计算机执行上述第一方面、第一方面任意一种实现方式、第二方面或第二方面任意一种实现方式的方法。
附图说明
图1是本申请实施例提供的一种电子设备的硬件结构示意图。
图2是本申请实施例提供的一种电子设备的软件结构框图。
图3是本申请实施例提供的一组图形用户界面。
图4是本申请实施例提供的另一组图形用户界面。
图5是本申请实施例提供的另一组图形用户界面。
图6是本申请实施例提供的另一组图形用户界面。
图7是本申请实施例提供的另一组图形用户界面。
图8是本申请实施例提供的另一组图形用户界面。
图9是本申请实施例提供的另一组图形用户界面。
图10是本申请实施例提供的另一组图形用户界面。
图11是本申请实施例提供的另一组图形用户界面。
图12是本申请实施例提供的一种人机交互的方法的流程图。
图13是本申请实施例提供的另一种人机交互的方法的流程图。
图14是本申请实施例提供的一种人机交互的装置的示意性结构图。
图15是本申请实施例提供的另一种人机交互的装置的示意性结构图。
图16是本申请实施例提供的一种电子设备的示意性结构图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述。其中,在本申请实施例的描述中,除非另有说明,“/”表示或的意思,例如,A/B可以表示A或B;本文中的“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,在本申请实施例的描述中,“多个”是指两个或多于两个。
以下,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征。在本实施例的描述中,除非另有说明,“多个”的含义是两个或两个以上。
本申请实施例提供的方法可以应用于手机、平板电脑、可穿戴设备、车载设备、增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)设备、笔记本电脑、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本、个人数字助理(personal digital assistant,PDA)等电子设备上,本申请实施例对电子设备的具体类型不作任何限制。
示例性的,图1示出了电子设备100的结构示意图。电子设备100可以包括处理器110,外部存储器接口120,内部存储器121,通用串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180,按键190,马达191,指示器192,摄像头193,显示屏194,以及用户标识模块(subscriber identification module,SIM)卡接口195等。 其中传感器模块180可以包括压力传感器180A,陀螺仪传感器180B,气压传感器180C,磁传感器180D,加速度传感器180E,距离传感器180F,接近光传感器180G,指纹传感器180H,温度传感器180J,触摸传感器180K,环境光传感器180L,骨传导传感器180M等。
可以理解的是,本申请实施例示意的结构并不构成对电子设备100的具体限定。在本申请另一些实施例中,电子设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,存储器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。
其中,控制器可以是电子设备100的神经中枢和指挥中心。控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。
在一些实施例中,处理器110可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuit sound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purpose input/output,GPIO)接口,用户标识模块(subscriber identity module,SIM)接口,和/或通用串行总线(universal serial bus,USB)接口等。
I2C接口是一种双向同步串行总线,包括一根串行数据线(serial data line,SDA)和一根串行时钟线(derail clock line,SCL)。在一些实施例中,处理器110可以包含多组I2C总线。处理器110可以通过不同的I2C总线接口分别耦合触摸传感器180K,充电器,闪光灯,摄像头193等。例如:处理器110可以通过I2C接口耦合触摸传感器180K,使处理器110与触摸传感器180K通过I2C总线接口通信,实现电子设备100的触摸功能。
I2S接口可以用于音频通信。在一些实施例中,处理器110可以包含多组I2S总线。处理器110可以通过I2S总线与音频模块170耦合,实现处理器110与音频模块170之间的通信。在一些实施例中,音频模块170可以通过I2S接口向无线通信模块160传递音频信号,实现通过蓝牙耳机接听电话的功能。
PCM接口也可以用于音频通信,将模拟信号抽样,量化和编码。在一些实施例中,音频模块170与无线通信模块160可以通过PCM总线接口耦合。在一些实施例中,音频模块170也可以通过PCM接口向无线通信模块160传递音频信号,实现通过蓝牙耳机接听电话的功能。I2S接口和PCM接口都可以用于音频通信。
UART接口是一种通用串行数据总线,用于异步通信。该总线可以为双向通信总线。它将要传输的数据在串行通信与并行通信之间转换。在一些实施例中,UART接口通常被用于连接处理器110与无线通信模块160。例如:处理器110通过UART接口与无线通信模块160中的蓝牙模块通信,实现蓝牙功能。在一些实施例中,音频模块170可以通过UART接口向无线通信模块160传递音频信号,实现通过蓝牙耳机播放音乐的功能。
MIPI接口可以被用于连接处理器110与显示屏194,摄像头193等外围器件。MIPI接口包括摄像头串行接口(camera serial interface,CSI),显示屏串行接口(display serial interface,DSI)等。在一些实施例中,处理器110和摄像头193通过CSI接口通信,实现电子设备100的拍摄功能。处理器110和显示屏194通过DSI接口通信,实现电子设备100的显示功能。
GPIO接口可以通过软件配置。GPIO接口可以被配置为控制信号,也可被配置为数据信号。在一些实施例中,GPIO接口可以用于连接处理器110与摄像头193,显示屏194,无线通信模块160,音频模块170,传感器模块180等。GPIO接口还可以被配置为I2C接口,I2S接口,UART接口,MIPI接口等。
USB接口130是符合USB标准规范的接口,具体可以是Mini USB接口,Micro USB接口,USB  Type C接口等。USB接口130可以用于连接充电器为电子设备100充电,也可以用于电子设备100与外围设备之间传输数据。也可以用于连接耳机,通过耳机播放音频。该接口还可以用于连接其他电子设备,例如AR设备等。
可以理解的是,本申请实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对电子设备100的结构限定。在本申请另一些实施例中,电子设备100也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。
充电管理模块140用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理模块140可以通过USB接口130接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块140可以通过电子设备100的无线充电线圈接收无线充电输入。充电管理模块140为电池142充电的同时,还可以通过电源管理模块141为电子设备供电。
电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110,内部存储器121,外部存储器,显示屏194,摄像头193,和无线通信模块160等供电。电源管理模块141还可以用于监测电池容量,电池循环次数,电池健康状态(漏电,阻抗)等参数。在其他一些实施例中,电源管理模块141也可以设置于处理器110中。在另一些实施例中,电源管理模块141和充电管理模块140也可以设置于同一个器件中。
电子设备100的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。
天线1和天线2用于发射和接收电磁波信号。电子设备100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。
移动通信模块150可以提供应用在电子设备100上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。
调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器170A,受话器170B等)输出声音信号,或通过显示屏194显示图像或视频。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器110,与移动通信模块150或其他功能模块设置在同一个器件中。
无线通信模块160可以提供应用在电子设备100上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块160可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。
在一些实施例中,电子设备100的天线1和移动通信模块150耦合,天线2和无线通信模块160耦合,使得电子设备100可以通过无线通信技术与网络以及其他设备通信。无线通信技术可以包括全球移动通讯系统(global system for mobile communications,GSM),通用分组无线服务(general packet radio service,GPRS),码分多址接入(code division multiple access,CDMA),宽带码分多址(wideband code division multiple access,WCDMA),时分码分多址(time-division code division multiple access,TD-SCDMA),长期演进(long term evolution,LTE),BT,GNSS,WLAN,NFC,FM,和/或IR技术等。GNSS可以包括全球卫星定位系统(global positioning system,GPS),全球导航卫星系统(global navigation satellite system,GLONASS),北斗卫星导航系统(beidou navigation satellite system,BDS),准天顶卫星系统(quasi-zenith  satellite system,QZSS)和/或星基增强系统(satellite based augmentation systems,SBAS)。
电子设备100通过GPU,显示屏194,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。
显示屏194用于显示图像,视频等。显示屏194包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode的,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些实施例中,电子设备100可以包括1个或N个显示屏194,N为大于1的正整数。
电子设备100可以通过ISP,摄像头193,视频编解码器,GPU,显示屏194以及应用处理器等实现拍摄功能。
ISP用于处理摄像头193反馈的数据。例如,拍照时,打开快门,光线通过镜头被传递到摄像头感光元件上,光信号转换为电信号,摄像头感光元件将电信号传递给ISP处理,转化为肉眼可见的图像。ISP还可以对图像的噪点,亮度,肤色进行算法优化。ISP还可以对拍摄场景的曝光,色温等参数优化。在一些实施例中,ISP可以设置在摄像头193中。
摄像头193用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元件。感光元件可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(complementary metal-oxide-semiconductor,CMOS)光电晶体管。感光元件把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP加工处理。DSP将数字图像信号转换成标准的RGB,YUV等格式的图像信号。在一些实施例中,电子设备100可以包括1个或N个摄像头193,N为大于1的正整数。
数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。例如,当电子设备100在频点选择时,数字信号处理器用于对频点能量进行傅里叶变换等。
视频编解码器用于对数字视频压缩或解压缩。电子设备100可以支持一种或多种视频编解码器。这样,电子设备100可以播放或录制多种编码格式的视频,例如:动态图像专家组(moving picture experts group,MPEG)1,MPEG2,MPEG3,MPEG4等。
NPU为神经网络(neural-network,NN)计算处理器,通过借鉴生物神经网络结构,例如借鉴人脑神经元之间传递模式,对输入信息快速处理,还可以不断的自学习。通过NPU可以实现电子设备100的智能认知等应用,例如:图像识别,人脸识别,语音识别,文本理解等。
外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展电子设备100的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。
内部存储器121可以用于存储计算机可执行程序代码,可执行程序代码包括指令。处理器110通过运行存储在内部存储器121的指令,从而执行电子设备100的各种功能应用以及数据处理。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用程序(比如声音播放功能,图像播放功能等)等。存储数据区可存储电子设备100使用过程中所创建的数据(比如音频数据,电话本等)等。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。
电子设备100可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。
音频模块170用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。音频模块170还可以用于对音频信号编码和解码。在一些实施例中,音频模块170可以设置于处理器110中,或将音频模块170的部分功能模块设置于处理器110中。
扬声器170A,也称“喇叭”,用于将音频电信号转换为声音信号。电子设备100可以通过扬声器170A收听音乐,或收听免提通话。
受话器170B,也称“听筒”,用于将音频电信号转换成声音信号。当电子设备100接听电话或语音信息时,可以通过将受话器170B靠近人耳接听语音。
麦克风170C,也称“话筒”,“传声器”,用于将声音信号转换为电信号。当拨打电话或发送语音信息时,用户可以通过人嘴靠近麦克风170C发声,将声音信号输入到麦克风170C。电子设备100可以设置至少一个麦克风170C。在另一些实施例中,电子设备100可以设置两个麦克风170C,除了采集声音信号,还可以实现降噪功能。在另一些实施例中,电子设备100还可以设置三个,四个或更多麦克风170C,实现采集声音信号,降噪,还可以识别声音来源,实现定向录音功能等。
耳机接口170D用于连接有线耳机。耳机接口170D可以是USB接口130,也可以是3.5mm的开放移动电子设备平台(open mobile terminal platform,OMTP)标准接口,美国蜂窝电信工业协会(cellular telecommunications industry association of the USA,CTIA)标准接口。
压力传感器180A用于感受压力信号,可以将压力信号转换成电信号。在一些实施例中,压力传感器180A可以设置于显示屏194。压力传感器180A的种类很多,如电阻式压力传感器,电感式压力传感器,电容式压力传感器等。电容式压力传感器可以是包括至少两个具有导电材料的平行板。当有力作用于压力传感器180A,电极之间的电容改变。电子设备100根据电容的变化确定压力的强度。当有触摸操作作用于显示屏194,电子设备100根据压力传感器180A检测触摸操作强度。电子设备100也可以根据压力传感器180A的检测信号计算触摸的位置。在一些实施例中,作用于相同触摸位置,但不同触摸操作强度的触摸操作,可以对应不同的操作指令。例如:当有触摸操作强度小于第一压力阈值的触摸操作作用于短消息应用图标时,执行查看短消息的指令。当有触摸操作强度大于或等于第一压力阈值的触摸操作作用于短消息应用图标时,执行新建短消息的指令。
陀螺仪传感器180B可以用于确定电子设备100的运动姿态。在一些实施例中,可以通过陀螺仪传感器180B确定电子设备100围绕三个轴(即,x,y和z轴)的角速度。陀螺仪传感器180B可以用于拍摄防抖。示例性的,当按下快门,陀螺仪传感器180B检测电子设备100抖动的角度,根据角度计算出镜头模组需要补偿的距离,让镜头通过反向运动抵消电子设备100的抖动,实现防抖。陀螺仪传感器180B还可以用于导航,体感游戏场景。
气压传感器180C用于测量气压。在一些实施例中,电子设备100通过气压传感器180C测得的气压值计算海拔高度,辅助定位和导航。
磁传感器180D包括霍尔传感器。电子设备100可以利用磁传感器180D检测翻盖皮套的开合。在一些实施例中,当电子设备100是翻盖机时,电子设备100可以根据磁传感器180D检测翻盖的开合。进而根据检测到的皮套的开合状态或翻盖的开合状态,设置翻盖自动解锁等特性。
加速度传感器180E可检测电子设备100在各个方向上(一般为三轴)加速度的大小。当电子设备100静止时可检测出重力的大小及方向。还可以用于识别电子设备姿态,应用于横竖屏切换,计步器等应用。
距离传感器180F,用于测量距离。电子设备100可以通过红外或激光测量距离。在一些实施例中,拍摄场景,电子设备100可以利用距离传感器180F测距以实现快速对焦。
接近光传感器180G可以包括例如发光二极管(LED)和光检测器,例如光电二极管。发光二极管可以是红外发光二极管。电子设备100通过发光二极管向外发射红外光。电子设备100使用光电二极管检测来自附近物体的红外反射光。当检测到充分的反射光时,可以确定电子设备100附近有物体。当检测到不充分的反射光时,电子设备100可以确定电子设备100附近没有物体。电子设备100可以利用接近光传感器180G检测用户手持电子设备100贴近耳朵通话,以便自动熄灭屏幕达到省电的目的。接近光传感器180G也可用于皮套模式,口袋模式自动解锁与锁屏。
环境光传感器180L用于感知环境光亮度。电子设备100可以根据感知的环境光亮度自适应调节显示屏194亮度。环境光传感器180L也可用于拍照时自动调节白平衡。环境光传感器180L还可以与接近光传感器180G配合,检测电子设备100是否在口袋里,以防误触。
指纹传感器180H用于采集指纹。电子设备100可以利用采集的指纹特性实现指纹解锁,访问应用锁,指纹拍照,指纹接听来电等。
温度传感器180J用于检测温度。在一些实施例中,电子设备100利用温度传感器180J检测的温度,执行温度处理策略。例如,当温度传感器180J上报的温度超过阈值,电子设备100执行降低位于温度传感器180J附近的处理器的性能,以便降低功耗实施热保护。在另一些实施例中,当温度低于另一阈值时,电子设备100对电池142加热,以避免低温导致电子设备100异常关机。在其他一些实施例中,当温度低于又一阈值时,电子设备100对电池142的输出电压执行升压,以避免低温导致的异常关机。
触摸传感器180K,也称“触控面板”。触摸传感器180K可以设置于显示屏194,由触摸传感器180K 与显示屏194组成触摸屏,也称“触控屏”。触摸传感器180K用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏194提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器180K也可以设置于电子设备100的表面,与显示屏194所处的位置不同。
骨传导传感器180M可以获取振动信号。在一些实施例中,骨传导传感器180M可以获取人体声部振动骨块的振动信号。骨传导传感器180M也可以接触人体脉搏,接收血压跳动信号。在一些实施例中,骨传导传感器180M也可以设置于耳机中,结合成骨传导耳机。音频模块170可以基于骨传导传感器180M获取的声部振动骨块的振动信号,解析出语音信号,实现语音功能。应用处理器可以基于骨传导传感器180M获取的血压跳动信号解析心率信息,实现心率检测功能。
按键190包括开机键,音量键等。按键190可以是机械按键。也可以是触摸式按键。电子设备100可以接收按键输入,产生与电子设备100的用户设置以及功能控制有关的键信号输入。
马达191可以产生振动提示。马达191可以用于来电振动提示,也可以用于触摸振动反馈。例如,作用于不同应用(例如拍照,音频播放等)的触摸操作,可以对应不同的振动反馈效果。作用于显示屏194不同区域的触摸操作,马达191也可对应不同的振动反馈效果。不同的应用场景(例如:时间提醒,接收信息,闹钟,游戏等)也可以对应不同的振动反馈效果。触摸振动反馈效果还可以支持自定义。
指示器192可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。
SIM卡接口195用于连接SIM卡。SIM卡可以通过插入SIM卡接口195,或从SIM卡接口195拔出,实现和电子设备100的接触和分离。电子设备100可以支持1个或N个SIM卡接口,N为大于1的正整数。SIM卡接口195可以支持Nano SIM卡,Micro SIM卡,SIM卡等。同一个SIM卡接口195可以同时插入多张卡。多张卡的类型可以相同,也可以不同。SIM卡接口195也可以兼容不同类型的SIM卡。SIM卡接口195也可以兼容外部存储卡。电子设备100通过SIM卡和网络交互,实现通话以及数据通信等功能。在一些实施例中,电子设备100采用eSIM,即:嵌入式SIM卡。eSIM卡可以嵌在电子设备100中,不能和电子设备100分离。
电子设备100的软件系统可以采用分层架构,事件驱动架构,微核架构,微服务架构,或云架构。本申请实施例以分层架构的Android系统为例,示例性说明电子设备100的软件结构。
图2是本申请实施例的电子设备100的软件结构框图。分层架构将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在一些实施例中,将Android系统分为四层,从上至下分别为应用程序层,应用程序框架层,安卓运行时(Android runtime)和系统库,以及内核层。应用程序层可以包括一系列应用程序包。
如图2所示,应用程序包可以包括相机,图库,日历,通话,地图,导航,WLAN,蓝牙,音乐,视频,短信息等应用程序。
应用程序框架层为应用程序层的应用程序提供应用编程接口(application programming interface,API)和编程框架。应用程序框架层包括一些预先定义的函数。
如图2所示,应用程序框架层可以包括窗口管理器,内容提供器,视图系统,电话管理器,资源管理器,通知管理器等。
窗口管理器用于管理窗口程序。窗口管理器可以获取显示屏大小,判断是否有状态栏,锁定屏幕,截取屏幕等。
内容提供器用来存放和获取数据,并使这些数据可以被应用程序访问。数据可以包括视频,图像,音频,拨打和接听的电话,浏览历史和书签,电话簿等。
视图系统包括可视控件,例如显示文字的控件,显示图片的控件等。视图系统可用于构建应用程序。显示界面可以由一个或多个视图组成的。例如,包括短信通知图标的显示界面,可以包括显示文字的视图以及显示图片的视图。
电话管理器用于提供电子设备100的通信功能。例如通话状态的管理(包括接通,挂断等)。
资源管理器为应用程序提供各种资源,比如本地化字符串,图标,图片,布局文件,视频文件等等。
通知管理器使应用程序可以在状态栏中显示通知信息,可以用于传达告知类型的消息,可以短暂停留后自动消失,无需用户交互。比如通知管理器被用于告知下载完成,消息提醒等。通知管理器还可以是以图表或者滚动条文本形式出现在系统顶部状态栏的通知,例如后台运行的应用程序的通知,还可以 是以对话窗口形式出现在屏幕上的通知。例如在状态栏提示文本信息,发出提示音,电子设备振动,指示灯闪烁等。
Android Runtime包括核心库和虚拟机。Android runtime负责安卓系统的调度和管理。
核心库包含两部分:一部分是java语言需要调用的功能函数,另一部分是安卓的核心库。
应用程序层和应用程序框架层运行在虚拟机中。虚拟机将应用程序层和应用程序框架层的java文件执行为二进制文件。虚拟机用于执行对象生命周期的管理,堆栈管理,线程管理,安全和异常的管理,以及垃圾回收等功能。
系统库可以包括多个功能模块。例如:表面管理器(surface manager),媒体库(media libraries),三维图形处理库(例如:OpenGL ES),2D图形引擎(例如:SGL)等。
表面管理器用于对显示子系统进行管理,并且为多个应用程序提供了2D和3D图层的融合。
媒体库支持多种常用的音频,视频格式回放和录制,以及静态图像文件等。媒体库可以支持多种音视频编码格式,例如:MPEG4,H.264,MP3,AAC,AMR,JPG,PNG等。
三维图形处理库用于实现三维图形绘图,图像渲染,合成,和图层处理等。
2D图形引擎是2D绘图的绘图引擎。
内核层是硬件和软件之间的层。内核层至少包含显示驱动,摄像头驱动,音频驱动,传感器驱动。
硬件层可以包括各类传感器,例如图1中介绍的各类传感器,在本申请实施例中涉及的传感器有接近传感器、图像传感器、毫米波雷达传感器、激光雷达传感器、超声波雷达传感器、重力传感器、陀螺仪传感器等。
应理解,本申请实施例可以适用于Android、IOS或者鸿蒙等系统中。
在日常生活中,人们通过手机等电子设备接收各种消息,例如短信提醒、来电提醒等。当用户想进一步查看或者处理接收到的消息时,需要用户通过手动点击屏幕等交互动作来实现。例如,如图3所示,用户收到一条消息,此时,手机呈现锁屏界面,且该锁屏界面包含有一个消息气泡,消息气泡中显示该则消息的来源——即时通讯应用程序(Application,APP),但未显示该则消息的全部内容。用户想进一步查看该则消息,在现有技术中用户需手动点击消息气泡,消息气泡才会进一步展开为消息卡片,以呈现该则消息的全部内容。但是,在一些实际场景下,用户不方便进行点击手机屏幕等交互动作,从而导致用户不能实时获取消息的全部内容。例如用户正在做饭时收到一则消息,由于此时用户可能正在切菜,不方便点击手机屏幕,因而不能查看该则消息的具体内容。
用户在与手机等电子设备进行交互前的肢体动作可以表达用户的交互意图。例如,在收到短信通知类消息时,当人转头看向手机,代表他已经知晓手机收到了短信通知并想要查看信息来源;当他探着身子靠近手机时,代表用户想要查看该则短信的具体内容;当用户向手机伸出手,代表着他想要对接收到的短信进行处理。诸如此类用户不用对手机等电子设备进行点击屏幕等交互动作,而是通过用户在与手机等电子设备进行交互前的肢体动作可以表达用户意图的例子还有很多。
有鉴于此,本申请实施例提供了一种人机交互的方法和装置。该方法能够根据用户在与手机等电子设备进行交互前的肢体动作来判断用户对手机事件的处理意图,从而增强用户使用电子设备时的智能化体验。
图4是本申请实施例提供的一组图形用户界面(graphical user interface,GUI)示意图。
用户正在使用电脑办公,手机被用户放置在电脑一旁,且手机正处于熄屏状态。
手机某时刻接收到一则实时消息,手机由熄屏界面(即黑屏状态)转换到熄屏显示界面,且该熄屏显示界面显示该则实时消息的来源APP的图标,图标显示该则消息来源于即时通讯APP。此时,用户用眼睛的余光注意到手机屏幕发生变化,想要查看手机界面是因为什么事件而产生的变化,但是暂时不打算由当前的工作状态马上切换到处理手机消息的状态,而想要视消息的重要程度来决定,因此,用户转头看手机,以预览手机的界面变化。
参见图4中(a)所示,用户发生转头动作后,手机可以通过毫米波雷达传感器等数据采集装置获取到用于表征用户头部转动的数据,当用户头部转动至面部正对手机时,手机可以确定用户产生了转头的动作。确定用户转头后,手机可以从当前进程中找到与用户转头这个动作相匹配的事件——查看实时消息,即确定用户转头的意图在很大程度上是想要处理“查看实时消息”这一事件。
手机找到与用户的转头动作相匹配的事件——查看实时消息后,手机屏幕将从熄屏显示界面转换到锁屏界面,参见图4中(b)所示的GUI,该解锁界面显示有一个消息气泡,并且该解锁界面还显示有当 日天气等更多信息,消息气泡中包含有该则消息的来源APP图标、信息数量,很明显,解锁界面所含信息量高于熄屏显示界面。
一个实施例中,在寻找与用户的转头动作相匹配的事件前,手机先筛选出可供用户处理的事件,再从这些可供用户处理的事件中寻找与用户转头动作相匹配的事件。
本申请实施例中,手机先筛选出可供用户处理的事件,再从这些事件中寻找匹配用户动作的事件,增加了筛选的步骤,可以减少寻找时间,从而提高手机的运行效率。
一个实施例中,当用户转头后看到解锁页面显示的消息来源APP是自己当下需要立即处理的消息的来源APP时,会产生进一步的动作,参见图5。
图5是本申请实施例提供的一组GUI示意图。
如图5所示的GUI,用户转头看到锁屏界面的消息可能需要自己立即处理时,用户期望获知消息的具体内容,因此,在解锁界面维持亮屏的这一段时间内用户探头看向手机屏幕,以确认后续是否要在手机上处理该则消息。
参见图5中(a)所示的GUI,用户发生探头动作后,手机可以通过传感器等设备获取到用户探头的数据,当用户探头至与手机屏幕之间的距离到达预设值时,手机确定用户产生了探头的动作。确定用户产生了探头动作后,手机可以从当前进程中找到与用户探头这个动作相匹配的事件——查看实时消息,即手机判定用户探头在很大程度上是为了处理“手机收到实时消息”这一事件。
手机找到与用户的探头动作相匹配的事件——查看实时消息后,手机解锁界面上的消息气泡会展开成消息卡片,参见图5中所示的GUI,该消息卡片显示该则消息的全部内容,以供用户查看消息的具体内容。
一个实施例中,消息气泡展开为消息卡片时,可以自动激活手机的人脸识别等用户验证功能。经用户验证说明当前被识别用户为机主时,消息气泡才会进一步展开为消息卡片;经用户验证说明当前被识别用户不是机主时,解锁界面将维持原消息气泡的显示界面。
一个实施例中,手机通过毫米波雷达传感器等设备获取到用户探头的数据,还可以通过陀螺仪传感器等设备获取到手机的运动状态,运动状态可以包括静止状态和移动状态。毫米波雷达获取用户自身探头的数据,陀螺仪获取到的手机运动状态表明手机处于静止状态,手机可以结合两者来综合判断用户产生了主动靠近手机且探头的动作。
本申请实施例中,手机通过陀螺仪采集到的手机的运动状态数据辅助通过毫米波雷达传感器采集的用户本身肢体动作的数据确定用户当前的肢体动作,可以提高手机识别人肢体动作的准确率。
本申请实施例中,用户想要查看实时消息的具体内容时,不需要手指点击屏幕,手机可以通过用户“探头看手机”这一肢体动作感知到用户想要查看消息的完整内容,从而将消息气泡展开为消息卡片以供用户查看,这样可以省去用户点击手机的动作,减少操作步骤,从而增强用户的使用体验。
本申请实施例中,用户先转头,手机屏幕从熄屏显示界面转换至解锁界面,接着用户再探头,手机屏幕才会展示出消息的完整内容,加入了后续探头的动作后,相当于“先转头再探头”的连续性动作才能让用户看到完整信息,因此降低了误判的可能性。例如,用户转头但不是查看手机界面,而是活动脖子放松身体。
图6是本申请实施例提供的一组GUI示意图。
用户正在电脑前看视频,手机放置在电脑旁侧,且手机此时处于熄屏状态。
手机此时接收到一则消息,手机由熄屏界面转换到熄屏显示界面,且该熄屏显示界面显示该则消息的来源,此时用户想要直接查看信息,因此用户伸手靠近手机。
参见图6中(a)所示的GUI,用户发生伸手动作后,手机通过传感器等设备获取到用户手与手机之间的距离数据,当用户的手部与手机之间的距离小于预设值时,手机确定用户产生了伸手靠近手机的动作。
在确定用户产生了伸手靠近手机的动作后,手机可以从当前进程中找到与用户伸手靠近手机这个动作相匹配的事件——查看实时消息。手机找到与用户的伸手靠近手机动作相匹配的事件——查看实时消息后,参见图6中(b)所示的GUI,手机屏幕将从熄屏显示界面转换到解锁界面,该解锁界面显示有一个消息卡片,消息卡片显示了该消息的完整内容,以供用户进行查看。
一个实施例中,手机屏幕从熄屏显示界面转换到解锁界面时,可以自动激活手机的人脸识别等用户验证功能。经用户验证说明当前被识别用户为机主时,熄屏显示界面才会转换到解锁界面;经用户验证 说明当前被识别用户不是机主时,手机将继续保持熄屏显示界面。
参见图7,在与图6的同样场景下,手机接收到一则消息后,用户想要立即查看,于是伸手拿起手机至面前。手机可以通过接近传感器获取到用户的手与手机接触,通过毫米波雷达传感器获取到用户脸部正对手机屏幕,通过陀螺仪获取到手机此时正处于移动状态,综合以上接近传感器、毫米波雷达传感器以及陀螺仪获取到的信息,手机可以确定用户产生了拿起手机正对面部的动作。
本申请实施例中,手机综合接近传感器获取到的手握住手机的数据和毫米波雷达传感器获取到的脸与手机的距离数据确定用户动作,提高了手机识别用户肢体动作的准确率。
图8是本申请实施例提供的GUI示意图。
用户正在客厅看电视,手机放置于电视柜上,且此时手机处于熄屏状态。用户突然想到自己明日早晨10:00需要去医院做体检,于是伸手想要拿起手机唤醒语音助手,以建立提醒事件“明早10:00去医院体检”。
参见图8中(a)所示,用户伸手拿起手机并靠近嘴部的过程中,手机可以通过例如毫米波雷达传感器等设备获取到用于表征用户嘴部与手机之间的距离在逐渐变短的数据,还可以通过例如陀螺仪等设备获取到用于表征手机此时处于向上移动的数据,当手机与用户嘴部的距离小于或等于预设值时,手机可以确定用户产生了拿起手机靠近嘴部的动作。确定用户的动作后,手机可以从当前进程中找到与用户手机靠近嘴部的动作相匹配的事件——唤醒语音助手,即确定用户拿起手机靠近嘴部的动作是为了处理“唤醒语音助手”这一事件。
参见图8中(b)所示,手机找到与用户拿起手机靠近嘴部的动作相匹配的事件——唤醒语音助手后,手机屏幕将从熄屏界面转换到语音助手工作界面,语音助手工作界面显示有提醒文字“您请说……”以及触屏控件,用户按下触屏控件后说出“明早10:00去医院体检”以建立手机提醒事件。
本申请实施例中,手机通过用户拿起手机靠近嘴部的交互前动作就能知晓用户的意图,从而实现了用户无需点击屏幕就能唤醒语音助手,增强了用户的智能体验,减少了用户唤醒语音助手的步骤,从而减少了唤醒语音助手的时间。
图9是本申请实施例提供的一组GUI示意图。
用户正在电脑前看电影,手机放置于电脑旁侧,且此时手机处于熄屏状态。
手机某时接收到一个来电,手机由熄屏界面转换到熄屏显示界面,且该熄屏显示界面显示该则消息的来源APP的图标,图标显示该则消息来源于电话APP,此时,用户伸手拿起手机并靠近嘴部,以立即使用扬声器接听电话。
参见图9中(a)所示的GUI,用户在拿起手机并将手机靠近嘴部的过程中,手机可以通过接近传感器获取到用户与手机接触的数据,可以通过毫米波雷达传感器获取到用户嘴部与手机之间的距离在逐渐变短的数据,可以通过陀螺仪获取到手机此时正处于移动状态的数据,当手机与用户嘴部之间的距离小于或等于预设值时,手机可以确定用户产生了拿起手机并将手机靠近嘴部的动作。确定用户的上述动作后,手机可以从当前进程中找到与用户拿起手机靠近嘴部这个动作相匹配的事件——“手机收到来电”,即确定用户拿起手机靠近嘴部的意图在很大程度上是想要处理“手机收到来电”这一事件。
参见图9中(b)所示的GUI,手机找到与上述动作相匹配的事件“手机收到来电”后,手机屏幕将从熄屏显示界面转换至通话界面,即自动以扬声器形式接听来电。
一个实施例中,手机在寻找动作相匹配的事件时,结合图8和图9可以知晓,用户拿起手机靠近嘴部这个动作可以匹配“手机收到来电”这一事件,也可以匹配“唤醒语音助手”这一事件,但是用户产生拿起手机并靠近嘴部的动作是在“手机收到来电”后一段时间内发生的,在这种情况下显然“手机收到来电”是最符合用户当下动作的意图,因此手机确定与用户产生拿起手机靠近嘴部这个动作相匹配的事件是“手机收到来电”,及确定用户拿起手机靠近嘴部的意图更大程度上是想要处理“手机收到来电”这一事件,即以扬声器形式接听电话。
图10是本申请实施例提供的另一组GUI示意图。
本实施例的应用场景与图9相同,都是正在电脑前看电影时手机收到一个来电,手机由熄屏界面转换到熄屏显示界面,此时,用户想要查看手机界面是因为什么事件而产生的变化,但是暂时不打算由当前的娱乐状态马上切换到处理手机事件的状态,而想要视事件的重要程度来决定,因此,用户转头看手机,以预览手机的界面的APP图标。
参见图10中(a)所示的GUI,用户转头看到引起手机界面变化的原因是有一个来电,此时用户并 不想接听该电话,于是用户又回过头来正对电脑继续看电影。手机可以通过传感器等设备获取到用户头部的转动数据,当用户头部转动至面部正对手机时,手机可以确定用户产生了转头看手机的动作,当用户看到手机来电又回过头来继续看手机时,手机进一步确定用户产生了转头看手机后移开的动作。确定用户上述动作后,手机可以从当前进程中找到与用户转头看手机后移开这个动作相匹配的事件——手机收到来电,即确定用户转头的意图在很大程度上是想要处理“手机收到来电”这一事件。
手机找到与用户动作相匹配的事件——手机收到来电后,手机将自动挂断电话,如图10中(b)所示。
一个实施例中,用户转头看到当前手机有来电,参见图11中(a),便拿起手机靠近头部。在此过程中,用户始终看向手机屏幕,在拿起手机移动的过程中,收到一则短信,且短信以气泡形式悬浮在当前手机的来电界面上,参见图11中(b),由于此时用户的动作满足探头看手机以及拿起手机靠近耳部的两个动作,手机可以先将“手机收到实时消息”确定为当前优先处理事件,在用户拿起手机靠近耳朵的这一过程中,将解锁界面的消息气泡展开为消息卡片,参见图11中(c),以供用户查看实时消息。当用户将手机靠近耳部后,再将“手机收到来电”确定为当前需处理事件,且当手机与用户耳部之间的距离等于或小于预设值时,手机自动接听来电,参见图11中(d)。
本申请实施例中,手机通过发生时间来确定需要优先处理的事件,此方式更贴近用户当前处理手机事件的意图,增强了用户使用手机的智能体验。
为方便理解,本申请以下实施例将以具有图1和图2所示结构的电子设备为例,结合附图和以上应用场景,对本申请实施例提供的人机交互的方法进行具体阐述。
图12示出了本申请实施例提供的一种人机交互的方法1200的示意性流程图,该方法1200包括:
S1201,获取第一变化,第一变化包括用户的肢体动作变化、用户的至少部分肢体相对电子设备的位置变化、电子设备的位置变化和电子设备相对用户的位置变化中的至少一项。
可选地,在获取第一变化之前,需要先获取用户的当前行为数据。
电子设备获取用户的当前行为数据的方式有很多,例如,电子设备上配置有各种各样的数据采集设备,电子设备可以通过这些数据采集设备获取能表现用户当前行为的数据,本申请对此不作限定,能获取到用户的当前行为数据的方法都应落入本申请的保护范围。为方便理解,以下说明将以数据采集设备作为获取用户的当前行为数据的方法进行说明。
应理解,数据采集设备可以是电子设备中的传感器,本申请对此不作限定,为方便理解,以下说明将以传感器作为数据采集设备进行说明。
应理解,电子设备可以包括手机、个人电脑、平板电脑等各种设备,本申请对此不作限定,以下实施例将以手机为例进行说明。
现有手机中配置的传感器可以有陀螺仪传感器、重力传感器、红外传感器、毫米波雷达传感器、激光雷达传感器、超声波雷达传感器等。不同类型的传感器可以采集到不同类型的数据,例如,接近传感器可以用于测量手机到物体的距离,陀螺仪传感器又称角速度传感器,可以用于测量手机是否发生转动、偏转、晃动等动作,从而辅助判断用户当前的实际动作,毫米波雷达传感器则会向手机周围发射电磁波,波束的范围内触及到的物体(例如人的手部)会散射此能量波,并将部分能量反射回雷达感知器,反射过去的能量被雷达捕获,通过信号的到达时间与反射波段的变化,能感知出对象物体的诸如大小、形状等特征和动态行为的方向、速度、行动距离等信息。
可选地,可以利用毫米波雷达传感器、激光雷达传感器和超声波雷达传感器中的任意一种或者多种获取用户的当前行为数据,本申请对此不作限定。
可选地,本申请实施例中的用户的当前行为数据可以包括:用于表征用户的肢体动作变化的数据和/或用于表征至少部分肢体相对电子设备的位置变化的数据,本申请对此不作限定。
应理解,肢体动作变化可以包括至少部分肢体发生转动等变化。例如,如图4,用户头部发生转动后,手机可以通过毫米波雷达传感器等数据采集装置获取到用户头部转动的数据,当用户头部转动至面部正对手机时,手机可以确定用户产生了转头的动作。
可选地,肢体动作变化可以包括头部动作的变化、手部动作的变化、眼睛动作的变化等,只要能表示用户对手机操作意图的肢体动作的变化都应落入本申请的保护范围内,本申请对此不作限定。例如,如图4中(a)所示,手机收到消息后,用户头部发生转动,表示用户已经知道手机收到了一则消息。
可选地,用户的至少部分肢体相对电子设备的位置变化可以包括用户的至少部分肢体与电子设备之 间的距离变化,例如,如图6中(a)所示,接近传感器可以获取到用户的手部与手机间距离在逐渐变小的数据。位置变化也可以包括用户肢体相对终端产生的相对方位的变化,本申请对此不作限定。
可选地,用户至少部分肢体相对电子设备的位置变化可以指用户的一个肢体相对终端的位置变化,也可以指用户的两个或两个以上肢体各自相对终端的位置变化,本申请对此不作限定。
还应理解,各类传感器的工作模式可以不同。一些传感器可以实时工作,即实时获取用户当前时刻的行为数据,例如,接近传感器可以实时确定用户是否接近了手机。还有一些传感器可以在手机满足一定条件时开始工作,即条件获取用户的行为数据,例如,当手机收到短信后,前置图像传感器可以响应该事件的发生而开始采集图像数据,以对用户在接下来一段时间内的动作进行图像采集。
还应理解,电子设备上的各种传感器可以在熄屏状态下采集数据。例如,接近传感器可以在熄屏状态下实时检测用户是否接近手机,再例如,手机收到实时消息后,前置摄像头可以在熄屏状态下按照预设的频率采集用户图像。
可选地,在获取用户的当前行为数据前,需满足一定的条件,本申请对此不做限定。例如当电子设备出现待处理事件,才会获取用户的当前行为数据。
可选地,在获取到用户的当前行为数据之后,根据当前行为数据确定用户的肢体动作变化和/或用户的至少部分肢体相对电子设备的位置变化,电子设备可以通过对该两种变化进行分析,来确定用户当前一段时间内产生的肢体动作,也可将满足上述条件的肢体动作称之为交互前动作。
可选地,交互前动作可以包括:转头、探头以及拿起电子设备靠近头部中的至少一项。
作为示例而非限定,如图6中(a)所示,通过接近传感器采集的数据,手机感知到用户的手部在靠近手机,则用户的交互前动作为用户手部靠近手机。如图7所示,通过接近传感器采集的数据,手机感知到用户将手机握持在手中,则用户的交互前动作为握住手机。如图4中(a)和图5中(a),通过毫米波雷达传感器或者激光雷达传感器的反射数据,分析用户是否发生了转头以及是否探头,从而可以识别出用户的交互前动作为转头看手机和探头看手机。
可选地,电子设备也可以通过传感器采集的和用户无关的数据来确定用户当前的交互前动作。其中,与用户无关的数据可以是电子设备的相关数据,本申请对此不作限。
作为示例而非限定,电子设备的相关数据可以是用于表征电子设备位置变化的数据,也可以是用于表征电子设备相对用户的位置变化的数据。可以理解,不论是电子设备自身的位置产生变化还是电子设备相对用户的位置产生变化,根本上是因为用户发生拿起电子设备或移动电子设备等交互前动作所导致。因此,电子设备可以根据自身的位置变化和/或相对用户的位置变化推断出用户发生的交互前动作。
可选地,手机也可以通过传感器采集的和用户无关的数据,结合用户的行为数据来辅助确定用户当前的交互前动作。
可见,通过电子设备相关数据表征的电子设备的位置变化、电子设备相对用户的位置变化、用户行为数据表征的用户的肢体动作变化和用户的至少部分肢体相对电子设备的位置变化中的至少一项,都可以确定用户的交互前动作,从而提升用户使用电子设备的智能化体验。
可选地,用户的交互前动作可以是一段时间内的连续动作。
例如,如图10中(a)所示,手机收到一个来电后,用户转头看到手机的来电后,并不想当时接电话,因而又回过头来继续正对电脑看电影,在这一段时间内,用户的头部产生了转头看手机又回头的连续动作,此时,这个连续动作即为用户当前的交互前动作。
大体来说,借助现有的传感器能力,能够识别出用户的肢体动作变化、至少部分肢体相对电子设备产生的位置变化、电子设备自身的位置变化、电子设备相对用户的位置变化,基于上述变化中的至少一种,可以识别出指示用户具有与手机进行交互意向的交互前动作。
本申请实施例中,具体的交互前动作可以包括:①转头看手机;②探头看手机;③肢体部位靠近手机,与手机的距离小于预设值;④接触手机并改变手机姿态(如手机由平放在桌面变为侧向立起),且手机的移动幅度小于预设值;⑤移动手机靠近用户头部,与用户的头部距离小于预设值。
S1202,处理目标事件,该目标事件为查看电子设备上的实时消息。
不同的交互前动作表达了用户不同的处理意图,这种意图和手机某一事件可能刚好相符,则意味着用户的交互前动作很大可能是用于处理该事件,这样的事件可以称之为目标事件。
识别到用户的交互前动作后,手机可以基于用户的交互前动作推测用户的意图,认为用户预期对目标事件进行处理。
例如,如图4中的(a)所示,当手机收到实时消息,用户想要查看实时消息,会转头看向手机,手机检测到用户“转头”的这个交互前动作后,会推断出用户想要查看该实时消息,因此手机将由熄屏显示界面进入锁屏界面。
可以理解,不同的情况下或不同的人想要查看实时消息时,所采用的交互前动作不一定相同。例如,如图6中的(a)所示,同样是收到实时消息,用户也可能直接伸手去拿手机,从而查看该实时消息。因此,只要是通过电子设备相关数据表征的电子设备的位置变化、电子设备相对用户的位置变化、用户行为数据表征的用户的肢体动作变化和用户的至少部分肢体相对电子设备的位置变化中的至少一项确定出的用户动作,都可以作为表征用户想要查看该实时消息的交互前动作,从而令电子设备从熄屏显示界面进入锁屏界面。
可以理解,不同的交互前动作可能对应着同一个目标事件。例如,如图4和图5所示,用户转头和探头都是为了处理查看实时消息这一目标事件,但是对应的处理策略各不相同。用户转头后,手机屏幕会从熄屏显示界面转换至解锁界面;用户探头后,手机屏幕会在当前解锁界面上进一步将消息气泡展开为显示消息全部内容的消息卡片。
可选地,手机可以基于目标事件与预设的处理策略之间的对应关系处理目标事件,例如,可以通过如表1所示的表格形式来表示两者的对应关系,本申请对此不作限定,但是为方便理解,以下以例如表1的表格形式表示两者的对应关系来进行说明。
表1
例如,如图8中(b)所示,确定当前的目标事件为“唤醒语音助手”后,手机根据例如表1中目标事件与预设的处理策略之间的对应关系,在确定手机与用户之间的距离小于预设值时,自动激活语音助手。
可选地,手机可以基于目标事件以及交互前动作与预设的处理策略之间的对应关系处理目标事件,例如,可以通过如表2所示的表格形式来表示三者之间的对应关系,本申请对此不作限定,但是为方便理解,以下以例如表2的表格形式表示三者之间的对应关系来进行说明。
表2

在一些实施例中,同一个目标事件可以对应一个以上的预设的处理策略,例如,如表2所示,目标事件“手机收到实时消息”对应着“由熄屏显示界面进入解锁界面,维持5s后熄屏”、“将消息气泡展开成卡片,卡片完整显示消息内容”以及“由熄屏显示界面进入解锁界面,将消息以卡片形式展开,卡片完整显示消息内容”这三个处理策略,值得注意的是,这三个处理策略所对应的交互前动作并不相同。因此,可以将交互前动作和目标事件综合起来判断用户意图,从而确定预设的处理策略。
例如,如图4中(b)所示,手机可以根据用户转头的动作与手机收到实时消息的事件,从例如表2中找到预设的处理策略“由熄屏显示界面进入解锁界面,维持5s后熄屏”。再例如,如图5中(b)所示,手机可以根据用户探头的动作与手机收到实时消息的事件,从例如表2中找到预设的处理策略“将消息气泡展开成卡片,卡片完整显示消息内容”。再例如,如图6中(b)所示,手机可以根据用户手部靠近手机的动作与手机收到实施消息的事件,从例如表2中找到预设的处理策略“由熄屏显示界面进入解锁界面,将消息以卡片形式展开,卡片完整显示消息内容”。
可选地,当同时存在多个实时的可供交互事件,且用户的交互前动作恰好可以同时满足多个可供交互事件的交互前动作处理时,可以将对多个可供交互事件依次确定为目标事件。在用户层面是同时发生了多个实时的可交互事件,但在处理器层面进行处理时不同的可供交互的事件仍然有时间上的先后之分。
例如,如图11所示,用户收到来电时,用户拿起手机靠近头部,在此过程中,用户始终看向手机屏幕,在拿起手机移动的过程中,收到短信,且短信气泡悬浮显示在来电界面上,则由于满足探头看手机以及拿起并移动手机靠近用户头部两个交互前动作,可以在移动手机过程中,先将手机收到消息确定为目标事件,将消息气泡展开成消息卡片,用户在移动手机过程中查看消息内容。当手机靠近头部后,再将手机收到来电确定为目标事件,在手机与用户距离小于预设值时,自动接听来电。
可选地,手机可以先找出手机上当前时刻可供用户处理的任务,可称之为可供交互的事件,再基于交互前的动作从多个可供交互的事件中确定目标事件。
作为示例而非限定,手机可以通过预置的交互前动作与目标事件的对应关系来确定交互前动作所对应的目标事件,例如,可以通过如表3所示的表格形式来表示两者之间的对应关系,本申请对此不作限定,但是为方便理解,以下以例如表3的表格形式表示两者的对应关系来进行说明。
表3
例如,如图6中(a)所示,手机确定用户的手部主动靠近手机且手机的距离小于预设值后,手机通过例如表3中目标事件与交互前动作的对应关系确定与该交互前动作相匹配的目标事件为手机收到实时 消息。
作为示例而非限定,手机可以从当前系统的所有进程中找出当前时刻可供用户处理的任务,本申请对此不做限定,凡是可以找出当前时刻的可供交互的事件的途径都应落入本申请的保护范围。
例如,如图8中(a)所示,用户拿起手机想要唤醒语音助手,手机确定用户拿起手机并将手机靠近嘴部,在手机当前的进程中只有唤醒语音助手这一可供交互的事件与用户当前动作匹配,因此确定目标事件为唤醒语音助手。
可供交互的事件可以具有长期性,即可以一直存在,可以称这类事件为长期的可供交互的事件。例如,用户在任何时刻都可以唤醒数字助手,因此唤醒数字助手可以作为常态存在的可供交互的事件。再例如,手机处于锁屏状态下时,锁屏状态下,用户可能会点亮屏幕来简短的查看接收到的消息,也可能解锁屏幕来使用手机,因此,锁屏状态下包括熄屏时手机收到的若干未处理的历史消息、手机解锁进入主屏以使用手机这两个可供交互的事件,并且是常态存在的。
可供交互的事件也可以具有实时性,即只发生在一段短时间内,可以称这类事件为实时的可供交互的事件。例如,接收到消息后,用户可能有预览消息的需求。在简短预览后,如果消息比较重要,则可能要查看完整的消息。再例如,接收到来电请求后,用户可能有接听来电/挂断来电的需求。
可选地,若同一个交互前动作对应两个或两个以上的可供交互的事件时,在从可供交互的事件中确定目标事件时,优先从实时的可供交互事件中确定目标事件,当没有实时的可供交互事件,或者当前用户的交互前动作不是用于处理当前的实时的可供交互的事件时,再从一直存在的可供交互事件中确定目标事件。
例如,如图9中(a)所示,用户想要以扬声器形式接听电话,手机确定用户拿起手机并靠近嘴部,手机当前的进程中有“手机收到来电”和“唤醒语音助手”两个可供交互的事件,其中,“手机收到来电”具有实时性,即当手机有来电时才有此事件,没来电时没有此事件,而“唤醒语音助手”具有长期性,即用户随时拿起手机就有的事件。由于用户是在手机收到来电后才产生的交互前动作,由此手机判断用户的意图更大可能性是想接听电话,因此手机确定目标事件为“手机收到来电”。
图13示出了本申请实施例提供的人机交互的方法1300的示意性流程图,该方法1300包括:
S1301,获取第一变化,第一变化包括用户的肢体动作变化、用户的至少部分肢体相对电子设备的位置变化、电子设备的位置变化和电子设备相对用户的位置变化中的至少一项。
可选地,用户的至少部分肢体相对电子设备的位置变化可以包括用户的头部相对电子设备的距离变小。如图8中的(a)所示,用户想要使用语音助手,因此用户会产生拿起手机靠近头部或嘴部的交互前动作,当手机识别出该交互前动作后,会推断用户想要唤醒语音助手,接着手机会自动唤醒语音助手。
可选地,电子设备的位置变化可以包括:电子设备向上移动。如前文,电子设备也可以通过传感器采集的和用户无关的数据,结合用户的行为数据来辅助确定用户当前的交互前动作。如图8中的(a)所示,手机可以识别出用户头部或嘴部与手机之间的距离在逐渐变短,除此之外,还可以识别到手机在向上移动,手机可以综合以上两种信息确定用户的交互前动作为拿起手机靠近用户头部。若通过陀螺仪识别到手机处于静止状态,如图6中(a)所示,则确定用户的交互前动作为人的手部主动靠近手机。
S1302,处理目标事件,该目标事件为唤醒语音助手。
可选地,在识别出可以表征用户想要唤醒语音助手的交互前动作后,电子设备会在与用户之间的距离小于预设值的情况下,唤醒语音助手。例如,如图8中的(a)所示,当用户拿起手机逐渐靠近用户头部或嘴部的情况下,且与用户头部之间的距离小于8厘米时,手机可以自动唤醒语音助手。
图14示出了上述实施例中涉及的一种人机交互的装置1400的一种可能的组成示意图,该装置1400可以设置于上述手机等电子设备中。
当该装置1400用于实现图12的方法实施例中的功能时,该装置1400可以包括:
获取单元1410:可以用于获取第一变化,第一变化包括用户的肢体动作变化、用户的至少部分肢体相对电子设备的位置变化、电子设备的位置变化和电子设备相对用户的位置变化中的至少一项;
处理单元1420:可以用于处理目标事件,目标事件为查看电子设备上的实时消息。
可选地,用户的肢体动作变化包括:用户的头部发生转动。
可选地,用户的头部发生转动是根据用户的头部反射面由头部侧面变换至头部正面而确定的。
可选地,目标事件为多个可供交互的事件中的一个事件。
可选地,处理单元1420还可以用于令电子设备由熄屏显示界面进入锁屏界面。
可选地,在用户的头部相对电子设备的距离变小的情况下,处理单元1420还用于:令电子设备在锁屏界面上显示实时消息的全部内容。
可选地,用户的头部相对电子设备的距离变小是根据用户的头部反射面由小变大而确定的。
可选地,获取单元1410还可以用于在电子设备出现待处理事件的情况下,获取第一变化。
可选地,获取单元1410还可以用于利用毫米波雷达传感器、激光雷达传感器和超声波雷达传感器中的至少一种获取第一变化。
可选地,如图15所示,人机交互的装置1400还可以包括:
确定单元1430:可以用于根据电子设备的当前进程,确定多个可供交互的事件,从而可以从多个可供交互的事件中确定出目标事件。
可选地,确定单元1430还可以用于确定多个可供交互的事件的优先级排序,多个可供交互的事件包括实时可供交互的事件和长期可供交互的事件,实时可供交互的事件的优先级大于长期可供交互的事件的优先级,实时可供交互的事件为需要用户在预设时间内处理的事件,长期可供交互的事件为用户随时可以处理的事件;根据第一变化和优先级排序从多个可供交互的事件中确定目标事件。
当该人机交互的装置1400用于实现图13的方法实施例中的功能时,该装置1400可以包括:
获取单元1410:可以用于获取第一变化,第一变化包括用户的肢体动作变化、用户的至少部分肢体相对电子设备的位置变化、电子设备的位置变化和电子设备相对用户的位置变化中的至少一项;
处理单元1420:可以用于处理目标事件,目标事件为唤醒语音助手。
可选地,用户的至少部分肢体相对电子设备的位置变化包括:用户的头部相对电子设备的距离变小。
可选地,电子设备的位置变化包括:电子设备向上移动。
可选地,处理单元1420还可以用于在电子设备与用户之间的距离小于预设值的情况下,唤醒语音助手。
本实施例提供的装置,用于执行上述人机交互的方法,因此可以达到与上述实现方法相同的效果。
需要说明的是,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能单元的功能描述,在此不再赘述。
可以理解的是,电子设备为了实现上述功能,其包含了执行各个功能相应的硬件和/或软件模块。结合本文中所公开的实施例描述的各示例的算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。本领域技术人员可以结合实施例对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
本实施例可以根据上述方法示例对电子设备进行功能单元的划分,例如,可以对应各个功能划分各个功能单元,也可以将两个或两个以上的功能集成在一个处理单元中。上述集成的单元可以采用硬件的形式实现。需要说明的是,本实施例中对单元的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。
在采用对应各个功能划分各个功能单元的情况下,图16示出了上述实施例中涉及的电子设备1600的一种可能的组成示意图,如图16所示,该电子设备包括:一个或多个处理器1610,一个或多个存储器1620,该一个或多个存储器1620存储有一个或多个计算机程序,这一个或多个计算机程序包括指令。当该指令被一个或多个处理器1610运行时,使得手机等电子设备执行上述实施例中的技术方案。
本申请实施例提供了一种计算机程序产品,当计算机程序产品在手机等电子设备运行时,使得手机等电子设备执行上述实施例中的技术方案,其实现原理和技术效果与上述方法相关实施例类似,此处不再赘述。
本申请实施例提供一种计算机可读存储介质,计算机可读存储介质包含指令,当指令在手机等电子设备运行时,使得手机等电子设备执行上述实施例中的技术方案。
通过以上实施方式的描述,领域的技术人员可以了解到,为描述的方便和简洁,仅以上述各功能单元的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能单元完成,即将装置的内部结构划分成不同的功能单元,以完成以上描述的全部或者部分功能。
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个装置,或一些 特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是一个物理单元或多个物理单元,即可以位于一个地方,或者也可以分布到多个不同地方。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该软件产品存储在一个存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本申请各个实施例方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(read only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
以上内容,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。

Claims (19)

  1. 一种人机交互的方法,其特征在于,所述方法应用于电子设备,所述方法包括:
    获取第一变化,所述第一变化包括用户的肢体动作变化、所述用户的至少部分肢体相对所述电子设备的位置变化、所述电子设备的位置变化和所述电子设备相对所述用户的位置变化中的至少一项;
    处理目标事件,所述目标事件为查看所述电子设备上的实时消息。
  2. 根据权利要求1所述的方法,其特征在于,所述用户的肢体动作变化包括:所述用户的头部发生转动。
  3. 根据权利要求2所述的方法,其特征在于,所述用户的头部发生转动是根据所述用户的头部反射面由头部侧面变换至头部正面而确定的。
  4. 根据权利要求1至3中任一项所述的方法,其特征在于,所述目标事件为多个可供交互的事件中的一个事件。
  5. 根据权利要求4所述的方法,其特征在于,所述方法还包括:
    根据所述电子设备的当前进程,确定所述多个可供交互的事件。
  6. 根据权利要求4或5所述的方法,其特征在于,所述方法还包括:
    确定所述多个可供交互的事件的优先级排序,所述多个可供交互的事件包括实时可供交互的事件和长期可供交互的事件,所述实时可供交互的事件的优先级大于长期可供交互的事件的优先级,所述实时可供交互的事件为需要所述用户在预设时间内处理的事件,所述长期可供交互的事件为所述用户随时可以处理的事件;
    根据所述第一变化和所述优先级排序,从所述多个可供交互的事件中确定所述目标事件。
  7. 根据权利要求1至6中任一项所述的方法,其特征在于,所述处理目标事件,包括:所述电子设备由熄屏显示界面进入锁屏界面。
  8. 根据权利要求7所述的方法,其特征在于,在所述用户的头部相对所述电子设备的距离变小的情况下,所述处理目标事件,还包括:
    所述电子设备在所述锁屏界面上显示所述实时消息的全部内容。
  9. 根据权利要求8所述的方法,其特征在于,所述用户的头部相对所述电子设备的距离变小是根据所述用户的头部反射面由小变大而确定的。
  10. 根据权利要求1至9中任一项所述的方法,其特征在于,所述获取第一变化,包括:
    在所述电子设备出现待处理事件的情况下,获取所述第一变化。
  11. 根据权利要求1至10中任一项所述的方法,其特征在于,所述获取第一变化,包括:利用毫米波雷达传感器、激光雷达传感器和超声波雷达传感器中的至少一种获取所述第一变化。
  12. 一种人机交互的方法,其特征在于,所述方法应用于电子设备,所述方法包括:
    获取第一变化,所述第一变化包括用户的肢体动作变化、所述用户的至少部分肢体相对所述电子设备的位置变化、所述电子设备的位置变化和所述电子设备相对所述用户的位置变化中的至少一项;
    处理目标事件,所述目标事件为唤醒语音助手。
  13. 根据权利要求12所述的方法,其特征在于,所述用户的至少部分肢体相对所述电子设备的位置变化包括:所述用户的头部相对所述电子设备的距离变小。
  14. 根据权利要求12或13所述的方法,其特征在于,所述电子设备的位置变化包括:所述电子设备向上移动。
  15. 根据权利要求12至14中任一项所述的方法,其特征在于,在所述电子设备与所述用户之间的距离小于预设值的情况下,唤醒所述语音助手。
  16. 一种人机交互的装置,其特征在于,所述装置包括用于执行如权利要求1至11或12至15中任一项所述的方法的单元。
  17. 一种电子设备,其特征在于,所述电子设备包括:
    存储器,用于存储计算机程序;
    处理器,用于执行所述存储器中存储的所述计算机程序,以使得所述电子设备执行如权利要求1至11或12至15中任一项所述的方法。
  18. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机程序,当所述计算机程序被计算机执行时,使得所述计算机执行如权利要求1至11或12至15中任一项所述的方法。
  19. 一种计算机程序产品,其特征在于,所述计算机程序产品包括:计算机程序,当所述计算机程序被计算机执行时,使得所述计算机执行如权利要求1至11或12至15中任一项所述的方法。
PCT/CN2023/133513 2022-12-02 2023-11-23 一种人机交互的方法和装置 WO2024114493A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211537174.2A CN118131891A (zh) 2022-12-02 2022-12-02 一种人机交互的方法和装置
CN202211537174.2 2022-12-02

Publications (1)

Publication Number Publication Date
WO2024114493A1 true WO2024114493A1 (zh) 2024-06-06

Family

ID=91239370

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/133513 WO2024114493A1 (zh) 2022-12-02 2023-11-23 一种人机交互的方法和装置

Country Status (2)

Country Link
CN (1) CN118131891A (zh)
WO (1) WO2024114493A1 (zh)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103561156A (zh) * 2013-09-24 2014-02-05 北京光年无限科技有限公司 一种通过位移唤醒语音助手的方法
CN104427093A (zh) * 2013-08-23 2015-03-18 中兴通讯股份有限公司 移动终端来电控制方法及移动终端
CN107704086A (zh) * 2017-10-20 2018-02-16 维沃移动通信有限公司 一种移动终端操作方法及移动终端
CN109343710A (zh) * 2018-09-28 2019-02-15 北京小米移动软件有限公司 消息回复方法和装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104427093A (zh) * 2013-08-23 2015-03-18 中兴通讯股份有限公司 移动终端来电控制方法及移动终端
CN103561156A (zh) * 2013-09-24 2014-02-05 北京光年无限科技有限公司 一种通过位移唤醒语音助手的方法
CN107704086A (zh) * 2017-10-20 2018-02-16 维沃移动通信有限公司 一种移动终端操作方法及移动终端
CN109343710A (zh) * 2018-09-28 2019-02-15 北京小米移动软件有限公司 消息回复方法和装置

Also Published As

Publication number Publication date
CN118131891A (zh) 2024-06-04

Similar Documents

Publication Publication Date Title
EP3872807B1 (en) Voice control method and electronic device
WO2021052263A1 (zh) 语音助手显示方法及装置
CN113645351B (zh) 应用界面交互方法、电子设备和计算机可读存储介质
WO2021052290A1 (zh) 一种音量调节方法及电子设备
EP3964954A1 (en) Processing method and apparatus for waiting scenario in application
WO2019072178A1 (zh) 一种通知处理方法及电子设备
WO2022127787A1 (zh) 一种图像显示的方法及电子设备
WO2020073288A1 (zh) 一种触发电子设备执行功能的方法及电子设备
US20230117194A1 (en) Communication Service Status Control Method, Terminal Device, and Readable Storage Medium
WO2021078032A1 (zh) 用户界面的显示方法及电子设备
WO2021052139A1 (zh) 手势输入方法及电子设备
WO2022017393A1 (zh) 显示交互系统、显示方法及设备
WO2021082815A1 (zh) 一种显示要素的显示方法和电子设备
WO2022037726A1 (zh) 分屏显示方法和电子设备
WO2022042766A1 (zh) 信息显示方法、终端设备及计算机可读存储介质
JP2022547572A (ja) コールバックストリーム処理方法およびデバイス
WO2022053006A1 (zh) 一种接近光传感器控制方法及相关设备
WO2021218429A1 (zh) 应用窗口的管理方法、终端设备及计算机可读存储介质
WO2022007707A1 (zh) 家居设备控制方法、终端设备及计算机可读存储介质
WO2022166435A1 (zh) 分享图片的方法和电子设备
US20220317841A1 (en) Screenshot Method and Related Device
WO2022022443A1 (zh) 控件移动方法和电子设备
WO2024114493A1 (zh) 一种人机交互的方法和装置
CN113970965A (zh) 消息显示方法和电子设备
WO2022052767A1 (zh) 一种控制设备的方法、电子设备和系统