WO2022052767A1 - 一种控制设备的方法、电子设备和系统 - Google Patents

一种控制设备的方法、电子设备和系统 Download PDF

Info

Publication number
WO2022052767A1
WO2022052767A1 PCT/CN2021/113399 CN2021113399W WO2022052767A1 WO 2022052767 A1 WO2022052767 A1 WO 2022052767A1 CN 2021113399 W CN2021113399 W CN 2021113399W WO 2022052767 A1 WO2022052767 A1 WO 2022052767A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
user
chat interface
instruction
mobile phone
Prior art date
Application number
PCT/CN2021/113399
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 华为技术有限公司
Priority to US18/044,700 priority Critical patent/US20230370400A1/en
Priority to EP21865823.5A priority patent/EP4202618A4/en
Publication of WO2022052767A1 publication Critical patent/WO2022052767A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/046Interoperability with other network applications or services
    • 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
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/02User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail using automatic reactions or user delegation, e.g. automatic replies or chatbot-generated messages
    • 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
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B21/00Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
    • G08B21/18Status alarms
    • G08B21/24Reminder alarms, e.g. anti-loss alarms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2816Controlling appliance services of a home automation network by calling their functionalities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • 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
    • 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
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/18Commands or executable codes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/52User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services
    • 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/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • 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/72469User interfaces specially adapted for cordless or mobile telephones for operating the device by selecting functions from two or more displayed items, e.g. menus or icons

