WO2023030264A1 - 一种电子设备的控制方法、介质和电子设备 - Google Patents
一种电子设备的控制方法、介质和电子设备 Download PDFInfo
- Publication number
- WO2023030264A1 WO2023030264A1 PCT/CN2022/115559 CN2022115559W WO2023030264A1 WO 2023030264 A1 WO2023030264 A1 WO 2023030264A1 CN 2022115559 W CN2022115559 W CN 2022115559W WO 2023030264 A1 WO2023030264 A1 WO 2023030264A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- electronic device
- instruction
- interaction instruction
- interaction
- user
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 59
- 230000003993 interaction Effects 0.000 claims abstract description 106
- 230000004044 response Effects 0.000 claims abstract description 24
- 238000004891 communication Methods 0.000 claims description 56
- 230000006854 communication Effects 0.000 claims description 56
- 230000002452 interceptive effect Effects 0.000 claims description 14
- 238000004458 analytical method Methods 0.000 claims description 8
- 238000004590 computer program Methods 0.000 claims description 8
- 238000005406 washing Methods 0.000 description 145
- 238000010586 diagram Methods 0.000 description 26
- 230000006870 function Effects 0.000 description 20
- 238000010295 mobile communication Methods 0.000 description 11
- 238000012545 processing Methods 0.000 description 11
- 238000005516 engineering process Methods 0.000 description 6
- 229920001621 AMOLED Polymers 0.000 description 4
- 230000002093 peripheral effect Effects 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 230000005236 sound signal Effects 0.000 description 4
- 238000005108 dry cleaning Methods 0.000 description 3
- 239000008186 active pharmaceutical agent Substances 0.000 description 2
- 238000013528 artificial neural network Methods 0.000 description 2
- 238000004140 cleaning Methods 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 230000007774 longterm Effects 0.000 description 2
- 239000002096 quantum dot Substances 0.000 description 2
- 230000005855 radiation Effects 0.000 description 2
- 238000010025 steaming Methods 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 238000007605 air drying Methods 0.000 description 1
- 238000013473 artificial intelligence Methods 0.000 description 1
- 230000003416 augmentation Effects 0.000 description 1
- 238000013475 authorization Methods 0.000 description 1
- 230000007175 bidirectional communication Effects 0.000 description 1
- 230000002457 bidirectional effect Effects 0.000 description 1
- 210000000988 bone and bone Anatomy 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000003862 health status Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000003359 percent control normalization Methods 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 210000000707 wrist Anatomy 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/52—User-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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L67/025—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
- H04L67/125—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/51—Discovery or management thereof, e.g. service location protocol [SLP] or web services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/72406—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by software upgrading or downloading
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/72409—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
- H04M1/72415—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories for remote control of appliances
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/7243—User 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72469—User 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
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Definitions
- the present application relates to the technical field of electronic equipment control, and in particular to a control method, medium and electronic equipment for electronic equipment.
- a first aspect of the present application provides a method for controlling an electronic device, the method comprising:
- the first electronic device displays the first interactive interface of the first application
- the first electronic device simultaneously inputs a first interaction instruction and a second interaction instruction on the first interaction interface in response to a user's first input operation on the first interaction interface, wherein the first interaction instruction uses For controlling the second electronic device to execute the first event, the second interaction instruction is used to control the third electronic device to execute the second event;
- the first electronic device sends the first interaction instruction and the second interaction instruction in response to a first operation performed by the user on the first interaction interface.
- the method for controlling an electronic device provided in the embodiment of the present application is not limited to household devices, and may also be other types of devices, which are not limited here.
- the first interaction instruction and the second interaction instruction may refer to control instructions in the service instructions in the specific embodiment.
- the first event and the second event may refer to services corresponding to the instructions in the specific embodiment.
- the first application may be an application for controlling other electronic devices, for example, an application for controlling household devices (such as Changlian).
- the first electronic device may simultaneously obtain the first interactive instruction and the second interactive instruction input by the user on the first interactive interface only in response to the user's first input operation on the first interactive interface, and The first electronic device sends the first interaction instruction and the second interaction instruction in response to the user's first operation on the first interaction interface. In this way, the control efficiency of the first electronic device on the second electronic device and the third electronic device is improved to a certain extent.
- the first electronic device for controlling household equipment is installed in the mobile phone application
- the first input operation can be to input voice, text or text with a set format through the device dialog box in the first application
- the mobile phone generates a service instruction in response to the first operation
- the first operation can be the user clicks to send Button operations, etc.
- the mobile phone responds to the first operation, and after sending corresponding instructions in the service instructions to multiple home devices, the multiple home devices respectively execute the services corresponding to the instructions after receiving the corresponding instructions in the service instructions.
- the mobile phone can control multiple household devices to coordinately execute multiple instructions in the service command in response to only one service command set by the user, which improves the control efficiency of the mobile phone to a certain extent.
- the second interaction instruction is used to control the third electronic device to execute the second event after the second electronic device executes the first event.
- the second electronic device may be a washing machine
- the third electronic device may be a speaker
- multiple second electronic devices include a washing machine and a speaker
- the first interactive instruction is used to instruct the washing machine to turn on the laundry mode to perform laundry business
- the second interactive instruction is used to control the speaker to play a reminder voice that the washing is completed after the washing machine finishes washing the clothes.
- the sending the first interaction instruction and the second interaction instruction includes:
- the first electronic device sends the first interaction instruction to the second electronic device
- the second electronic device After the second electronic device executes the first event based on the first interaction instruction, it sends a first execution result to the first electronic device;
- the distribution of the first interaction instruction and the second interaction instruction does not necessarily go through the server, and it can also be that the first electronic device (such as a mobile phone) that holds the control right of other electronic devices (such as a home device) directly distributes the instructions to other electronic devices. equipment (such as household equipment). Specifically, in some embodiments, the first electronic device may implement a function of distributing interactive instructions through an installed distributed operating system.
- the sending the first interaction instruction and the second interaction instruction includes:
- the first electronic device sends the first interaction instruction and the second interaction instruction to the fourth electronic device;
- the fourth electronic device sends the first interaction instruction to the second electronic device
- the second electronic device After the second electronic device executes the first event based on the first interaction instruction, it sends a first execution result to the fourth electronic device;
- the fourth electronic device sends a second interaction instruction to the third electronic device when the first execution result is received.
- the fourth electronic device includes a server.
- the sending the first interaction instruction and the second interaction instruction includes:
- the first electronic device sends the first interaction instruction and the second interaction instruction to the second electronic device;
- the second electronic device After the second electronic device executes the first event based on the first interaction instruction, it sends a second interaction instruction to the third electronic device.
- a non-short-range communication connection is established among the first electronic device, the second electronic device, and the third electronic device.
- the non-short-range communication connection may be a communication connection established through Wireless-Fidelity (Wireless-Fidelity, WIFI) or a wireless local area network (Wireless Local Area Network, WLAN).
- WIFI Wireless-Fidelity
- WLAN Wireless Local Area Network
- the first interaction instruction and the second interaction instruction include text instructions in a preset format.
- the text instruction in the preset format can be the format in Table 1 and Table 2 in the specific embodiment, for example, "@washing machine quick wash@speaker voice reminder: Master, your clothes have been washed, please hang them up.” Indicates The washing machine is quick to wash and after the laundry is finished, the speaker sends out: Master, your clothes have been washed, please hang the message to remind the user.
- the first interaction instruction and the second interaction instruction include voice instructions or text instructions in a non-preset format, and the simultaneous input of the first interaction instruction and the second interaction instruction on the first interaction interface Second interactive instructions, including:
- Semantic analysis is performed on the voice instruction or the text instruction in a non-preset format to obtain the first interaction instruction and the second interaction instruction corresponding to the semantic analysis result.
- the second interaction instruction is used to control the third electronic device to execute the second event while the second electronic device executes the first event.
- the second interaction instruction is used to control the third electronic device that meets the preset condition to execute the second event.
- the first interaction instruction includes an instruction to play a video screen on a smart screen
- the second interaction instruction is an instruction to play a sound in a video on a speaker
- the first interaction instruction and the second interaction instruction are used to control
- the smart screen plays the video screen and the speakers play the sound in the video synchronously.
- the third electronic device meeting the preset condition includes any of the following:
- the third electronic device currently used by the user
- the second electronic device ranked first according to the priority set by the user.
- the first interaction instruction is used to control the second electronic device to execute the first event
- the second interaction instruction is used to control the third electronic device not to execute the second event.
- the second electronic device includes all chandeliers
- the third electronic device includes a lamp, the first event is turning off the light, and the second event is not turning off the light.
- the second aspect of the embodiments of the present application provides a computer-readable medium, where instructions are stored on the computer-readable medium, and when the instructions are executed on the electronic equipment, the electronic equipment executes the above-mentioned method for controlling the electronic equipment.
- the third aspect of the embodiment of the present application provides an electronic device, including:
- one or more processors comprising: memory; wherein one or more computer programs are stored in the memory, and the one or more computer programs include instructions that, when executed by the electronic device, cause the The electronic device executes the above-mentioned electronic device control method.
- a fourth aspect of the embodiments of the present application provides a computer program product, where the computer program product includes instructions, and the instructions are used to implement the above method for controlling an electronic device.
- a chip device is provided, and the chip device includes:
- a processor configured to execute a computer-executable program, so that the device installed with the chip device executes the control method of the above-mentioned electronic device.
- Fig. 1 shows a schematic diagram of an application scenario of a method for controlling an electronic device according to some embodiments of the present application
- FIGS. 2A to 2E are schematic diagrams of changes in the user interface (User Interface, UI) of the mobile phone 100 controlling the smart home device through the smart life application;
- UI User Interface
- 3A to 3E show a schematic diagram of changes in the user interface of the mobile phone 100 after the user A clicks the Changlian application control 2 in FIG. 2A;
- FIG. 3F shows a schematic diagram of a favorite user interface according to an embodiment of the present application.
- Fig. 4 shows a schematic diagram of a control method of an electronic device corresponding to scenario 1 according to some embodiments of the present application
- FIG. 5A shows a schematic flowchart of a method for controlling an electronic device according to an embodiment of the present application
- FIG. 5B shows a schematic UI diagram of merging multiple device avatars and displaying separate replies according to some embodiments of the present application
- FIG. 5C shows a schematic UI diagram of a multi-device combined reply displaying one prompt message according to some embodiments of the present application
- Fig. 6(a) to Fig. 6(c) show a schematic diagram of UI changes of the mobile phone 100 according to user operations in this application scenario;
- FIG. 7(a) to FIG. 7(c) show a schematic diagram of UI changes of the mobile phone 100 according to user operations in this application scenario
- 8A and 8B are schematic diagrams showing a control method of an electronic device
- FIG. 9 shows a schematic diagram of an application scenario of a method for controlling an electronic device, corresponding to scenario 2, according to an embodiment of the present application
- FIG. 10 shows an exemplary system block diagram of a distributed operating system 400 installed on a mobile phone 100
- Fig. 11 shows a schematic structural diagram of a mobile phone 100 according to an embodiment of the present application.
- Illustrative embodiments of the present application include, but are not limited to, a control method of an electronic device, a medium, and an electronic device.
- the electronic device to be controlled is a household device
- the electronic device controlling the household device is a mobile phone to describe the method for controlling an electronic device provided by the embodiment of the present application.
- Fig. 1 shows a schematic diagram of an application scenario of a method for controlling an electronic device according to some embodiments of the present application.
- FIG. 1 in this scene, there is a microwave oven 200-6 and a chandelier 200-7-1 in the kitchen, a washing machine 200-1 and a chandelier 200-7-2 in the laundry room, and a smart screen 200-4 in the living room , speaker 200-2, user A, the watch 200-3 worn on the wrist of user A, the mobile phone 100 held by user A, and the chandelier 200-7-3, and the bedroom has a desk lamp 200-5 and a chandelier 200-7-4.
- Mobile phone 100 can control microwave oven 200-6, washing machine 200-1, smart screen 200-4, speaker 200-2, watch 200-3, desk lamp 200-5, chandelier 200-7-1 to chandelier 200-7-4.
- the electronic device control method provided in the embodiment of the present application is not limited to the household devices shown in FIG. 1 , but can also be applied to an application scenario with more household devices than the application scenario shown in FIG. 1 , which is not limited here.
- the method for controlling an electronic device provided in the embodiment of the present application is not limited to household devices, and may also be other types of devices, which are not limited here.
- FIG. 2A to FIG. 2E are schematic diagrams of changes in the user interface (UI) of the mobile phone 100 controlling smart home devices through the smart life application. As shown in FIG. , displaying the device control interface as shown in FIG. 2B. As shown in FIG.
- control cards for household devices washing machine control card a corresponding to washing machine 200-1, speaker 200- 2 Corresponding speaker control card b, watch control card c corresponding to watch 200-3, smart screen control card d corresponding to smart screen 200-4, desk lamp control card e corresponding to desk lamp 200-5, microwave oven corresponding to microwave oven 200-6
- the control card f, the chandelier 200-7-1 to the chandelier 200-7-4 respectively correspond to the chandelier control card g, the chandelier control card h, the chandelier control card i and the chandelier control card j.
- the washing machine control card interface is displayed, which includes various function keys of the washing machine : quick wash key 7, dry clean key, fine wash, etc., the user clicks the quick wash key 7, and the mobile phone 100 responds to the user operation and sends an instruction to turn on the quick wash to the washing machine 200-1 to turn on the quick wash mode of the washing machine 200-1.
- the device control interface includes an add control 6.
- the user manually creates a scene and needs to click the add control 6 first.
- the mobile phone 100 responds to the user's Click the operation of adding control 6 to display the create scene card as shown in Figure 2D.
- the interface for setting trigger conditions and executing tasks as shown in Figure 2E is displayed.
- the user needs to set the trigger condition to click the leave home card or set the time trigger, and set the execution task to turn off the chandelier 200-7-1 to chandelier 200-7-4 and turn off the smart screen 200-4, etc., the user’s setting process is cumbersome and the control efficiency is low.
- the user can input voice, text or set the format through the device dialog box in the target application.
- text to generate a business instruction the business instruction carries the device identification information of the home device to be controlled and multiple instructions for separately controlling the work of multiple home devices, and the mobile phone 100 responds to the business instructions set by the user and sends them
- the plurality of household devices respectively execute the service corresponding to the instruction after receiving the corresponding instruction in the service instruction.
- the mobile phone 100 can control multiple household devices to coordinately execute multiple instructions in the service command in response to only one service command set by the user, which improves the control efficiency of the mobile phone 100 to a certain extent.
- scene 1 Under normal circumstances (hereinafter referred to as scene 1), if user A turns on the quick wash mode of washing machine 200-1 in the laundry room to wash clothes, and sits in the living room to watch TV 200-4, due to the There is a wall between the washing machine 200-1 and the laundry room, and user A may not be able to hear the prompt sound issued by the washing machine 200-1 after completing the task, or user A is focused on watching TV or mobile phones, and cannot know in time that the washing machine 200-1 has completed the task, so the washing machine 200-1 -1 The washed clothes are picked up to dry.
- scene 1 under normal circumstances (hereinafter referred to as scene 1), if user A turns on the quick wash mode of washing machine 200-1 in the laundry room to wash clothes, and sits in the living room to watch TV 200-4, due to the There is a wall between the washing machine 200-1 and the laundry room, and user A may not be able to hear the prompt sound issued by the washing machine 200-1 after completing the task, or user A is focused on watching TV or mobile phones
- the mobile phone 100 can control the washing machine 200-1 and the speaker 200-2, and the mobile phone 100 can input voice, text or text with a set format according to user A's operation in the operation interface of the target application, A service instruction is generated, and the service instruction includes sending a quick wash instruction to the washing machine 200-1 and an instruction that the speaker 200-2 notifies user A by voice prompt after the washing machine 200-1 finishes washing the clothes.
- User A can promptly know that the washing machine 200-1 has completed the task, and pick up the clothes washed by the washing machine 200-1 to dry, thereby improving user experience.
- FIGS. 3A to 3E show schematic diagrams of changes in the user interface of a mobile phone 100 in response to user A clicking the Changlian application control 2 in FIG. 2A .
- the mobile phone 100 displays the device chat interface 8 of Changlian.
- the device chat interface 8 includes a chat window 9 and an input box 10.
- "@device name+device service mode" means that the mobile phone 100 triggers the device execution corresponding to the device name.
- the instruction input format of the corresponding device service mode is only used as an example of the instruction input format in this application, and various formats of instruction input will be introduced in detail below.
- the mobile phone 100 responds to user A's operation of inputting @ in the input box 10, and displays a device service selection list in the chat window 9.
- the device service selection list includes device names and shortcut menu titles.
- the shortcut menu title is the device service mode, and the device names include washing machines, Steam oven, speaker watch, etc.
- the title of the shortcut menu includes the quick cleaning and dry cleaning modes corresponding to the washing machine, etc.
- the steam oven corresponds to the steaming mode
- the speaker corresponds to the voice reminder mode
- the watch corresponds to the message reminder mode
- the device service selection list is available. Sliding, the user can find the corresponding home device by sliding the device service selection list.
- the mobile phone 100 responds to user A’s operation of clicking on the washing machine and quick washing controls in the equipment service selection list, and displays @washing machine quick washing in the input box 10, and then the equipment service selection list in the chat window 9 disappears, and no longer show.
- the mobile phone 100 again responds to user A’s operation of inputting @ in the input box 10, and displays the device service selection list again in the chat window 9.
- the mobile phone 100 displays the @washing machine quick wash@speaker voice reminder in the input box, and the device service selection list in the chat window 9 disappears and is no longer displayed.
- the mobile phone 100 after the mobile phone 100 responds to the user's selection (for example, clicking) @ ⁇ voice reminder, it will display a quick recommendation service menu 11 of prompts, and the quick recommendation service menu 11 includes a variety of preset prompts , the mobile phone 100 responds to user A's operation of selecting the message "Master, your clothes have been washed, please hang them up” in the quick service menu 11 .
- the mobile phone 100 displays in the input box 10: @washing machine quick washing@speaker voice reminder: master, your clothes have been washed, please hang them up to dry.
- the prompt recommendation service menu 11 disappears and is no longer displayed.
- the prompt information may also be input by the user using a soft keyboard.
- FIG. 4 shows a schematic diagram of a control method of an electronic device corresponding to scenario 1 according to some embodiments of the present application.
- the scenario includes a mobile phone 100, a server 300, and a washing machine 200-1 and speaker 200-2.
- the server 300 has the functions of receiving service instructions (also called service instructions) from the mobile phone 100, distributing service instructions to the washing machine 200-1 and the speaker 200-2, receiving the execution results of the service instructions from the washing machine 200-1 and the speaker 200-2, and The function of feeding back the execution result of the business instruction to the mobile phone 100.
- service instructions also called service instructions
- the mobile phone 100 sends instructions to the server 300 for quick washing of the washing machine and a voice reminder from the speaker after the washing is completed.
- the server 300 first sends the received quick washing instruction to the washing machine 200-1, and the washing machine 200-1 completes the quick washing. , send the message that fast washing is finished to server 300, after server 300 receives the message that quick washing is finished, then send the instruction of voice reminder quick washing completion to speaker 200-2, speaker 200-2 receives the instruction of voice reminder quick washing completion , Speaker 200-2 voice broadcast: Master, your clothes have been washed, please hang them up.
- the mobile phone 100 receives the instruction execution result fed back by the washing machine 200-1 through the server 300: the washing progress information, and the instruction execution result fed back by the speaker 200-2, as shown in FIG. 3E , the message corresponding to the avatar of the washing machine 200-1 in the chat window 9
- the box shows the progress of the quick wash and the completion of the wash by the owner.
- the mobile phone 100 displays in the message box corresponding to the avatar of the speaker 200-2 in the chat window 9: Master, your clothes have been washed, please dry them.
- distributing instructions to home devices for execution may not go through the server 300, but may be directly sent to each home device for execution through the soft bus channel of the mobile phone 100, which will be described in detail below.
- distributing instructions to household devices for execution may be through one of the controlled household devices.
- the mobile phone 100 sends the washing machine quick washing and washing machine 200-1 to the washing machine 200-1.
- the washing machine 200-1 sends a voice reminder to the speaker 200-2 after completing the quick wash, and the speaker 200-2 receives the voice reminder.
- Voice broadcast Master, your clothes have been washed, please hang them up.
- it may also be applicable to other application scenarios of the embodiment of the present application, which will not be repeated here.
- the mobile phone 100 can control the speaker 200-2 and the washing machine 200-1 to execute multiple commands in the business command in response to only one service command set by the user A, which improves the control efficiency of the mobile phone 100 to a certain extent. Improve user A experience.
- FIG. 5A shows a schematic flowchart of a method for controlling an electronic device according to an embodiment of the present application. As shown in FIG. 5A, the method includes:
- the mobile phone 100 needs to log in the Changlian application account first, and then perform the following steps.
- Step 501 the mobile phone 100 detects the user's operation of opening the device chat interface in the Changlian application.
- the operation interface includes the Changlian application control 2
- the mobile phone 100 detects that the user clicks on the Changlian application control 2 to open the device chat interface 8 of the Changlian application as shown in FIG. 3A .
- Step 502 The mobile phone 100 sends a home device information acquisition request to the server 300 in response to the user's operation of opening the device chat interface 8 of the Changlian app, and the home device information acquisition request carries the Changlian app account information.
- the home device information fed back by the server 300 to the mobile phone 100 is the information of the home devices that the mobile phone 100 has added to the address book of the Changlian app through the Changlian app, such as washing machines, steam ovens, speakers, and watches. and other information.
- the household device information includes different device types with different device capability attributes, different shortcut menu titles, and instructions corresponding to click operations corresponding to the shortcut menu titles, which are deployed in the form of configuration files in Server 300 (such as Changlian cloud server), when the mobile phone 100 opens the device control interface of Changlian application, obtain it from server 300 according to the account of Changlian application, and the format of the configuration file is not limited, such as obtaining the configuration file of the washing machine: config_machine.xml , the title of the shortcut menu, and the command issued corresponding to the click operation corresponding to the title of the shortcut menu:
- Step 503 The server 300 obtains home device information based on the Changlian application account information, and feeds back the home device information to the mobile phone 100 .
- Step 504 The mobile phone 100 detects that the user selects the washing machine for fast washing on the device chat interface displaying device information, and the speaker voice plays the operation of the washing progress.
- the user can send the corresponding instruction to the corresponding device by clicking the household device name in the service selection list in the chat interface, or the title of the shortcut menu to input an instruction.
- the mobile phone 100 needs to perform the following steps in response to the user:
- the mobile phone 100 displays the device chat interface 8 of Changlian.
- the device chat interface 8 includes a chat window 9 and an input box 10.
- "@device name+device service mode” means that the mobile phone 100 triggers the The device executes the corresponding device service mode.
- the mobile phone 100 responds to the operation of user A inputting @ in the input box 10, and displays the device service selection list in the chat window 9.
- the device service selection list includes the device name and the shortcut menu title (also called the device service mode list), and the shortcut menu title is the device service mode list.
- the device name includes washing machine, steam oven, speaker watch, etc.
- the shortcut menu title includes the corresponding quick cleaning and dry cleaning modes of the washing machine, etc.
- the steam oven corresponds to the steaming mode
- the speaker corresponds to the voice reminder mode
- the watch corresponds to the message reminder mode .
- the mobile phone 100 responds to user A’s operation of clicking on the washing machine and quick washing control in the equipment service selection list, and displays @washing machine quick washing in the input box 10, and then the equipment service selection list in the chat window 9 disappears and does not display .
- the mobile phone 100 again responds to user A’s operation of inputting @ in the input box 10, and displays the device service selection list in the chat window 9 again.
- the box displays @ ⁇ @ ⁇ , and the device service selection list in the chat window 9 disappears and is not displayed.
- the prompt service menu with prompts is displayed, and the mobile phone 100 responds to user A’s In the shortcut service menu, select the operation of "Master, your clothes have been washed, please hang them to dry”.
- the mobile phone 100 displays in the input box 10: @washing machine quick washing@speaker voice to remind the owner that your clothes have been washed, please dry them.
- the shortcut recommendation service menu of the prompt disappears and is not displayed.
- Mobile phone 100 responds to user A’s operation of clicking the send button.
- the message box corresponding to the avatar of the Changlian account in the chat window 9 of mobile phone 100 displays: @washing machine quick washing@speaker voice to remind the owner, your clothes Has been washed, please hang up the message.
- Mobile phone 100 sends to server 300 the instruction of washing machine fast washing and the speaker voice reminder after laundry is finished.
- the featured services of the device are recommended through the shortcut bar of the chat interface, and the specified tasks or services are completed, executed in the form of user dialogue, flexible and diversified, and the anthropomorphic design is enhanced, which improves the user experience to a certain extent.
- the mobile phone 100 supports command message collection, history viewing and quick input among multiple devices. For example, as shown in FIG. 3E , the mobile phone 100 responds to the user's long press operation in the message box corresponding to the avatar of the Changlian application, displays a menu bar, and clicks the collection control in the menu bar, that is, the favorites of the Changlian application can be displayed. Quickly find the instruction. In the case that the user wants to input the instruction again, FIG. 3F shows a schematic diagram of a favorite user interface according to an embodiment of the present application. As shown in FIG. 3F , the favorite in the Changlian application Quickly find the instruction in , copy and paste it into the input box 10, and press the send button. Support the collection of user instruction messages, and store the user's frequently used instructions in the database, so that users can conveniently realize this service again.
- Step 505 the mobile phone 100 sends the washing machine quick washing instruction and the speaker voice playback instruction of washing completion to the server 300 .
- the instruction is sent by using a network message
- the network protocol is not limited to TCP/UDP/HTTP, etc.
- the message format is not limited.
- Card drawing is not limited to technologies such as Android view control and native instruction drawing.
- Step 506 The mobile phone 100 sends a washing machine quick washing instruction to the washing machine 200-1.
- Step 507 The washing machine 200-1 executes a quick wash instruction, and the quick wash instruction is used to instruct the washing machine 200-1 to wash clothes.
- Step 508 The washing machine 200-1 feeds back the quick washing result to the server 300, and feeds back the quick washing result to the mobile phone 100 through the server 300.
- chat interface of the mobile phone 100 has the current execution status of the washing machine 200-1, and there is a receipt display: "executing (for example, in quick washing)", “executed (for example, quick washing has been started)”, “completed (for example, the owner finished Wash)”.
- the mobile phone 100 displays information on the household equipment chat interface: quick washing is in progress, the owner has finished washing, and other information.
- Step 509 The server 300 judges whether the quick washing result indicates that the quick washing is completed, if yes, execute step 510, and if no, continue to execute step 509.
- Step 510 The server 300 sends an instruction to the speaker 200-2 to play the quick washing completion by voice.
- Step 511 The speaker 200-2 feeds back the command execution result to the mobile phone 100 through the server 300.
- Step 512 The mobile phone 100 displays the command execution result.
- the device such as the washing machine 200-1, the speaker 200-2) reply display mode includes message text, card, picture, etc., but is not limited.
- the reply result after multiple devices such as the washing machine 200-1 and the speaker 200-2) respond:
- Multi-device avatars are merged to display separate replies; for example, Fig. 5B shows a UI schematic diagram of multi-device avatars merged to display separate replies according to some embodiments of the present application. As shown in Fig. 5B, the washing machine 200-1 and the speaker 200-2's avatars in the chat window 9 are merged to display separate replies.
- FIG. 5C shows a schematic UI diagram of a multi-device merged reply displaying a prompt message.
- the washing machine 200-1 and the speaker 200-2 are merged in the chat window 9
- the reply shows a voice reminder message: Master, your clothes have been washed, please hang them up.
- the multi-device interaction method provided by the embodiment of the present application realizes cooperative work or multi-device automatic linkage interaction mode for multiple devices according to the combination control mode, so as to realize service connection between multiple devices and service cooperative work. Specifically, the following steps may be included:
- Table 1 shows the symbols input by the user in the mobile phone 100 , the functions of the symbols, the usage formats of the symbols, the strategies represented by the symbols, and other extended characters with the same meanings that the symbols can use.
- Table 2 shows the serial, parallel, selective, exclusive and serial, parallel, selective, exclusive combinations in Table 1 corresponding to the task scenarios, formats, and meaning descriptions corresponding to the formats.
- the definition of the focus device refers to the device (such as the speaker 200-2) closest to the user sensed by the mobile phone 100 according to the distance sensor, etc.
- the focus device can also be defined as the device currently used by the user (for example, the smart screen 200-4 that user A is using). > mobile phone 100, etc.) to remind the user, there is no limit here.
- the focus device is the device closest to user A
- the parallel symbol "/" in Table 1 and the user input format in Table 2 are "device 1+device 2/device 2 command 1, command 2" as an example to illustrate this A usage scenario of symbols
- the mobile phone 100 can send a quick wash message to the washing machine 200-1 according to the user's operation
- the smart screen 200-4 or the speaker 200-2 can send subtitles or voice messages to the washing machine 200-1 after washing the clothes.
- the server 300 notifies the user of the business instruction by means of the smart screen 200-4 and the speaker 200-2 which is the closest to the user, and prompts the user.
- the smart screen 200-4 is closer to the user than the speaker 200-2. After the smart screen 200-4 receives the laundry notification message sent by the washing machine 200-1, it displays "Master, your clothes have been washed, please hang them up” in the form of subtitles. The smart screen 200-4 is close to the user, and the speaker 200-2 broadcasts "Master, your clothes have been washed, please hang them up” to the user after receiving the laundry notification message sent by the washing machine 200-1.
- Fig. 6(a) to Fig. 6(c) show a schematic diagram of UI changes of the mobile phone 100 according to the user's operation in this application scenario.
- the user opens the " After the "My Devices" interface 8, the mobile phone 100 displays a device name list in the chat window 9 of this interface, and the mobile phone 100 responds to the user's operation of clicking the washing machine+speaker/smart screen in the device name list and the soft keyboard, in the input box 10 Medium display: washing machine + speaker/smart screen.
- the device name list of the mobile phone 100 in the "my device” interface 8 disappears, and the device service mode list selected by the user is displayed in the chat window 9.
- the mobile phone 100 responds to the user from the device service mode Click the quick wash in the list, click the comma on the keyboard, and click the voice reminder control in the device service mode list, and the input box 10 will display: washing machine + speaker/smart screen quick wash, voice reminder. Then, the mobile phone 100 disappears in the device service mode list of the "My Device" interface 8, and displays the shortcut service menu of the voice reminder, as shown in FIG. , your clothes have been washed, please hang up the message" operation. The mobile phone 100 displays in the input box 10: washing machine + speaker/smart screen quick wash, voice reminder, master, your clothes have been washed, please hang the message.
- the mobile phone 100 may also display a list of device names and device service modes in the "My Device" interface for the user to select.
- the mobile phone 100 can control the smart screen 200-4, the speaker 200-2, and the washing machine 200-1 to execute multiple commands in the business command in response to only one service command set by the user, which improves the performance of the mobile phone to a certain extent. 100% control efficiency, improve user experience.
- Device 1 command 1 is used as an example to illustrate a usage scenario of this symbol. As shown in FIG. The following actions by the user:
- FIG. 7(a) to FIG. 7(c) show a schematic diagram of UI changes of the mobile phone 100 according to user operations in this application scenario.
- the mobile phone 100 displays the Changlian device Chat interface 8
- the chat interface 8 of the device includes a chat window 9 and an input box 10
- the mobile phone 100 displays a list of device names in the chat window 9 of the interface, "!Device name" indicates that the mobile phone 100 triggers the device to execute exclusive service mode.
- the mobile phone 100 responds to the user inputting "! in the input box 10 and clicking the table lamp control in the device name list, and displays "!
- the mobile phone 100 clicks to turn off the light in the device service mode list, and displays "! Desk lamp turn off the light” in the input box, and the mobile phone 100 responds to the user's sending operation , through the server 300, respectively send the light-off instructions to all the chandeliers 200-7 except the table lamp 200-5.
- the server 300 After the server 300 receives the feedback message that all the chandelier 200-7 has executed the light-off instruction, it feeds back the execution result to the mobile phone 100, as shown in Figure 7 (b), the message box corresponding to the chandelier avatar in the chat interface of the mobile phone 100 Display: master, the lights are turned off.
- the mobile phone 100 may also display a list of device names and device service modes in the "My Device" interface for the user to select.
- the embodiment of the present application realizes the exclusive way of multi-device interaction to complete a certain work or service, supports a wider range of multi-device interaction exclusive logic rules, and improves user experience.
- the mobile phone 100 can perform semantic understanding according to the user voice input by the user, and obtain service instructions sent to the washing machine 200-1 and the speaker 200-2.
- the mobile phone 100 may send the user voice or user text input by the user to the server 300 for semantic understanding, and obtain the service instructions sent to the washing machine 200-1 and the speaker 200-2.
- the server 300 may not only have the capability of providing device information to the mobile phone 100, but also have the capability of semantic recognition and business instruction distribution.
- FIG. 8A and FIG. 8B show the The schematic diagram of the control method, as shown in FIG. 8A, the mobile phone 100 obtains the information of the household equipment in FIG. Send it to the server 300 for speech recognition, or perform semantic understanding by itself to obtain instruction information.
- three functional servers may be set corresponding to the capability of providing device information, the capability of semantic recognition, and the capability of distributing multiple instructions of business instructions.
- a server 300-1 that provides device information for the mobile phone 100
- a server 300-2 that provides semantic recognition services for the mobile phone 100
- a server 300-2 that provides instruction distribution and instructions for each home device for the mobile phone 100
- a server 300-3 for feedback of execution results.
- the server 300-1 can be a Changlian cloud server, which is used to save device configuration files, such as device capability attributes, etc.; the server 300-2 can be a smart cloud, which is used to send the mobile phone 100 a quick operation or voice response to the user's device , text and other command operations, and send them to the smart cloud for intent analysis.
- the server 300-3 may be a device cloud, and is used for receiving service instructions, distributing instructions, and feeding back service execution results.
- Multi-device anthropomorphic interaction module In the conversation between Changlian APP and devices, anthropomorphic interactive conversation chat.
- the mobile phone 100 needs to perform the following steps in response to user operations:
- the mobile phone 100 responds to the user's text or voice input: Xiaoyi, help me wash my clothes quickly, and notify me when it is finished.
- the artificial intelligence (AI) Xiaoyi in the mobile phone 100 recognizes and interprets it as: 1) @washing machine, quick wash; 2) @speaker, the voice broadcast prompts "Master, your clothes have been washed, please hang them up” .
- Xiaoyi in the mobile phone 100 can also understand the multi-device serial execution mode, exclusive execution mode, selection mode, parallel execution mode, etc. used in voice, and there is no limitation here.
- the mobile phone 100 can send the playback video to the smart screen 200-4. Instructions in the middle of the picture, send the instruction to play the sound in the video to the speaker 200-2, so that the mobile phone 100 can control the smart screen 200-4 and the speaker 200-2 to cooperate to execute the service instruction only in response to a service instruction set by the user.
- the multiple instructions in the mobile phone 100 improve the control efficiency of the mobile phone 100 to a certain extent and enhance user experience.
- FIG. 9 shows a schematic diagram of an application scenario of an electronic device control method corresponding to scenario 2 according to the embodiment of the present application.
- the mobile phone 100 sends the smart screen 200-4 to the server 300 to play video
- the server 200 will receive the instruction to play the screen in the video and send it to the smart screen 200-4, and send an instruction to play the music in the video to the speaker 200-2.
- the distribution of the above-mentioned business instructions does not necessarily go through the server 300, or the servers 300-1 to 300-3, and the mobile phone 100 that holds the control right of the household equipment can also directly distribute the instructions to each household. equipment.
- the embodiment of the present application provides a distributed operating system applicable to the electronic device control method of the present application, For example, Hongmeng OS.
- the distributed operating system will be introduced in detail below in conjunction with FIG. 10 .
- the operating system installed on the mobile phone 100 may adopt a layered architecture, an event-driven architecture, a micro-kernel architecture, a micro-service architecture, or a cloud architecture.
- the mobile phone 100 uses a distributed operating system with a layered architecture as an illustrative example, which is not limited here.
- FIG. 10 shows an exemplary system block diagram of a distributed operating system 400 installed on a mobile phone 100 .
- the distributed operating system 400 installed on the mobile phone 100 adopts a layered architecture.
- the layered architecture divides the distributed operating system 400 into several layers, and each layer has a clear role and division of labor. Layers communicate through software interfaces.
- the distributed operating system 400 is divided into four layers, which are respectively an application layer 410 , an application framework layer 420 , a system service layer 430 and a kernel layer 440 from top to bottom.
- the distributed operating system 400 may also be divided into other numbers of hierarchical structures, which is not limited here.
- the application layer 410 may include a series of application programs such as system application 411 , extension application 412 (or third-party application).
- System application 411 includes desktop, settings, camera, wireless local area network (Wireless Local Area Networks, WLAN), Bluetooth, navigation, etc.; extended application 412 includes software applications developed by third parties such as Changlian application.
- the application framework layer 420 provides a multilingual framework for the application layer 410, including an interface (User Interface, UI) framework 421, a user program framework 422, a multilingual framework application programming interface (application programming interface, API) and framework APIs of multiple programming languages .
- UI User Interface
- API application programming interface
- the application framework layer 420 includes some predefined functions.
- the UI framework 421 includes a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, etc., which will not be repeated here.
- the system service layer 430 is the core of the distributed operating system 400 , and the system service layer 430 provides services to the applications in the application layer 410 through the application framework layer 420 .
- the system service layer 430 includes a distributed device management module 431 , a virtual device management module 432 and a distributed soft bus 433 .
- the mobile phone 100, the washing machine 200-1 and the speaker 200-2 are interconnected through the underlying network.
- the underlying network includes but not limited to distributed soft bus, wireless fidelity (Wireless-Fidelity, WIFI), wireless local area network (Wireless Local Area Network, WLAN), Bluetooth (Bluetooth, BT), near field communication (Near Field Communication , NFC), etc., are not limited here.
- the above-mentioned mobile phone 100, washing machine 200-1 and speaker 200-2 have been authorized and authenticated by the user, that is, the mobile phone 100, washing machine 200-1 and speaker 200-2 are mutually trusted devices, for example, the mobile phone 100, washing machine 200-2 Between 200-1 and speaker 200-2, unified authorization authentication can be completed by the user through PIN code authentication, face recognition authentication, fingerprint authentication, voiceprint authentication, etc., and there is no limitation here.
- the distributed device management module 431 is used to execute the device information of the mobile phone 100, the washing machine 200-1 and the speaker 200-2 interconnected through the underlying network, as well as the instructions of the devices of the mobile phone 100, the washing machine 200-1 and the speaker 200-2 Centralized management of device status information such as results.
- the virtual device management module 432 is used to send service instructions to corresponding devices through the distributed soft bus 433 in response to the control instructions sent by the Changlian application according to user operations. For example, as shown in FIG. 3C , the mobile phone 100 displays in the input box 10: @ ⁇ @ ⁇ to remind the owner that your clothes have been washed, please dry them.
- the virtual device management module 432 is used to respond to the user A's operation of clicking the send button, send the quick washing of the washing machine to the washing machine 200-1 through the distributed soft bus 433, and send the washing machine to the virtual device management module through the distributed soft bus 433 in the washing machine 200-1. After the 432 feeds back the information that the laundry has been completed, the distributed soft bus 433 sends a speaker voice reminder instruction to the speaker 200-2.
- the mobile phone 100 can control the speaker 200-2 and the washing machine 200-1 to execute multiple commands in the business command in response to only one service command set by the user A, which improves the control efficiency of the mobile phone 100 to a certain extent. Improve user A experience.
- the mobile phone 100 can also directly send the instruction to play the video and the instruction to play the music in the video to the smart screen 200 - 4 and the speaker 200 - 2 through the distributed soft bus 433 .
- the distributed soft bus 433, as an example structure of the underlying network, is used to communicate with the mobile phone 100, the washing machine 200-1 and the speaker 200-2, for example, to collect the data of the mobile phone 100, the washing machine 200-1 and the speaker 200-2
- the information of each device sends instructions to the mobile phone 100, the washing machine 200-1 or the speaker 200-2, and device status information such as the execution result of each device command of the mobile phone 100, the washing machine 200-1 or the speaker 200-2.
- the distributed soft bus 433 is an "invisible" bus built between the mobile phone 100 and the washing machine 200-1 or the speaker 200-2. , high bandwidth, low latency, and high reliability.
- the distributed soft bus technology the above-mentioned mobile phone 100, washing machine 200-1 or speaker 200-2 can not only realize the sharing of all data, but also realize it with any device in the same local area network or connected with it through Bluetooth. Instantly connected.
- the distributed soft bus 433 can also transmit instructions between heterogeneous networks such as Bluetooth and Wireless-Fidelity (WIFI).
- WIFI Wireless-Fidelity
- the UI framework 421 in the application framework layer 420, the user program framework 422 and the distributed device management module 431 in the system service layer 430, the virtual device management module 432 and the distributed soft bus 433 may jointly constitute the basic capability subsystem set of the system, which is not limited here.
- the kernel layer 440 is a layer between hardware and software.
- the kernel layer of the distributed operating system 400 includes: a kernel subsystem 441 and a driver subsystem 442 .
- the kernel subsystem 441 can adopt a multi-kernel design because the distributed operating system 400, so the kernel subsystem 441 supports selection of a suitable OS kernel for different resource-constrained devices.
- the Kernel Abstract Layer (KAL) on the kernel subsystem 441 provides basic kernel capabilities to the upper layer by shielding multi-core differences, including process/thread management, memory management, file system, network management, and peripheral management.
- the drive subsystem 442 and the drive framework (HDF) of the distributed operating system 400 are the basis for the open hardware ecology of the distributed system, providing a unified peripheral access capability and a drive development and management framework.
- the kernel layer 440 includes at least a display driver, a camera driver, an audio driver, and a sensor driver.
- the washing machine 200 - 1 includes a communication module 510 , a user operation module 511 , an operation control module 512 and a display module 513 .
- the communication module 510 may include distributed soft bus, wireless fidelity (Wireless-Fidelity, WIFI), wireless local area network (Wireless Local Area Network, WLAN), Bluetooth (Bluetooth, BT), near field communication (Near Field Communication, NFC), etc. , without limitation here.
- the communication module 510 is used to drive the washing machine 200-1 to establish a communication connection with other electronic devices.
- the washing machine 200-1 can establish a connection with the mobile phone 100 through the communication module 510.
- the user operation control module 511 is used for accepting user input operations through the touch screen.
- the operation control module 512 is used to control the working state of the washing machine 200-1.
- the washing machine 200-1 receives the quick washing instruction through the communication module 510 and sends it to the operation control module 512.
- the operation control module 512 is based on this
- the quick washing instruction drives the washing machine 200-1 to perform the quick washing task.
- the display module 511 is used for displaying to the user the operation mode options of the washing machine and the progress of the washing operation, etc. through the display.
- the speaker 200 - 2 includes a communication module 610 , a data processing module 611 , a data identification module 612 , a playback control module 613 , a data-to-speech module 614 and a playback output module 615 .
- the communication module 610 may include distributed soft bus, wireless fidelity (Wireless-Fidelity, WIFI), wireless local area network (Wireless Local Area Network, WLAN), Bluetooth (Bluetooth, BT), near field communication (Near Field Communication, NFC), etc. , without limitation here.
- the communication module driver 610 is used to drive the communication module in the washing machine 200-1 to establish a communication relationship with other electronic devices.
- the speaker 200-2 can establish a connection relationship with the mobile phone 100 through the communication module driver 610.
- the data recognition module 612 is used for carrying out semantic analysis to the user's voice command, and sends the semantic analysis note to the playback control module 613, and the playback control module 613 obtains the information that needs to be fed back to the user according to the voice analysis result, and sends the voice data to the data-to-voice Module 613, after the data-to-speech module 613 converts the information fed back to the user into a voice signal, the reminder voice is played through the playback output module 615 .
- the communication module 610 is used to receive a voice reminder command from the mobile phone 100 after the washing machine 200-1 performs the laundry task, wherein the voice reminder command can carry "Master, your clothes have been washed, please air-drying message” prompt information data, and send the voice reminder command to the data processing module 611, the data processing module 611 decodes the data of the voice reminder command, and sends the decoded data to the playback control module 613, and the playback control
- the module 613 sends the decoded data to the data-to-speech module 613 , and the data-to-speech module 613 converts the decoded data into a voice signal, and plays the reminder voice through the playback output module 615 .
- FIG. 11 shows a schematic structural diagram of the mobile phone 100 according to the embodiment of the present application.
- the mobile phone 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (universal serial bus, USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, Mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, earphone jack 170D, sensor module 180, button 190, motor 191, indicator 192, camera 193, display screen 194, and user An identification module (subscriber identification module, SIM) card interface 195 and the like.
- SIM subscriber identification module
- the sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, bone conduction sensor 180M, etc.
- the structure shown in the embodiment of the present invention does not constitute a specific limitation on the mobile phone 100 .
- the mobile phone 100 may include more or fewer components than shown in the illustration, or combine some components, or separate some components, or arrange different components.
- the illustrated components can be realized 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 processing unit (graphics processing unit, GPU), an image signal Processor (image signal processor, ISP), controller, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural network processor (neural-network processing unit, NPU) wait.
- application processor application processor, AP
- modem processor graphics processing unit
- graphics processing unit graphics processing unit
- ISP image signal processor
- controller video codec
- digital signal processor digital signal processor
- DSP digital signal processor
- baseband processor baseband processor
- neural network processor neural-network processing unit, NPU
- the controller can generate an operation control signal according to the instruction opcode and timing signal, and complete the control of fetching and executing the instruction.
- a memory may also be provided in the processor 110 for storing instructions and data.
- the memory in processor 110 is a cache memory.
- the memory may hold instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to use the instruction or data again, it can be called directly from the memory. Repeated access is avoided, and the waiting time of the processor 110 is reduced, thus improving the efficiency of the system.
- 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 transmitter (universal asynchronous receiver/transmitter, UART) interface, mobile industry processor interface (mobile industry processor interface, MIPI), general-purpose input/output (general-purpose input/output, GPIO) interface, SIM interface, and/or USB interface, etc.
- I2C integrated circuit
- I2S integrated circuit built-in audio
- PCM pulse code modulation
- PCM pulse code modulation
- UART universal asynchronous transmitter
- MIPI mobile industry processor interface
- GPIO general-purpose input/output
- SIM interface SIM interface
- USB interface etc.
- the I2C interface is a bidirectional synchronous serial bus, including a serial data line (serial data line, SDA) and a serial clock line (derail clock line, SCL).
- processor 110 may include multiple sets of I2C buses.
- the processor 110 can be respectively coupled to the touch sensor 180K, the charger, the flashlight, the camera 193 and the like through different I2C bus interfaces.
- the processor 110 may be coupled to the touch sensor 180K through the I2C interface, so that the processor 110 and the touch sensor 180K communicate through the I2C bus interface to realize the touch function of the mobile phone 100 .
- the I2S interface can be used for audio communication.
- processor 110 may include multiple sets of I2S buses.
- the processor 110 may be coupled to the audio module 170 through an I2S bus to 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 the Bluetooth headset.
- the PCM interface can also be used for audio communication, sampling, quantizing and encoding the analog signal.
- 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 can be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication.
- a UART interface is generally used to connect the processor 110 and the wireless communication module 160 .
- the processor 110 communicates with the Bluetooth module in the wireless communication module 160 through the UART interface to realize 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 interface includes camera serial interface (camera serial interface, CSI), display serial interface (display serial interface, DSI), etc.
- the processor 110 communicates with the camera 193 through the CSI interface to realize the shooting function of the mobile phone 100 .
- the processor 110 communicates with the display screen 194 through the DSI interface to realize the display function of the mobile phone 100 .
- the GPIO interface can be configured by software.
- the GPIO interface can be configured as a control signal or as a data signal.
- the GPIO interface can be used to connect the processor 110 with the camera 193 , the display screen 194 , the wireless communication module 160 , the audio module 170 , the sensor module 180 and so on.
- the GPIO interface can also be configured as an I2C interface, I2S interface, UART interface, MIPI interface, etc.
- the USB interface 130 is an interface conforming to the USB standard specification, specifically, it can 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 mobile phone 100, and can also be used to transmit data between the mobile phone 100 and peripheral devices. It can also be used to connect headphones and play audio through them. This interface can also be used to connect other electronic devices, such as AR devices.
- the interface connection relationship between modules shown in the embodiment of the present invention is only a schematic illustration, and does not constitute a structural limitation of the mobile phone 100 .
- the mobile phone 100 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
- the charging management module 140 is configured to receive a charging input from a charger.
- the charger may be a wireless charger or a wired charger.
- the charging management module 140 can receive charging input from the wired charger through the USB interface 130 .
- the charging management module 140 can receive wireless charging input through the wireless charging coil of the mobile phone 100 . While the charging management module 140 is charging the battery 142 , it can also provide power for electronic devices 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 the input from the battery 142 and/or the charging management module 140 to provide power for the processor 110 , the internal memory 121 , 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, and battery health status (leakage, impedance).
- the power management module 141 may also be disposed in the processor 110 .
- the power management module 141 and the charging management module 140 may also be set in the same device.
- the wireless communication function of the mobile phone 100 can be realized by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.
- Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals.
- Each antenna in handset 100 can be used to cover single or multiple communication frequency bands. Different antennas can also be multiplexed to improve the utilization of the antennas.
- Antenna 1 can be multiplexed as a diversity antenna of a wireless local area network.
- the antenna may be used in conjunction with a tuning switch.
- the mobile communication module 150 can provide wireless communication solutions including 2G/3G/4G/5G applied on the mobile phone 100 .
- the mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA) and the like.
- the mobile communication module 150 can receive electromagnetic waves through the antenna 1, filter and amplify the received electromagnetic waves, and send them to the modem processor for demodulation.
- the mobile communication module 150 can also amplify the signals modulated by the modem processor, and convert them into electromagnetic waves through the antenna 1 for radiation.
- at least part of the functional modules of the mobile communication module 150 may be set in the processor 110 .
- at least part of the functional modules of the mobile communication module 150 and at least part of the modules of the processor 110 may be set in the same device.
- a modem processor may include a modulator and a demodulator.
- the modulator is used for modulating the low-frequency baseband signal to be transmitted into a medium-high frequency signal.
- the demodulator is used to demodulate the received electromagnetic wave signal into a low frequency baseband signal. Then the demodulator sends the demodulated low-frequency baseband signal to the baseband processor for processing.
- the low-frequency baseband signal is passed to the application processor after being processed by the baseband processor.
- the application processor outputs sound signals through audio equipment, or displays images or videos through the display screen 194 .
- the modem processor may be a stand-alone device. In some other embodiments, the modem processor may be independent from the processor 110, and be set in the same device as the mobile communication module 150 or other functional modules.
- the wireless communication module 160 can provide wireless local area networks (wireless local area networks, WLAN) applied on the mobile phone 100, such as wireless fidelity (wireless fidelity, Wi-Fi) network), bluetooth (bluetooth, BT), global navigation satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field communication technology (near field communication, NFC), infrared technology (infrared, IR) and other wireless communication solutions.
- 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 , frequency-modulate it, amplify it, and convert it into electromagnetic waves through the antenna 2 for radiation.
- the antenna 1 of the mobile phone 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the mobile phone 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 (general packet radio service, GPRS), code division multiple access (code division multiple access, CDMA), broadband Code division multiple access (wideband code division multiple access, WCDMA), time division code division multiple access (time-division code division multiple access, TD-SCDMA), long term evolution (long term evolution, LTE), BT, GNSS, WLAN, NFC , FM, and/or IR techniques, etc.
- GSM global system for mobile communications
- GPRS general packet radio service
- code division multiple access code division multiple access
- CDMA broadband Code division multiple access
- WCDMA wideband code division multiple access
- time division code division multiple access time-division code division multiple access
- LTE long term evolution
- BT GNSS
- WLAN NFC
- the GNSS may include a global positioning system (global positioning system, GPS), a global navigation satellite system (global navigation satellite system, GLONASS), a Beidou navigation satellite system (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
- Beidou navigation satellite system beidou navigation satellite system
- BDS Beidou navigation satellite system
- QZSS quasi-zenith satellite system
- SBAS satellite based augmentation systems
- the mobile phone 100 realizes the display function through the GPU, the display screen 194, and the application processor.
- the GPU is a microprocessor for image processing, and is connected to the display screen 194 and the application processor. GPUs are used to perform mathematical and geometric calculations for graphics rendering.
- Processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
- the display screen 194 is used to display images, videos and the like.
- the display 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 emitting diode, AMOLED), flexible light-emitting diode (flex light-emitting diode, FLED), Miniled, MicroLed, Micro-oLed, quantum dot light emitting diodes (quantum dot light emitting diodes, QLED), etc.
- the mobile phone 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.
- the SIM card interface 195 is used for connecting a SIM card.
- the SIM card can be connected and separated from the mobile phone 100 by inserting it into the SIM card interface 195 or pulling it out from the SIM card interface 195 .
- the mobile phone 100 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1.
- SIM card interface 195 can support Nano SIM card, Micro SIM card, SIM card etc. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the multiple cards may be the same or different.
- the SIM card interface 195 is also compatible with different types of SIM cards.
- the SIM card interface 195 is also compatible with external memory cards.
- the mobile phone 100 interacts with the network through the SIM card to implement functions such as calling and data communication.
- the mobile phone 100 adopts eSIM, that is, an embedded SIM card.
- the eSIM card can be embedded in the mobile phone 100 and cannot be separated from the mobile phone 100 .
- the present disclosure also relates to means for performing operations in text.
- This apparatus may be specially constructed for the required purposes or it may comprise a general purpose computer selectively activated or reconfigured by a computer program stored in the computer.
- a computer program may be stored on a computer readable medium such as, but not limited to, any type of disk including floppy disk, compact disk, CD-ROM, magneto-optical disk, read-only memory (ROM), random-access memory (RAM) , EPROM, EEPROM, magnetic or optical card, application specific integrated circuit (ASIC), or any type of medium suitable for storing electronic instructions, and each may be coupled to a computer system bus.
- computers referred to in the specification may comprise a single processor or may be architectures involving multiple processors for increased computing power.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Computing Systems (AREA)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Telephone Function (AREA)
Abstract
本申请涉及电子设备控制技术领域,特别涉及一种电子设备的控制方法、介质和电子设备,该方法包括:第一电子设备显示第一应用的第一交互界面;第一电子设备响应于用户在第一交互界面的第一输入操作,在第一交互界面同时输入第一交互指令和第二交互指令,其中,第一交互指令用于控制第二电子设备执行第一事件,第二交互指令用于控制第三电子设备执行第二事件;第一电子设备响应于用户在第一交互界面的第一操作,发送第一交互指令和第二交互指令。第一电子设备可以仅响应于用户在第一交互界面的第一输入操作,就同时获取用户输入的第一交互指令和第二交互指令。如此,在一定程度上提高了第一电子设备对第二电子设备和第三电子设备的控制效率。
Description
本申请要求于2021年08月31日提交中国专利局、申请号为202111012395.3、申请名称为“一种电子设备的控制方法、介质和电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
本申请涉及电子设备控制技术领域,特别涉及一种电子设备的控制方法、介质和电子设备。
目前,对于智能家居设备的工作状态的控制,多通过手机等持有控制权的电子设备上安装的应用(application,app)实现。
然而,在上述控制方式中,若电子设备要控制不同的家居设备,需要分别发送多条控制指令,或者预先设置多个家居设备的多个触发条件和多个执行任务,上述两种控制过程较为繁琐,控制效率较低。
发明内容
本申请的第一方面提供一种电子设备的控制方法,所述方法包括:
第一电子设备显示第一应用的第一交互界面;
所述第一电子设备响应于用户在所述第一交互界面的第一输入操作,在所述第一交互界面同时输入第一交互指令和第二交互指令,其中,所述第一交互指令用于控制第二电子设备执行第一事件,所述第二交互指令用于控制第三电子设备执行第二事件;
所述第一电子设备响应于用户在所述第一交互界面的第一操作,发送所述第一交互指令和所述第二交互指令。
可以理解,本申请实施例提供的电子设备的控制方法并不限于家居设备,还可以为其他类型的设备,在此不做限制。第一交互指令和第二交互指令可以指具体实施例中业务指令中的控制指令。第一事件和第二事件可以指具体实施例中的指令对应的业务。第一应用可以为用于控制其他电子设备的应用,例如,用于控制家居设备的应用(例如畅连)。
在本申请实施例中,第一电子设备可以仅响应于用户在第一交互界面的第一输入操作,就可以同时获取用户在第一交互界面输入的第一交互指令和第二交互指令,而且第一电子设备响应于用户在第一交互界面的第一操作,发送第一交互指令和第二交互指令。如此,在一定程度上提高了第一电子设备对第二电子设备和第三电子设备的控制效率。
例如,以第一电子设备为手机,第二电子设备和第三电子设备为家居设备为例,说明本申请技术方案和效果,本申请实施例通过在手机中安装用于控制家居设备的第一应用,第一 输入操作可以为用通过第一应用中的设备对话框,输入语音、文本或者设定格式的文本,手机响应于此第一操作,生成业务指令,第一操作可以为用户点击发送按钮等操作,手机响应于该第一操作,向多个家居设备分别发送业务指令中对应的指令后,多个家居设备分别接收到业务指令中对应的指令后,执行指令对应的业务。如此,手机可以仅响应于用户设置的一条业务指令,就能控制多个家居设备协同执行业务指令中的多条指令,在一定程度上提高了手机的控制效率。
在上述方面的一种可能的实现中,所述第二交互指令用于在所述第二电子设备执行第一事件后,控制所述第三电子设备执行第二事件。
可以理解,在一些实施例中,第二电子设备可以为洗衣机,第三电子设备可以为音箱,多个第二电子设备包括洗衣机和音箱,第一交互指令用于指示洗衣机开启洗衣模式执行洗衣业务,第二交互指令用于在洗衣机洗完衣服后,控制音箱播放洗衣完成的提醒语音。
在上述方面的一种可能的实现中,所述发送所述第一交互指令和所述第二交互指令,包括:
所述第一电子设备向所述第二电子设备发送所述第一交互指令;
所述第二电子设备基于所述第一交互指令执行所述第一事件后,将第一执行结果发送给所述第一电子设备;
所述第一电子设备接收到所述第一执行结果的情况下,向所述第三电子设备发送第二交互指令。
可以理解,第一交互指令和第二交互指令的分发不一定通过服务器,也可以是持有其他电子设备(例如家居设备)控制权的第一电子设备(例如手机)直接将指令分发给其他电子设备(例如家居设备)。具体地,在一些实施例中,第一电子设备可以通过安装的分布式操作系统实现交互指令的分发功能。
在上述方面的一种可能的实现中,所述发送所述第一交互指令和所述第二交互指令,包括:
所述第一电子设备向第四电子设备发送所述第一交互指令和第二交互指令;
所述第四电子设备向所述第二电子设备发送所述第一交互指令;
所述第二电子设备基于所述第一交互指令执行所述第一事件后,将第一执行结果发送给所述第四电子设备;
所述第四电子设备在接收到所述第一执行结果的情况下,向所述第三电子设备发送第二交互指令。
在上述方面的一种可能的实现中,所述第四电子设备包括服务器。
在上述方面的一种可能的实现中,所述发送所述第一交互指令和所述第二交互指令,包括:
所述第一电子设备向所述第二电子设备发送所述第一交互指令和第二交互指令;
所述第二电子设备基于所述第一交互指令执行所述第一事件后,向所述第三电子设备发送第二交互指令。
在上述方面的一种可能的实现中,所述第一电子设备、所述第二电子设备和所述第三电 子设备之间建立非近距离通信连接。
可以理解,非近距离通信连接可以为通过无线保真(Wireless-Fidelity,WIFI)、无线局域网(Wireless Local Area Network,WLAN)建立通信连接。
在上述方面的一种可能的实现中,所述第一交互指令和所述第二交互指令包括预设格式的文本指令。
预设格式的文本指令可以为具体实施例中表1和表2中的格式,例如,“@洗衣机快洗@音箱语音提醒:主人,您的衣服已经洗好,请晾晒起来的消息。”表示洗衣机快洗和在洗衣完成后,音箱发出:主人,您的衣服已经洗好,请晾晒起来的消息的语音提醒用户。
在上述方面的一种可能的实现中,所述第一交互指令和所述第二交互指令包括语音指令或非预设格式的文本指令,所述在第一交互界面同时输入第一交互指令和第二交互指令,包括:
对所述语音指令或非预设格式的文本指令进行语义解析,得到语义解析结果对应的所述第一交互指令和所述第二交互指令。
在上述方面的一种可能的实现中,所述第二交互指令用于在所述第二电子设备执行第一事件的同时,控制所述第三电子设备执行所述第二事件。
在上述方面的一种可能的实现中,所述第二交互指令用于在所述第二电子设备执行完所述第一事件后,控制满足预设条件的所述第三电子设备执行所述第二事件。
可以理解,在一些实施例中,第一交互指令包括智慧屏播放视频画面指令,第二交互指令为音箱播放视频中的声音的指令;其中,第一交互指令和第二交互指令分别用于控制智慧屏播放视频画面并且音箱同步播放视频中的声音。
在上述方面的一种可能的实现中,所述满足预设条件的所述第三电子设备包括以下任意一项:
用户当前使用的所述第三电子设备;
距离用户的第一电子设备最近的所述第三电子设备;
根据用户设置的优先级排第一的所述第二电子设备。
在上述方面的一种可能的实现中,所述第一交互指令用于控制所述第二电子设备执行所述第一事件;
所述第二交互指令用于控制所述第三电子设备不执行所述第二事件。
可以理解,第二电子设备包括所有吊灯;
第三电子设备包括台灯,第一事件为关灯,第二事件为不关灯。
本申请实施例第二方面提供一种计算机可读介质,所述计算机可读介质上存储有指令,该指令在电子设备上执行时使电子设备执行上述电子设备的控制方法。
本申请实施例第三方面提供一种电子设备,包括:
一个或多个处理器;存储器;其中,所述存储器中存储有一个或多个计算机程序,所述一个或多个计算机程序包括指令,当所述指令被所述电子设备执行时,使得所述电子设备执行上述的电子设备的控制方法。
本申请实施例第四方面提供一种计算机程序产品,所述计算机程序产品包括指令,所述指令用于实现上述电子设备的控制方法。
本申请实施例第五方面提供一种芯片装置,所述芯片装置包括:
通信接口,用于输入和/或输出信息;
处理器,用于执行计算机可执行程序,使得安装有所述芯片装置的设备执行上述电子设备的控制方法。
图1根据本申请的一些实施例,示出了一种电子设备的控制方法的应用场景示意图;
图2A至图2E为手机100通过智慧生活应用控制智能家居设备的用户界面(User Interface,UI)变化示意图;。
图3A至图3E示出了一种手机100响应于用户A点击图2A中的畅连应用控件2后的用户界面的变化示意图;
图3F根据本申请实施例,示出了一种收藏夹的用户界面示意图;
图4根据本申请的一些实施例,示出了一种对应于场景1的电子设备的控制方法的示意图;
图5A根据本申请实施例,示出了一种电子设备的控制方法的流程示意图;
图5B根据本申请的一些实施例,示出了一种多设备头像合并显示分开回复的UI示意图;
图5C根据本申请的一些实施例,示出了一种多设备合并回复显示1条提示信息的UI示意图;
图6(a)至图6(c)根据本申请实施例,示出了一种在该应用场景下,手机100根据用户操作的UI变化示意图;
图7(a)至图7(c),示出了一种在该应用场景下,手机100根据用户操作的UI变化示意图;
图8A和图8B示出了一种电子设备的控制方法示意图;
图9根据本申请实施例,对应于场景2,示出了一种电子设备的控制方法的应用场景示意图;
图10示出了一种在手机100上安装的分布式操作系统400的示例性系统框图;
图11示出了根据本申请实施例的手机100的结构示意图。
本申请的说明性实施例包括但不限于电子设备的控制方法、介质和电子设备。
下面将结合附图和说明书说明本申请技术方案。为了便于说明本申请技术方案,下文中以待控制的电子设备为家居设备,以控制家居设备的电子设备为手机说明本申请实施例提供的电子设备的控制方法。
图1根据本申请的一些实施例,示出了一种电子设备的控制方法的应用场景示意图。
如图1所示,在该场景中,厨房中有微波炉200-6和吊灯200-7-1,洗衣房里有洗衣机200-1和吊灯200-7-2,客厅中有智慧屏200-4、音箱200-2、用户A、用户A手腕上佩戴的手表200-3、用户A手持的手机100和吊灯200-7-3,卧室中有台灯200-5和吊灯200-7-4。手机100可以控制微波炉200-6、洗衣机200-1、智慧屏200-4、音箱200-2、手表200-3、 台灯200-5、吊灯200-7-1至吊灯200-7-4。
可以理解,本申请实施例提供的电子设备的控制方法并不限于图1中的家居设备,还可以适用于比图1中的应用场景有着更多家居设备的应用场景,在此不做限制。而且,本申请实施例提供的电子设备的控制方法并不限于家居设备,还可以为其他类型的设备,在此不做限制。
在一种电子设备的控制方法中,若手机100对图1中的多个家居设备进行控制,则需要用户触发多个智能家居设备分别对应的功能键,手机100响应于用户的多次触发操作后,控制多个家居设备分别执行各自的任务。例如,图2A至图2E为手机100通过智慧生活应用控制智能家居设备的用户界面(User Interface,UI)变化示意图,如图2A所示,手机100检测到用户点击“智慧生活”应用控件1后,显示如图2B所示的设备控制界面,如图2B所示,在设备控制界面的虚线框3区域中,包括家居设备的控制卡片:洗衣机200-1对应的洗衣机控制卡片a、音箱200-2对应的音箱控制卡片b、手表200-3对应的手表控制卡片c、智慧屏200-4对应的智慧屏控制卡片d、台灯200-5对应的台灯控制卡片e、微波炉200-6对应的微波炉控制卡片f、吊灯200-7-1至吊灯200-7-4分别对应的吊灯控制卡片g、吊灯控制卡片h、吊灯控制卡片i和吊灯控制卡片j。
若用户想要打开洗衣机200-1中的快洗模式,则需要点击如图2B所示的洗衣机控制卡片a,如图2C所示,显示洗衣机控制卡片界面,该界面包括洗衣机的多种功能键:快洗键7、干洗键、精细洗等,用户点击快洗键7,手机100响应于此用户操作,向洗衣机200-1发送打开快洗指令,以打开洗衣机200-1的快洗模式。同理,若要再打开音箱200-2播放音乐,则需要用户点击图2C所示的返回键返回至如图2B所示的设备控制界面,点击音箱控制卡片b中的相关功能键,手机100响应于此用户操作,向音箱200-2发送播放音乐的指令,以打开音箱200-2播放音乐。如此,手机100要控制不同的家居设备,需要响应于用户多次触发功能键的操作,向不同的家居设备分别发送控制指令,此控制过程较为繁琐,控制效率较低。
在另一种电子设备的控制方法中,若手机100对图1中的多个家居设备进行控制,则需要用户在应用中设置多个智能家居设备的触发条件和执行任务,手机100根据用户设置的多个智能家居设备的触发条件和执行任务,在多个智能家居设备分别检测到触发条件发生时,执行各自的任务。例如,如图2B所示,该设备控制界面包括添加控件6,在设备控制界面的虚线框4中,用户手动创建场景,需要先点击添加控件6,如图2D所示,手机100响应于用户点击添加控件6的操作,显示如图2D所示的创建场景卡片,在用户点击创建场景卡片中的创建场景控件后,显示如图2E所示的用于设置触发条件以及执行任务的界面。例如,在创建离家的场景中,用户需要将触发条件设置为点击离家卡片或者设定时间触发,将执行任务设置为关闭吊灯200-7-1至吊灯200-7-4和关闭智慧屏200-4等,用户的此设置过程较繁琐,控制效率低。
为了解决上述控制效率低的问题,在本申请实施例中,通过在手机100中安装用于控制家居设备的目标应用,用户可以通过目标应用中的设备对话框,输入语音、文本或者设定格式的文本,生成业务指令,该业务指令中携带待控制家居设备的设备标识信息以及分别控制多个家居设备工作的多个指令,手机100响应于用户设置的业务指令,向多个家居设备分别发送业务指令中对应的指令后,多个家居设备分别接收到业务指令中对应的指令后,执行指 令对应的业务。如此,手机100可以仅响应于用户设置的一条业务指令,就能控制多个家居设备协同执行业务指令中的多条指令,在一定程度上提高了手机100的控制效率。
例如,如图1所示,通常情况下(下文中称为场景1),若用户A打开洗衣房的洗衣机200-1的快洗模式洗衣服后,坐在客厅看电视200-4,由于客厅与洗衣房之间存在墙壁,用户A可能听不到洗衣机200-1完成任务后发出的提示声音,或者用户A专注于看电视或者手机,不能及时的知晓洗衣机200-1完成任务,将洗衣机200-1洗好的衣服拿起来晾晒。
而通过本申请的技术方案,手机100可以对洗衣机200-1和音箱200-2进行控制,手机100可以根据用户A在目标应用的操作界面中输入语音、文本或者设定格式的文本的操作,生成一条业务指令,该业务指令包括向洗衣机200-1发送进行快洗指令以及音箱200-2在洗衣机200-1洗完衣服后,以语音提示的方式通知用户A的指令。用户A便可以及时的知晓洗衣机200-1完成任务,将洗衣机200-1洗好的衣服拿起来晾晒,提升用户体验。
例如,对应于场景1,图3A至图3E示出了一种手机100响应于用户A点击图2A中的畅连应用控件2后的用户界面的变化示意图。
如图3A所示,手机100显示畅连的设备聊天界面8,该设备聊天界面8包括聊天窗口9和输入框10,“@设备名称+设备服务模式”表示手机100触发设备名称对应的设备执行相应的设备服务模式的指令输入格式,仅作为本申请中指令输入格式的一种示例,下文将具体介绍指令输入的多种格式。手机100响应于用户A在输入框10输入@的操作,在聊天窗口9显示设备服务选择列表,设备服务选择列表包括设备名称和快捷菜单标题,快捷菜单标题即设备服务模式,设备名称包括洗衣机、蒸烤箱、音箱手表等,快捷菜单标题包括洗衣机对应的快洗和干洗模式等,蒸烤箱对应蒸烤的模式,音箱对应语音提醒的模式,手表对应消息提醒的模式,且设备服务选择列表为可滑动的,用户可以通过滑动设备服务选择列表,找到对应的家居设备。
如图3B所示,手机100响应于用户A在设备服务选择列表点击洗衣机和快洗控件的操作,在输入框10显示@洗衣机快洗,然后聊天窗口9中的设备服务选择列表消失,不再显示。
如图3C所示,手机100再次响应于用户A在输入框10输入@的操作,在聊天窗口9再次显示设备服务选择列表,在用户点击设备服务选择列表中的音箱和语音提醒的控件后,手机100在输入框中显示@洗衣机快洗@音箱语音提醒,聊天窗口9中的设备服务选择列表消失,不再显示。但是,如图3D所示,在手机100响应于用户选择(例如点击)@音箱语音提醒后,就会显示提示语的快捷推荐服务菜单11,快捷推荐服务菜单11包括多种预设的提示语,手机100响应于用户A在快捷服务菜单11中选择“主人,您的衣服已经洗好,请晾晒起来的消息”的操作。手机100在输入框10中显示:@洗衣机快洗@音箱语音提醒:主人,您的衣服已经洗好,请晾晒起来的消息。然后,提示语的快捷推荐服务菜单11消失,不再显示。此外,在其他实施例中,提示语信息还可以为用户利用软键盘输入的。
手机100响应于用户A点击发送按钮的操作,如图3E所示,手机100的聊天窗口9中的畅连账号头像对应的消息框中显示:@洗衣机快洗@音箱语音提醒:主人,您的衣服已经洗好,请晾晒起来的消息。手机100向服务器300发送洗衣机快洗和在洗衣完成后音箱语音提醒的指令。例如,图4根据本申请的一些实施例,示出了一种对应于场景1的电子设备 的控制方法的示意图,如图4所示,该场景中包括手机100、服务器300、洗衣机200-1和音箱200-2。其中,服务器300具有从手机100接收业务指令(也可以叫做服务指令)、向洗衣机200-1和音箱200-2分发业务指令、从洗衣机200-1和音箱200-2接收业务指令执行结果、并向手机100反馈业务指令执行结果的功能。
在该场景中,手机100向服务器300发送洗衣机快洗和在洗衣完成后音箱语音提醒的指令,服务器300先将接收到快洗指令发送至洗衣机200-1,洗衣机200-1在完成快洗后,向服务器300发送快洗完成的消息,服务器300接收到快洗完成的消息后,再向音箱200-2发送语音提醒快洗完成的指令,音箱200-2接收到语音提醒快洗完成的指令,音箱200-2语音播报:主人,您的衣服已经洗好,请晾起来。
手机100通过服务器300接收到洗衣机200-1反馈的指令执行结果:洗衣进度信息,以及音箱200-2反馈的指令执行结果,如图3E,在聊天窗口9的洗衣机200-1的头像对应的消息框中显示正在快洗中、主人洗完了的进度。例如,如图3E,手机100在聊天窗口9中的音箱200-2的头像对应的消息框中显示:主人,您的衣服已洗好,请晒起来。
此外,在其他实施例中,分发指令给家居设备执行,可以不走服务器300,可通过走手机100的软总线通道直接发给各家居设备执行,下文将具体介绍。
此外,在其他实施例中,分发指令给家居设备执行,可以通过被控制的家居设备中的一个家居设备,例如,对应于上述场景,手机100向洗衣机200-1发送洗衣机快洗和在洗衣完成后音箱语音提醒的指令,洗衣机200-1在完成快洗后,再向音箱200-2发送语音提醒快洗完成的指令,音箱200-2接收到语音提醒快洗完成的指令,音箱200-2语音播报:主人,您的衣服已经洗好,请晾起来。除了此场景外,还可以适用于本申请实施例的其他应用场景,在此不再赘述。
如此,手机100可以仅响应于用户A设置的一条业务指令,就能控制音箱200-2与洗衣机200-1协同执行业务指令中的多条指令,在一定程度上提高了手机100的控制效率,提升用户A体验。
对应于场景1,图5A根据本申请实施例,示出了一种电子设备的控制方法的流程示意图,如图5A所示,该方法包括:
可以理解的是,在一些实施例中,手机100需要先登录畅连应用账号,然后执行以下步骤。
步骤501:手机100检测到用户打开畅连应用中的设备聊天界面的操作。
例如,如图2A所示,该操作界面包括畅连应用控件2,手机100检测到用户点击畅连应用控件2,打开如图3A所示的畅连应用的设备聊天界面8的操作。
步骤502:手机100响应于用户打开畅连应用的设备聊天界面8的操作,向服务器300发送家居设备信息获取请求,该家居设备信息获取请求中携带畅连应用账号信息。
可以理解,在一些实施例中,服务器300向手机100反馈的家居设备信息是手机100之前通过畅连应用添加到畅连应用的通讯录的家居设备的信息,例如洗衣机、蒸烤箱、音箱、手表等的信息。
可以理解,在一些实施例中,家居设备信息包括不同设备类型具有不同设备能力属性,有不同的快捷菜单标题、与快捷菜单标题对应的点击操作对应的下发指令,这些通过配置文 件形式部署在服务器300(例如畅连云服务器),手机100开启畅连应用的设备控制界面的情况下,根据畅连应用账号从服务器300获取,配置文件格式不限,如获取洗衣机的配置文件:config_machine.xml,快捷菜单标题、与快捷菜单标题对应的点击操作对应的下发指令:
快捷菜单标题 | 下发的指令 |
快洗 | 快洗模式 |
精洗 | 精细洗衣模式 |
洗烘 | 洗衣并烘干模式 |
…… | …… |
步骤503:服务器300基于畅连应用账号信息获取家居设备信息,向手机100反馈家居设备信息。
步骤504:手机100检测到用户在显示设备信息的设备聊天界面,选择洗衣机快洗,音箱语音播放洗衣进度的操作。
可以理解,在一些实施例中,用户可以通过点击聊天界面中的服务选择列表中的家居设备名称、快捷菜单标题输入指令方式,将对应的指令下发至相应的设备。
在聊天界面,手机100需要响应于用户执行以下步骤:
1.输入@设备以触发设备快捷推荐设备及设备服务模式;
2.输入选择的执行设备和执行服务:@洗衣机干洗;
3.再次输入@选择执行设备+执行服务:@音箱消息提醒“主人,您的衣服已洗好,请晾起来”。
例如,如图3A所示,手机100显示畅连的设备聊天界面8,该设备聊天界面8包括聊天窗口9和输入框10,“@设备名称+设备服务模式”表示手机100触发设备名称对应的设备执行相应的设备服务模式。手机100响应于用户A在输入框10输入@的操作,在聊天窗口9显示设备服务选择列表,设备服务选择列表包括设备名称和快捷菜单标题(又叫做设备服务模式列表),快捷菜单标题即设备服务模式,设备名称包括洗衣机、蒸烤箱、音箱手表等,快捷菜单标题包括洗衣机对应的快洗和干洗模式等,蒸烤箱对应蒸烤的模式,音箱对应语音提醒的模式,手表对应消息提醒的模式。
如图3B所示,手机100响应于用户A在设备服务选择列表点击洗衣机和快洗控件的操作,在输入框10显示@洗衣机快洗,然后聊天窗口9中的设备服务选择列表消失,不显示。
如图3C所示,手机100再次响应于用户A在输入框10输入@的操作,在聊天窗口9再次显示设备服务选择列表,手机100在设备服务选择列表点击音箱和语音提醒的控件,在输入框中显示@洗衣机快洗@音箱语音提醒,聊天窗口9中的设备服务选择列表消失,不显示,但是,如图3D所示,显示提示语的快捷推荐服务菜单,手机100响应于用户A在快捷服务菜单中选择“主人,您的衣服已经洗好,请晾晒起来的消息”的操作。手机100在输入框10中显示:@洗衣机快洗@音箱语音提醒主人,您的衣服已经洗好,请晾晒起来的消息。然后,提示语的快捷推荐服务菜单消失,不显示。
手机100响应于用户A点击发送按钮的操作,如图3E所示,手机100的聊天窗口9中的畅连账号头像对应的消息框中显示:@洗衣机快洗@音箱语音提醒主人,您的衣服已经洗好,请晾晒起来的消息。手机100向服务器300发送洗衣机快洗和在洗衣完成后音箱语音 提醒的指令。
如此,通过聊天界面快捷栏推荐设备特色服务,完成指定的任务或服务,以用户对话形式执行,灵活多样化,增强拟人化设计,在一定程度上提升了用户体验。
此外,在其他实施例中,手机100支持多设备之间指令消息收藏,历史查看以及快速输入。例如,如图3E所示,手机100响应于用户在畅连应用头像对应的消息框中的长按操作,显示菜单栏,点击菜单栏中的收藏控件,即可以在畅连应用的收藏夹中快速找到该指令,在用户想要再次输入该指令的情况下,图3F根据本申请实施例,示出了一种收藏夹的用户界面示意图,如图3F所示,在畅连应用的收藏夹中快速找到该指令,复制粘贴到输入框10,并按发送按钮即可。支持用户指令消息的收藏,将用户常用指令存储在数据库中,便于用户再次便捷实现该项服务。
步骤505:手机100向服务器300发送洗衣机快洗指令和音箱语音播放洗衣完成指令。
可以理解,指令发送采用网络报文发送,网络协议不限于TCP/UDP/HTTP等,报文格式不限。卡片绘制不限于使用Android view控件、native指令绘制等技术。
步骤506:手机100向洗衣机200-1发送洗衣机快洗指令。
步骤507:洗衣机200-1执行快洗指令,该快洗指令用于指示洗衣机200-1洗衣服。
步骤508:洗衣机200-1向服务器300反馈快洗结果,以及通过服务器300向手机100反馈快洗结果。
可以理解,手机100的聊天界面有洗衣机200-1当前执行情况有回执显示:“执行中(例如正在快洗中)”、“已执行(例如已启动快洗)”、“已完成(例如主人洗完了)”。
例如,如图3E所示,手机100在家居设备聊天界面显示:正在快洗中,主人洗完了等信息。
步骤509:服务器300判断快洗结果是否指示快洗完成,在是的情况下,执行步骤510,在否的情况下,继续执行步骤509。
步骤510:服务器300向音箱200-2发送语音播放快洗完成的指令。
在洗衣机完成快洗后,音箱200-2语音播报:主人,您的衣服已经洗好,请晾起来的消息,完成对用户的通知。
步骤511:音箱200-2通过服务器300向手机100反馈指令执行结果。
步骤512:手机100显示指令执行结果。
可以理解,在一些实施例中,设备(例如洗衣机200-1、音箱200-2)回复显示方式包括消息文本、卡片、图片等不限。多设备(例如洗衣机200-1和音箱200-2)响应后回复结果呈现方式有至少以下三种:
a)多设备分开回复;例如,如图3E所示,洗衣机200-1和音箱200-2在聊天窗口9分开回复。
b)多设备头像合并显示分开回复;例如,图5B根据本申请的一些实施例,示出了一种多设备头像合并显示分开回复的UI示意图,如图5B所示,洗衣机200-1和音箱200-2在聊天窗口9的头像合并显示分开回复。
c)合并回复:多设备合并回复显示1条。例如,图5C根据本申请的一些实施例,示出了一种多设备合并回复显示1条提示信息的UI示意图,如图5C所示,洗衣机200-1和音箱 200-2在聊天窗口9合并回复显示1条语音提醒信息:主人,您的衣服已洗好,请晾起来。
除了上述场景1中的指令输入格式,本申请实施例还提供了多种指令输入格式。下面将具体介绍。
可以理解,本申请实施例提供的多设备的交互方法对多设备根据组合控制方式实现协同工作或多设备自动联动的交互方式,实现多设备之间服务接续,服务协同工作。具体可以包括以下步骤:
1.在聊天对话框中控制多设备执行任务或服务。
2.在聊天对话框中多设备之间指令组合交互方式,“@”、“+(加)”、“&(与)”、“|(或)”、“!(非)”等特定符号或语句组合控制多设备协同或自动联动执行1项任务或服务,如:
“+”表示不同任务多个设备先后顺序自动联动执行(串行);
“&”表示同一任务多个设备策略协同执行(协同);
“|”表示同一任务多个设备独立并行执行(并行);
“/”表示同一任务至少一个设备完成执行(选择);
“!”表示同一任务指定类型设备独立执行(排他)。
3.推荐设备的快捷功能或服务;手机100获取用户输入的“@设备”后,触发设备快捷推荐设备及设备服务模式。
表1示出了用户在手机100中输入的符号、符号的作用以及符号的使用格式、符号所代表的策略以及符号可以使用的其他与之含义相同的扩展字符。
表1
表2示出了表1中串行、并行、选择、排他以及串行、并行、选择、排他的组合所对应的任务场景、格式、格式对应的含义说明。
表2
在上述表1中的并行符号“/”的使用场景中,焦点设备定义是指手机100根据距离传感器等感测到的距离用户最近的设备(例如音箱200-2),在其他实施例中,焦点设备还可以定义为用户当前使用的设备(例如用户A正在使用的智慧屏200-4),如果没有当前使用的设备,则可以根据用户设备的优先级(手表200-3>音箱200-2>手机100等)来提醒用户,在此不做限制。
下面以焦点设备为距离用户A最近的设备,以表1中的并行符号“/”及表2中用户输入格式为“设备1+设备2/设备2指令1,指令2”为例,说明该符号的一种使用场景,例如,手机100可以根据用户操作,向洗衣机200-1发送进行快洗以及智慧屏200-4或音箱200-2在洗衣机200-1洗完衣服后,以字幕或语音的方式通知用户的业务指令,服务器300在判断出智慧屏200-4和音箱200-2中距离用户最近的那个设备提示用户,若智慧屏200-4距离用户比音箱200-2距离用户近,则智慧屏200-4在接收到洗衣机200-1发送的洗完衣服通知信息后,以字幕的方式显示“主人,您的衣服已洗完,请晾起来”,若音箱200-2距离用户比智慧屏200-4距离用户近,音箱200-2在接收到洗衣机200-1发送的洗完衣服通知信息后,在向用户语音播报“主人,您的衣服已洗完,请晾起来”。
图6(a)至图6(c)根据本申请实施例,示出了一种在该应用场景下,手机100根据用户操作的UI变化示意图,如图6(a)所示,用户打开“我的设备”界面8后,手机100在该界面的聊天窗口9显示设备名称列表,手机100响应于用户在设备名称列表中和软键盘中点击洗衣机+音箱/智慧屏的操作,在输入框10中显示:洗衣机+音箱/智慧屏。然后,手机100在“我的设备”界面8的设备名称列表消失,在聊天窗口9显示用户所选择的设备服务模式列表,如图6(b)所示,手机100响应于用户从设备服务模式列表中点击快洗,在键盘中点击逗号以及在设备服务模式列表中点击语音提醒控件的操作,在输入框10中显示:洗衣机+音箱/智慧屏快洗,语音提醒。然后,手机100在“我的设备”界面8的设备服务模列表消失,显示语音提醒的快捷服务菜单中,如图6(c)所示,手机100响应于用户从快捷服务菜单中选择“主人,您的衣服已经洗好,请晾晒起来的消息”的操作。手机100在输入框10中显示:洗衣机+音箱/智慧屏快洗,语音提醒,主人,您的衣服已经洗好,请晾晒起来的消息。此外,在其他实施例中,在该场景下,手机100也可以在“我的设备”界面中显示设备名称和设备服务模式列表供用户选择。如此,手机100可以仅响应于用户设置的一条业务指令,就能控制智慧屏200-4、音箱200-2与洗衣机200-1协同执行业务指令中的多条指令,在一定程度上提高了手机100的控制效率,提升用户体验。
以表1中的排他符号“!”,表2中用户输入的格式为:!设备1指令1为例说明该符号的一种使用场景,如图1所示,假设用户需要将所有的吊灯200-7关闭,只打开卧室的那一个台灯200-5,则手机100需要响应于用户的以下操作:
1、在聊天界面选择执行设备与执行策略:!台灯。
2、在聊天界面选择服务方式:关灯。
例如,图7(a)至图7(c),示出了一种在该应用场景下,手机100根据用户操作的UI变化示意图,如7(a)所示,手机100显示畅连的设备聊天界面8,该设备聊天界面8 包括聊天窗口9和输入框10,用户打开“我的设备”界面8后,手机100在该界面的聊天窗口9显示设备名称列表,“!设备名称”表示手机100触发设备执行排他服务模式。如图7(b)所示,手机100响应于用户在输入框10输入“!”,并在设备名称列表点击台灯控件的操作,在输入框10显示“!台灯”,聊天窗口9中的设备名称列表消失,显示设备服务模式列表,例如,开灯、关灯等,手机100在设备服务模式列表点击关灯,在输入框中显示“!台灯关灯”,手机100响应于用户的发送操作,通过服务器300向除了台灯200-5之外的所有吊灯200-7分别发送关灯指令。在服务器300接收到所有吊灯200-7执行完关灯指令的反馈消息后,向手机100反馈该执行结果,如图7(b)所示,手机100的聊天界面中的吊灯头像对应的消息框显示:主人,已关灯。
此外,在其他实施例中,在该场景下,手机100也可以在“我的设备”界面中显示设备名称和设备服务模式列表供用户选择。
如此,本申请实施例实现了多设备交互实现排它方式完成某项工作或服务,支持更广泛的多设备交互排他逻辑规则方式,提升了用户体验。
此外,在其他一些实施例中,手机100可以根据用户输入的用户语音进行语义理解,得到向洗衣机200-1和音箱200-2发送的业务指令。
在其他一些实施例中,手机100可以根据将用户输入的用户语音或用户文本发送至服务器300进行语义理解,得到向洗衣机200-1和音箱200-2发送的业务指令。在该实施例中,服务器300可以既具有给手机100提供设备信息的能力,也具有语义识别和业务指令的多个指令分发的能力,例如,图8A和图8B示出了一种电子设备的控制方法示意图,如图8A所示,手机100从服务器300获取图2中家居设备信息,手机100根据用户操作获取控制设备的指令,一种方式是手机100直接获取用户的语音指令,将该语音发送至服务器300进行语音识别,或者自身进行语义理解,得到指令信息。此外,在该实施例以外的其他实施例中,可以设置三个功能服务器分别对应提供设备信息的能力、语义识别和业务指令的多个指令分发的能力。例如,如图8B所示,在该场景中包括为手机100提供设备信息的服务器300-1,为手机100提供语义识别服务的服务器300-2,为手机100提供指令分发和各家居设备的指令执行结果的反馈的服务器300-3。服务器300-1可以为畅连云服务器,用于保存设备的配置文件,如设备能力属性等;服务器300-2可以为智慧云,用于将手机100响应于用户的设备下发快捷操作或语音、文字等指令操作,下发到智慧云进行意图解析。服务器300-3可以是设备云,用于接收服务指令,分发指令并反馈服务执行结果等。多设备拟人化交互模块:畅连APP与设备会话中,拟人化交互会话聊天。
对应于场景1,在聊天界面,手机100需要响应于用户操作执行以下步骤:
1.手机100响应于用户文本或语音输入:小艺,帮我的衣服快洗下,洗好通知我。
2.手机100中的人工智能(Artificial Intelligence,AI)小艺识别理解为:1)@洗衣机,快洗;2)@音箱,语音播报提示“主人,您的衣服已洗好,请晾起来”。除此之外,手机100中的小艺还可理解用于语音中的多设备串行执行方式、排他执行方式、选择方式、并行执行方式等,在此不做限制。
此外,在其他一些实施例中,如图1所示,在一种场景中(场景2),若用户想要播放视频(例如MV),则可以通过手机100向智慧屏200-4发送播放视频中画面的指令,向音 箱200-2发送播放视频中声音的指令,如此,手机100可以仅响应于用户设置的一条业务指令,就能控制智慧屏200-4与音箱200-2协同执行业务指令中的多条指令,在一定程度上提高了手机100的控制效率,提升用户体验。
具体地,图9根据本申请实施例,对应于场景2,示出了一种电子设备的控制方法的应用场景示意图,如图9所示,手机100向服务器300发送智慧屏200-4播放视频中画面和音箱播放视频中声音的指令,服务器200将接收到播放视频中画面的指令发送智慧屏200-4,以及向音箱200-2发送播放视频中音乐的指令。
此外,在其他一些实施例中,上述各业务指令的分发不一定通过服务器300,或者服务器300-1至300-3,也可以是持有家居设备控制权的手机100直接将指令分发给各家居设备。例如,对应于上文中的应用场景1中的手机100、洗衣机200-1和音箱200-2,本申请实施例中提供了一种适用于本申请的电子设备的控制方法的分布式操作系统,例如鸿蒙操作系统。下面结合附图10对分布式操作系统进行详细介绍。
可以理解,手机100上安装的操作系统可以采用分层架构,事件驱动架构,微核架构,微服务架构,或云架构。手机100以分层架构的分布式操作系统作为说明示例,在此不做限制。
图10示出了一种在手机100上安装的分布式操作系统400的示例性系统框图。如图10所示,手机100上安装的分布式操作系统400采用分层架构。分层架构将分布式操作系统400分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在一些实施例中,将分布式操作系统400分为四层,从上至下分别为应用层410、应用框架层420、系统服务层430以及内核层440。在另一些实施例中,分布式操作系统400也可以分为其他数量的层级结构,在此不做限制。
其中,应用层410可以包括系统应用411、扩展应用412(或第三方应用)等一系列应用程序。系统应用411包括桌面、设置、相机、无线局域网(Wireless Local Area Networks,WLAN)、蓝牙、导航等;扩展应用412包括畅连应用等第三方开发的软件应用程序。
应用框架层420为应用层410提供多语言框架,包括界面(User Interface,UI)框架421、用户程序框架422以及多语言框架应用编程接口(application programming interface,API)和多种编程语言的框架API。其中,应用框架层420包括一些预先定义的函数。
其中,UI框架421包括窗口管理器,内容提供器,视图系统,电话管理器,资源管理器,通知管理器等,在此不做赘述。
系统服务层430是分布式操作系统400的核心,系统服务层430通过应用框架层420对应用层410中的应用程序提供服务。系统服务层430包括分布式设备管理模块431、虚拟设备管理模块432和分布式软总线433。
其中,手机100、洗衣机200-1和音箱200-2之间通过底层网路实现互联。其中,底层网路包括但不限于分布式软总线、无线保真(Wireless-Fidelity,WIFI)、无线局域网(Wireless Local Area Network,WLAN)、蓝牙(Bluetooth,BT)、近场通信(Near Field Communication,NFC)等,在此不做限制。另外,上述手机100、洗衣机200-1和音箱200-2之间经过用户统一授权认证,即手机100、洗衣机200-1和音箱200-2之间互为可信任设备,例如,手机100、洗衣机200-1和音箱200-2之间可以通过用户进行PIN码认证、人脸识别认证、指纹 认证、声纹认证等完成统一授权认证,在此不做限制。分布式设备管理模块431用于对通过底层网路互联的手机100、洗衣机200-1和音箱200-2的各设备信息,以及手机100、洗衣机200-1和音箱200-2各设备指令的执行结果等设备状态信息进行集中管理。
虚拟设备管理模块432用于响应于畅连应用根据用户操作发来的控制指令,通过分布式软总线433向相应的设备发送业务指令。例如,如图3C所示,手机100在输入框10中显示:@洗衣机快洗@音箱语音提醒主人,您的衣服已经洗好,请晾晒起来的消息。虚拟设备管理模块432用于响应于用户A点击发送按钮的操作,通过分布式软总线433向洗衣机200-1发送洗衣机快洗,并在洗衣机200-1通过分布式软总线433向虚拟设备管理模块432反馈洗衣完成的信息后,再分布式软总线433向音箱200-2发送音箱语音提醒的指令。
如此,手机100可以仅响应于用户A设置的一条业务指令,就能控制音箱200-2与洗衣机200-1协同执行业务指令中的多条指令,在一定程度上提高了手机100的控制效率,提升用户A体验。同理,对应于图9,手机100也可以直接通过分布式软总线433向智慧屏200-4和音箱200-2分别发送播放视频指令和播放视频中的音乐指令。
分布式软总线433,作为底层网路的一个示例结构,用于与手机100、洗衣机200-1和音箱200-2进行通信,例如用于采集手机100、洗衣机200-1和音箱200-2的各设备信息,向手机100、洗衣机200-1或音箱200-2发送指令,以及手机100、洗衣机200-1或音箱200-2的各设备指令的执行结果等设备状态信息。其中,对于分布式软总线433功能的理解,可以参考计算机硬件总线。例如,分布式软总线433是手机100与洗衣机200-1或音箱200-2之间搭建一条“无形”的总线,其具备自动发现、即连即用、自组网(异构网络组网)、高带宽、低时延、可靠性高等特点。也就是说,通过分布式软总线技术,上述手机100、洗衣机200-1或音箱200-2之间不仅可以实现全部数据的共享,还可以与其在同一局域网络或与其通过蓝牙连接的任意设备实现即时互联。另外,分布式软总线433还能够在蓝牙、无线保真(Wireless-Fidelity,WIFI)等异构网络之间传输指令。
可以理解,在分布式操作系统400中,上述应用框架层420中的UI框架421、用户程序框架422与系统服务层430中的分布式设备管理模块431、虚拟设备管理模块432以及分布式软总线433可以共同构成系统基本能力子系统集,在此不做限制。
内核层440是硬件和软件之间的层。分布式操作系统400的内核层包括:内核子系统441和驱动子系统442。
其中,内核子系统441介于分布式操作系统400可以采用多内核设计,因此内核子系统441支持针对不同资源受限设备选用适合的OS内核。内核子系统441上的内核抽象层(Kernel Abstract Layer,KAL)通过屏蔽多内核差异,对上层提供基础的内核能力,包括进程/线程管理、内存管理、文件系统、网络管理和外设管理等。
驱动子系统442分布式操作系统400的驱动框架(HDF)是分布式系统硬件生态开放的基础,提供统一外设访问能力和驱动开发、管理框架。内核层440至少包含显示驱动,摄像头驱动,音频驱动,传感器驱动。
洗衣机200-1包括通讯模块510、用户操作模块511、运行控制模块512和显示模块513。
通讯模块510可以包括分布式软总线、无线保真(Wireless-Fidelity,WIFI)、无线局域网(Wireless Local Area Network,WLAN)、蓝牙(Bluetooth,BT)、近场通信(Near Field Communication,NFC)等,在此不做限制。通讯模块510用于驱动洗衣机200-1与其他电子设备建立通信连接关系,本申请实施例中,洗衣机200-1可以通过通讯模块510与手机100建立连接关系。
用户操作控制模块511用于通过触控屏受理用户的输入操作。
运行控制模块512用于对洗衣机200-1的工作状态进行控制,例如,本申请实施例中,洗衣机200-1通过通讯模块510接收快洗指令发送至运行控制模块512,运行控制模块512基于该快洗指令驱动洗衣机200-1执行快洗任务。
显示模块511用于通过显示器向用户显示洗衣机的操作模式选项以及洗衣操作的进度等。
音箱200-2包括通讯模块610、数据处理模块611、数据识别模块612、播放控制模块613、数据转语音模块614和播放输出模块615。
通讯模块610可以包括分布式软总线、无线保真(Wireless-Fidelity,WIFI)、无线局域网(Wireless Local Area Network,WLAN)、蓝牙(Bluetooth,BT)、近场通信(Near Field Communication,NFC)等,在此不做限制。通信模块驱动610用于驱动洗衣机200-1中的通信模块与其他电子设备建立通信连接关系,本申请实施例中,音箱200-2可以通过通信模块驱动610与手机100建立连接关系。
数据识别模块612用于对用户的语音指令进行语义解析,向播放控制模块613发送语义解析记过,播放控制模块613根据语音解析结果得到需要向用户反馈的信息,将该语音数据发送至数据转语音模块613,数据转语音模块613将向用户反馈的信息转化为语音信号后,通过播放输出模块615播放提醒语音。
本申请实施例中,通讯模块610用于在洗衣机200-1执行完洗衣任务后,从手机100接收语音提醒指令,其中,该语音提醒指令中可以携带“主人,您的衣服已经洗好,请晾晒起来的消息”的提示信息数据,并将该语音提醒指令发送至数据处理模块611,数据处理模块611对该语音提醒指令进行数据解码,将解码后的数据发送至播放控制模块613,播放控制模块613将解码后的数据发送至数据转语音模块613,数据转语音模块613将解码后的数据转化为语音信号后,通过播放输出模块615播放提醒语音。
下面结合本申请的实施例给出手机100的一种示例性结构,图11示出了根据本申请实施例的手机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)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。
控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。
处理器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)接口,SIM接口,和/或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的至少部分模块被设置在同一个器件中。
调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备输出声音信号,或通过显示屏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的正整数。
SIM卡接口195用于连接SIM卡。SIM卡可以通过插入SIM卡接口195,或从SIM卡接口195拔出,实现和手机100的接触和分离。手机100可以支持1个或N个SIM卡接口,N为大于1的正整数。SIM卡接口195可以支持Nano SIM卡,Micro SIM卡,SIM卡等。同一个SIM卡接口195可以同时插入多张卡。所述多张卡的类型可以相同,也可以不同。 SIM卡接口195也可以兼容不同类型的SIM卡。SIM卡接口195也可以兼容外部存储卡。手机100通过SIM卡和网络交互,实现通话以及数据通信等功能。在一些实施例中,手机100采用eSIM,即:嵌入式SIM卡。eSIM卡可以嵌在手机100中,不能和手机100分离。
本申请公开还涉及用于执行文本中的操作装置。该装置可以专门处于所要求的目的而构造或者其可以包括被存储在计算机中的计算机程序选择性地激活或者重新配置的通用计算机。这样的计算机程序可以被存储在计算机可读介质中,诸如,但不限于任何类型的盘,包括软盘、光盘、CD-ROM、磁光盘、只读存储器(ROM)、随机存取存储器(RAM)、EPROM、EEPROM、磁或光卡、专用集成电路(ASIC)或者适于存储电子指令的任何类型的介质,并且每个可以被耦合到计算机系统总线。此外,说明书中所提到的计算机可以包括单个处理器或者可以是采用针对增加的计算能力的多个处理器涉及的架构。
本文所提出的过程和显示器固有地不涉及任何具体计算机或其他装置。各种通用系统也可以与根据本文中的教导的程序一起使用,或者构造更多专用装置以执行一个或多个方法步骤可以证明是方便的。在一下描述中讨论了用于各种这些系统的结构。另外,可以使用足以实现本申请公开的技术和实施方案的任何具体编程语言。各种编程语言可以被用于实施本公开,如本文所讨论的。
另外,在本说明书所使用的语言已经主要被选择用于可读性和指导性的目的并且可能未被选择为描绘或限制所公开的主题。因此,本申请公开旨在说明而非限制本文所讨论的概念的范围。
Claims (15)
- 一种电子设备的控制方法,其特征在于,所述方法包括:第一电子设备显示第一应用的第一交互界面;所述第一电子设备响应于用户在所述第一交互界面的第一输入操作,在所述第一交互界面同时输入第一交互指令和第二交互指令,其中,所述第一交互指令用于控制第二电子设备执行第一事件,所述第二交互指令用于控制第三电子设备执行第二事件;所述第一电子设备响应于用户在所述第一交互界面的第一操作,发送所述第一交互指令和所述第二交互指令。
- 根据权利要求1所述的方法,其特征在于,所述第二交互指令用于在所述第二电子设备执行第一事件后,控制所述第三电子设备执行第二事件。
- 根据权利要求2所述的方法,其特征在于,所述发送所述第一交互指令和所述第二交互指令,包括:所述第一电子设备向所述第二电子设备发送所述第一交互指令;所述第二电子设备基于所述第一交互指令执行所述第一事件后,将第一执行结果发送给所述第一电子设备;所述第一电子设备接收到所述第一执行结果的情况下,向所述第三电子设备发送第二交互指令。
- 根据权利要求2所述的方法,其特征在于,所述发送所述第一交互指令和所述第二交互指令,包括:所述第一电子设备向第四电子设备发送所述第一交互指令和第二交互指令;所述第四电子设备向所述第二电子设备发送所述第一交互指令;所述第二电子设备基于所述第一交互指令执行所述第一事件后,将第一执行结果发送给所述第四电子设备;所述第四电子设备在接收到所述第一执行结果的情况下,向所述第三电子设备发送第二交互指令。
- 根据权利要求4所述的方法,其特征在于,所述第四电子设备包括服务器。
- 根据权利要求2所述的方法,其特征在于,所述发送所述第一交互指令和所述第二交互指令,包括:所述第一电子设备向所述第二电子设备发送所述第一交互指令和第二交互指令;所述第二电子设备基于所述第一交互指令执行所述第一事件后,向所述第三电子设备发送第二交互指令。
- 根据权利要求1所述的方法,其特征在于,所述第一电子设备、所述第二电子设备和所述第三电子设备之间建立非近距离通信连接。
- 根据权利要求1所述的方法,其特征在于,所述第一交互指令和所述第二交互指令包括预设格式的文本指令。
- 根据权利要求1所述的方法,其特征在于,所述第一交互指令和所述第二交互指令包括语音指令或非预设格式的文本指令,所述在第一交互界面同时输入第一交互指令和第二交 互指令,包括:对所述语音指令或非预设格式的文本指令进行语义解析,得到语义解析结果对应的所述第一交互指令和所述第二交互指令。
- 根据权利要求1所述的方法,其特征在于,所述第二交互指令用于在所述第二电子设备执行第一事件的同时,控制所述第三电子设备执行所述第二事件。
- 根据权利要求1所述的方法,其特征在于,所述第二交互指令用于在所述第二电子设备执行完所述第一事件后,控制满足预设条件的所述第三电子设备执行所述第二事件。
- 根据权利要求11所述的方法,其特征在于,所述满足预设条件的所述第三电子设备包括以下任意一项:用户当前使用的所述第三电子设备;距离用户的第一电子设备最近的所述第三电子设备;根据用户设置的优先级排第一的所述第二电子设备。
- 根据权利要求1所述的方法,其特征在于,所述第一交互指令用于控制所述第二电子设备执行所述第一事件;所述第二交互指令用于控制所述第三电子设备不执行所述第二事件。
- 一种计算机可读介质,其特征在于,所述计算机可读介质上存储有指令,该指令在电子设备上执行时使电子设备执行权利要求1至13中任一项所述的电子设备的控制方法。
- 一种电子设备,其特征在于,包括:一个或多个处理器;存储器;其中,所述存储器中存储有一个或多个计算机程序,所述一个或多个计算机程序包括指令,当所述指令被所述电子设备执行时,使得所述电子设备执行如权利要求1-13中任一项所述的电子设备的控制方法。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111012395.3A CN115842692A (zh) | 2021-08-31 | 2021-08-31 | 一种电子设备的控制方法、介质和电子设备 |
CN202111012395.3 | 2021-08-31 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2023030264A1 true WO2023030264A1 (zh) | 2023-03-09 |
Family
ID=85410852
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2022/115559 WO2023030264A1 (zh) | 2021-08-31 | 2022-08-29 | 一种电子设备的控制方法、介质和电子设备 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN115842692A (zh) |
WO (1) | WO2023030264A1 (zh) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104519395A (zh) * | 2014-12-31 | 2015-04-15 | 杭州士兰控股有限公司 | 智能家居系统及其可视化控制方法 |
US20170345420A1 (en) * | 2016-05-27 | 2017-11-30 | Centurylink Intellectual Property Llc | Internet of Things (IoT) Human Interface Apparatus, System, and Method |
CN107783509A (zh) * | 2016-08-27 | 2018-03-09 | 北京北信源软件股份有限公司 | 一种智能家居控制方法、装置和系统 |
CN109933029A (zh) * | 2019-03-11 | 2019-06-25 | 王祎凡 | 一种基于云服务器的智能家居控制系统 |
CN110286601A (zh) * | 2019-07-01 | 2019-09-27 | 珠海格力电器股份有限公司 | 控制智能家居设备的方法、装置、控制设备及存储介质 |
CN110376907A (zh) * | 2019-07-12 | 2019-10-25 | 恒大智慧科技有限公司 | 智能家居控制方法、装置、设备及存储介质 |
-
2021
- 2021-08-31 CN CN202111012395.3A patent/CN115842692A/zh active Pending
-
2022
- 2022-08-29 WO PCT/CN2022/115559 patent/WO2023030264A1/zh active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104519395A (zh) * | 2014-12-31 | 2015-04-15 | 杭州士兰控股有限公司 | 智能家居系统及其可视化控制方法 |
US20170345420A1 (en) * | 2016-05-27 | 2017-11-30 | Centurylink Intellectual Property Llc | Internet of Things (IoT) Human Interface Apparatus, System, and Method |
CN107783509A (zh) * | 2016-08-27 | 2018-03-09 | 北京北信源软件股份有限公司 | 一种智能家居控制方法、装置和系统 |
CN109933029A (zh) * | 2019-03-11 | 2019-06-25 | 王祎凡 | 一种基于云服务器的智能家居控制系统 |
CN110286601A (zh) * | 2019-07-01 | 2019-09-27 | 珠海格力电器股份有限公司 | 控制智能家居设备的方法、装置、控制设备及存储介质 |
CN110376907A (zh) * | 2019-07-12 | 2019-10-25 | 恒大智慧科技有限公司 | 智能家居控制方法、装置、设备及存储介质 |
Also Published As
Publication number | Publication date |
---|---|
CN115842692A (zh) | 2023-03-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2020192714A1 (zh) | 显示设备控制页面的方法、相关装置及系统 | |
EP3860132B1 (en) | Method for playing multimedia data and electronic device | |
US20230094272A1 (en) | Notification Processing System, Method, and Electronic Device | |
WO2021013158A1 (zh) | 显示方法及相关装置 | |
WO2021078284A1 (zh) | 一种内容接续方法及电子设备 | |
CN113272745B (zh) | 智能家居设备分享系统、方法及电子设备 | |
WO2020034227A1 (zh) | 一种多媒体内容同步方法及电子设备 | |
WO2021164445A1 (zh) | 一种通知处理方法、电子设备和系统 | |
EP4109891A1 (en) | Device interaction method and electronic device | |
CN110795179B (zh) | 一种显示方法及电子设备 | |
CN114647350B (zh) | 应用共享方法、电子设备和存储介质 | |
WO2020224447A1 (zh) | 一种在联系人中添加智能家居设备的方法及系统 | |
WO2020253754A1 (zh) | 一种多终端的多媒体数据通信方法和系统 | |
WO2022017393A1 (zh) | 显示交互系统、显示方法及设备 | |
JP7234379B2 (ja) | スマートホームデバイスによってネットワークにアクセスするための方法および関連するデバイス | |
WO2022078295A1 (zh) | 一种设备推荐方法及电子设备 | |
WO2022268009A1 (zh) | 一种屏幕共享的方法及相关设备 | |
WO2023088459A1 (zh) | 设备协同方法及相关装置 | |
WO2023072139A1 (zh) | 播放音频的方法、电子设备及系统 | |
WO2023030264A1 (zh) | 一种电子设备的控制方法、介质和电子设备 | |
WO2022052706A1 (zh) | 一种服务的分享方法、系统及电子设备 | |
CN115242994A (zh) | 视频通话系统、方法和装置 | |
WO2023051229A1 (zh) | 用于标识设备的方法、装置、电子设备和介质 | |
WO2023024973A1 (zh) | 一种音频控制方法及电子设备 | |
WO2023241558A1 (zh) | 通信方法、通信系统和鼠标 |
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: 22863399 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 22863399 Country of ref document: EP Kind code of ref document: A1 |