Definitions

  • the present application relates to the field of terminals, and more particularly, to a method, electronic device and system for controlling a device.
  • smart assistants for example, Apple's Siri, Huawei's Xiaoyi, Huawei's Xiao Ai.
  • users can only call out the smart assistant on a fixed interface, such as long-pressing the power button to wake up the device, and then perform human-computer interaction. And if the user does not make special settings, they can only use voice to interact with the device. In this way, the efficiency when the user issues an instruction to the device is relatively low.
  • the present application provides a method, electronic device and system for controlling a device, which help to improve the efficiency when a user issues an instruction to the device.
  • a system in a first aspect, includes a first electronic device and a second electronic device, wherein the first electronic device is used to detect a user's preset operation on a chat interface of an instant messaging application; the first electronic device An electronic device, further configured to display a list on the chat interface in response to the preset operation, where the list includes device information of one or more devices, the one or more devices are associated with a first account, and the first account is the account logged in on the instant messaging application; the first electronic device is also configured to send a notification to the user when it is detected that the user selects the second electronic device from the list and inputs the first instruction of the second electronic device.
  • the second electronic device sends the first instruction; the second electronic device is used for executing the first instruction.
  • the second electronic device that needs to execute the instruction can be selected only by performing a preset operation.
  • an instruction to the second electronic device can be input on the chat interface, and the mobile phone can send the corresponding instruction to the second electronic device, so that the second electronic device can execute the instruction.
  • the process of the user returning to the vicinity of the second electronic device to issue an instruction is avoided, and the efficiency when the user issues an instruction to the device is improved.
  • it also makes the smart assistant of the device anthropomorphic, and it is easier to complete the control of the smart assistant during the chat process, which helps to improve the user experience.
  • the first instruction may be text information or voice information input by the user.
  • the first electronic device is further configured to send a message to the second electronic device when an operation of selecting the second electronic device from the list by the user is detected A second instruction, where the second instruction is used to wake up the second electronic device, or the second instruction is used to request interaction with the second electronic device through the first electronic device.
  • the first electronic device when it detects an operation of the user selecting the second electronic device, it may send a second instruction to the second electronic device.
  • the second electronic device can be woken up first, and after the second electronic device is woken up, the first instruction can be sent to the second electronic device, so that the second electronic device can execute the first instruction.
  • the chat interface includes a single chat interface for two members and a group chat interface for three or more members.
  • the chat interface may also be other chat interfaces, for example, the chat interface may also be a chat interface between the user and the smart assistant of the first electronic device; or, the chat interface may also be a chat interface between the user and a certain A chat interface for the smart assistant in an app.
  • the list further includes member information.
  • the list may include member information in the group and device information of one or more devices.
  • the first interface is a group chat interface
  • the first electronic device is specifically configured to: display the first chat interface of the instant messaging application;
  • the first electronic device displays a second chatting interface, and the second chatting interface includes the list; in response to the operation of the user selecting the second electronic device from the list, from the list
  • the second chat interface jumps to the first chat interface; the first electronic device obtains the first instruction input by the user on the first chat interface.
  • the chat interface is a group chat interface
  • the first electronic device when the first electronic device detects a preset operation, it can jump from the first chat interface to the second chat interface.
  • the first electronic device detects that the user selects the second electronic device from the list, it can jump from the second chat interface to the first chat interface. This is in line with the usage habits of users in the group chat process.
  • the chat interface is a group chat interface
  • the list may also be displayed on the first chat interface.
  • the first electronic device is further configured to: not receive an instruction input by the user within a preset time period, or, when receiving a third instruction input by the user, send The second electronic device sends the third instruction, and the third instruction is used to instruct the end of the interaction with the second electronic device; and receives the reminder information sent by the second electronic device, and the reminder information is used to remind the user to communicate with the second electronic device.
  • the preset operation is performed again when the two electronic devices interact; the reminder information is displayed on the chat interface.
  • the first electronic device if it does not receive an instruction to the second electronic device input by the user or receives an instruction input by the user to end the interaction with the second electronic device, it can indicate the second electronic device to the second electronic device.
  • the electronic device ends the interaction.
  • the second electronic device may send reminder information to the first electronic device, and after sending the reminder information to the first electronic device, the second electronic device may enter a non-awakened state, thereby helping to save power consumption of the second electronic device.
  • the first electronic device can display the reminder information through the chat interface, which helps the user to know that the second electronic device has stopped interacting with the user.
  • the second electronic device is further configured to: send reminder information to the first electronic device when the instruction sent by the first electronic device is not received within a preset period of time, where the reminder information is used for The user is reminded to perform the preset operation again when interacting with the second electronic device; the first electronic device is further configured to display the reminder information on the chat interface.
  • the second electronic device if it does not receive an instruction sent by the first electronic device within a preset time period, it can send reminder information to the first electronic device, so that the first electronic device can remind the user to The preset operation is performed again when the two electronic devices interact.
  • the reminder information is sent to the first electronic device
  • the second electronic device can enter a non-awakened state, thereby helping to save power consumption of the second electronic device.
  • the first electronic device can display the reminder information through the chat interface, which helps the user to know that the second electronic device has stopped interacting with the user.
  • the first electronic device is further configured to: receive an execution result of the first instruction by the second electronic device; and display the execution result on the chat interface.
  • the first electronic device may display the corresponding execution result on the chat interface. In this way, it is convenient for the user to check the execution result of the first instruction by the second electronic device in time.
  • the one or more devices include devices with intelligence capabilities under the first account.
  • the one or more devices include a device with smart capabilities authorized for use by the first account through the second account.
  • the user in addition to issuing instructions to the user's own device on the chat interface, the user can also issue instructions to other users' devices authorized to the user, which can facilitate the user to control other users' devices.
  • the one or more devices are smart and online devices.
  • the second account includes the account of the chat object of the user corresponding to the first account on the chat interface.
  • the user may issue an instruction to the user and the equipment of the chatting object.
  • different device information can be displayed in this list. This helps to protect the device privacy of users and chat objects, and also helps to improve the intelligence of electronic devices.
  • the preset operation is an operation of the user inputting @.
  • a method for controlling a device is provided, the method is applied to a first electronic device, the method includes: the first electronic device displays a chat interface of an instant messaging application; in response to detecting a preset operation on the chat interface , the first electronic device displays a list on the chat interface, the list includes device information of one or more devices, and the one or more devices includes a second electronic device; the first electronic device obtains the user's information in the chat The first instruction to the second electronic device input on the interface; the first electronic device sends the first instruction to the second electronic device.
  • a user when a user needs to issue an instruction to other devices during a chat with other users, he only needs to perform a preset operation to select the second electronic device that needs to execute the instruction, and can enter the correct pair on the chat interface.
  • the mobile phone can send the corresponding instruction to the second electronic device according to the instruction of the second electronic device, so that the second electronic device executes the instruction.
  • the process of the user returning to the vicinity of the second electronic device to issue an instruction is avoided, and the efficiency when the user issues an instruction to the device is improved.
  • it also makes the smart assistant of the device anthropomorphic, and it is easier to complete the control of the smart assistant during the chat process, which helps to improve the user experience.
  • the first instruction may be text information or voice information input by the user.
  • the method before acquiring the first instruction for the second electronic device input by the user on the chat interface, the method further includes: in response to detecting that the user selects the list from the list select the second electronic device in the operation, the first electronic device sends a second command to the second electronic device, the second command is used to wake up the second electronic device, or the second command is used to request The first electronic device interacts with the second electronic device.
  • the first electronic device when it detects an operation of the user selecting the second electronic device, it may send a second instruction to the second electronic device.
  • the second electronic device can be woken up first, and after the second electronic device is woken up, the first instruction can be sent to the second electronic device, so that the second electronic device can execute the first instruction.
  • the chat interface includes a single chat interface for two members and a group chat interface for three or more members.
  • the chat interface may also be other chat interfaces, for example, the chat interface may also be a chat interface between the user and the smart assistant of the first electronic device; or, the chat interface may also be a chat interface between the user and a certain A chat interface for the smart assistant in an app.
  • the list further includes member information.
  • the list may include member information in the group and device information of one or more devices.
  • the first interface is a group chat interface
  • the chat interface displaying the instant messaging application includes: the first electronic device displaying the first chatting of the instant messaging application interface; the displaying a list on the chat interface in response to detecting a preset operation on the chat interface includes: in response to detecting the preset operation on the first chat interface, the first electronic device displays a second a chatting interface, the second chatting interface includes the list; wherein, acquiring the first instruction for the second electronic device input by the user on the chatting interface includes: responding to the user selecting the second electronic device from the list operation, jump from the second chat interface to the first chat interface; the first electronic device obtains the first instruction input by the user on the first chat interface.
  • the chat interface is a group chat interface
  • the first electronic device when the first electronic device detects a preset operation, it can jump from the first chat interface to the second chat interface.
  • the first electronic device detects that the user selects the second electronic device from the list, it can jump from the second chat interface to the first chat interface. This is in line with the usage habits of users in the group chat process.
  • the chat interface is a group chat interface
  • the list may also be displayed on the first chat interface.
  • the method further includes: within a preset time period, the first electronic device does not receive a user input instruction, or the first electronic device receives a user input instruction
  • the first electronic device sends the third instruction to the second electronic device, and the third instruction is used to instruct to end the interaction with the second electronic device
  • the first electronic device receives the second electronic device Sending reminder information, the reminder information is used to remind the user to perform the preset operation again when interacting with the second electronic device
  • the first electronic device displays the reminder information on the chat interface.
  • the first electronic device if it does not receive an instruction to the second electronic device input by the user or receives an instruction input by the user to end the interaction with the second electronic device, it can indicate the second electronic device to the second electronic device.
  • the electronic device ends the interaction.
  • the second electronic device may send reminder information to the first electronic device, and after sending the reminder information to the first electronic device, the second electronic device may enter a non-awakened state, thereby helping to save power consumption of the second electronic device.
  • the first electronic device can display the reminder information through the chat interface, which helps the user to know that the second electronic device has stopped interacting with the user.
  • the method further includes: receiving, by the first electronic device, an execution result of the first instruction by the second electronic device; display the result of the execution.
  • the first electronic device may display the corresponding execution result on the chat interface. In this way, it is convenient for the user to check the execution result of the first instruction by the second electronic device in time.
  • the one or more devices include devices with intelligence capabilities under a first account, where the first account is an account logged in on the instant messaging application.
  • the one or more devices further include a device with smart capabilities authorized for use by the first account through the second account.
  • the user in addition to issuing instructions to the user's own device on the chat interface, the user can also issue instructions to other users' devices authorized to the user, which can facilitate the user to control other users' devices.
  • the one or more devices are smart and online devices.
  • the second account includes the account of the chat object of the user corresponding to the first account on the chat interface.
  • the user may issue an instruction to the user and the equipment of the chatting object.
  • different device information can be displayed in this list. This helps to protect the device privacy of users and chat objects, and also helps to improve the intelligence of electronic devices.
  • the preset operation is an operation for the user to input @.
  • a device for controlling a device comprising: a display unit for displaying a chat interface of an instant messaging application; a detection unit for detecting a preset operation on the chat interface; the display unit, is also used to display a list on the chat interface in response to the preset operation, the list includes device information of one or more devices, and the one or more devices includes a second electronic device; an acquiring unit is used to acquire The first instruction to the second electronic device input by the user on the chat interface; the sending unit is configured to send the first instruction to the second electronic device.
  • an electronic device comprising: one or more processors; a memory; and one or more computer programs. Wherein, one or more computer programs are stored in the memory, the one or more computer programs comprising instructions. When the instruction is executed by the electronic device, the electronic device is caused to execute the method of controlling the device in any one of the possible implementations of the second aspect above.
  • a computer program product comprising instructions, which, when the computer program product is run on an electronic device, causes the electronic device to execute the method for controlling a device according to the second aspect above.
  • a computer-readable storage medium comprising instructions, when the instructions are executed on an electronic device, the electronic device causes the electronic device to execute the method for controlling a device described in the second aspect above.
  • a chip for executing instructions, and when the chip is running, the chip executes the method for controlling a device described in the second aspect above.
  • FIG. 1 is a schematic diagram of a hardware structure of an electronic device provided by an embodiment of the present application.
  • FIG. 2 is a block diagram of a software structure provided by an embodiment of the present application.
  • FIG. 3 is a set of graphical user interfaces provided by an embodiment of the present application.
  • FIG. 4 is another set of graphical user interfaces provided by an embodiment of the present application.
  • FIG. 5 is another set of graphical user interfaces provided by the embodiments of the present application.
  • FIG. 6 is another set of graphical user interfaces provided by an embodiment of the present application.
  • FIG. 7 is another set of graphical user interfaces provided by the embodiments of the present application.
  • FIG. 8 is another set of graphical user interfaces provided by the embodiments of the present application.
  • FIG. 9 is another set of graphical user interfaces provided by the embodiments of the present application.
  • FIG. 10 is another set of graphical user interfaces provided by the embodiments of the present application.
  • FIG. 11 is another set of graphical user interfaces provided by the embodiments of the present application.
  • FIG. 12 is another set of graphical user interfaces provided by the embodiments of the present application.
  • FIG. 13 is another set of graphical user interfaces provided by the embodiments of the present application.
  • FIG. 14 is another set of graphical user interfaces provided by the embodiments of the present application.
  • FIG. 15 is another set of graphical user interfaces provided by the embodiments of the present application.
  • FIG. 16 is a schematic flowchart of a method for controlling a device provided by an embodiment of the present application.
  • FIG. 17 is a schematic flowchart of a first electronic device determining device in a list provided in an embodiment of the present application.
  • FIG. 18 is another schematic flowchart of a method for controlling a device provided by an embodiment of the present application.
  • first and second are only used for descriptive purposes, and should not be construed as indicating or implying relative importance or implicitly indicating the number of indicated technical features.
  • a feature defined as “first” or “second” may expressly or implicitly include one or more of that feature.
  • plural means two or more.
  • the methods provided in the embodiments of the present application can be applied to mobile phones, tablet computers, wearable devices, in-vehicle devices, augmented reality (AR)/virtual reality (VR) devices, notebook computers, ultra-mobile personal computers (ultra mobile personal computers) -mobile personal computer, UMPC), netbook, personal digital assistant (personal digital assistant, PDA) and other electronic devices, the embodiments of the present application do not impose any restrictions on the specific types of electronic devices.
  • AR augmented reality
  • VR virtual reality
  • notebook computers notebook computers
  • netbook personal digital assistant
  • PDA personal digital assistant
  • FIG. 1 shows a schematic structural diagram of an electronic device 100 .
  • the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charge management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2 , mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, sensor module 180, buttons 190, motor 191, indicator 192, camera 193, display screen 194, and User identification (subscriber identification module, SIM) card interface 195 and so on.
  • 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, and ambient light. Sensor 180L, bone conduction sensor 180M, etc.
  • the structures illustrated in the embodiments of the present application do not constitute a specific limitation on the electronic device 100 .
  • the electronic device 100 may include more or less components than shown, or some components are combined, or some components are separated, or different components are arranged.
  • the illustrated components may be implemented in hardware, software, or a combination of software and hardware.
  • the processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), controller, memory, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (NPU) Wait. Wherein, different processing units may be independent devices, or may be integrated in one or more processors.
  • application processor application processor, AP
  • modem processor graphics processor
  • graphics processor graphics processor
  • ISP image signal processor
  • controller memory
  • video codec digital signal processor
  • DSP digital signal processor
  • NPU neural-network processing unit
  • the controller may be the nerve center and command center of the electronic device 100 .
  • the controller can generate an operation control signal according to the instruction operation code and timing signal, and complete the control of fetching and executing instructions.
  • a memory may also be provided in the processor 110 for storing instructions and data.
  • the memory in processor 110 is cache memory. This memory may hold instructions or data that have just been used or recycled by the processor 110 . If the processor 110 needs to use the instruction or data again, it can be called directly from the memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby increasing the efficiency of the system.
  • the processor 110 may include one or more interfaces.
  • the interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous transceiver (universal asynchronous transmitter) receiver/transmitter, UART) interface, mobile industry processor interface (MIPI), general-purpose input/output (GPIO) interface, subscriber identity module (SIM) interface, and / or universal serial bus (universal serial bus, USB) interface, etc.
  • I2C integrated circuit
  • I2S integrated circuit built-in audio
  • PCM pulse code modulation
  • PCM pulse code modulation
  • UART universal asynchronous transceiver
  • 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 that includes a serial data line (SDA) and a serial clock line (SCL).
  • the processor 110 may contain multiple sets of I2C buses.
  • the processor 110 can be respectively coupled to the touch sensor 180K, the charger, the flash, the camera 193 and the like through different I2C bus interfaces.
  • the processor 110 may couple the touch sensor 180K through the I2C interface, so that the processor 110 and the touch sensor 180K communicate with each other through the I2C bus interface, so as to realize the touch function of the electronic device 100 .
  • the I2S interface can be used for audio communication.
  • the processor 110 may contain multiple sets of I2S buses.
  • the processor 110 may be coupled with the audio module 170 through an I2S bus to implement communication between the processor 110 and the audio module 170 .
  • the audio module 170 can transmit audio signals to the wireless communication module 160 through the I2S interface, so as to realize the function of answering calls through a Bluetooth headset.
  • the PCM interface can also be used for audio communications, sampling, quantizing and encoding analog signals.
  • the audio module 170 and the wireless communication module 160 may be coupled through a PCM bus interface.
  • the audio module 170 can also transmit audio signals to the wireless communication module 160 through the PCM interface, so as to realize the function of answering calls through the 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 used for asynchronous communication.
  • the bus may be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication.
  • a UART interface is typically used to connect the processor 110 with 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 audio signals to the wireless communication module 160 through the UART interface, so as to realize the function of playing music through the 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 .
  • MIPI interfaces include camera serial interface (CSI), display serial interface (DSI), etc.
  • the processor 110 communicates with the camera 193 through a CSI interface, so as to realize the photographing function of the electronic device 100 .
  • the processor 110 communicates with the display screen 194 through 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 may be used to connect the processor 110 with the camera 193, the display screen 194, the wireless communication module 160, the audio module 170, the sensor module 180, and the like.
  • the GPIO interface can also be configured as I2C interface, I2S interface, UART interface, MIPI interface, etc.
  • the USB interface 130 is an interface that conforms to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, and the like.
  • the USB interface 130 can be used to connect a charger to charge the electronic device 100, and can also be used to transmit data between the electronic device 100 and peripheral devices. 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.
  • the interface connection relationship between the modules illustrated in the embodiments of the present application is only a schematic illustration, and does not constitute a structural limitation of the electronic device 100 .
  • the electronic device 100 may also adopt different interface connection manners in the foregoing embodiments, or a combination of multiple interface connection manners.
  • the charging management module 140 is used to receive charging input from the charger.
  • the charger may be a wireless charger or a wired charger.
  • the charging management module 140 may receive charging input from the 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 charges the battery 142 , it can also supply power to the electronic device through the power management module 141 .
  • the power management module 141 is used for connecting 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 times, battery health status (leakage, impedance).
  • the power management module 141 may also be provided in the processor 110 .
  • the power management module 141 and the charging management module 140 may also be provided in the same device.
  • the wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modulation and demodulation processor, the baseband processor, and the like.
  • Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in electronic device 100 may be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.
  • the antenna 1 can be multiplexed as a diversity antenna of the wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
  • the mobile communication module 150 may provide wireless communication solutions including 2G/3G/4G/5G etc. applied on the electronic device 100 .
  • the mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA) and the like.
  • the mobile communication module 150 can receive electromagnetic waves from the antenna 1, filter and amplify the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation.
  • the mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and then turn it into an electromagnetic wave for radiation through the antenna 1 .
  • at least part of the functional modules of the mobile communication module 150 may be provided in the processor 110 .
  • at least part of the functional modules of the mobile communication module 150 may be provided in the same device as at least part 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 and high frequency signal.
  • the demodulator is used to demodulate the received electromagnetic wave signal into a low frequency baseband signal. Then the demodulator transmits the demodulated low-frequency baseband signal to the baseband processor for processing.
  • the low frequency baseband signal is processed by the baseband processor and passed to the application processor.
  • the application processor outputs sound signals through audio devices (not limited to the speaker 170A, the receiver 170B, etc.), or displays images or videos through the display screen 194 .
  • the modem processor may be a stand-alone device.
  • the modem processor may be independent of the processor 110, and may be provided in the same device as the mobile communication module 150 or other functional modules.
  • the wireless communication module 160 can provide applications on the electronic device 100 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellites Wireless communication solutions such as global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared technology (IR).
  • WLAN wireless local area networks
  • BT Bluetooth
  • GNSS global navigation satellite system
  • FM frequency modulation
  • NFC near field communication
  • IR infrared technology
  • the wireless communication module 160 may be one or more devices integrating at least one communication processing module.
  • the wireless communication module 160 receives electromagnetic waves via the antenna 2 , frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110 .
  • the wireless communication module 160 can also receive the signal to be sent from the processor 110 , perform frequency modulation on it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2 .
  • the antenna 1 of the electronic device 100 is coupled with the mobile communication module 150, and the antenna 2 is coupled with 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), broadband 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.
  • the GNSS may include a global positioning system (global positioning system, GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (quasi -zenith satellite system, QZSS) and/or satellite based augmentation systems (SBAS).
  • GPS global positioning system
  • GLONASS global navigation satellite system
  • BDS Beidou navigation satellite system
  • QZSS quasi-zenith satellite system
  • SBAS satellite based augmentation systems
  • the electronic device 100 implements a display function through a GPU, a display screen 194, an application processor, and the like.
  • the GPU is a microprocessor for image processing, and is connected to the display screen 194 and the application processor.
  • the GPU is used to perform mathematical and geometric calculations for graphics rendering.
  • Processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
  • Display screen 194 is used to display images, videos, and the like.
  • 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 (active-matrix organic light).
  • LED diode AMOLED
  • flexible light-emitting diode flexible light-emitting diode (flex light-emitting diode, FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diode (quantum dot light emitting diodes, QLED) and so on.
  • the electronic device 100 may include one or N display screens 194 , where N is a positive integer greater than one.
  • the electronic device 100 may implement a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, an application processor, and the like.
  • the ISP is used to process the data fed back by the camera 193 .
  • the shutter is opened, 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 the ISP for processing, and converts it into an image visible to the naked eye.
  • ISP can also perform algorithm optimization on image noise, brightness, and skin tone.
  • ISP can also optimize the exposure, color temperature and other parameters of the shooting scene.
  • the ISP may be provided in the camera 193 .
  • Camera 193 is used to capture still images or video.
  • the object is projected through the lens to generate an optical image onto the photosensitive element.
  • the photosensitive element may 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 transmits the electrical signal to the ISP to convert it into a digital image signal.
  • the ISP outputs the digital image signal to the DSP for processing.
  • DSP converts digital image signals into standard RGB, YUV and other formats of image signals.
  • the electronic device 100 may include 1 or N cameras 193 , where N is a positive integer greater than 1.
  • a digital signal processor is used to process digital signals, in addition to processing digital image signals, it can also process other digital signals. For example, when the electronic device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy and so on.
  • Video codecs are used to compress or decompress digital video.
  • the electronic device 100 may support one or more video codecs.
  • the electronic device 100 can play or record videos of various encoding formats, such as: Moving Picture Experts Group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4 and so on.
  • MPEG Moving Picture Experts Group
  • MPEG2 moving picture experts group
  • MPEG3 MPEG4
  • MPEG4 Moving Picture Experts Group
  • the NPU is a neural-network (NN) computing processor.
  • NN neural-network
  • Applications such as intelligent cognition of the electronic device 100 can be implemented through the NPU, such as image recognition, face recognition, speech recognition, text understanding, and the like.
  • 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 realize the data storage function. For example to save files like music, video etc in external memory card.
  • Internal memory 121 may be used to store computer executable program code, which includes instructions.
  • the processor 110 executes various functional applications and data processing of the electronic device 100 by executing the instructions stored in the internal memory 121 .
  • the internal memory 121 may include a storage program area and a storage data area.
  • the storage program area can store an operating system, an application program required for at least one function (such as a sound playback function, an image playback function, etc.), and the like.
  • the storage data area may store data (such as audio data, phone book, etc.) created during the use of the electronic device 100 and the like.
  • the internal memory 121 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, universal flash storage (UFS), and the like.
  • the electronic device 100 may implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, an application processor, and the like. Such as music playback, recording, etc.
  • the audio module 170 is used for converting digital audio information into analog audio signal output, and also for converting analog audio input into digital audio signal. Audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be provided in the processor 110 , or some functional modules of the audio module 170 may be provided in the processor 110 .
  • Speaker 170A also referred to as a "speaker" is used to convert audio electrical signals into sound signals.
  • the electronic device 100 can listen to music through the speaker 170A, or listen to a hands-free call.
  • the receiver 170B also referred to as "earpiece" is used to convert audio electrical signals into sound signals.
  • the voice can be answered by placing the receiver 170B close to the human ear.
  • the microphone 170C also called “microphone” or “microphone” is used to convert sound signals into electrical signals.
  • the user can make a sound by approaching the microphone 170C through a human mouth, and input the sound signal into the microphone 170C.
  • the electronic device 100 may be provided with at least one microphone 170C. In other embodiments, the electronic device 100 may be provided with two microphones 170C, which can implement a noise reduction function in addition to collecting sound signals. In other embodiments, the electronic device 100 may further be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, and implement directional recording functions.
  • the earphone jack 170D is used to connect wired earphones.
  • the earphone interface 170D can be the USB interface 130, or can be a 3.5mm open mobile terminal platform (OMTP) standard interface, 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 pressure signals, and can convert the pressure signals into electrical signals.
  • the pressure sensor 180A may be provided on the display screen 194 .
  • the capacitive pressure sensor may be comprised of at least two parallel plates of conductive material. When a force is applied to the pressure sensor 180A, the capacitance between the electrodes changes.
  • the electronic device 100 determines the intensity of the pressure according to the change in capacitance. When a touch operation acts on the display screen 194, the electronic device 100 detects the intensity of the touch operation according to the pressure sensor 180A.
  • the electronic device 100 may also calculate the touched 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 may correspond to different operation instructions. For example, when a touch operation whose intensity is less than the first pressure threshold acts on the short message application icon, the instruction for viewing 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, the instruction to create a new short message is executed.
  • the gyro sensor 180B may be used to determine the motion attitude of the electronic device 100 .
  • the angular velocity of electronic device 100 about three axes ie, x, y, and z axes
  • the gyro sensor 180B can be used for image stabilization.
  • the gyro sensor 180B detects the shaking angle of the electronic device 100, calculates the distance that the lens module needs to compensate according to the angle, and allows the lens to offset the shaking of the electronic device 100 through reverse motion to achieve anti-shake.
  • the gyro sensor 180B can also be used for navigation and somatosensory game scenarios.
  • 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 in positioning and navigation.
  • the magnetic sensor 180D includes a Hall sensor.
  • the electronic device 100 can detect the opening and closing of the flip holster using the magnetic sensor 180D.
  • the electronic device 100 can detect the opening and closing of the flip according to the magnetic sensor 180D. Further, according to the detected opening and closing state of the leather case or the opening and closing state of the flip cover, characteristics such as automatic unlocking of the flip cover are set.
  • the acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in various directions (generally three axes).
  • the magnitude and direction of gravity can be detected when the electronic device 100 is stationary. It can also be used to identify the posture of electronic devices, and can be used in applications such as horizontal and vertical screen switching, pedometers, etc.
  • the electronic device 100 can measure the distance through 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.
  • Proximity light sensor 180G may include, for example, light emitting diodes (LEDs) and light detectors, such as photodiodes.
  • the light emitting diodes may be infrared light emitting diodes.
  • the electronic device 100 emits infrared light to the outside through the light emitting diode.
  • Electronic device 100 uses photodiodes 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 may 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.
  • Proximity light sensor 180G can also be used in holster mode, pocket mode automatically unlocks and locks the screen.
  • the ambient light sensor 180L is used to sense ambient light brightness.
  • the electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived ambient light brightness.
  • the ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures.
  • the ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in a pocket, so as to prevent accidental touch.
  • the fingerprint sensor 180H is used to collect fingerprints.
  • the electronic device 100 can use the collected fingerprint characteristics to realize fingerprint unlocking, accessing application locks, taking pictures with fingerprints, answering incoming calls with fingerprints, and the like.
  • the temperature sensor 180J is used to detect the 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 value, the electronic device 100 reduces the performance of the processor located near the temperature sensor 180J in order to reduce power consumption and implement thermal protection.
  • the electronic device 100 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 caused by the low temperature.
  • the electronic device 100 boosts the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.
  • Touch sensor 180K also called “touch panel”.
  • the touch sensor 180K may be disposed on the display screen 194 , and the touch sensor 180K and the display screen 194 form a touch screen, also called a “touch screen”.
  • the touch sensor 180K is used to detect a touch operation on or near it.
  • the touch sensor can pass the detected touch operation to the application processor to determine the type of touch event.
  • Visual output related to touch operations may be provided through display screen 194 .
  • the touch sensor 180K may also be disposed on the surface of the electronic device 100 , which is different from the location where the display screen 194 is located.
  • the bone conduction sensor 180M can acquire vibration signals.
  • the bone conduction sensor 180M can acquire the vibration signal of the vibrating bone mass of the human voice.
  • the bone conduction sensor 180M can also contact the pulse of the human body and receive the blood pressure beating signal.
  • the bone conduction sensor 180M can also be disposed in the earphone, combined with the bone conduction earphone.
  • the audio module 170 can analyze the voice signal based on the vibration signal of the vocal vibration bone block obtained by the bone conduction sensor 180M, so as to realize the voice function.
  • the application processor can analyze the heart rate information based on the blood pressure beat signal obtained by the bone conduction sensor 180M, and realize the function of heart rate detection.
  • the keys 190 include a power-on key, a volume key, and the like. Keys 190 may be mechanical keys. It can also be a touch key.
  • the electronic device 100 may receive key inputs and generate key signal inputs related to user settings and function control of the electronic device 100 .
  • Motor 191 can generate vibrating cues.
  • the motor 191 can be used for vibrating alerts for incoming calls, and can also be used for touch vibration feedback.
  • touch operations acting on different applications can correspond to different vibration feedback effects.
  • the motor 191 can also correspond to different vibration feedback effects for touch operations on different areas of the display screen 194 .
  • Different application scenarios for example: time reminder, receiving information, alarm clock, games, etc.
  • the touch vibration feedback effect can also support customization.
  • the indicator 192 can be an indicator light, which can be used to indicate the charging state, the change of the power, and can also be used to indicate a message, a missed call, a notification, and the like.
  • the SIM card interface 195 is used to connect a SIM card.
  • the SIM card can be contacted and separated from the electronic device 100 by inserting into the SIM card interface 195 or pulling out from the SIM card interface 195 .
  • the electronic device 100 may 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 card, Micro SIM card, SIM card and so on. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the plurality of cards may 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 is also compatible with external memory cards.
  • the electronic device 100 interacts with the network through the SIM card to implement functions such as call and data communication.
  • the electronic device 100 adopts an embedded SIM (embedded-SIM, eSIM) card, that is, an embedded SIM card.
  • the eSIM card can be embedded in the electronic device 100 and cannot be separated from the
  • the telephone cards in the embodiments of the present application include but are not limited to SIM cards, eSIM cards, universal subscriber identity modules (USIM), universal integrated telephone cards (universal integrated circuit cards, UICC) and the like.
  • the software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture.
  • the embodiments of the present application take an Android system with a layered architecture as an example to exemplarily describe the software structure of the electronic device 100 .
  • FIG. 2 is a block diagram of the software structure of the electronic device 100 according to the embodiment of the present application.
  • the layered architecture divides the software into several layers, and each layer has a clear role and division of labor. Layers communicate with each other through software interfaces.
  • the Android system is divided into four layers, which are, from top to bottom, an application layer, an application framework layer, an Android runtime (Android runtime) and a system library, and a kernel layer.
  • the application layer can include a series of application packages.
  • the application package can include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message and so on.
  • the application framework layer provides an application programming interface (application programming interface, API) and a programming framework for applications in the application layer.
  • the application framework layer includes some predefined functions.
  • the application framework layer may include window managers, content providers, view systems, telephony managers, resource managers, notification managers, and the like.
  • a window manager is used to manage window programs.
  • the window manager can get the size of the display screen, determine whether there is a status bar, lock the screen, take screenshots, etc.
  • Content providers are used to store and retrieve data and make these data accessible to applications.
  • the data may include video, images, audio, calls made and received, browsing history and bookmarks, phone book, etc.
  • the view system includes visual controls, such as controls for displaying text, controls for displaying pictures, and so on. View systems can be used to build applications.
  • a display interface can consist of one or more views.
  • the display interface including the short message notification icon may include a view for displaying text and a view for displaying pictures.
  • the phone manager is used to provide the communication function of the electronic device 100 .
  • the management of call status including connecting, hanging up, etc.).
  • the resource manager provides various resources for the application, such as localization strings, icons, pictures, layout files, video files and so on.
  • the notification manager enables applications to display notification information in the status bar, which can be used to convey notification-type messages, and can disappear automatically after a brief pause without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc.
  • the notification manager can also display notifications in the status bar at the top of the system in the form of graphs or scroll bar text, such as notifications of applications running in the background, and notifications on the screen in the form of dialog windows. For example, text information is prompted in the status bar, a prompt sound is issued, the electronic device vibrates, and the indicator light flashes.
  • Android Runtime includes core libraries and a virtual machine. Android runtime is responsible for scheduling and management of the Android system.
  • the core library consists of two parts: one is the function functions that the java language needs to call, and the other is the core library of Android.
  • the application layer and the application framework layer run in virtual machines.
  • 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 lifecycle management, stack management, thread management, safety and exception management, and garbage collection.
  • a system library can include multiple functional modules. For example: surface manager (surface manager), media library (media library), 3D graphics processing library (eg: OpenGL ES), 2D graphics engine (eg: SGL), etc.
  • surface manager surface manager
  • media library media library
  • 3D graphics processing library eg: OpenGL ES
  • 2D graphics engine eg: SGL
  • the Surface Manager is used to manage the display subsystem and provides a 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 still image files.
  • 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.
  • 2D graphics engine is a drawing engine for 2D drawing.
  • the kernel layer is the layer between hardware and software.
  • the kernel layer contains at least display drivers, camera drivers, audio drivers, and sensor drivers.
  • FIG. 3 is a set of graphical user interfaces (graphical user interface, GUI) provided by the embodiments of the present application.
  • the GUI is the desktop of the mobile phone.
  • the desktop of the mobile phone includes icons of multiple application programs (App1 to App9).
  • App1 to App9 the mobile phone detects that the user clicks the icon of App1, the mobile phone can open App1 and display the GUI shown in (b) of FIG. 3 .
  • the GUI is the display interface of App1.
  • App1 may be an instant messaging application.
  • the display interface includes chat records of multiple contacts.
  • the chat record of each contact includes the contact's avatar, the contact's nickname, the latest chat record with the contact, and the time information of the latest chat record.
  • the mobile phone detects that the user clicks on the chat record with the father, the mobile phone can display a GUI as shown in (c) of FIG. 3 .
  • the GUI is a chat interface between the daughter and the father.
  • the daughter can send the text message "Dad, I have a good movie to recommend to you" to the father through the chat interface.
  • the mobile phone After the mobile phone receives the text message "Okay, make an appointment to go home to see” sent by the father through another electronic device, the mobile phone can display the message to the daughter through the display interface. After that, the daughter can continue to send the text message "OK" to the father through the chat interface.
  • the GUI is another chat interface between the daughter and the father.
  • the daughter wants to make an appointment to watch a movie through the smart screen, she can enter "@" in the text input box.
  • the mobile phone After the mobile phone detects that the user inputs "@" in the text input box, the mobile phone can display the GUI shown in (e) of FIG. 3 .
  • the GUI is another chat interface between the daughter and the father.
  • the mobile phone detects that the user has entered "@” in the text input box, the mobile phone can display the device list, which includes "smart screen", “speaker” and "P40". After the mobile phone detects the user's operation of selecting the smart screen, the mobile phone can display a GUI as shown in (f) in FIG. 3 .
  • the smart screen, the speaker, and the P40 in the device list may be devices under the same account.
  • P40 can be the mobile phone that the user is currently using, and App1 on the mobile phone is logged in to the user's Huawei account 1, and the mobile phone can obtain the device information of other devices logged in to Huawei account 1 (for example, the device type, whether it supports smart capabilities, and whether it supports function, etc.). Therefore, the mobile phone displays the corresponding device in the device list.
  • the smart screen, the speaker, and the P40 may be devices with smart capabilities under Huawei account 1.
  • the manner in which the mobile phone displays the device information of one or more devices in the device list includes but is not limited to:
  • the mobile phone After detecting that the user has entered “@” in the text input box, the mobile phone can request the device information of other devices under Huawei account 1 from the server. After receiving the device information sent by the server, the mobile phone can determine the devices with smart capabilities and online, so as to display the device information of these devices (such as “smart screen” and “speaker”) and its own device information ( For example, "P40").
  • the mobile phone After detecting that the user has entered “@” in the text input box, the mobile phone requests the server for device information of other devices with smart capabilities and online under Huawei account 1. After receiving the device information sent by the server, the mobile phone can display the device information of these devices (for example, "smart screen” and “speaker”) and its own device information (for example, "P40") in the device list.
  • the device can send its device information to the server.
  • the server can send the device information to the mobile phone, so that the mobile phone can save the device information of other devices under Huawei account 1.
  • the mobile phone detects that the user has clicked "@”
  • the mobile phone can send a query request to the smart-capable device under Huawei account 1, and the query request is used to request to determine whether it is online. If the phone (for example, P40) receives the response from the smart screen and speaker, the phone can display the smart screen, speaker and P40 in the device list.
  • the GUI is another chat interface between the daughter and the father.
  • the mobile phone detects the user's operation of selecting "Smart Screen”
  • the mobile phone can display the text message "@Smart Screen” in the chat interface, and the mobile phone can send instructions to the smart screen. If the smart screen is in an unawakened state, this instruction can be used to wake up the smart screen; or, if the smart screen is in an awakened state, this instruction can be used to indicate that the user wishes to interact with the smart screen through the mobile phone.
  • the smart screen if the smart screen is in an unawakened state when receiving the instruction, then the smart screen performs a wake-up operation when receiving the instruction, and sends the execution result of the instruction to the mobile phone, and the execution result may include text. Messages such as "Hi, what can I help you with”. After receiving the text information, the mobile phone displays the text information through the chat interface. As shown in (f) of Figure 3, the mobile phone can display the smart screen in the chat interface and reply the text message "Hello, what can I help you with", and the user can input text information through the chat interface to control the smart screen.
  • the GUI is another chat interface between the daughter and the father.
  • the mobile phone detects that the user has replied to the text message "Make an appointment to play Nezha at 8 pm"
  • the mobile phone can send an instruction to the smart screen, and the instruction includes the text message.
  • the smart screen can identify the slot information and user intent in the text information through the natural language understanding (NLU) module.
  • NLU natural language understanding
  • the smart screen can search for movies related to "Nezha”. If the searched movies about “Nezha” include “Movie 1" and "Movie 2", then the smart screen can determine that the information about the movie name in the slot is missing. The smart screen can send the information of "Movie 1" and "Movie 2" (for example, the thumbnails of "Movie 1” and “Movie 2") and request information to the mobile phone, and the request information is used to request the user from “Movie 1" and "Movie 2". Confirm which one to play in "The Movie 2".
  • the description is given by taking the user replying text information in the chat interface as an example. It can be understood that the user can also reply voice information in the chat interface. Exemplarily, the user may reply by voice in the chat interface "Make an appointment to play Nezha at 8 pm". Then the mobile phone can send the voice information to the smart screen, and the automatic speech recognition (ASR) module in the smart screen can first forward the voice information into text information, so as to analyze the text information. For another example, the user may also reply to images and files in the chat interface, which is not limited in this embodiment.
  • ASR automatic speech recognition
  • the GUI is another chat interface between the daughter and the father.
  • the mobile phone receives the information of "Movie 1" and “Movie 2" and the request information sent by the smart screen, the mobile phone can prompt the user "Okay, for You found the following 2 results, which one to book please” and displays the information of "Movie 1" and "Movie 2".
  • the GUI is another chat interface between the daughter and the father.
  • the mobile phone can send the text message to the smart screen.
  • the smart screen can determine that the movie the user wants to reserve is "Movie 1".
  • the smart screen can determine the user's intention and slot information.
  • Table 1 shows the user intent and slot information determined by the smart screen.
  • Intent can be understood as a classifier, which determines the type of the sentence expressed by the user, and then the program corresponding to this type does special analysis.
  • the "program corresponding to this type” can be a robot (Bot). For example, if the user says, “Play me a happy song,” the NLU module determines that the user's intent is classified as music, so it calls out The music robot (Bot) recommends a song to the user to play. When the user thinks that it is not right, he says: "Change another song", or the music robot will continue to serve the user until the user expresses other questions, and the intention is not music. At the same time, switch to another robot to serve the user.
  • the NLU module needs to further understand the content of the dialogue. For the sake of simplicity, the most core part can be selected for understanding, and the others can be ignored. Those most important parts can be called slots. For example, if the user's intent is to "book a movie", two core slots can be defined, namely "time” and "movie name”. For another example, if the user's intention is to "book air tickets”, then three core slots can be defined, namely "Departure Time”, "Origin” and "Destination”.
  • the NLU module of the smart screen After the NLU module of the smart screen determines the user's intention and slot information, it can send the user's intention and slot information to the intention processing module of the smart screen.
  • the intention processing module can determine that the user's intention is to "book a movie", which is related to the intention.
  • the slot information is "8 o'clock in the evening” and ""Movie 1", so as to reserve the user to play “Movie 1" at 8 o'clock in the evening.
  • the smart screen After making a reservation for the user to play "Movie 1" at 8 pm, the smart screen can send the execution result of the user's instruction to the mobile phone, and the execution result can be a text message "Okay, it has been reserved for you to play "Movie 1" at 8 pm. ".
  • a certain smart device includes an NLU module, it can be considered that the smart device has a smart capability (or has a smart assistant).
  • the GUI is another chat interface between the daughter and the father.
  • the mobile phone receives the text message sent by the smart screen, it can present the text message "Okay, I have made an appointment for you to play "Movie 1" at 8pm on the chat interface.
  • the mobile phone when a user needs to issue an instruction to other devices in the process of chatting with other users, he only needs to enter "@" in the text input box to select the device that needs to execute the instruction, and can pass the text message ( Or, voice) to send the command, the mobile phone can send the corresponding command to the corresponding device, so that the corresponding device can execute the command. It avoids the process of the user returning to the vicinity of the device to give instructions, and also makes the smart assistant of the device anthropomorphic, and it is easier to control the smart assistant during the chat process, which helps to improve the user experience.
  • the above shows the changing process of the display interface of the daughter's mobile phone.
  • the process of changing the interface of the mobile phone of the contact dad is displayed.
  • the mobile phone can display a message reminder box, wherein the message reminder box prompts that the message is a message from App1, The user who sent the message is a daughter, and the content of the message is "Dad, I have a good movie to recommend to you".
  • the GUI as shown in (b) in FIG. 4 can be displayed.
  • the GUI is a chat interface between the father and the daughter.
  • the mobile phone can display the message "Dad, I have a good movie to recommend to you" from the daughter on the chat interface.
  • the GUI is another chat interface between the father and the daughter.
  • the father can send the text message "Okay, make an appointment to come home to see” to the daughter through the chat interface.
  • the mobile phone After receiving the text message "OK” sent by the daughter through another electronic device, the mobile phone can display the text message through the chat interface.
  • the father can see the interaction process between the daughter and the smart screen in the chat interface, so that it can be determined that the daughter has successfully issued an instruction to the smart screen, and there is no need for the daughter to convey the instruction to the father again. It avoids the process of the father needing to ask the daughter again whether the instruction to the smart screen is successfully issued, thereby helping to improve the user experience.
  • FIG. 5 is another set of GUIs provided by the embodiments of the present application.
  • the GUI is another chat interface between the daughter and the father. After the daughter completes the interaction with the smart screen through the chat interface, she can also interact with the smart speaker through the chat interface. As shown in (a) of FIG. 5 , when the mobile phone detects that the user inputs “@”, the GUI shown in (b) of FIG. 5 may be displayed.
  • the GUI is another chat interface between the daughter and the father.
  • the mobile phone detects the user's operation of clicking "@”
  • the mobile phone can display the device list, which includes "smart screen", "speaker” and "P40".
  • the mobile phone After the mobile phone detects the user's operation of selecting the speaker, the mobile phone can display a GUI as shown in (c) in FIG. 5 .
  • the GUI is another chat interface between the daughter and the father.
  • the phone detects the user's operation of selecting the speaker, the phone can display the text message "@speaker" sent by the daughter on the chat interface and the phone can send instructions to the speaker. If the speaker is in an unawakened state, the instruction can be used to wake up the speaker; or, if the speaker is in an awake state, the instruction can be used to indicate that the user wishes to interact with the speaker through the mobile phone.
  • the speaker performs a wake-up operation when receiving the instruction, and sends the execution result of the instruction to the mobile phone, and the execution result includes the text message " Here, Master.”
  • the mobile phone displays the text information through the chat interface. As shown in (c) of FIG. 5 , the mobile phone can display in the chat interface that the speaker replies with the text message "I'm here, master".
  • the mobile phone When the mobile phone detects that the user continues to input the text message "Set an alarm for taking medicine at 10 o'clock in the evening" on the chat interface, the mobile phone can continue to send instructions to the speaker, which includes the text message "Set me a night time" 10 o'clock alarm for taking medicine". After receiving the instruction, the speaker can identify the user intent and slot information in the text information through the NLU module. Exemplarily, Table 2 shows the user intent and slot information determined by the speaker.
  • the NLU module of the speaker After the NLU module of the speaker determines the user's intention and slot information, it can send the user's intention and slot information to the speaker's intent processing module.
  • the intent processing module can determine that the user's intention is to "set an alarm", which is related to the intention
  • the slot information is "10 o'clock in the evening” and "remind to take medicine", so as to set an alarm for 10 o'clock in the evening.
  • the speaker sets the 10:00 pm alarm for the user, it can send the execution result of the user's instruction to the mobile phone. After receiving the execution result, the mobile phone can display on the chat interface that the speaker replies with the text message "Okay, the alarm for taking medicine at 10 o'clock in the evening has been set for you".
  • the user can issue instructions to multiple devices on the chat interface, which avoids the need for the user to go back to the corresponding device accessory to send instructions, and also makes the intelligent assistant of the device anthropomorphic, making it easier to communicate during the chat process. Completing the control of the smart assistant helps to improve the user experience.
  • FIG. 5 is described by taking the user @ multiple devices as an example, and it can be understood that the user can also @ multiple devices at the same time.
  • the mobile phone detects that the user selects the speaker from the device list, it can not send "@speaker", but display it in the text input box; then the mobile phone detects again that the user has clicked "@” and selects it from the device list.
  • P40 is selected in the text input box, so that "@speaker@smart screen" is displayed in the text input box.
  • the mobile phone When the mobile phone detects that the user clicks the send control, the mobile phone can display that the user replied "@speaker@smart screen" in the chat interface, so that the mobile phone can send commands to the speaker and P40 (for example, the command is used to wake up the speaker and P40). Afterwards, when the mobile phone detects that the user has replied "Set the alarm for 8 am” in the chat interface, the mobile phone can send another command to the speaker and the P40, which carries the text message "Set me to 8 am in the morning”. alarm”.
  • FIG. 3 to FIG. 5 are described by taking the chat between the daughter and the father as an example. It can be understood that, as shown in FIG. 6 , the above method is also applicable to the chat process of the group.
  • FIG. 6 is another set of GUIs provided by the embodiments of the present application.
  • the GUI is another display interface of App1.
  • the display interface includes chat records of multiple contacts.
  • the chat records of the multiple contacts include chat records of a group (the group name is family, and the members of the group include father, mother, and daughter).
  • the mobile phone detects that the user clicks on the chat record of the group, the mobile phone can display a GUI as shown in (b) of FIG. 6 .
  • the GUI is the chat interface of the group.
  • the daughter can send the text message "Mom and Dad, I have a good movie to recommend to you" in the group.
  • Dad can reply to the text message "Okay, make an appointment to come home and watch” in the group.
  • the daughter can reply to the text message "OK” in the group chat interface.
  • the GUI is another chat interface of the group.
  • the daughter wants to make an appointment to watch a movie through the smart screen, she can enter "@" in the text input box.
  • the mobile phone After the mobile phone detects that the user inputs "@” in the text input box, the mobile phone can display the GUI shown in (d) of FIG. 6 .
  • the GUI is the display interface of the contact person who needs to be reminded and the smart device.
  • the mobile phone can display the display interface, where the display interface includes contacts and smart devices.
  • the contacts that need to be reminded include father and mother; the smart devices that need to be reminded include “smart screens” and “smart speakers”.
  • the mobile phone can display the GUI as shown in (e) of FIG. 6 .
  • the account logged in on the smart device displayed in the display interface and the account logged in on the mobile phone are the same account.
  • the account logged in on the mobile phone is Huawei account 1
  • the account logged in on the smart screen and the smart speaker is also Huawei account 1.
  • the mobile phone can obtain the device information of other devices under Huawei account 1 from the server in advance, so that the corresponding device can be displayed in the smart device that needs to be reminded.
  • the smart device that needs to be reminded is a device with smart capabilities under Huawei account 1.
  • the GUI is another chat interface of the group.
  • the mobile phone detects the user's operation of selecting "Smart Screen”
  • the mobile phone can display the text message "@Smart Screen” sent by the daughter on the chat interface.
  • the mobile phone can send an instruction to the smart screen, and the process of executing the instruction by the smart screen can refer to the description in FIG. 3 above, which is not repeated here for brevity.
  • the smart screen can send the execution result of the instruction to the mobile phone, and the execution result can include the text message "Hello, what can I help you with”.
  • the mobile phone After receiving the execution result sent by the smart screen, the mobile phone can display the text message "Hello, what can I help you with” on the chat interface.
  • the GUI is another chat interface of the group.
  • the daughter can continue to send instructions to the smart screen.
  • the mobile phone detects on the chat interface that the user has sent the text message "Make an appointment to play "Movie 1" at 8 pm, the mobile phone can display the text message and send the text message to the smart screen.
  • the GUI is another chat interface of the group.
  • the smart screen receives the instruction sent by the mobile phone (the instruction includes the text message "reservation to play "Movie 1" at 8:00 pm), it can analyze the user's intention and slot information in the instruction. For the specific analysis process, please refer to The descriptions in the foregoing embodiments are not repeated here for brevity.
  • the smart screen can make an appointment for the user to play "Movie 1" at 8 pm.
  • the smart screen can also send the execution result of the instruction to the mobile phone.
  • the execution result includes the text information, and it has been reserved for you to play "Movie 1" at 8:00 pm.
  • the mobile phone receives the text information, it can The chat interface shows that the smart screen replied to the text message "Okay, I have made an appointment for you to play "Movie 1" at 8 pm.
  • the user in the chat interface of the group, can not only remind other contacts in the group, but also remind the smart device, so as to issue an instruction to the smart device in the chat interface of the group. It avoids the process of the user returning to the vicinity of the device to give instructions, and also makes the smart assistant of the device anthropomorphic, and it is easier to control the smart assistant during the chat process, which helps to improve the user experience.
  • FIG. 7 is another set of GUIs provided by the embodiments of the present application.
  • the GUI is a chat interface between the daughter and the father.
  • the daughter needs to send instructions to other devices on the chat interface, she can first enter "@" to select the corresponding device.
  • the mobile phone detects that the user clicks "@”
  • the GUI as shown in (b) of FIG. 7 can be displayed.
  • the GUI is another chat interface between the daughter and the father.
  • the mobile phone detects that the user clicks "@”
  • the mobile phone can display a list of devices, which includes the daughter's device (smart screen and P40) and the father's device (MatePad Pro and smart speakers).
  • the GUI shown in (c) in Figure 7 can be displayed.
  • the father's devices displayed in the device list may be all devices with intelligence capabilities under the dad's account, or may also be devices with intelligence capabilities authorized for use by the daughter through the dad's account.
  • the device of the daughter and the device of the current contact can be displayed (or the current contact authorizes the daughter to use it. device of).
  • the device of the daughter and the device of the father can be displayed.
  • the device of the daughter and the device of the mother can be displayed.
  • the mobile phone can display the daughter's device and the devices authorized for the daughter to use through other accounts.
  • the father authorizes the daughter to use the MatePad Pro and smart speakers through the father's account
  • the mother authorizes the daughter to use the laptop (for example, MateBook X) through the mother's account.
  • the chat interface as shown in (b) in Figure 7, when the mobile phone detects that the user has inputted "@", it can display the device list, which includes the daughter's device (smart screen and P40), the father's device devices (MatePad Pro and smart speakers) and mom's device (MateBook X).
  • the GUI is another chat interface between the daughter and the father.
  • the mobile phone detects that the user has selected the MatePad Pro, the mobile phone can display the text message "@MatePad Pro" sent by the daughter in the chat interface, and the mobile phone can send instructions to the MatePad Pro. If the MatePad Pro is in an unawakened state, this command can be used to wake up the MatePad Pro; or, if the MatePad Pro is in an awakened state, this command can be used to indicate that the user wishes to interact with the MatePad Pro through the mobile phone.
  • MatePad Pro performs a wake-up operation when receiving the command, and sends the execution result of the command to the mobile phone, and the execution result includes text information. "Hello, what can I help you with”. After the mobile phone receives the text message, it is displayed through the chat interface that MatePad Pro replied to the text message "Hello, what can I help you with”.
  • the GUI is another chat interface between the daughter and the father.
  • the mobile phone detects that the user has sent the text message "reservation to play "Movie 1" at 8:00 pm, the mobile phone can send an instruction to the MatePad Pro, and the instruction includes the text message.
  • MatePad Pro After MatePad Pro receives the text information, it can analyze the user's intention and slot information in the text information. For the specific analysis process, please refer to the description in the above embodiment. For brevity, it will not be repeated here. After MatePad Pro determines the user's intention and slot information, it can make an appointment for the user to play "Movie 1" at 8 pm.
  • the GUI is another chat interface between the daughter and the father.
  • MatePad Pro can also send the execution result of the instruction to the mobile phone, and the execution result includes the text information.
  • the mobile phone After receiving the text message, the mobile phone can display on the chat interface that MatePad Pro replied to the text message "Okay, we have made an appointment for you to play "Movie 1" at 8 pm.
  • FIG. 8 is another set of GUIs provided by the embodiments of the present application.
  • the GUI is the chat interface of the group.
  • the daughter needs to send instructions to other devices on the chat interface, she can first enter "@" to select the corresponding device.
  • the mobile phone detects that the user clicks "@”
  • the GUI as shown in (b) in FIG. 8 can be displayed.
  • the GUI is the display interface of the contact person who needs to be reminded and the smart device.
  • the mobile phone After the mobile phone detects that the user has input "@" in the text input box, the mobile phone can display the display interface, where the display interface includes contacts and smart devices.
  • the contacts who need to be reminded include father and mother; the smart devices that need to be reminded include the daughter's device, the father's device, and the mother's device.
  • the mobile phone detects the user's operation of scrolling down the slide bar 801
  • the mobile phone can display the GUI as shown in (c) in FIG. 8 .
  • the devices of other contacts in the device list of the smart devices that need to be reminded may be all devices with smart capabilities under the accounts of other contacts; or, it may be The smart device authorized to be used by the daughter through the account of the other contact; or, the smart device added by other contacts in App1 that can be used by other members of the group.
  • the GUI is another display interface of the contact person who needs to be reminded and the smart device.
  • the mobile phone detects that the user selects the MatePad Pro, the mobile phone can display the GUI shown in (d) in Figure 8.
  • the GUI is another chat interface of the group.
  • the mobile phone detects that the user has selected the MatePad Pro, the mobile phone can display the text message "@MatePad Pro" sent by the daughter on the chat interface, and the mobile phone can send instructions to the MatePad Pro.
  • the process of executing the instruction by the MatePad Pro reference may be made to the above-mentioned embodiment, which is not repeated here for brevity.
  • MatePad Pro can send the execution result to the mobile phone, the execution result includes the text message "Hello, what can I help you with”.
  • the phone can show that the MatePad Pro replied to the text message.
  • the mobile phone detects that the user has sent the text message "Reservation to play "Movie 1" at 8:00 pm, the mobile phone can send an instruction to MatePad Pro, which includes the text message "Reservation to play "Movie 1" at 8:00 pm.
  • MatePad Pro After MatePad Pro receives the command, it can analyze the user intent and slot information in the command.
  • MatePad Pro can send the execution result to the mobile phone, and the execution result includes the text message "Okay, it has been reserved for you to play "Movie 1" at 8 pm.
  • the phone can show that the MatePad Pro replied to the text message.
  • the user may issue an instruction to the devices of other users. It avoids the process of the user returning to the vicinity of the device to give instructions, and also makes the smart assistant of the device anthropomorphic, and it is easier to control the smart assistant during the chat process, which helps to improve the user experience.
  • my dad's Huawei account is logged in on the MatePad Pro, but my dad doesn't know how to give instructions to the MatePad Pro. If the father authorizes the MatePad Pro to the daughter, the daughter can help the father give instructions to the MatePad Pro.
  • my mother's Huawei account is logged in to the smart speaker, but my mother doesn't know how to give instructions to the smart speaker.
  • the daughter can give instructions to the mother's smart speaker in the chat interface, such as setting an alarm for the mother to take medicine at 10 o'clock in the evening. In this way, the process of the daughter teaching the father and mother to use the device is avoided, and the learning cost of the user is saved, thereby helping to improve the user experience.
  • FIGs 3 to 8 above are described by taking the user inputting “@Smart Screen” first and then inputting an instruction as an example. As shown in Figure 9, the user can also input "@Smart Screen” together with the instruction.
  • FIG. 9 is another set of GUIs provided by the embodiments of the present application.
  • the GUI is a chat interface between the daughter and the father.
  • the mobile phone detects that the user has entered “@” in the text input box, it can display a list of devices, including “smart screen”, “speaker” and "P40".
  • the mobile phone detects the user's operation of selecting the smart screen, the mobile phone can continue to input the instructions sent to the smart screen after "@Smart Screen”.
  • the GUI is another chat interface between the daughter and the father.
  • the user entered “@SmartScreen help me make an appointment to play "Movie 1" at 8 pm in the text input box.
  • the mobile phone can display the GUI shown in (c) of FIG. 9 .
  • the mobile phone in the GUI shown in (e) of FIG. 3 , after the mobile phone detects that the user has selected the operation of the smart screen, the mobile phone can directly display in the chat interface that the user replied "@Smart Screen” , in this case, there is no need for the user to click the send control; and for the GUI as shown in (a) in Figure 9, after detecting that the user has selected the operation of the smart screen, the mobile phone can display "@Smart Screen” in the text input box ” (the text information has not been sent out at this time), the user can then edit other text information that needs to be sent to the smart screen in the text input box. When the mobile phone detects that the user clicks the send control, the mobile phone will send the edited content in the text input box.
  • the GUI is another chat interface between the daughter and the father.
  • the mobile phone can display the text message sent by the daughter "@Smart Screen help me make an appointment to play "Movie 1" at 8 pm.
  • the mobile phone can send an instruction to the smart screen, and the instruction includes the text message "Help me make an appointment to play "Movie 1" at 8 pm.
  • the smart screen can analyze the user's intention and slot information, so as to make an appointment for the user to play "Movie 1" at 8 pm.
  • the smart screen After the smart screen makes an appointment for the user to play "Movie 1" at 8 pm, the smart screen can also send the execution result of the instruction to the mobile phone, and the execution result includes the text message "Okay, it has been reserved for you to play at 8 pm" Movie 1".
  • the smart screen can enter the wake-up state when receiving the command, and execute the command after entering the wake-up state.
  • the GUI is another chat interface between the daughter and the father.
  • the mobile phone can display the reply content of the smart screen on the chat interface "Okay, I have made an appointment for you to play "Movie 1" at 8 pm.
  • the user can directly input the corresponding command after @ the corresponding smart device, so that the mobile phone can send the corresponding command to the smart device, so that the command can be quickly issued to the smart device, reducing the need for mobile phone and
  • the number of interactions of smart devices helps to improve the efficiency of interactions between users and smart devices.
  • the user can also input "@smart speaker@P40, help me set the alarm for 10 am” in the text input box.
  • the mobile phone detects the user's operation of clicking the send control, the mobile phone can display the text message "@smart speaker@P40, help me set the alarm for 10 am” in the chat interface, and the mobile phone can send the message to the smart speaker and P40 Send an instruction, which can carry the text message "set me an alarm for 10 in the morning".
  • FIG. 10 is another set of GUIs provided by the embodiments of the present application.
  • the GUI is the chat interface of the group.
  • the mobile phone detects the user's selection of "Smart Screen”
  • the mobile phone can display the text message "@Smart Screen” sent by the daughter on the chat interface.
  • the mobile phone can send an instruction to the smart screen, and the process of executing the instruction by the smart screen can refer to the description in the above embodiment, which is not repeated here for brevity.
  • the smart screen can send the execution result of the instruction to the mobile phone, and the execution result can include the text message "Hello, what can I help you with”.
  • the mobile phone After receiving the execution result sent by the smart screen, the mobile phone can display the text message "Hello, what can I help you with” on the chat interface.
  • the GUI is another chat interface of the group.
  • the mother replied “Yes” in the chat interface.
  • the mobile phone detects that the user has sent the text message "Yes” in the chat interface, it sends an instruction to the smart screen, and the instruction includes the text message "Yes”.
  • the smart screen receives the text information, it can determine that the text information does not contain the user's intention and slot information, so the smart screen can ignore the text information.
  • the mobile phone When the mobile phone detects that the user sends the text message "Reservation to play "Movie 1" at 8:00 pm in the chat interface, the mobile phone can send another instruction to the smart screen, and the other instruction includes the text message "Reservation for 8 o'clock in the evening". Click to play "Movie 1"".
  • the smart screen can analyze the user's intention and slot information, so as to make an appointment for the user to play "Movie 1" at 8 pm. For the specific analysis process, reference may be made to the descriptions in the foregoing embodiments, which are not repeated here for brevity.
  • the smart screen After the smart screen makes an appointment for the user to play "Movie 1" at 8 pm, the smart screen can also send the execution result of the instruction to the mobile phone, and the execution result includes the text message "Okay, it has been reserved for you to play” at 8 pm Movie 1".
  • the mobile phone when the mobile phone detects that the user has sent text information in the chat interface, it can analyze the user intent and slot information in the text information. If the mobile phone determines that the text information includes the user intent and the slot information. bit information, then the mobile phone can forward the user intent and slot information to the smart screen. Exemplarily, when the mobile phone detects that the user has sent the text message "Yes" in the chat interface, the mobile phone can determine that the user's intention and slot information are not included, so the mobile phone may not send instructions to the smart screen; When the mobile phone detects that the user has sent the text message "Reservation to play "Movie 1" at 8:00 p.m.
  • the mobile phone can determine that it includes the user's intention and slot information, and then the mobile phone can send the user's analysis to the smart screen. Intention and slot information, so that the smart screen can perform corresponding operations according to the user's intention and slot information.
  • the GUI is another chat interface between the daughter and the father.
  • the smart screen can display the reply content of the smart screen on the chat interface, "Okay, I have made an appointment for you to play "Movie 1" at 8 pm.
  • FIG. 11 is another GUI provided by the embodiment of the present application.
  • the mobile phone can send an instruction to the smart screen, and the instruction includes the text message "it's ok”.
  • the smart screen can determine that the user wants to end the interaction with the smart screen, so that the smart screen can send the execution result of the instruction to the mobile phone, and the execution result includes the text message "Okay, please @@ when needed. I”.
  • the mobile phone receives the execution result, it can display the smart screen in the chat interface and reply "Okay, please @ me again when needed”.
  • the conditions for ending the interaction are that the mobile phone receives the user's instruction to end the interaction and the mobile phone does not receive the user's instruction within the preset time.
  • the interaction condition may also be that the smart screen receives an instruction sent by the mobile phone within a preset time, etc., which is not limited in this embodiment of the present application.
  • the above describes the process of the user interacting with the smart device in the chat interface in the embodiment of the present application with reference to the GUIs in FIG. 3 to FIG. 12 .
  • the following describes the process of sharing a smart device between users with reference to FIG. 13 to FIG. 15 .
  • FIG. 13 is a set of GUIs provided by the embodiments of the present application.
  • the GUI is the desktop of the mobile phone.
  • the desktop of the mobile phone includes icons of multiple application programs (App1 to App9).
  • App1 to App9 the mobile phone detects that the user clicks the icon of App2
  • the mobile phone can open App2 and display the GUI shown in (b) of FIG. 13 .
  • the GUI is the display interface of App2.
  • App2 may be a device management application.
  • the display interface shows that the currently logged in Huawei account is 18xxxxx76 and the user's nickname is Dad.
  • My Share the mobile phone can display a GUI as shown in (c) of FIG. 13 .
  • the GUI is the display interface of the shared device.
  • the display interface includes devices shared by the user with other contacts and devices shared with the user by other contacts accepted by the user. "No share has been created, you can share the device after adding members" is displayed on the display interface.
  • the mobile phone detects that the user clicks the operation of "scanning code to add members"
  • the mobile phone can display the GUI as shown in (d) of FIG. 13 .
  • the GUI is an interface for scanning a two-dimensional code. Users can scan other contacts' QR codes with their mobile phones to share the device with other contacts after they are added. As shown in (d) in Figure 13, after the user scans the QR code of the contact 18xxxxx34 with the mobile phone, a reminder box for scanning the code to add a member can be displayed, and the reminder box includes the contact's Huawei account "18xxxxx34". When the mobile phone detects that the user clicks the OK control, the GUI shown in (e) of FIG. 13 can be displayed.
  • the GUI is another display interface of the shared device.
  • the mobile phone can display a reminder box on the display interface, and the reminder box can prompt the user "Mary has been added as a shared member, whether to add a shared device to it".
  • the mobile phone detects that the user clicks the operation of "add sharing”
  • the mobile phone can display the GUI shown in (f) of FIG. 13 .
  • the GUI is an interface for sharing device selection.
  • the mobile phone detects that the user has selected the smart speaker and MatePad Pro and clicked the operation of confirming the control, the mobile phone can display the GUI shown in (g) in Figure 13.
  • the GUI is an interface for sharing device selection.
  • the mobile phone can prompt the user "whether to share the selected device and allow the other party to use it through App2" through a reminder box.
  • the mobile phone detects that the user clicks the OK control, the mobile phone can display the GUI as shown in (h) of FIG. 13 .
  • the GUI is another display interface of the shared device.
  • the display interface shows that the user has shared 2 devices with the contact Mary.
  • App1 and App2 on the mobile phone are both logged into the same account (for example, Dad's Huawei account), then App1 and App2 can share data through the server.
  • the father shares the smart speaker and the MatePad Pro with the contact Mary (daughter of the father) through the mobile phone, then the mobile phone can send the contact Mary's Huawei account and the father's device (smart speaker and MatePad Pro) to the server, Thus, the binding between the father's device and the daughter's account is realized on the server.
  • the server may also send the information of the device shared by the father to the daughter's device (for example, the daughter's mobile phone).
  • the information of the father's device is stored in the daughter's device.
  • the mobile phone may display information about the father's device in the device list.
  • the new device can be automatically added to the daughter (or, a new device can be automatically added to the daughter).
  • the device can be automatically authorized for use by the daughter).
  • FIG. 14 is a set of GUIs provided by the embodiments of the present application.
  • the GUI is another display interface of App2.
  • a function list can be displayed, wherein the function list includes functions such as adding a device, creating a smart device, sharing a device, and connecting to a third-party platform.
  • the mobile phone detects that the user clicks on the shared device, the mobile phone can display a GUI as shown in (b) of FIG. 14 .
  • the GUI is an interface for sharing device selection.
  • the mobile phone detects that the user has selected the smart speaker and MatePad Pro and clicked the operation of confirming the control, the mobile phone can display the GUI shown in (c) in Figure 14.
  • the GUI is a display interface for multiple device sharing modes. Users can share devices by scanning codes, sharing through Huawei accounts, and sharing with friends in App1. When the mobile phone detects that the user clicks the operation of sharing to the friend of App1, the mobile phone can display the GUI as shown in (d) of FIG. 14 .
  • the GUI is the buddy list display interface of App1.
  • the friend list includes the user's friend information in App1.
  • the mobile phone detects that the user has selected the daughter and clicks the OK control, the mobile phone can share the smart speaker and MatePad Pro to the contact daughter in App1.
  • the mobile phone may display information about the father's device in the device list.
  • the two devices may only be displayed on the chat interface between the father and the daughter. It can also be displayed in all chat screens including daughter and dad. For example, if the father shares the smart speaker and MatePad Pro with his daughter, in the chat interface between the daughter and the father, when the mobile phone detects that the user clicks "@", the smart speaker and MatePad Pro can be displayed in the device list. For another example, in the group chat interface of daughter, father and mother, when the mobile phone detects that the user clicks "@", the smart speaker and MatePad Pro can be displayed in the device information that needs to be reminded. In the chat interface between the daughter and other contacts (the other contacts do not include the father), the device shared by the father to the daughter may not be displayed.
  • FIG. 15 is a set of GUIs provided by the embodiments of the present application.
  • the GUI is the chat interface of the group.
  • the mobile phone detects that the user clicks on the control 1501
  • the mobile phone can display a GUI as shown in (b) of FIG. 15 .
  • the GUI is a display interface for group information.
  • the display interface includes information of group devices and group members, wherein the group devices include devices shared by all group members in the group (there are 2 devices in the current group device), and the devices in the group devices Allows all members of the group to take control.
  • the mobile phone detects the operation of the user clicking on the group device, the mobile phone can display a GUI as shown in (c) of FIG. 15 .
  • the GUI is the display interface of the group device.
  • the display interface shows that the devices in the current group include the MatePad Pro shared by dad and the smart speaker shared by mom.
  • the mobile phone detects that the user clicks the control for adding a device, the mobile phone can display a GUI as shown in (d) of FIG. 15 .
  • the GUI is an interface for sharing device selection.
  • the mobile phone detects that the user has selected the smart screen and the P40 and clicked the operation of determining the control, the mobile phone can display the GUI shown in (e) of FIG. 15 .
  • the GUI is another display interface of the group device.
  • the display interface shows that two devices (smart screen and P40) shared by the user are added to the current group of devices.
  • the chat interface between mother and daughter if the mother enters "@" in the text input box, the device can be displayed on the device.
  • the smart screen and P40 are displayed in the list.
  • the smart screen and P40 can be displayed in the device list.
  • FIG. 16 shows a schematic flowchart of a method 1600 for controlling a device in an embodiment of the present application.
  • the method can be performed by the first electronic device, and the method includes:
  • the first electronic device detects a preset operation of a user on a chat interface of an instant messaging application.
  • the instant messaging application may be the above App1.
  • the preset operation may be that the first electronic device detects an operation of the user inputting "@" in the text input box.
  • the preset operation may be that the first electronic device detects a preset gesture (eg, three-finger swipe) of the user on the chat interface.
  • a preset gesture eg, three-finger swipe
  • the chat interface includes a single chat interface for two members and a group chat interface for three or more members.
  • GUI shown in (c) of FIG. 3 is a single chat interface for two members (daughter and father).
  • GUI shown in (b) of FIG. 6 is a group chat interface of three members (daughter, mother and father).
  • chat interface in this embodiment of the present application is not limited to the chat interface shown in (b)-(c) in FIG. 6 , and the chat interface may also include (d) in FIG. 6 or the chat interface in FIG. 8 .
  • the first electronic device displays a list on the chat interface in response to the preset operation, where the list includes device information of one or more devices, and the one or more devices includes the second electronic device.
  • the one or more devices are associated with a first account, where the first account is an account logged in on the instant messaging application (eg, App1).
  • the instant messaging application eg, App1
  • the one or more devices include devices with intelligence capabilities under the first account.
  • the mobile phone when the mobile phone detects that the user has entered "@" in the text input box, the mobile phone can display a device list, where the device list includes a smart screen, a speaker, and a P40.
  • the smart screen, speakers and P40 are devices with smart capabilities under the Huawei account (daughter's Huawei account) logged in on the mobile phone.
  • the one or more devices further include a device with smart capabilities that is authorized to be used by the first account through the second account.
  • the mobile phone when the mobile phone detects that the user has entered "@" in the text input box, the mobile phone can display a device list, wherein the device list includes the daughter's devices (smart screen and P40) and Dad's devices (MatePad Pro and smart speakers).
  • the account currently logged in on the mobile phone is the daughter's Huawei account
  • the daughter's device is the device with intelligence under the daughter's Huawei account
  • the father's device is the device shared with the daughter's Huawei account through the father's Huawei account.
  • the smart device list of the group includes the daughter's device, the father's device, and the mother's device.
  • the father's device may be a device shared to all members of the group through the father's Huawei account
  • the mother's device may be a device shared to all members of the group through the mother's Huawei account.
  • the second account includes the account of the chat object of the user corresponding to the first account on the chat interface.
  • the first account may be the daughter's Huawei account 1
  • the second account may be the father's Huawei account 2.
  • the first account may be the daughter's Huawei account 1
  • the second account may include the father's Huawei account 2 and the mother's Huawei account 3.
  • the instant messaging application may be an application authorized by the first account.
  • the instant messaging application is WeChat (for example, the account currently logged in on WeChat is WeChat account 1), the first account is Huawei account 1, and the device displayed in the list can be authorized to the WeChat account through Huawei account 1. 1 Equipment used.
  • the preset operation can be that the first electronic device detects a preset gesture of the user on the chat interface
  • the first electronic device can monitor the touch event on the chat interface.
  • the first electronic device detects the user's operation of opening App1
  • the first electronic device displays the main interface of App1 (as shown in (b) of FIG. 3 ).
  • the first electronic device detects that the user clicks on the chat record of a certain contact (eg, dad) on the main interface
  • the first electronic device displays a chatting interface with the contact.
  • the first electronic device may start monitoring touch events.
  • the first electronic device may display the list.
  • the first electronic device may adopt monitoring methods such as OnTouchListener and GestureDetector.
  • the list may include device information for one or more devices.
  • the list may be the list shown in (e) of FIG. 3 , and the list includes device information of multiple devices (smart screen, speaker, and P40).
  • the list may include device information of one or more devices and information of members.
  • the list may be the list shown in (d) of FIG. 6 , which includes member information in the group and device information of one or more devices.
  • the first electronic device acquires the first instruction to the second electronic device input by the user on the chat interface.
  • the method before the first electronic device acquires the first instruction to the second electronic device input by the user on the chat interface, the method further includes: the first electronic device detects that the user selects the first instruction from the list. 2. Operation of electronic equipment.
  • the chat interface is a single chat interface for two members.
  • the first electronic device may display the list on the chat interface.
  • the preset operation is that the user inputs "@" in the text input box, then the first electronic device may display the list in the "@" attachment.
  • the chat interface is a group chat interface of three or more members.
  • the first electronic device may display the first chat interface of the instant messaging application.
  • the first electronic device may display a second chat interface, and the second chat interface includes the list (for example, the list may include member information and device information for one or more devices).
  • the first electronic device detects an operation of the user selecting the second electronic device from the list on the second chat interface, the first electronic device jumps from the second chat interface to the first chat interface.
  • the first electronic device obtains the user's first instruction to the second electronic device on the first chat interface.
  • the first instruction may be an instruction that includes user intent.
  • the first electronic device may send a first instruction to the second electronic device, where the first instruction includes: The user intent "books a movie”.
  • the first instruction may be the text message "reservation to play Nezha at 8 o'clock in the evening" sent by the daughter.
  • the first instruction may be the text message "reservation to play "Movie 1" at 8 o'clock in the evening” sent by the daughter.
  • the first instruction may be the text message "@Smart Screen, help me make an appointment to play "Movie 1" at 8 pm” sent by the daughter.
  • the first electronic device may first detect that the user selects the second electronic device, and then detect that the user inputs the first instruction.
  • the first electronic device may directly display "@second electronic device" on the chat interface.
  • the first electronic device may send a second instruction to the second electronic device, where the second instruction is used to wake up the second electronic device, or the second instruction is used to request the first electronic device to communicate with the second electronic device interact.
  • the mobile phone first detects that the user has inputted "@smart screen”. Then, after detecting that the user has inputted "@Smart Screen", the mobile phone can send the second instruction to the smart screen.
  • the mobile phone detects that the user has sent the text message "reservation to play Nezha at 8 pm"
  • it can send a first instruction to the smart screen, where the first instruction includes the user's intention to "reserve a movie”.
  • the first electronic device may detect the operation of the user selecting the second electronic device and inputting the first instruction at the same time.
  • the first electronic device detects that the user selects the second electronic device, it can display "@second electronic device" in the text input box. At this time, the first electronic device does not directly send the content of the text input box. go out. The user can continue to edit the first instruction that needs to be sent to the second electronic device in the text input box.
  • the first electronic device detects that the user clicks on the send control, the first electronic device can display the content edited by the user in the text input box on the chat interface and send the first instruction to the second electronic device.
  • the mobile phone can display "@Smart Screen, help me make an appointment to play "Movie 1" at 8 pm on the chat interface, and the mobile phone can send the first instruction to the smart screen at the same time.
  • the first instruction includes the user's intention to "reserve a movie”.
  • the second electronic device may first enter the awakened state, and then execute the first instruction.
  • the first instruction may include text information or voice information input by the user.
  • the first electronic device sends the first instruction to the second electronic device.
  • the first electronic device may send the first instruction to the second electronic device by means of a network message.
  • Network protocols include, but are not limited to, Transmission Control Protocol (TCP), User Datagram Protocol (UDP), or Hypertext Transfer Protocol (HTTP), and so on.
  • the first electronic device may also send the first instruction to the second electronic device through the server, so that the server forwards the first instruction to the second electronic device.
  • the first electronic device may also send the first instruction to the second electronic device through a short-range wireless communication technology (eg, Bluetooth/Wi-Fi).
  • a short-range wireless communication technology eg, Bluetooth/Wi-Fi.
  • the mobile phone can carry the first instruction in the Bluetooth low energy (Bluetooth low energy, BLE) data. package to the second electronic device.
  • BLE Bluetooth low energy
  • the method further includes: receiving, by the first electronic device, an execution result of the first instruction sent by the second electronic device; and displaying the execution result on the chat interface by the first electronic device.
  • the second electronic device may send the execution result to the first electronic device in the form of a network message; or, the second electronic device may also send the execution result to the server, where the The server forwards it to the first electronic device; alternatively, the second electronic device may also send the execution result to the first electronic device through a short-range wireless communication technology.
  • the execution result sent by the smart screen to the mobile phone includes the information of "Movie 1" and "Movie 2".
  • the mobile phone can prompt the user, "Okay, I found the following 2 results for you, which one should I reserve?" and the information of "Movie 1" and "Movie 2".
  • the execution result sent by the smart screen to the mobile phone includes the text message "Okay, it has been reserved for you to play "Movie 1" at 8 pm.
  • the mobile phone can display on the chat interface that the smart screen replies "Okay, I have made an appointment for you to play "Movie 1" at 8 pm.
  • the method further includes: the first electronic device determining whether there is further interaction.
  • the first electronic device when the first electronic device does not detect that the user inputs an instruction again within a preset period of time after displaying the execution result, the first electronic device determines that there is no further interaction. At this time, the first electronic device may send first indication information to the second electronic device, where the first indication information is used to indicate that the first electronic device has not received a user input instruction again within a preset time period. After receiving the first indication information, the second electronic device may send reminder information to the first electronic device, where the reminder information is used to prompt the user to perform a preset operation again if the user needs to interact with the second electronic device.
  • the second electronic device does not receive the instruction sent by the first electronic device within the preset time period, and can send reminder information to the first electronic device, where the reminder information is used to prompt the user to interact with the second electronic device if necessary, Ask the user to perform the preset operation again.
  • the smart screen after receiving the first instruction information sent by the mobile phone, the smart screen can send the reminder message "I quit first, please @me again when needed". After receiving the reminder message, the mobile phone can display the smart screen to reply "I quit first, please @me again when needed”.
  • the first electronic device when the first electronic device detects the interaction end instruction sent by the user, the first electronic device may determine that there is no further interaction. At this time, the first electronic device may send second indication information to the second electronic device, where the second indication information is used to instruct to end the interaction of the second electronic device. After receiving the second indication information, the second electronic device may send reminder information to the mobile phone, where the reminder information is used to prompt the user to perform a preset operation again if the user needs to interact with the second electronic device.
  • the mobile phone may send second instruction information to the smart screen.
  • the smart screen can send the reminder message "Okay, please @ me again when needed”.
  • the mobile phone can display the smart screen and reply "Okay, please @ me again when you need it”.
  • the first electronic device may continue to send other instructions input by the user to the corresponding device. instruction.
  • the mobile phone prompts the user in the chat interface, "Okay, I found the following two results for you, which one should I reserve?" and the "Movie 1" and "Movie 2". ", the mobile phone receives the text message "First” replied by the user.
  • the mobile phone can send the text information to the smart screen, and after receiving the text information, the smart screen can determine that the movie the user wishes to reserve is "Movie 1".
  • the smart screen After making an appointment to play "Movie 1" at 8 pm, the smart screen sends a text message to the mobile phone "Okay, I have made an appointment for you to play "Movie 1" at 8 pm.” Therefore, the mobile phone can display the smart screen on the chat interface and reply the text message "Okay, I have made an appointment for you to play "Movie 1" at 8 pm.
  • the first electronic device may continue to send other instructions of the user to the second electronic device.
  • the process of sending other instructions from the first electronic device to the second electronic device reference may be made to the above-mentioned processes of S1604-S1607, which are not repeated here for brevity.
  • FIG. 17 shows a process of determining a device in a list by a first electronic device provided by an embodiment of the present application.
  • the process includes:
  • the first electronic device In response to detecting a preset operation of the user, the first electronic device requests the server for device information of the device associated with the first account.
  • the device information includes information such as device name, device type, whether it supports intelligence capability, whether it is online or not.
  • the first electronic device may send request information to the server, where the request information is used to request device information of a device related to the first account, and the request information includes information of the first account.
  • the server may query the device under the first account and the devices under other accounts associated with the first account.
  • devices under other accounts associated with the first account may be devices authorized to be used by the first account through other accounts.
  • the device authorized to use by the daughter's Huawei account through the father's Huawei account may be devices authorized to be used by the daughter's Huawei account through the father's Huawei account.
  • Devices under other accounts associated with the first account may also be devices under other accounts in the same family group. For example, if the father's Huawei account, the mother's Huawei account, and the daughter's Huawei account are in the same family group, the server can default the devices under all accounts in the same family group to trust each other, and the user can use other family member's device.
  • the first electronic device receives the device information sent by the server.
  • Table 3 shows device information sent by the server to the first electronic device, where the device information includes information such as a Huawei account, device type, whether it supports smart capabilities, supported functions, and whether it is online.
  • the first electronic device filters out devices with smart capabilities according to the device information.
  • the first electronic device may screen the devices according to whether they support the smart capability, so as to determine the devices (smart screen, mobile phone, tablet, smart speaker, and car machine) that have the smart capability.
  • the first electronic device selects an online device from the devices with the intelligence capability.
  • the first electronic device may filter online devices from devices with smart capabilities, where the devices with smart capabilities and online include smart screens, mobile phones, tablets, and smart speakers.
  • the first electronic device displays a list, where the list includes the information of the devices filtered out in S1704.
  • the smart screen, P40, MatePad Pro, and smart speakers displayed in the list that can be displayed by the mobile phone are devices with smart capabilities and are currently online.
  • the first electronic device may store the information of the device authorized by the account of the other contact obtained from the server.
  • the first electronic device may determine a device with intelligence capability among the devices under the first account and the devices authorized by the accounts of other contacts.
  • the first electronic device may send request information to these devices with intelligence capabilities through the server, where the request information is used to determine whether the peer device is online. If the first electronic device receives the response sent by the opposite end device through the server, it can be determined that the opposite end device is online, so as to display the devices with intelligent capabilities and online in the list.
  • FIG. 18 shows a schematic flowchart of a method 1800 for controlling a device in an embodiment of the present application.
  • the method may be performed by a system including a first electronic device and a second electronic device, the method 1800 comprising:
  • the first electronic device detects a preset operation of a user on a chat interface of an instant messaging application.
  • the first electronic device displays a list on the chat interface in response to the preset operation, the list includes one or more devices, the one or more devices are associated with a first account, and the first account is The account logged in on the first electronic device.
  • the first electronic device detects an operation in which the user selects the second electronic device from the list and inputs a first instruction to the second electronic device.
  • the first electronic device sends the first instruction to the second electronic device.
  • the second electronic device may determine the user's intention and slot information in the text information, so as to execute the instruction.
  • the method further includes: the second electronic device sends the execution result of the first instruction to the first electronic device; the first electronic device displays the execution result on the chat interface.
  • An embodiment of the present application provides an electronic device, the electronic device includes: one or more processors, one or more memories, the one or more memories stores one or more computer programs, the one or more memories
  • a computer program includes instructions.
  • the instruction is executed by the one or more processors, the first electronic device is caused to execute the technical solutions in the foregoing embodiments.
  • the implementation principle and technical effect thereof are similar to the related embodiments of the above method, and are not repeated here.
  • the embodiments of the present application provide a computer program product, which enables the first electronic device to execute the technical solutions in the foregoing embodiments when the computer program product runs on the first electronic device.
  • the implementation principle and technical effect thereof are similar to the related embodiments of the above method, and are not repeated here.
  • An embodiment of the present application provides a readable storage medium, where the readable storage medium contains instructions, when the instructions are executed on a first electronic device, the first electronic device is caused to execute the technical solutions of the foregoing embodiments.
  • the implementation principle and technical effect thereof are similar, and are not repeated here.
  • An embodiment of the present application provides a chip, which is used for executing an instruction, and when the chip is running, executes the technical solutions in the foregoing embodiments.
  • the implementation principle and technical effect thereof are similar, and are not repeated here.
  • the disclosed system, apparatus and method may be implemented in other manners.
  • the apparatus embodiments described above are only illustrative.
  • the division of the units is only a logical function division. In actual implementation, there may be other division methods.
  • multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented.
  • the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
  • the functions, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer-readable storage medium.
  • the technical solution of the present application can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution, and the computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program codes .

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Emergency Management (AREA)
  • Automation & Control Theory (AREA)
  • General Business, Economics & Management (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

一种控制设备的方法、电子设备和系统,该方法包括:第一电子设备在即时通讯应用的聊天界面检测到用户的预设操作;该第一电子设备响应于该预设操作,在该聊天界面显示列表,该列表包括一个或者多个设备的设备信息,该一个或者多个设备与第一账号相关联,该第一账号为该即时通讯应用上登录的账号;该第一电子设备在检测到用户从该列表中选择该第二电子设备并输入对该第二电子设备的第一指令的操作时,向该第二电子设备发送该第一指令;该第二电子设备执行该第一指令。该方法有助于提高用户向设备下达指令时的效率。

Description

一种控制设备的方法、电子设备和系统
本申请要求于2020年9月9日提交中国国家知识产权局、申请号为202010939859.4、申请名称为“一种控制设备的方法、电子设备和系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及终端领域,并且更具体地,涉及一种控制设备的方法、电子设备和系统。
背景技术
目前越来越多的人使用设备内智慧助手,用户能够非常方便的通过智慧助手(例如,Apple公司的Siri,华为公司的小艺,小米公司的小爱同学)去操控自己的智能设备。但是目前用户只能在固定界面唤出智慧助手,例如长按关机键唤醒设备后进行人机交互。且如果用户不进行特殊设置只能使用语音与设备进行交互。这样使得用户对设备下达指令时的效率比较低。
发明内容
本申请提供一种控制设备的方法、电子设备和系统,有助于提升用户向设备下达指令时的效率。
第一方面,提供了一种系统,该系统包括第一电子设备和第二电子设备,其中,该第一电子设备,用于在即时通讯应用的聊天界面检测到用户的预设操作;该第一电子设备,还用于响应于该预设操作,在该聊天界面显示列表,该列表包括一个或者多个设备的设备信息,该一个或者多个设备与第一账号相关联,该第一账号为该即时通讯应用上登录的账号;该第一电子设备,还用于在检测到用户从该列表中选择该第二电子设备并输入对该第二电子设备的第一指令的操作时,向该第二电子设备发送该第一指令;该第二电子设备,用于执行该第一指令。
本申请实施例中,当用户在与其他用户聊天的过程中需要向其他设备下达指令时,只需要进行预设操作就可以选择需要执行指令的第二电子设备。并且在聊天界面上可以输入对第二电子设备的指令,手机就可以将对应的指令发送给第二电子设备,从而使得第二电子设备执行指令。避免了用户回到第二电子设备附近下达指令的过程,提升了用户向设备下达指令时的效率。同时,也使得设备的智慧助手拟人化,在聊天过程中更加轻松的完成对智慧助手的控制,有助于提升用户体验。
在一些可能的实现方式中,该第一指令可以为用户输入的文本信息或者语音信息。
结合第一方面,在第一方面的某些实现方式中,该第一电子设备,还用于在检测到用户从该列表中选择该第二电子设备的操作时,向该第二电子设备发送第二指令,该第二指令用于唤醒该第二电子设备,或者,该第二指令用于请求通过该第一电子设备与该第二电 子设备交互。
本申请实施例中,当第一电子设备检测到用户选择该第二电子设备的操作时,可以向第二电子设备发送第二指令。这样可以使得第二电子设备先进行唤醒操作,在第二电子设备被唤醒后可以继续向第二电子设备发送该第一指令,从而使得第二电子设备执行该第一指令。
结合第一方面,在第一方面的某些实现方式中,该聊天界面包括两个成员的单聊界面和三个或者三个以上成员的群聊界面。
在一些可能的实现方式中,该聊天界面还可以是其他聊天界面,例如,该聊天界面还可以是用户与第一电子设备的智慧助手的聊天界面;或者,该聊天界面还可以是用户与某个应用程序中的智慧助手的聊天界面。
结合第一方面,在第一方面的某些实现方式中,该列表还包括成员信息。
在一些可能的实现方式中,若该聊天界面为三个或者三个以上成员的群聊界面,那么该列表中可以包括群组中的成员信息以及一个或者多个设备的设备信息。
结合第一方面,在第一方面的某些实现方式中,该第一界面为群聊界面,该第一电子设备具体用于:显示该即时通讯应用的第一聊天界面;响应于在该第一聊天界面上检测到该预设操作,该第一电子设备显示第二聊天界面,该第二聊天界面上包括该列表;响应于用户从该列表中选择该第二电子设备的操作,从该第二聊天界面跳转至该第一聊天界面;该第一电子设备获取用户在该第一聊天界面上输入的该第一指令。
本申请实施例中,若该聊天界面为群聊界面,那么第一电子设备检测到预设操作时,可以从第一聊天界面跳转至第二聊天界面。当第一电子设备检测到用户从列表中选择第二电子设备的操作时,可以从第二聊天界面跳转至第一聊天界面。这样符合用户在群聊过程中的使用习惯。
在一些可能的实现方式中,若该聊天界面为群聊界面,那么第一电子设备检测到预设操作时,也可以在该第一聊天界面上显示该列表。
结合第一方面,在第一方面的某些实现方式中,该第一电子设备还用于:在预设时长内未接收到用户输入指令,或者,接收到用户输入的第三指令时,向该第二电子设备发送该第三指令,该第三指令用于指示结束与该第二电子设备的交互;接收该第二电子设备发送的提醒信息,该提醒信息用于提醒用户需要和该第二电子设备交互时再次进行该预设操作;在该聊天界面上显示该提醒信息。
本申请实施例中,若第一电子设备预设时长内未接收到用户输入的对第二电子设备的指令或者接收到用户输入的结束与第二电子设备交互的指令时,可以向指示第二电子设备结束交互。第二电子设备可以向第一电子设备发送提醒信息,在向第一电子设备发送了提醒信息后第二电子设备可以进入未唤醒状态,从而有助于节省第二电子设备的功耗。同时,第一电子设备可以通过聊天界面显示该提醒信息,这样有助于用户明确第二电子设备已经停止与用户的交互。
在一些可能的实现方式中,该第二电子设备还用于:在预设时长内未接收到该第一电子设备发送的指令时,向该第一电子设备发送提醒信息,该提醒信息用于提醒用户需要和该第二电子设备交互时再次进行该预设操作;该第一电子设备,还用于在该聊天界面上显示该提醒信息。
本申请实施例中,若第二电子设备在预设时长内未接收到第一电子设备发送的指令,则可以向第一电子设备发送提醒信息,从而第一电子设备可以提醒用户在需要和第二电子设备交互时再次进行预设操作。在向第一电子设备发送了提醒信息后第二电子设备可以进入未唤醒状态,从而有助于节省第二电子设备的功耗。同时,第一电子设备可以通过聊天界面显示该提醒信息,这样有助于用户明确第二电子设备已经停止与用户的交互。
结合第一方面,在第一方面的某些实现方式中,该第一电子设备还用于:接收该第二电子设备对该第一指令的执行结果;在该聊天界面上显示该执行结果。
本申请实施例中,第一电子设备在接收到第二电子设备对第一指令的执行结果后,可以在聊天界面上显示对应的执行结果。这样便于用户及时查看到第二电子设备对第一指令的执行结果。
结合第一方面,在第一方面的某些实现方式中,该一个或者多个设备中包括第一账号下具备智慧能力的设备。
结合第一方面,在第一方面的某些实现方式中,该一个或者多个设备中包括通过第二账号授权给该第一账号使用的具备智慧能力的设备。
本申请实施例中,用户在聊天界面上出了可以向自己的设备下达指令以外,还可以向其他用户授权给用户的设备下达指令,这样可以方便用户对其他用户的设备进行控制。
在一些可能的实现方式中,该一个或者多个设备为具备智慧能力且在线的设备。
结合第一方面,在第一方面的某些实现方式中,该第二账号包括该聊天界面上该第一账号对应的用户的聊天对象的账号。
本申请实施例中,用户在与聊天对象的聊天过程中,可以对用户以及聊天对象的设备设备下达指令。对于不同的聊天对象,该列表中可以显示不同的设备信息。这样有助于保护用户以及聊天对象的设备隐私,也有助于提升电子设备的智能化程度。
结合第一方面,在第一方面的某些实现方式中,该预设操作为用户输入@的操作。
第二方面,提供了一种控制设备的方法,该方法应用于第一电子设备,该方法包括:第一电子设备显示即时通讯应用的聊天界面;响应于在该聊天界面上检测到预设操作,该第一电子设备在该聊天界面上显示列表,该列表中包括一个或者多个设备的设备信息,该一个或者多个设备中包括第二电子设备;该第一电子设备获取用户在该聊天界面上输入的对该第二电子设备的第一指令;该第一电子设备向该第二电子设备发送该第一指令。
本申请实施例中,当用户在与其他用户聊天的过程中需要向其他设备下达指令时,只需要进行预设操作就可以选择需要执行指令的第二电子设备,并且在聊天界面上可以输入对第二电子设备的指令,手机就可以将对应的指令发送给第二电子设备,从而使得第二电子设备执行指令。避免了用户回到第二电子设备附近下达指令的过程,提升了用户向设备下达指令时的效率。同时,也使得设备的智慧助手拟人化,在聊天过程中更加轻松的完成对智慧助手的控制,有助于提升用户体验。
在一些可能的实现方式中,该第一指令可以为用户输入的文本信息或者语音信息。
结合第二方面,在第二方面的某些实现方式中,在获取用户在该聊天界面上输入的对该第二电子设备第一指令之前,该方法还包括:响应于检测到用户从该列表中选择该第二电子设备的操作,该第一电子设备向该第二电子设备发送第二指令,该第二指令用于唤醒该第二电子设备,或者,该第二指令用于请求通过该第一电子设备与该第二电子设备交互。
本申请实施例中,当第一电子设备检测到用户选择该第二电子设备的操作时,可以向第二电子设备发送第二指令。这样可以使得第二电子设备先进行唤醒操作,在第二电子设备被唤醒后可以继续向第二电子设备发送该第一指令,从而使得第二电子设备执行该第一指令。
结合第二方面,在第二方面的某些实现方式中,该聊天界面包括两个成员的单聊界面和三个或者三个以上成员的群聊界面。
在一些可能的实现方式中,该聊天界面还可以是其他聊天界面,例如,该聊天界面还可以是用户与第一电子设备的智慧助手的聊天界面;或者,该聊天界面还可以是用户与某个应用程序中的智慧助手的聊天界面。
结合第二方面,在第二方面的某些实现方式中,该列表还包括成员信息。
在一些可能的实现方式中,若该聊天界面为三个或者三个以上成员的群聊界面,那么该列表中可以包括群组中的成员信息以及一个或者多个设备的设备信息。
结合第二方面,在第二方面的某些实现方式中,该第一界面为群聊界面,该显示即时通讯应用的聊天界面,包括:该第一电子设备显示该即时通讯应用的第一聊天界面;该响应于在该聊天界面上检测到预设操作,在该聊天界面上显示列表,包括:响应于在该第一聊天界面上检测到该预设操作,该第一电子设备显示第二聊天界面,该第二聊天界面上包括该列表;其中,该获取用户在该聊天界面上输入的对该第二电子设备第一指令,包括:响应于用户从该列表中选择该第二电子设备的操作,从该第二聊天界面跳转至该第一聊天界面;该第一电子设备获取用户在该第一聊天界面上输入的该第一指令。
本申请实施例中,若该聊天界面为群聊界面,那么第一电子设备检测到预设操作时,可以从第一聊天界面跳转至第二聊天界面。当第一电子设备检测到用户从列表中选择第二电子设备的操作时,可以从第二聊天界面跳转至第一聊天界面。这样符合用户在群聊过程中的使用习惯。
在一些可能的实现方式中,若该聊天界面为群聊界面,那么第一电子设备检测到预设操作时,也可以在该第一聊天界面上显示该列表。
结合第二方面,在第二方面的某些实现方式中,该方法还包括:在预设时长内该第一电子设备未接收到用户输入指令,或者,该第一电子设备接收到用户输入的第三指令时,该第一电子设备向该第二电子设备发送该第三指令,该第三指令用于指示结束与该第二电子设备的交互;该第一电子设备接收该第二电子设备发送的提醒信息,该提醒信息用于提醒用户需要和该第二电子设备交互时再次进行该预设操作;该第一电子设备在该聊天界面上显示该提醒信息。
本申请实施例中,若第一电子设备预设时长内未接收到用户输入的对第二电子设备的指令或者接收到用户输入的结束与第二电子设备交互的指令时,可以向指示第二电子设备结束交互。第二电子设备可以向第一电子设备发送提醒信息,在向第一电子设备发送了提醒信息后第二电子设备可以进入未唤醒状态,从而有助于节省第二电子设备的功耗。同时,第一电子设备可以通过聊天界面显示该提醒信息,这样有助于用户明确第二电子设备已经停止与用户的交互。
结合第二方面,在第二方面的某些实现方式中,该方法还包括:该第一电子设备接收该第二电子设备对该第一指令的执行结果;该第一电子设备在该聊天界面上显示该执行结 果。
本申请实施例中,第一电子设备在接收到第二电子设备对第一指令的执行结果后,可以在聊天界面上显示对应的执行结果。这样便于用户及时查看到第二电子设备对第一指令的执行结果。
结合第二方面,在第二方面的某些实现方式中,该一个或者多个设备中包括第一账号下具备智慧能力的设备,该第一账号为该即时通讯应用上登录的账号。
结合第二方面,在第二方面的某些实现方式中,该一个或者多个设备中还包括通过第二账号授权给该第一账号使用的具备智慧能力的设备。
本申请实施例中,用户在聊天界面上出了可以向自己的设备下达指令以外,还可以向其他用户授权给用户的设备下达指令,这样可以方便用户对其他用户的设备进行控制。
在一些可能的实现方式中,该一个或者多个设备为具备智慧能力且在线的设备。
结合第二方面,在第二方面的某些实现方式中,该第二账号包括该聊天界面上该第一账号对应的用户的聊天对象的账号。
本申请实施例中,用户在与聊天对象的聊天过程中,可以对用户以及聊天对象的设备设备下达指令。对于不同的聊天对象,该列表中可以显示不同的设备信息。这样有助于保护用户以及聊天对象的设备隐私,也有助于提升电子设备的智能化程度。
结合第二方面,在第二方面的某些实现方式中,该预设操作为用户输入@的操作。
第三方面,提供了一种控制设备的装置,该装置包括:显示单元,用于显示即时通讯应用的聊天界面;检测单元,用于在该聊天界面上检测到预设操作;该显示单元,还用于响应于该预设操作,在该聊天界面上显示列表,该列表中包括一个或者多个设备的设备信息,该一个或者多个设备中包括第二电子设备;获取单元,用于获取用户在该聊天界面上输入的对该第二电子设备的第一指令;发送单元,用于向该第二电子设备发送该第一指令。
第四方面,提供了一种电子设备,包括:一个或多个处理器;存储器;以及一个或多个计算机程序。其中,一个或多个计算机程序被存储在存储器中,一个或多个计算机程序包括指令。当指令被电子设备执行时,使得电子设备执行上述第二方面中任一项可能的实现中的控制设备的方法。
第五方面,提供了一种包含指令的计算机程序产品,当所述计算机程序产品在电子设备上运行时,使得所述电子设备执行上述第二方面所述的控制设备的方法。
第六方面,提供了一种计算机可读存储介质,包括指令,当所述指令在电子设备上运行时,使得所述电子设备执行上述第二方面所述的控制设备的方法。
第七方面,提供了一种芯片用于执行指令,当所述芯片运行时,所述芯片执行上述第二方面所述的控制设备的方法。
附图说明
图1是本申请实施例提供的一种电子设备的硬件结构示意图。
图2是本申请实施例提供的软件结构框图。
图3是本申请实施例提供的一组图形用户界面。
图4是本申请实施例提供的另一组图形用户界面。
图5是本申请实施例提供的另一组图形用户界面。
图6是本申请实施例提供的另一组图形用户界面。
图7是本申请实施例提供的另一组图形用户界面。
图8是本申请实施例提供的另一组图形用户界面。
图9是本申请实施例提供的另一组图形用户界面。
图10是本申请实施例提供的另一组图形用户界面。
图11是本申请实施例提供的另一组图形用户界面。
图12是本申请实施例提供的另一组图形用户界面。
图13是本申请实施例提供的另一组图形用户界面。
图14是本申请实施例提供的另一组图形用户界面。
图15是本申请实施例提供的另一组图形用户界面。
图16是本申请实施例提供的控制设备的方法的示意性流程图。
图17是本申请实施例中提供的第一电子设备确定列表中的设备的示意性流程图。
图18是本申请实施例提供的控制设备的方法的另一示意性流程图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述。其中,在本申请实施例的描述中,除非另有说明,“/”表示或的意思,例如,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采用嵌入式SIM(embedded-SIM,eSIM)卡,即:嵌入式SIM卡。eSIM卡可以嵌在电子设备100中,不能和电子设备100分离。
应理解,本申请实施例中的电话卡包括但不限于SIM卡、eSIM卡、全球用户识别卡(universal subscriber identity module,USIM)、通用集成电话卡(universal integrated circuit card,UICC)等等。
电子设备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绘图的绘图引擎。
应理解,本申请实施例中的技术方案可以用于Android、IOS、鸿蒙等系统中。
内核层是硬件和软件之间的层。内核层至少包含显示驱动,摄像头驱动,音频驱动,传感器驱动。
图3是本申请实施例提供的一组图形用户界面(graphical user interface,GUI)。
参见图3中的(a)所示的GUI,该GUI为手机的桌面。其中,手机的桌面上包括多个应用程序(App1至App9)的图标。当手机检测到用户点击App1的图标的操作时,手机可以打开App1,显示如图3中的(b)所示的GUI。
参见图3中的(b)所示的GUI,该GUI为App1的显示界面。App1可以为即时通讯应用。该显示界面上包括多个联系人的聊天记录。其中每个联系人的聊天记录中包括联系人的头像、联系人的昵称、与联系人的最近一条聊天记录以及最近一条聊天记录的时间信息。当手机检测到用户点击与爸爸的聊天记录时,手机可以显示如图3中的(c)所示的GUI。
参见图3中的(c)所示的GUI,该GUI为女儿与爸爸的聊天界面。女儿可以通过该聊天界面向爸爸发送文本信息“爸,有部好看的电影推荐给你”。手机在接收到爸爸通过另一电子设备发送的文本信息“好啊,预约下到家看”后,可以通过该显示界面向女儿显示该信息。之后女儿可以通过该聊天界面继续向爸爸发送文本信息“好”。
参见图3中的(d)所示的GUI,该GUI为女儿与爸爸的另一聊天界面。当女儿希望通过智慧屏预约观看电影时,可以在文本输入框中输入“@”。当手机检测到用户在文本输入框中输入“@”的操作后,手机可以显示如图3中的(e)所示的GUI。
参见图3中的(e)所示的GUI,该GUI为女儿与爸爸的另一聊天界面。当手机检测 到用户在文本输入框中输入了“@”的操作后,手机可以显示设备列表,其中设备列表中包括“智慧屏”、“音箱”和“P40”。当手机检测到用户选择智慧屏的操作后,手机可以显示如图3中的(f)所示的GUI。
一个实施例中,设备列表中的智慧屏、音箱和P40可以是同一账号下的设备。例如,P40可以是用户当前正在使用的手机,手机上的App1登录了用户的华为账号1,则手机可以获取登录华为账号1下其他设备的设备信息(例如,设备类型、是否支持智慧能力以及支持的功能等等)。从而手机在设备列表中显示相应的设备。示例性的,智慧屏、音箱和P40可以是华为账号1下具备智慧能力的设备。
本申请实施例中,手机在设备列表中显示一个或者多个设备的设备信息的方式包括但不限于:
方式一
手机在检测到用户在文本输入框中输入了“@”后,可以向服务器请求华为账号1下的其他设备的设备信息。手机在接收到服务器发送的设备信息后,可以从中确定具备智慧能力且在线的设备,从而在设备列表中显示这些设备的设备信息(例如“智慧屏”和“音箱”)和自己的设备信息(例如,“P40”)。
方式二
手机在检测到用户在文本输入框中输入了“@”后,向服务器请求华为账号1下的具备智慧能力且在线的其他设备的设备信息。手机在接收到服务器发送的设备信息后,可以在设备列表中显示这些设备的设备信息(例如“智慧屏”和“音箱”)和自己的设备信息(例如,“P40”)。
方式三
用户在设备上登录华为账号1时,设备可以向服务器发送其设备信息。服务器在接收到设备发送的设备信息后,可以将设备信息发送给手机,从而手机可以保存华为账号1下其他设备的设备信息。当手机检测到用户点击“@”时,手机可以向华为账号1下具备智慧能力的设备发送查询请求,该查询请求用于请求判断是否在线。若手机(例如,P40)接收到智慧屏和音箱发送的响应,那么手机可以在设备列表中显示智慧屏、音箱和P40。
参见图3中的(f)所示的GUI,该GUI为女儿与爸爸的另一聊天界面。当手机检测到用户选择“智慧屏”的操作后,手机可以在聊天界面中显示“@智慧屏”这一文本信息,且手机可以向智慧屏发送指令。若智慧屏处于未被唤醒的状态,那么该指令可以用于唤醒智慧屏;或者,若智慧屏处于唤醒的状态,那么该指令可以用于指示用户希望通过手机与智慧屏进行交互。
示例性的,如果智慧屏在接收到该指令时处于未被唤醒的状态,那么智慧屏在接收到该指令时进行唤醒操作,并向手机发送对该指令的执行结果,该执行结果可以包括文本信息如“您好,有什么可以帮助您”。手机在接收到该文本信息后,通过该聊天界面显示该文本信息。如图3中的(f)所示,手机可以在该聊天界面中显示智慧屏回复了文本信息“您好,有什么可以帮助您”,用户可以通过聊天界面输入文本信息以控制智慧屏。
参见图3中的(g)所示的GUI,该GUI为女儿与爸爸的另一聊天界面。当手机检测到用户回复了文本信息“预约晚上8点播放哪吒”后,手机可以向智慧屏发送指令,该指令中包括了该文本信息。智慧屏可以通过语义理解(natural language understanding,NLU) 模块识别该文本信息中的槽位信息以及用户意图。
智慧屏可以搜索有关“哪吒”的电影,若搜索的关于“哪吒”的电影包括《电影1》和《电影2》,那么智慧屏可以确定槽位中电影名称的信息有缺失。智慧屏可以向手机发送《电影1》和《电影2》的信息(例如,《电影1》和《电影2》的缩略图)以及请求信息,该请求信息用于请求用户从《电影1》和《电影2》中确认播放哪一个。
上述实施例中,以用户在聊天界面中回复文本信息为例进行的说明,可以理解的是,用户也可以在该聊天界面中回复语音信息。示例性的,用户可以在该聊天界面中通过语音回复“预约晚上8点播放哪吒”。那么手机可以将该语音信息发送给智慧屏,智慧屏中的语音识别(automatic speech recognition,ASR)模块可以先将该语音信息转发为文本信息,从而对该文本信息进行分析。又如,用户还可以在聊天界面中回复图像、文件,本实施例并不限定。
参见图3中的(h)所示的GUI,该GUI为女儿与爸爸的另一聊天界面。当手机接收到智慧屏发送的《电影1》和《电影2》的信息以及请求信息后,手机可以根据该《电影1》和《电影2》的信息以及请求信息,提示用户“好的,为您找到以下2个结果,请问预约哪一个”并显示《电影1》和《电影2》的信息。
参见图3中(i)所示的GUI,该GUI为女儿与爸爸的另一聊天界面。手机在接收到用户回复的文本信息“第一个”后,可以将该文本信息发送给智慧屏。智慧屏在接收到该文本信息后,可以确定用户希望预约的电影为《电影1》。此时,智慧屏可以确定用户意图以及槽位信息。示例性的,表1示出了智慧屏确定的用户意图以及槽位信息。
表1
Figure PCTCN2021113399-appb-000001
上述示例中提到了2个概念,分别是意图和槽位,下面对这两个概念进行详细解释。
意图
意图可以理解成是一个分类器,确定用户表达的这句话是哪个类型,进而由这个类型对应的程序做专门的解析。在一种实现方式中,“这个类型对应的程序”可以是机器人(Bot),比如用户说:“给我放一首快乐的歌吧”,NLU模块判断用户的意图分类是音乐,因此召唤出音乐机器人(Bot)给用户推荐一首歌播放,用户听着觉得不对的时候,说:“换一首”,还是这个音乐机器人继续为用户服务,直到用户表达别的问题,意图已经不是音乐的时候,再切换成别的机器人为用户服务。
槽位
当用户意图被确定之后,NLU模块就需要进一步理解对话中的内容,为简便起见,可以选择最核心的部分进行理解,其他可以忽略,那些最重要的部分可以称之为槽位(slot)。例如,如果用户意图为“预约电影”,那么可以定义两个核心槽位,分别是“时间”和“电影名称”。又例如,如果用户意图为“订机票”,那么可以定义三个核心槽位,分别是“起飞时间”,“起始地”和“目的地”。
智慧屏的NLU模块在确定用户意图以及槽位信息后,可以将用户意图以及槽位信息发送给智慧屏的意图处理模块,意图处理模块可以确定用户的意图是“预约电影”,与该 意图相关的槽位信息为“晚上8点”以及“《电影1》”,从而为用户预约晚上8点播放《电影1》。智慧屏在为用户预约晚上8点播放《电影1》后,可以向手机发送对用户指令的执行结果,该执行结果可以为文本信息“好的,已为您预约晚上8点播放《电影1》”。
应理解,本申请实施例中,如果某个智能设备中包括NLU模块,则可以认为该智能设备具备智慧能力(或者,具备智慧助手)。
参见图3中的(j)所示的GUI,该GUI为女儿与爸爸的另一聊天界面。当手机接收到智慧屏发送的文本信息后,可以在该聊天界面上呈现智慧屏发送的文本信息“好的,已为您预约晚上8点播放《电影1》”。
本申请实施例中,当用户在与其他用户聊天的过程中需要向其他设备下达指令时,只需要在文本输入框中输入“@”就可以选择需要执行指令的设备,并且可以通过文本信息(或者,语音)发送指令,手机就可以将对应的指令发送给相应的设备,从而使得相应的设备执行指令。避免了用户回到设备附近下达指令的过程,也使得设备的智慧助手拟人化,在聊天过程中更加轻松的完成对智慧助手的控制,有助于提升用户体验。
以上结合图3中的一组GUI,显示了女儿的手机显示界面的变化过程。下面结合图4所示的另一组GUI,显示联系人爸爸的手机界面变化的过程。
参见图4中的(a)所示的GUI,当爸爸的手机接收到一条女儿发送的消息后,手机可以显示消息提醒框,其中,消息提醒框中提示该条消息为来自于App1的消息,发送该条消息的用户为女儿,以及该消息的内容为“爸,有部好看的电影推荐给你”。当手机检测到用户点击消息提醒框的操作后,可以显示如图4中的(b)所示的GUI。
参见图4中的(b)所示的GUI,该GUI为爸爸与女儿的聊天界面。手机可以在该聊天界面上显示来自女儿的消息“爸,有部好看的电影推荐给你”。
参见图4中的(c)所示的GUI,该GUI为爸爸与女儿的另一聊天界面。爸爸可以通过该聊天界面向女儿发送文本信息“好啊,预约下到家看”。手机在接收到女儿通过另一电子设备发送的文本信息“好”后,可以通过该聊天界面显示该文本信息。
图4中的(d)至图(h)与上述图3中的(f)至(j)相对应,手机可以在该聊天界面上显示女儿与智慧屏的交互过程。
本申请实施例中,爸爸可以在聊天界面中看到女儿与智慧屏的交互过程,从而可以确定女儿已经成功向智慧屏下达了指令,无需女儿再次向爸爸转达。避免了爸爸需要再次向女儿询问是否成功向智慧屏下达指令的过程,从而有助于提升用户的体验。
图5是本申请实施例提供的另一组GUI。
参见图5中的(a)所示的GUI,该GUI为女儿与爸爸的另一聊天界面。女儿在通过该聊天界面完成与智慧屏的交互后,还可以通过该聊天界面与智能音箱进行交互。如图5中的(a)所示,当手机检测到用户输入“@”后,可以显示如图5中的(b)所示的GUI。
参见图5中的(b)所示的GUI,该GUI为女儿与爸爸的另一聊天界面。当手机检测到用户点击“@”的操作时,手机可以显示设备列表,其中设备列表中包括“智慧屏”、“音箱”和“P40”。当手机检测到用户选择音箱的操作后,手机可以显示如图5中的(c)所示的GUI。
参见图5中的(c)所示的GUI,该GUI为女儿与爸爸的另一聊天界面。当手机检测到用户选择音箱的操作后,手机可以在该聊天界面显示女儿发送的文本信息“@音箱”且 手机可以向音箱发送指令。若音箱处于未被唤醒的状态,那么该指令可以用于唤醒音箱;或者,若音箱处于唤醒的状态,那么该指令可以用于指示用户希望通过手机与音箱进行交互。
示例性的,如果音箱在接收到该指令时处于未被唤醒的状态,那么音箱在接收到该指令时进行唤醒操作,并向手机发送对该指令的执行结果,该执行结果中包括文本信息“在呢,主人”。手机在接收到该文本信息后,通过该聊天界面显示该文本信息。如图5中的(c)所示,手机可以在该聊天界面中显示音箱回复了文本信息“在呢,主人”。
当手机检测到用户继续在该聊天界面上输入文本信息“帮我定个晚上10点吃药的闹铃”后,手机可以继续向音箱发送指令,该指令中包括文本信息“帮我定个晚上10点吃药的闹铃”。音箱在接收到该指令后,可以通过NLU模块识别该文本信息中的用户意图以及槽位信息。示例性的,表2示出了音箱确定的用户意图以及槽位信息。
表2
Figure PCTCN2021113399-appb-000002
音箱的NLU模块在确定了用户意图以及槽位信息后,可以将用户意图以及槽位信息发送给音箱的意图处理模块,意图处理模块可以确定用户的意图是“定闹铃”,与该意图相关的槽位信息为“晚上10点”以及“提醒吃药”,从而为用户设定晚上10点的闹铃。音箱在为用户设定晚上10点的闹铃后,可以向手机发送对用户指令的执行结果,该执行结果可以为文本信息“好的,已为您定好晚上10点吃药的闹铃”。手机在接收到该执行结果后,可以在聊天界面上显示音箱回复了该文本信息“好的,已为您定好晚上10点吃药的闹铃”。
本申请实施例中,用户可以在聊天界面上对多个设备发出指令,避免了用户需要回到相应的设备附件发送指令的过程,也使得设备的智慧助手拟人化,在聊天过程中更加轻松的完成对智慧助手的控制,有助于提升用户体验。
以上图5是以用户分别@多个设备为例进行的说明,可以理解的是,用户也可以同时@多个设备。例如,手机在检测到用户从设备列表中选择音箱后,可以不将“@音箱”发送出去,而是显示在文本输入框中;之后手机再一次检测到用户点击了“@”并从设备列表中选择了P40,从而在文本输入框中显示“@音箱@智慧屏”。当手机检测到用户点击发送控件后,手机可以显示用户在聊天界面回复了“@音箱@智慧屏”,从而手机可以向音箱和P40发送指令(例如,该指令用于唤醒音箱和P40)。之后手机检测到用户在聊天界面中回复了“帮我定早上8点的闹铃”时,手机可以向音箱和P40发送另一指令,该另一指令中携带文本信息“帮我定早上8点的闹铃”。
图3至图5以女儿与爸爸的聊天为例进行的说明,可以理解的是,如图6所示,上述方法也适用于群组的聊天过程。
图6是本申请实施例提供的另一组GUI。
参见图6中的(a)所示的GUI,该GUI为App1的另一显示界面。该显示界面上包括多个联系人的聊天记录。其中多个联系人的聊天记录中包括群组(群组名称为家人,群组中成员包括爸爸、妈妈和女儿)的聊天记录。当手机检测到用户点击该群组的聊天记录时,手机可以显示如图6中的(b)所示的GUI。
参见图6中的(b)所示的GUI,该GUI为群组的聊天界面。女儿可以在群组中发送文本信息“爸妈,有部好看的电影推荐给你们”。爸爸可以在群组中回复文本信息“好啊,预约下到家看”。女儿可以在群组的聊天界面中回复文本信息“好”。
参见图6中的(c)所示的GUI,该GUI为群组的另一聊天界面。当女儿希望通过智慧屏预约观看电影时,可以在文本输入框中输入“@”。当手机检测到用户在文本输入框中输入“@”的操作后,手机可以显示如图6中的(d)所示的GUI。
参见图6中的(d)所示的GUI,该GUI为需要提醒的联系人以及智能设备的显示界面。当手机检测到用户在文本输入框中输入了“@”的操作后,手机可以显示该显示界面,其中显示界面中包括联系人以及智能设备。需要提醒的联系人中包括爸爸和妈妈;需要提醒的智能设备中包括“智慧屏”和“智能音箱”。当手机检测到用户选择“智慧屏”的操作后,手机可以显示如图6中的(e)所示的GUI。
一个实施例中,该显示界面中显示的智能设备上登录的账号与手机上登录的账号为同一账号。示例性的,手机上登录的账号为华为账号1,那么智慧屏和智能音箱上登录的账号也是华为账号1。手机中可以提前从服务器获取华为账号1下其他设备的设备信息,从而可以在需要提醒的智能设备中显示相应的设备。示例性的,需要提醒的智能设备为华为账号1下具备智慧能力的设备。
参见图6中的(e)所示的GUI,该GUI为群组的另一聊天界面。当手机检测到用户选择“智慧屏”的操作后,手机可以在该聊天界面显示女儿发送的文本信息“@智慧屏”。此时,手机可以向智慧屏发送指令,智慧屏执行该指令的过程可以参考上述图3中的描述,为了简洁,在此不再赘述。智慧屏可以向手机发送对该指令的执行结果,该执行结果可以包括文本信息“您好,有什么可以帮助您”。手机可以在接收到智慧屏发送的执行结果后,在该聊天界面显示智慧屏回复了文本信息“您好,有什么可以帮助您”。
参见图6中的(f)所示的GUI,该GUI为群组的另一聊天界面。女儿在看到智慧屏回复的文本信息后,可以继续对智慧屏发送指令。当手机在该聊天界面上检测到用户发送文本信息“预约晚上8点播放《电影1》”后,手机可以显示该文本信息并将该文本信息发送给智慧屏。
参见图6中的(g)所示的GUI,该GUI为群组的另一聊天界面。智慧屏在接收到手机发送的指令(该指令中包括文本信息“预约晚上8点播放《电影1》”),可以对该指令中的用户意图以及槽位信息进行分析,具体的分析过程可以参考上述实施例中的描述,为了简洁,在此不再赘述。智慧屏在确定用户意图以及槽位信息后,可以为用户预约晚上8点播放《电影1》。智慧屏还可以向手机发送对该指令的执行结果,该执行结果中包括文本信息好的,已为您预约晚上8点播放《电影1》”。手机在接收到该文本信息后,可以在该聊天界面显示智慧屏回复了文本信息“好的,已为您预约晚上8点播放《电影1》”。
本申请实施例中,在群组的聊天界面中,用户除了可以提醒群组中的其他联系人以外,还可以提醒智能设备,从而在群组的聊天界面中向智能设备下达指令。避免了用户回到设备附近下达指令的过程,也使得设备的智慧助手拟人化,在聊天过程中更加轻松的完成对智慧助手的控制,有助于提升用户体验。
以上结合图3至图6中的GUI介绍了用户在聊天的过程中向同一账号下的其他设备下达指令的过程。下面结合图7和图8,介绍用户在聊天的过程中向不同账号下的设备下 达指令的过程。
图7是本申请实施例提供的另一组GUI。
参见图7中的(a)所示的GUI,该GUI为女儿与爸爸的聊天界面。当女儿需要在聊天界面上向其他设备发送指令时,可以先输入“@”选择相应的设备。当手机检测到用户点击“@”时,可以显示如图7中的(b)所示的GUI。
参见图7中的(b)所示的GUI,该GUI为女儿与爸爸的另一聊天界面。当手机检测到用户点击“@”时,手机可以显示设备列表,其中设备列表中包括女儿的设备(智慧屏和P40)以及爸爸的设备(MatePad Pro以及智能音箱)。当手机检测到用户选择MatePad Pro的操作时,可以显示如图7中的(c)所示的GUI。
一个实施例中,该设备列表中下显示的爸爸的设备,可以是爸爸账号下所有具备智慧能力的设备,或者,也可以是通过爸爸账号授权给女儿使用的具备智慧能力的设备。
一个实施例中,女儿在与当前联系人的聊天界面上,手机在文本输入框中输入了“@”后,可以显示女儿的设备以及当前联系人的设备(或者,当前联系人授权给女儿使用的设备)。例如,女儿与爸爸的聊天界面上,手机在文本输入框中输入了“@”后,可以显示女儿的设备以及爸爸的设备。又例如,女儿与妈妈的聊天界面上,手机在文本输入框中输入了“@”后,可以显示女儿的设备以及妈妈的设备。
一个实施例中,女儿在与当前联系人的聊天界面上,手机在文本输入框中输入了“@”后,可以显示女儿的设备以及通过其他账号授权给女儿使用的设备。例如,爸爸通过爸爸的账号授权给女儿使用MatePad Pro以及智能音箱,妈妈通过妈妈的账号授权给女儿使用笔记本电脑(例如,MateBook X)。那么在如图7中的(b)所示的聊天界面上,当手机检测到用户输入了“@”后,可以显示设备列表,设备列表中包括女儿的设备(智慧屏和P40)、爸爸的设备(MatePad Pro以及智能音箱)以及妈妈的设备(MateBook X)。
参见图7中的(c)所示的GUI,该GUI为女儿与爸爸的另一聊天界面。当手机检测到用户选择MatePad Pro的操作时,手机可以在该聊天界面中显示女儿发送的文本信息“@MatePad Pro”,同时手机可以向MatePad Pro发送指令。若MatePad Pro处于未被唤醒的状态,那么该指令可以用于唤醒MatePad Pro;或者,若MatePad Pro处于唤醒的状态,那么该指令可以用于指示用户希望通过手机与MatePad Pro进行交互。
示例性的,如果MatePad Pro在接收到该指令时处于未被唤醒的状态,那么MatePad Pro在接收到该指令时进行唤醒操作,并向手机发送对该指令的执行结果,该执行结果包括文本信息“您好,有什么可以帮助您”。手机在接收到该文本信息后,通过该聊天界面显示MatePad Pro回复了该文本信息“您好,有什么可以帮助您”。
参见图7中的(d)所示的GUI,该GUI为女儿与爸爸的另一聊天界面。当手机检测到用户发送了文本信息“预约晚上8点播放《电影1》”的操作时,手机可以向MatePad Pro发送指令,该指令中包括该文本信息。MatePad Pro在接收到该文本信息后,可以对该文本信息中的用户意图以及槽位信息进行分析,具体的分析过程可以参考上述实施例中的描述,为了简洁,在此不再赘述。MatePad Pro在确定用户意图以及槽位信息后,可以为用户预约晚上8点播放《电影1》。
参见图7中的(e)所示,该GUI为女儿与爸爸的另一聊天界面。MatePad Pro还可以向手机发送对该指令的执行结果,该执行结果中包括该文本信息。手机在接收到该文本信 息后,可以在该聊天界面显示MatePad Pro回复了文本信息“好的,已为您预约晚上8点播放《电影1》”。
图8是本申请实施例提供的另一组GUI。
参见图8中的(a)所示的GUI,该GUI为群组的聊天界面。当女儿需要在该聊天界面上向其他设备发送指令时,可以先输入“@”选择相应的设备。当手机检测到用户点击“@”时,可以显示如图8中的(b)所示的GUI。
参见图8中的(b)所示的GUI,该GUI为需要提醒的联系人以及智能设备的显示界面。当手机检测到用户在文本输入框中输入了“@”的操作后,手机可以显示该显示界面,其中显示界面中包括联系人以及智能设备。需要提醒的联系人中包括爸爸和妈妈;需要提醒的智能设备中包括女儿的设备、爸爸的设备以及妈妈的设备。当手机检测到用户向下滚动滑动条801的操作后,手机可以显示如图8中的(c)所示的GUI。
一个实施例中,需要提醒的智能设备的设备列表中其他联系人的设备(例如,爸爸的设备以及妈妈的设备)可以是其他联系人的账号下所有具备智慧能力的设备;或者,也可以是通过其他联系人的账号授权给女儿使用的具备智慧能力的设备;或者,也可以是其他联系人在App1中添加的可以让群组中其他成员使用的具备智慧能力的设备。
参见图8中的(c)所示的GUI,该GUI为需要提醒的联系人以及智能设备的另一显示界面。当手机检测到用户选择MatePad Pro的操作后,手机可以显示如图8中的(d)所示的GUI。
参见图8中的(d)所述的GUI,该GUI为群组的另一聊天界面。当手机检测到用户选择MatePad Pro的操作后,手机可以在该聊天界面上显示女儿发送的文本信息“@MatePad Pro”,同时手机可以向MatePad Pro发送指令。MatePad Pro执行指令的过程可以参考上述实施例,为了简洁,在此不再赘述。
MatePad Pro可以向手机发送执行结果,该执行结果中包括文本信息“您好,有什么可以帮助您”。手机可以显示MatePad Pro回复了该文本信息。当手机检测到用户发送了文本信息“预约晚上8点播放《电影1》”,手机可以向MatePad Pro发送指令,该指令中包括该文本信息“预约晚上8点播放《电影1》”。MatePad Pro在接收到该指令后,可以分析该指令中的用户意图以及槽位信息。MatePad Pro的分析过程可以参考上述实施例,为了简洁,在此不再赘述。
MatePad Pro可以向手机发送执行结果,该执行结果中包括文本信息“好的,已经为您预约晚上8点播放《电影1》”。手机可以显示MatePad Pro回复了该文本信息。
本申请实施例中,用户可以向其他用户的设备下达指令。避免了用户回到设备附近下达指令的过程,也使得设备的智慧助手拟人化,在聊天过程中更加轻松的完成对智慧助手的控制,有助于提升用户体验。例如,MatePad Pro上登录了爸爸的华为账号,但是爸爸并不懂得如何向MatePad Pro下达指令。如果爸爸将MatePad Pro授权给女儿使用,女儿可以帮助爸爸向MatePad Pro下达指令。又例如,智能音箱上登录了妈妈的华为账号但是妈妈并不懂得如何向智能音箱下达指令。如果妈妈将智能音箱授权给女儿使用,那么女儿可以在聊天界面中向妈妈的智能音箱下达指令,例如帮妈妈定晚上10点吃药的闹铃。这样就避免了女儿教爸爸和妈妈使用设备的过程,节省了用户的学习成本,从而有助于提升用户体验。
以上图3至图8是以用户先输入“@智慧屏”后输入指令为例进行说明的。如图9所示,用户也可以将“@智慧屏”和指令一起输入。
图9是本申请实施例提供的另一组GUI。
参见图9中的(a)所示的GUI,该GUI为女儿与爸爸的聊天界面。当手机检测到用户在文本输入框中输入了“@”后,可以显示设备列表,设备列表中包括“智慧屏”、“音箱”以及“P40”。当手机检测到用户选择智慧屏的操作后,手机可以继续在“@智慧屏”后输入向智慧屏发送的指令。
参见图9中的(b)所示的GUI,该GUI为女儿与爸爸的另一聊天界面。用户在文本输入框中输入了“@智慧屏帮我预约晚上8点播放《电影1》”。当手机检测到用户在文本输入框中输入了上述内容并点击了发送控件的操作后,手机可以显示如图9中的(c)所示的GUI。
本申请实施例中,如图3中的(e)所示的GUI中,当手机检测到用户选择了智慧屏的操作后,手机可以直接在该聊天界面中显示用户回复了“@智慧屏”,这种情况下无需用户点击发送控件;而对于如图9中的(a)所述的GUI,手机在检测到用户选择了智慧屏的操作后,可以在文本输入框中显示“@智慧屏”(此时该文本信息并没有发送出去),用户可以接着在该文本输入框中编辑其他需要发送给智慧屏的文本信息。当手机检测到用户点击发送控件后,手机会将文本输入框中编辑的内容发送出去。
参见图9中的(c)所示的GUI,该GUI为女儿与爸爸的另一聊天界面。手机在检测到用户点击发送控件的操作后,可以显示女儿发送的文本信息“@智慧屏帮我预约晚上8点播放《电影1》”。此时手机可以向智慧屏发送指令,该指令中包括文本信息“帮我预约晚上8点播放《电影1》”。智慧屏可以对用户意图以及槽位信息进行分析,从而为用户预约晚上8点播放《电影1》。具体的分析过程可以参考上述实施例中的描述,为了简洁,在此不再赘述。在智慧屏为用户预约晚上8点播放《电影1》后,智慧屏还可以向手机发送对该指令的执行结果,该执行结果中包括文本信息“好的,已为您预约晚上8点播放《电影1》”。
一个实施例中,若智慧屏在接收到该指令时处于未唤醒状态,那么智慧屏可以在接收到该指令时进入唤醒状态,并在进入唤醒状态后执行该指令。
参见图9中的(d)所示的GUI,该GUI为女儿与爸爸的另一聊天界面。当手机接收到智慧屏对该指令的执行结果后,手机可以在该聊天界面上显示智慧屏回复了内容“好的,已为您预约晚上8点播放《电影1》”。
本申请实施例中,用户可以在@对应的智能设备后,直接在后面输入对应的指令,从而手机可以将相应的指令发送给智能设备,这样可以快速的向智能设备下达指令,减少了手机和智能设备的交互次数,有助于提升用户和智能设备之间交互的效率。
一个实施例中,用户也可以在文本输入框中输入“@智能音箱@P40,帮我定早上10点的闹铃”。当手机检测到用户点击发送控件的操作时,手机可以在聊天界面中显示女儿发送了文本信息“@智能音箱@P40,帮我定早上10点的闹铃”,同时手机可以向智能音箱和P40发送指令,该指令中可以携带文本信息“帮我定早上10点的闹铃”。
图10是本申请实施例提供的另一组GUI。
参见图10中的(a)所示的GUI,该GUI为群组的聊天界面。当手机检测到用户选 择“智慧屏”的操作后,手机可以在该聊天界面显示女儿发送的文本信息“@智慧屏”。此时,手机可以向智慧屏发送指令,智慧屏执行该指令的过程可以参考上述实施例中的描述,为了简洁,在此不再赘述。智慧屏可以向手机发送对该指令的执行结果,该执行结果可以包括文本信息“您好,有什么可以帮助您”。手机可以在接收到智慧屏发送的执行结果后,在该聊天界面显示该文本信息“您好,有什么可以帮助您”。
参见图10中的(b)所示的GUI,该GUI为群组的另一聊天界面。女儿在回复“预约晚上8点播放《电影1》”之前,妈妈在该聊天界面中回复了“可以呀”。此时,手机在检测到用户在该聊天界面中发送了文本信息“可以呀”时,向智慧屏发送指令,该指令中包括文本信息“可以呀”。智慧屏在接收到该文本信息时,可以确定该文本信息中未包含用户意图以及槽位信息,那么智慧屏可以忽略该文本信息。
手机在检测到用户在该聊天界面中接着发送了文本信息“预约晚上8点播放《电影1》”时,手机可以向智慧屏发送另一指令,该另一指令中包括文本信息“预约晚上8点播放《电影1》”。智慧屏可以对用户意图以及槽位信息进行分析,从而为用户预约晚上8点播放《电影1》。具体的分析过程可以参考上述实施例中的描述,为了简洁,在此不再赘述。在智慧屏为用户预约晚上8点播放《电影1》后,智慧屏还可以向手机发送对该指令的执行结果,该执行结果中包括文本信息“好的,已为您预约晚上8点播放《电影1》”。
一个实施例中,手机在检测到用户在该聊天界面中发送了文本信息时,可以对该文本信息中的用户意图以及槽位信息进行分析,如果手机确定该文本信息中包括了用户意图以及槽位信息,那么手机可以向智慧屏转发用户意图以及槽位信息。示例性的,当手机检测到用户在该聊天界面中发送了文本信息“可以呀”时,手机可以确定其中并不包括用户意图以及槽位信息,那么手机可以不向智慧屏发送指令;而当手机检测到用户在该聊天界面中发送了文本信息“预约晚上8点播放《电影1》”时,手机可以确定其中包括用户意图以及槽位信息,那么手机可以向智慧屏发送其分析得到的用户意图以及槽位信息,从而智慧屏可以根据该用户意图以及槽位信息,执行相应的操作。
参见图10中的(c)所示的GUI,该GUI为女儿与爸爸的另一聊天界面。当手机接收到智慧屏对该指令的执行结果后,智慧屏可以在该聊天界面上显示智慧屏回复了内容“好的,已为您预约晚上8点播放《电影1》”。
下面结合图11和图12介绍两种用户与智能设备结束交互的过程。
图11是本申请实施例提供的另一GUI。
参见图11中所示的GUI,该GUI为女儿与爸爸的另一聊天界面。当手机在该聊天界面上检测到用户发送了“@智慧屏没事了”后,手机可以向智慧屏发送指令,该指令中包括该文本信息“没事了”。智慧屏在接收到该指令后,可以确定用户希望结束与智慧屏的交互,从而智慧屏可以向手机发送对该指令的执行结果,该执行结果中包括文本信息“好的,需要时请再@我”。手机在接收到该执行结果时,可以在该聊天界面中显示智慧屏回复了“好的,需要时请再@我”。
参见图12中所示的GUI,该GUI为女儿与爸爸的另一聊天界面。当智慧屏在向手机发送文本信息“好的,已为您预约晚上8点播放《电影1》”开始的预设时长(例如,5分钟)内,智慧屏没有接收到手机发送任何指令,那么智慧屏可以在该预设时长结束时,向手机发送文本信息“我先退下了,需要时请再@我”。手机在接收到智慧屏发送的指令时, 可以在该聊天界面显示智慧屏回复了“我先退下了,需要时请再@我”。
需要说明的,图11和图12中以结束交互的条件为手机接收到用户结束交互的指令和手机在预设时间内未接收到用户的指令为例进行的说明,可以理解的是,该结束交互的条件还可以是智慧屏在预设时间内为接收到手机发送的指令等等,本申请实施例并不限定。
以上结合图3至图12中的GUI,介绍了本申请实施例中用户在聊天界面中与智能设备交互的过程。下面结合图13至图15介绍用户间分享智能设备的过程。
图13是本申请实施例提供的一组GUI。
参见图13中的(a)所示,该GUI为手机的桌面。其中,手机的桌面上包括多个应用程序(App1至App9)的图标。当手机检测到用户点击App2的图标的操作时,手机可以打开App2,显示如图13中的(b)所示的GUI。
参见图13中的(b)所示的GUI,该GUI为App2的显示界面。App2可以是设备管理应用。该显示界面显示当前登录的华为账号为18xxxxx76且用户的昵称为爸爸。当手机检测到用户点击“我的共享”的操作时,手机可以显示如图13中的(c)所示的GUI。
参见图13中的(c)所示的GUI,该GUI为共享设备的显示界面。该显示界面上包括用户向其他联系人共享的设备以及用户接受的其他联系人向用户共享的设备。该显示界面上显示“没有创建共享,您可以添加成员后共享设备”。当手机检测到用户点击“扫码添加成员”的操作时,手机可以显示如图13中的(d)所示的GUI。
参见图13中的(d)所示的GUI,该GUI为扫描二维码的界面。用户可以使用手机扫描其他联系人的二维码,从而在添加其他联系人后向其共享设备。如图13中的(d),用户使用手机扫描了联系人18xxxxx34的二维码后,可以显示扫码添加成员的提醒框,该提醒框中包括联系人的华为账号“18xxxxx34”。当手机检测到用户点击确定控件时,可以显示如图13中的(e)所示的GUI。
参见图13中的(e)所示的GUI,该GUI为共享设备的另一显示界面。当用户添加了联系人“Mary”为共享成员后,手机可以在该显示界面上显示提醒框,该提醒框可以提示用户“已添加Mary为共享成员,是否为其添加共享设备”。当手机检测到用户点击“添加共享”的操作后,手机可以显示如图13中的(f)所示的GUI。
参见图13中的(f)所示的GUI,该GUI为共享设备选择的界面。当手机检测到用户选择了智能音箱以及MatePad Pro且点击了确定控件的操作后,手机可以显示如图13中的(g)所示的GUI。
参见图13中的(g)所示的GUI,该GUI为共享设备选择的界面。手机可以通过提醒框提示用户“是否共享已选设备,允许对方通过App2使用”。当手机检测到用户点击确定控件时,手机可以显示如图13中(h)所示的GUI。
参见图13中的(h)所示的GUI,该GUI为共享设备的另一显示界面。该显示界面上显示用户向联系人Mary共享了2个设备。
一个实施例中,若手机上的App1和App2均为登录了同一账号(例如,爸爸的华为账号),那么App1和App2之间可以通过服务器进行数据共享。示例性的,爸爸通过手机将智能音箱以及MatePad Pro共享给了联系人Mary(爸爸的女儿),那么手机可以将联系人Mary的华为账号以及爸爸的设备(智能音箱以及MatePad Pro)发送给服务器,从而在服务器上实现爸爸的设备与女儿的账号的绑定。服务器在将爸爸的设备与女儿的账号进 行绑定后,还可以向女儿的设备(例如,女儿的手机)发送爸爸共享的设备的信息。从而在女儿的设备中保存爸爸的设备的信息。示例性的,如图7中的(b)所示,当女儿的手机检测到用户输入了“@”后,手机可以在设备列表中显示爸爸的设备的信息。
一个实施例中,爸爸通过爸爸的华为账号将自己的2个设备分享给女儿后,如果爸爸的华为账号下又添加了新的设备,那么新的设备可以自动添加至女儿处(或者,新的设备可以自动授权给女儿使用)。
图14是本申请实施例提供的一组GUI。
参见图14中的(a)所示的GUI,该GUI为App2的另一显示界面。当手机检测到用户点击控件1401的操作时,可以显示功能列表,其中功能列表中包括添加设备、创建智能、共享设备以及连接三方平台等功能。当手机检测到用户点击共享设备的操作时,手机可以显示如图14中的(b)所示的GUI。
参见图14中的(b)所示的GUI,该GUI为共享设备选择的界面。当手机检测到用户选择了智能音箱以及MatePad Pro且点击了确定控件的操作后,手机可以显示如图14中的(c)所示的GUI。
参见图14中的(c)所示的GUI,该GUI为多种设备分享方式的显示界面。用户可以通过扫码、通过华为账号共享以及共享给App1的好友等等方式来共享设备。当手机检测到用户点击共享给App1的好友的操作时,手机可以显示如图14中的(d)所示的GUI。
参见图14中的(d)所示的GUI,该GUI为App1的好友列表显示界面。该好友列表中包括用户在App1中的好友信息。当手机检测到用户选择了女儿且点击了确定控件时,手机可以将智能音箱以及MatePad Pro共享给App1中的联系人女儿。示例性的,如图7中的(b)所示,当女儿的手机检测到用户输入了“@”后,手机可以在设备列表中显示爸爸的设备的信息。
一个实施例中,爸爸通过爸爸的华为账号将2个设备分享给女儿后,这2个设备可以仅在爸爸与女儿的聊天界面上显示。也可以是在包括女儿和爸爸的所有聊天界面中显示。例如,爸爸给女儿分享了智能音箱以及MatePad Pro,那么在女儿和爸爸的聊天界面中,当手机检测到用户点击“@”时,可以在设备列表中显示智能音箱以及MatePad Pro。又例如,在女儿、爸爸和妈妈的群组聊天界面中,当手机检测到用户点击“@”时,可以在需要提醒的设备信息中显示智能音箱以及MatePad Pro。而在女儿与其他联系人(其他联系人中不包括爸爸)的聊天界面中可以不显示爸爸分享给女儿的设备。
图15是本申请实施例提供的一组GUI。
参见图15中的(a)所示的GUI,该GUI为群组的聊天界面。当手机检测到用户点击控件1501的操作时,手机可以显示如图15中的(b)所示的GUI。
参见图15中的(b)所示的GUI,该GUI为群组信息的显示界面。该显示界面上包括群组设备以及群组成员的信息,其中群组设备中包括该群组内所有群组成员分享的设备(当前群组设备中有2个设备),群组设备内的设备允许群组中所有成员进行控制。当手机检测到用户点击群组设备的操作时,手机可以显示如图15中的(c)所示的GUI。
参见图15中的(c)所示的GUI,该GUI为群组设备的显示界面。该显示界面中显示当前群组设备中包括爸爸分享的MatePad Pro以及妈妈分享的智能音箱。当手机检测到用户点击添加设备的控件时,手机可以显示如图15中的(d)所示的GUI。
参见图15中的(d)所示的GUI,该GUI为共享设备选择的界面。当手机检测到用户选择了智慧屏以及P40且点击了确定控件的操作后,手机可以显示如图15中的(e)所示的GUI。
参见图15中的(e)所示的GUI,该GUI为群组设备的另一显示界面。该显示界面中显示当前群组设备中增加了用户分享的2个设备(智慧屏以及P40)。
一个实施例中,女儿在该群组设备中分享了自己的设备(智慧屏以及P40)后,在妈妈与女儿的聊天界面中,若妈妈在文本输入框中输入了“@”,可以在设备列表中显示智慧屏和P40。在爸爸与女儿的聊天界面中,若爸爸在文本输入框中输入了“@”,可以在设备列表中显示智慧屏和P40。
以上结合图3至图15介绍了用户在聊天的过程中需要智能设备的智慧助手时,可以有途径对智能设备的智慧助手下达指令,且让智能设备的智慧助手拟人化,在聊天过程中更加轻松的完成对智能设备的智慧助手的控制。下面结合方法实施例对本申请实施例中控制设备的方法进行介绍。
图16示出了本申请实施例中控制设备的方法1600的示意性流程图。该方法可以由第一电子设备执行,该方法包括:
S1601,第一电子设备在即时通讯应用的聊天界面检测到用户的预设操作。
示例性的,该即时通讯应用可以是上述App1。
一个实施例中,该预设操作可以为第一电子设备检测到用户在文本输入框中输入“@”的操作。
一个实施例中,该预设操作可以为第一电子设备在该聊天界面上检测到用户的预设手势(例如,三指滑动)。
一个实施例中,该聊天界面包括两个成员的单聊界面和三个或者三个以上成员的群聊界面。
示例性的,如图3中的(c)所示的GUI为两个成员(女儿和爸爸)的单聊界面。
示例性的,如图6中的(b)所示的GUI为三个成员(女儿、妈妈和爸爸)的群聊界面。
应理解,本申请实施例中的聊天界面并不限于图6中的(b)-(c)所示的聊天界面,该聊天界面也可以包括如图6中的(d)或者图8中的(b)-(c)所示的成员信息以及设备列表显示界面。
S1602,该第一电子设备响应于该预设操作,在该聊天界面上显示列表,该列表中包括一个或者多个设备的设备信息,该一个或者多个设备中包括该第二电子设备。
一个实施例中,该一个或者多个设备与第一账号相关联,该第一账号为该即时通讯应用(例如,App1)上登录的账号。
一个实施例中,该一个或者多个设备包括该第一账号下具备智慧能力的设备。
示例性的,参见图3中的(e)所示,当手机检测到用户在文本输入框中输入了“@”后,手机可以显示设备列表,其中设备列表中包括智慧屏、音箱以及P40。其中智慧屏、音箱以及P40为手机上登录的华为账号(女儿的华为账号)下具备智慧能力的设备。
一个实施例中,该一个或者多个设备中还包括通过第二账号授权给第一账号使用的具备智慧能力的设备。
示例性的,参见图7中的(b)所示,当手机检测到用户在文本输入框中输入了“@”后,手机可以显示设备列表,其中设备列表中包括女儿的设备(智慧屏和P40)以及爸爸的设备(MatePad Pro以及智能音箱)。其中,当前手机上登录的账号为女儿的华为账号,女儿的设备为女儿的华为账号下具备智慧能力的设备,爸爸的设备为通过爸爸的华为账号分享给女儿的华为账号的设备。
示例性的,参见图8中的(c)所示,在群组的智能设备列表中包括女儿的设备、爸爸的设备以及妈妈的设备。其中,爸爸的设备可以是通过爸爸的华为账号分享给群组中所有成员使用的设备,妈妈的设备可以是通过妈妈的华为账号分享给群组中所有成员使用的设备。
一个实施例中,该第二账号包括该聊天界面上该第一账号对应的用户的聊天对象的账号。
示例性的,如图7中的(b)所示,第一账号可以是女儿的华为账号1,第二账号可以是爸爸的华为账号2。
示例性的,如图8中的(b)所示,第一账号可以是女儿的华为账号1,第二账号可以包括爸爸的华为账号2以及妈妈的华为账号3。
一个实施例中,该即时通讯应用可以是该第一账号授权过的应用。
示例性的,该即时通讯应用为微信(例如,当前微信上登录的账号为微信账号1),该第一账号为华为账号1,该列表中显示的设备可以是通过华为账号1授权给微信账号1使用的设备。
示例性的,若该预设操作可以为第一电子设备在该聊天界面上检测到用户的预设手势,第一电子设备可以在聊天界面上监听触控事件。当第一电子设备检测到用户打开App1的操作时,第一电子设备显示App1的主界面(如图3中的(b)所示)。当第一电子设备检测到用户在主界面上点击某个联系人(例如,爸爸)的聊天记录时,第一电子设备显示与该联系人的聊天界面。当第一电子设备显示聊天界面时,第一电子设备可以开始监听触控事件。若第一电子设备在聊天界面上监听到用户的预设手势(例如,三指滑动等)时,第一电子设备可以显示列表。以第一电子设备为Android系统为例,第一电子设备可以采用OnTouchListener、GestureDetector等监听方式。
一个实施例中,该列表可以包括一个或者多个设备的设备信息。示例性的,该列表可以是如图3中的(e)所示的列表,该列表中包括多个设备的设备信息(智慧屏、音箱和P40)。
一个实施例中,该列表中可以包括一个或者多个设备的设备信息以及成员的信息。示例性的,该列表可以是如图6中的(d)所示的列表,其中包括群组中的成员信息以及一个或者多个设备的设备信息。
S1603,该第一电子设备获取用户在该聊天界面上输入的对该第二电子设备的第一指令。
一个实施例中,该第一电子设备获取用户在该聊天界面上输入的对该第二电子设备的第一指令之前,该方法还包括:该第一电子设备检测到用户从该列表中选择第二电子设备的操作。
一个实施例中,该聊天界面为两个成员的单聊界面。当第一电子设备检测到用户的预 设操作时,第一电子设备可以在该聊天界面上显示该列表。示例性的,该预设操作为用户在文本输入框中输入了“@”,那么第一电子设备可以在“@”附件显示该列表。
一个实施例中,该聊天界面为三个或者三个以上成员的群聊界面。该第一电子设备可以在显示该即时通讯应用的第一聊天界面。该第一电子设备在该第一聊天界面上检测到用户的预设操作时,该第一电子设备可以显示第二聊天界面,该第二聊天界面上包括该列表(例如,该列表中可以包括成员信息以及一个或者多个设备的设备信息)。当该第一电子设备在该第二聊天界面上检测到用户从该列表中选择该第二电子设备的操作时,该第一电子设备从该第二聊天界面跳转至该第一聊天界面。该第一电子设备在该第一聊天界面上获取用户对该第二电子设备的第一指令。
一个实施例中,该第一指令可以是包括用户意图的指令。示例性的,当第一电子设备检测到用户发送了文本信息“预约晚上8点播放《电影1》”时,第一电子设备可以向第二电子设备发送第一指令,该第一指令中包括用户意图“预约电影”。
示例性的,如图3中的(g)所示,该第一指令可以为女儿发送的文本信息“预约晚上8点播放哪吒”。
示例性的,如图6中的(f)所示,该第一指令可以为女儿发送的文本信息“预约晚上8点播放《电影1》”。
示例性的,如图9中的(c)所示,该第一指令可以为女儿发送的文本信息“@智慧屏,帮我预约晚上8点播放《电影1》”。
一个实施例中,第一电子设备可以是先检测到用户选择第二电子设备,然后检测到用户输入第一指令的操作。第一电子设备在检测到用户选择第二电子设备的操作时,可以直接在该聊天界面显示“@第二电子设备”。此时该第一电子设备可以向第二电子设备发送第二指令,该第二指令用于唤醒该第二电子设备,或者,该第二指令用于请求通过第一电子设备与第二电子设备进行交互。示例性的,如图3中的(f)和(g),手机先检测到用户输入了“@智慧屏”。那么手机在检测到用户输入了“@智慧屏”后,就可以向智慧屏发送该第二指令。当手机检测到用户发送了文本信息“预约晚上8点播放哪吒”时,可以向智慧屏发送第一指令,该第一指令中包括用户意图“预约电影”。
一个实施例中,第一电子设备可以是同时检测到用户选择第二电子设备以及输入第一指令的操作。第一电子设备在检测到用户选择第二电子设备的操作时,可以在文本输入框中显示“@第二电子设备”,此时第一电子设备并不会直接将文本输入框中的内容发送出去。用户可以继续在文本输入框中编辑需要发送给第二电子设备的第一指令。当第一电子设备检测到用户点击发送控件的操作时,第一电子设备可以在聊天界面显示用户在文本输入框中编辑的内容并向第二电子设备发送该第一指令。示例性的,如图9中的(c)所示,手机可以在该聊天界面显示“@智慧屏,帮我预约晚上8点播放《电影1》”,同时手机可以向智慧屏发送第一指令,该第一指令中包括用户意图“预约电影”。第二电子设备在接收到该第一指令时,如果第二电子设备处于未唤醒状态,那么第二电子设备可以先进入唤醒状态,然后执行该第一指令。
一个实施例中,该第一指令中可以包括用户输入的文本信息或者语音信息。
S1604,该第一电子设备向该第二电子设备发送该第一指令。
示例性的,该第一电子设备可以通过网络报文的方式向第二电子设备发送该第一指 令。网络协议包括但不限于传输控制协议(transmission control protocol,TCP)、用户数据报协议(user datagram protocol,UDP)或者超文本传输协议(hyper text transfer protocol,HTTP)等等。
示例性的,该第一电子设备也可以通过服务器向第二电子设备发送该第一指令,从而由服务器将该第一指令转发给第二电子设备。
示例性的,该第一电子设备还可以通过短距无线通信技术(例如,蓝牙/Wi-Fi)向第二电子设备发送该第一指令。示例性的,如图3中的(g)所示,如果女儿的手机和智慧屏在预设距离内,那么手机可以将该第一指令携带在蓝牙低功耗(Bluetooth low energy,BLE)数据包中发送给第二电子设备。
一个实施例中,该方法还包括:该第一电子设备接收该第二电子设备发送的对该第一指令的执行结果;该第一电子设备在该聊天界面上显示该执行结果。
示例性的,第二电子设备在执行该第一指令后,可以通过网络报文的方式向第一电子设备发送该执行结果;或者,第二电子设备也可以将该执行结果发送给服务器,由服务器转发给该第一电子设备;或者,第二电子设备也可以通过短距离无线通信技术向第一电子设备发送该执行结果。
示例性的,如图3中的(i)所示,智慧屏向手机发送的执行结果中包括《电影1》和《电影2》的信息。手机在接收到智慧屏发送的执行结果后,可以提示用户“好的,为您找到以下2个结果,请问预约哪一个”以及该《电影1》和《电影2》的信息。
示例性的,如图6中的(g)所示,智慧屏向手机发送的执行结果中包括文本信息“好的,已为您预约晚上8点播放《电影1》”。手机在接收到智慧屏发送的执行结果后,可以在该聊天界面上显示智慧屏回复了“好的,已为您预约晚上8点播放《电影1》”。
一个实施例中,该方法还包括:该第一电子设备确定是否存在进一步交互。
示例性的,当第一电子设备从显示该执行结果起的预设时长内,没有检测到用户再一次输入指令,那么第一电子设备确定没有进一步交互。此时,第一电子设备可以向第二电子设备发送第一指示信息,该第一指示信息用于指示第一电子设备在预设时长内未接收到用户再一次输入指令。第二电子设备在接收到该第一指示信息后,可以向第一电子设备发送提醒信息,该提醒信息用于提示用户如果需要与第二电子设备进行交互,请用户再次进行预设操作。
或者,该第二电子设备在预设时长内未接收到第一电子设备发送的指令,可以向第一电子设备发送提醒信息,该提醒信息用于提示用户如果需要与第二电子设备进行交互,请用户再次进行预设操作。
示例性的,如图12所示,智慧屏在接收到手机发送的第一指示信息后,可以向手机发送提醒信息“我先退下了,需要时请再@我”。手机在接收到该提醒信息后,可以显示智慧屏回复了“我先退下了,需要时请再@我”。
示例性的,当第一电子设备检测到用户发送的交互结束指令时,第一电子设备可以确定没有进一步交互。此时,第一电子设备可以向第二电子设备发送第二指示信息,该第二指示信息用于指示结束第二电子设备的交互。第二电子设备在接收到该第二指示信息后,可以向手机发送提醒信息,该提醒信息用于提示用户如果需要与第二电子设备进行交互,请用户再次进行预设操作。
示例性的,如图11所示,手机检测到用户输入了“@智慧屏,没事了”时,手机可以向智慧屏发送第二指示信息。智慧屏在接收到手机发送的第二指示信息后,可以向手机发送提醒信息“好的,需要时请再@我”。手机在接收到该提醒信息后,可以显示智慧屏回复了“好的,需要时请再@我”。
一个实施例中,若在第一电子设备显示该执行结果后,第一电子设备在该聊天界面中检测到用户输入的其他指令,那么第一电子设备可以继续向相应的设备发送用户输入的其他指令。
示例性的,如图3中的(i)所示,手机在该聊天界面中提示用户“好的,为您找到以下2个结果,请问预约哪一个”以及该《电影1》和《电影2》的信息后,手机接收到用户回复的文本信息“第一个”。手机可以向智慧屏发送该文本信息,智慧屏在接收到该文本信息后可以确定用户希望预约的电影为《电影1》。智慧屏在为预约了晚上8点播放《电影1》后,向手机发送文本信息“好的,已为您预约晚上8点播放《电影1》”。从而手机可以在该聊天界面上显示智慧屏回复了文本信息“好的,已为您预约晚上8点播放《电影1》”。
示例性的,如图5中的(a)所示,手机在显示智慧屏回复了“好的,已为您预约晚上8点播放《电影1》”后。手机检测到用户输入了“@”并检测到用户选择了音箱,那么用户可以继续在该聊天界面中与音箱进行交互。
若第一电子设备确定存在进一步交互,那么第一电子设备可以继续向第二电子设备发送用户的其他指令。第一电子设备向第二电子设备发送其他指令的过程可以参考上述S1604-S1607的过程,为了简洁,在此不再赘述。
图17示出了本申请实施例提供的第一电子设备确定列表中的设备的过程。该过程包括:
S1701,第一电子设备响应于检测到用户的预设操作,向服务器请求与第一账号相关联的设备的设备信息。
一个实施例中,该设备信息中包括设备名称、设备类型、是否支持智慧能力、是否在线等信息。
示例性的,第一电子设备可以向服务器发送请求信息,该请求信息用于请求与第一账号相关的设备的设备信息,该请求信息中包括第一账号的信息。服务器在接收到该请求信息后,可以查询该第一账号下的设备、与第一账号相关联的其他账号下的设备。
本申请实施例中,与第一账号相关联的其他账号下的设备可以是通过其他账号授权给第一账号使用的设备。例如,通过爸爸的华为账号授权给女儿的华为账号使用的设备。
与第一账号相关联的其他账号下的设备也可以是同一家庭群组中的其他账号下的设备。例如,如果爸爸的华为账号、妈妈的华为账号以及女儿的华为账号位于同一家庭群组中,那么服务器可以默认同一家庭群组中所有账号下的设备之间是相互信任的,用户可以使用其他家庭成员的设备。
S1702,第一电子设备接收服务器发送的设备信息。
示例性的,表3示出了服务器发送给第一电子设备的设备信息,其中,设备信息中包括华为账号、设备类型、是否支持智慧能力、支持的功能以及是否在线等信息。
表3
Figure PCTCN2021113399-appb-000003
Figure PCTCN2021113399-appb-000004
S1703,第一电子设备根据设备信息,筛选出具备智慧能力的设备。
示例性的,如表3所示,第一电子设备可以根据是否支持智慧能力对设备进行筛选,从而确定出其中具备智慧能力的设备(智慧屏、手机、平板、智能音箱以及车机)。
S1704,第一电子设备从具备智慧能力的设备中筛选出在线的设备。
示例性的,第一电子设备可以从具备智慧能力的设备中筛选在线的设备,其中具备智慧能力且在线的设备包括智慧屏、手机、平板以及智能音箱。
S1705,第一电子设备显示列表,该列表中包括S1704中筛选出来的设备的信息。
示例性的,如图7中的(b)所示,手机可以显示的列表中显示的智慧屏、P40、MatePad Pro以及智能音箱为具有智慧能力且当前在线的设备。
应理解,S1701-S1705仅仅是第一电子设备确定列表中所显示的设备的一种实现方式,本申请实施例中并不限于此。例如,第一电子设备中可以保存从服务器获取的通过其他联系人的账号授权的设备的信息。第一电子设备可以确定第一账号下的设备以及通过其他联系人的账号授权的设备中具备智慧能力的设备。当第一电子设备检测到用户的预设操作时,第一电子设备可以通过服务器向这些具备智慧能力的设备发送请求信息,该请求信息用于确定对端设备是否在线。如果第一电子设备通过服务器接收到对端设备发送的响应,则可以确定对端设备在线,从而在列表中显示具备智慧能力且在线的设备。
图18示出了本申请实施例中控制设备的方法1800的示意性流程图。该方法可以由包括第一电子设备和第二电子设备的系统执行,该方法1800包括:
S1801,第一电子设备在即时通讯应用的聊天界面检测到用户的预设操作。
S1802,该第一电子设备响应于该预设操作,在该聊天界面上显示列表,该列表中包括一个或者多个设备,该一个或者多个设备与第一账号相关联,该第一账号为该第一电子设备上登录的账号。
S1803,该第一电子设备检测到用户从该列表中选择该第二电子设备并输入对该第二电子设备的第一指令的操作。
S1804,第一电子设备向第二电子设备发送该第一指令。
应理解,S1801-S1804的过程可以参考上述S1601-S1604的过程,为了简洁,在此不再赘述。
S1805,第二电子设备执行该第一指令。
示例性的,若该第一指令中包含用户输入的文本信息,那么第二电子设备可以确定该文本信息中用户意图以及槽位信息,从而执行该指令。
应理解,该第二电子设备执行该第一指令的过程可以参考上述实施例中的描述,为了简洁,在此不再赘述。
一个实施例中,该方法还包括:该第二电子设备向该第一电子设备发送对该第一指令的执行结果;该第一电子设备在该聊天界面上显示该执行结果。
应理解,该第二电子设备向第一电子设备发送执行结果以及第一电子设备在聊天界面上显示该执行结果的过程可以参考上述方法1600中的描述,为了简洁,在此不再赘述。
本申请实施例提供了一种电子设备,该电子设备包括:一个或多个处理器,一个或多个存储器,该一个或多个存储器存储存储有一个或多个计算机程序,该一个或多个计算机程序包括指令。当该指令被所述一个或多个处理器运行时,使得第一电子设备执行上述实施例中的技术方案。其实现原理和技术效果与上述方法相关实施例类似,此处不再赘述。
本申请实施例提供一种计算机程序产品,当所述计算机程序产品在第一电子设备运行时,使得第一电子设备执行上述实施例中的技术方案。其实现原理和技术效果与上述方法相关实施例类似,此处不再赘述。
本申请实施例提供一种可读存储介质,所述可读存储介质包含指令,当所述指令在第一电子设备运行时,使得所述第一电子设备执行上述实施例的技术方案。其实现原理和技术效果类似,此处不再赘述。
本申请实施例提供一种芯片,所述芯片用于执行指令,当所述芯片运行时,执行上述实施例中的技术方案。其实现原理和技术效果类似,此处不再赘述。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储 在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。

Claims (19)

  1. 一种系统,其特征在于,所述系统包括第一电子设备和第二电子设备,其中,
    所述第一电子设备,用于在即时通讯应用的聊天界面检测到用户的预设操作;
    所述第一电子设备,还用于响应于所述预设操作,在所述聊天界面显示列表,所述列表包括一个或者多个设备的设备信息,所述一个或者多个设备与第一账号相关联,所述第一账号为所述即时通讯应用上登录的账号;
    所述第一电子设备,还用于在检测到用户从所述列表中选择所述第二电子设备并输入对所述第二电子设备的第一指令的操作时,向所述第二电子设备发送所述第一指令;
    所述第二电子设备,用于执行所述第一指令。
  2. 根据权利要求1所述的系统,其特征在于,所述第一电子设备,还用于在检测到用户从所述列表中选择所述第二电子设备的操作时,向所述第二电子设备发送第二指令,所述第二指令用于唤醒所述第二电子设备,或者,所述第二指令用于请求通过所述第一电子设备与所述第二电子设备交互。
  3. 根据权利要求1或2所述的系统,其特征在于,所述一个或者多个设备中包括通过第二账号授权给所述第一账号使用的具备智慧能力的设备。
  4. 根据权利要求3所述的系统,其特征在于,所述第二账号包括所述聊天界面上所述第一账号对应的用户的聊天对象的账号。
  5. 根据权利要求1至4中任一项所述的系统,其特征在于,所述预设操作为用户输入@的操作。
  6. 一种控制设备的方法,其特征在于,所述方法应用于第一电子设备,所述方法包括:
    显示即时通讯应用的聊天界面;
    响应于在所述聊天界面上检测到预设操作,在所述聊天界面上显示列表,所述列表中包括一个或者多个设备的设备信息,所述一个或者多个设备中包括第二电子设备;
    获取用户在所述聊天界面上输入的对所述第二电子设备的第一指令;
    向所述第二电子设备发送所述第一指令。
  7. 根据权利要求6所述的方法,其特征在于,在获取用户在所述聊天界面上输入的对所述第二电子设备第一指令之前,所述方法还包括:
    响应于检测到用户从所述列表中选择所述第二电子设备的操作,向所述第二电子设备发送第二指令,所述第二指令用于唤醒所述第二电子设备,或者,所述第二指令用于请求通过所述第一电子设备与所述第二电子设备交互。
  8. 根据权利要求6或7所述的方法,其特征在于,所述聊天界面包括两个成员的单聊界面和三个或者三个以上成员的群聊界面。
  9. 根据权利要求6至8中任一项所述的方法,其特征在于,所述列表还包括成员信息。
  10. 根据权利要求8或9所述的方法,其特征在于,所述第一界面为群聊界面,所述显示即时通讯应用的聊天界面,包括:显示所述即时通讯应用的第一聊天界面;
    所述响应于在所述聊天界面上检测到预设操作,在所述聊天界面上显示列表,包括:
    响应于在所述第一聊天界面上检测到所述预设操作,显示第二聊天界面,所述第二聊天界面上包括所述列表;
    其中,所述获取用户在所述聊天界面上输入的对所述第二电子设备第一指令,包括:
    响应于用户从所述列表中选择所述第二电子设备的操作,从所述第二聊天界面跳转至所述第一聊天界面;
    获取用户在所述第一聊天界面上输入的所述第一指令。
  11. 根据权利要求6至10中任一项所述的方法,其特征在于,所述方法还包括:
    在预设时长内未接收到用户输入指令,或者,接收到用户输入的第三指令时,向所述第二电子设备发送所述第三指令,所述第三指令用于指示结束与所述第二电子设备的交互;
    接收所述第二电子设备发送的提醒信息,所述提醒信息用于提醒用户需要和所述第二电子设备交互时再次进行所述预设操作;
    在所述聊天界面上显示所述提醒信息。
  12. 根据权利要求6至11中任一项所述的方法,其特征在于,所述方法还包括:
    接收所述第二电子设备对所述第一指令的执行结果;
    在所述聊天界面上显示所述执行结果。
  13. 根据权利要求6至12中任一项所述的方法,其特征在于,所述一个或者多个设备中包括第一账号下具备智慧能力的设备,所述第一账号为所述即时通讯应用上登录的账号。
  14. 根据权利要求13所述的方法,其特征在于,所述一个或者多个设备中还包括通过第二账号授权给所述第一账号使用的具备智慧能力的设备。
  15. 根据权利要求14所述的方法,其特征在于,所述第二账号包括所述聊天界面上所述第一账号对应的用户的聊天对象的账号。
  16. 根据权利要求6至15中任一项所述的方法,其特征在于,所述预设操作为用户输入@的操作。
  17. 一种电子设备,其特征在于,包括:一个或多个处理器;一个或多个存储器;所述一个或多个存储器存储有一个或者多个计算机程序,所述一个或者多个计算机程序包括指令,当所述指令被所述一个或多个处理器执行时,使得所述电子设备执行如权利要求6至16中任一项所述的方法。
  18. 一种计算机可读存储介质,其特征在于,包括计算机指令,当所述计算机指令在电子设备上运行时,使得所述电子设备执行如权利要求6至16中任一项所述的方法。
  19. 一种计算机程序产品,其特征在于,当所述计算机程序产品在电子设备上运行时,使得所述电子设备执行如权利要求6至16中任一项所述的方法。
PCT/CN2021/113399 2020-09-09 2021-08-19 一种控制设备的方法、电子设备和系统 WO2022052767A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US18/044,700 US20230370400A1 (en) 2020-09-09 2021-08-19 Device Control Method, Electronic Device, and System
EP21865823.5A EP4202618A4 (en) 2020-09-09 2021-08-19 DEVICE CONTROL METHOD, ELECTRONIC DEVICE AND SYSTEM

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010939859.4 2020-09-09
CN202010939859.4A CN114237453A (zh) 2020-09-09 2020-09-09 一种控制设备的方法、电子设备和系统

Publications (1)

Publication Number Publication Date
WO2022052767A1 true WO2022052767A1 (zh) 2022-03-17

Family

ID=80632074

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/113399 WO2022052767A1 (zh) 2020-09-09 2021-08-19 一种控制设备的方法、电子设备和系统

Country Status (4)

Country Link
US (1) US20230370400A1 (zh)
EP (1) EP4202618A4 (zh)
CN (1) CN114237453A (zh)
WO (1) WO2022052767A1 (zh)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070286181A1 (en) * 2006-05-25 2007-12-13 Dennis Bushmitch Remote home/office monitoring and control using Skype
CN105007207A (zh) * 2015-08-14 2015-10-28 北京北信源软件股份有限公司 一种基于即时通信的智能家居机器人系统
CN105471705A (zh) * 2014-09-03 2016-04-06 腾讯科技(深圳)有限公司 一种基于即时通讯的智能控制方法、设备及系统
CN105917626A (zh) * 2014-03-12 2016-08-31 腾讯科技(深圳)有限公司 通过社交网络平台控制外围设备的方法和装置
CN107086949A (zh) * 2016-02-15 2017-08-22 北京北信源软件股份有限公司 一种用于人与智能设备交互操作的辅助智能装置
US20180218252A1 (en) * 2017-01-31 2018-08-02 Microsoft Technology Licensing, Llc Artificial intelligence entity interaction platform
CN110830270A (zh) * 2019-12-13 2020-02-21 李建军 用于智能设备控制的即时通讯平台、智能设备操控系统

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102084507B1 (ko) * 2013-09-05 2020-03-04 삼성전자주식회사 홈 네트워크 시스템에서 홈 디바이스를 원격으로 제어하는 방법 및 장치
CN104618440B (zh) * 2014-12-31 2018-03-23 腾讯科技(深圳)有限公司 智能设备控制方法及装置
CN110943906B (zh) * 2018-09-25 2023-04-18 富士胶片商业创新有限公司 控制装置及计算机可读介质
CN111479007A (zh) * 2019-01-24 2020-07-31 郭建志 应用谈话性软体控制实体机械的机构

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070286181A1 (en) * 2006-05-25 2007-12-13 Dennis Bushmitch Remote home/office monitoring and control using Skype
CN105917626A (zh) * 2014-03-12 2016-08-31 腾讯科技(深圳)有限公司 通过社交网络平台控制外围设备的方法和装置
CN105471705A (zh) * 2014-09-03 2016-04-06 腾讯科技(深圳)有限公司 一种基于即时通讯的智能控制方法、设备及系统
CN105007207A (zh) * 2015-08-14 2015-10-28 北京北信源软件股份有限公司 一种基于即时通信的智能家居机器人系统
CN107086949A (zh) * 2016-02-15 2017-08-22 北京北信源软件股份有限公司 一种用于人与智能设备交互操作的辅助智能装置
US20180218252A1 (en) * 2017-01-31 2018-08-02 Microsoft Technology Licensing, Llc Artificial intelligence entity interaction platform
CN110830270A (zh) * 2019-12-13 2020-02-21 李建军 用于智能设备控制的即时通讯平台、智能设备操控系统

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP4202618A4

Also Published As

Publication number Publication date
EP4202618A4 (en) 2024-01-24
US20230370400A1 (en) 2023-11-16
EP4202618A1 (en) 2023-06-28
CN114237453A (zh) 2022-03-25

Similar Documents

Publication Publication Date Title
WO2021052263A1 (zh) 语音助手显示方法及装置
WO2021013158A1 (zh) 显示方法及相关装置
EP3872807A1 (en) Voice control method and electronic device
WO2021213164A1 (zh) 应用界面交互方法、电子设备和计算机可读存储介质
EP4113415A1 (en) Service recommending method, electronic device, and system
WO2021000804A1 (zh) 锁定状态下的显示方法及装置
WO2019072178A1 (zh) 一种通知处理方法及电子设备
WO2022037407A1 (zh) 一种回复消息的方法、电子设备和系统
WO2021052139A1 (zh) 手势输入方法及电子设备
CN114173204A (zh) 一种提示消息的方法、电子设备和系统
WO2022068819A1 (zh) 一种界面显示方法及相关装置
WO2022017393A1 (zh) 显示交互系统、显示方法及设备
WO2022037726A1 (zh) 分屏显示方法和电子设备
WO2022042770A1 (zh) 控制通信服务状态的方法、终端设备和可读存储介质
WO2020238759A1 (zh) 一种界面显示方法和电子设备
WO2022160991A1 (zh) 权限控制方法和电子设备
WO2021143391A1 (zh) 基于视频通话的共享屏幕方法及移动设备
WO2021104122A1 (zh) 呼叫需求响应方法、装置及电子设备
CN111835904A (zh) 一种基于情景感知和用户画像开启应用的方法及电子设备
WO2022166435A1 (zh) 分享图片的方法和电子设备
WO2022135157A1 (zh) 页面显示的方法、装置、电子设备以及可读存储介质
WO2022022674A1 (zh) 应用图标布局方法及相关装置
WO2021238740A1 (zh) 一种截屏方法及电子设备
WO2021052388A1 (zh) 一种视频通信方法及视频通信装置
WO2023011289A1 (zh) 一种基于位置信息的Wi-Fi连接方法及装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21865823

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2021865823

Country of ref document: EP

Effective date: 20230321

NENP Non-entry into the national phase

Ref country code: DE