WO2020168571A1 - Device control method, apparatus, system, electronic device and cloud server - Google Patents
Device control method, apparatus, system, electronic device and cloud server Download PDFInfo
- Publication number
- WO2020168571A1 WO2020168571A1 PCT/CN2019/075947 CN2019075947W WO2020168571A1 WO 2020168571 A1 WO2020168571 A1 WO 2020168571A1 CN 2019075947 W CN2019075947 W CN 2019075947W WO 2020168571 A1 WO2020168571 A1 WO 2020168571A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- cloud server
- information
- control instruction
- scene
- vendor
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 114
- 230000004044 response Effects 0.000 claims abstract description 27
- 238000012790 confirmation Methods 0.000 claims description 22
- 238000004891 communication Methods 0.000 claims description 19
- 238000003860 storage Methods 0.000 claims description 11
- 230000003111 delayed effect Effects 0.000 claims description 9
- 239000000284 extract Substances 0.000 claims description 6
- 230000000875 corresponding effect Effects 0.000 description 152
- 230000001276 controlling effect Effects 0.000 description 54
- 238000010586 diagram Methods 0.000 description 14
- 230000008569 process Effects 0.000 description 13
- 238000012545 processing Methods 0.000 description 9
- 238000001514 detection method Methods 0.000 description 6
- 238000000605 extraction Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 4
- 238000003825 pressing Methods 0.000 description 4
- 230000003993 interaction Effects 0.000 description 3
- 238000012544 monitoring process Methods 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 230000008878 coupling Effects 0.000 description 2
- 238000010168 coupling process Methods 0.000 description 2
- 238000005859 coupling reaction Methods 0.000 description 2
- 238000013500 data storage Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 230000007613 environmental effect Effects 0.000 description 2
- 238000010438 heat treatment Methods 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 210000000056 organ Anatomy 0.000 description 2
- 230000001755 vocal effect Effects 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 210000004072 lung Anatomy 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 210000003928 nasal cavity Anatomy 0.000 description 1
- 230000007170 pathology Effects 0.000 description 1
- 210000003800 pharynx Anatomy 0.000 description 1
- 230000035479 physiological effects, processes and functions Effects 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
- 238000001228 spectrum Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
- 210000000515 tooth Anatomy 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
- 238000005406 washing Methods 0.000 description 1
Images
Classifications
-
- 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
- This application relates to the field of smart home technology, and more specifically, to a device control method, device, system, electronic device, and cloud server.
- a smart scene means that multiple smart devices perform corresponding actions when a certain trigger condition occurs, which can greatly improve user experience.
- this application proposes a device control method, device, system, electronic device, and cloud server to solve the foregoing problems.
- an embodiment of the present application provides a device control method, which is applied to an electronic device that accesses a cloud server, and the method includes: responding to a scene trigger event and acquiring device information in a scene corresponding to the scene trigger event,
- the device information includes the information of the first device and the information of the second device.
- the first device and the second device belong to different vendors; determine the first vendor cloud server corresponding to the first device and the The second vendor cloud server corresponding to the second device; generates a control instruction based on the scene trigger event, and sends the control instruction to the cloud server, where the control instruction is used to instruct the cloud server to control the The first control instruction of the first device is sent to the first vendor cloud server, and the second control instruction for controlling the second device is sent to the second vendor cloud server.
- an embodiment of the present application provides a device control method applied to a cloud server accessed by an electronic device, and the method includes: the cloud server receives scene trigger information sent by the electronic device; and acquiring the scene The device information in the scene corresponding to the trigger information, the device information includes the information of the first device and the information of the second device, the first device and the second device belong to different manufacturers; determine the first device The first vendor cloud server corresponding to the device and the second vendor cloud server corresponding to the second device; generate a control instruction based on the scene trigger information, and send the first control instruction for controlling the first device to the The cloud server of the first vendor sends a second control instruction for controlling the second device to the cloud server of the second vendor.
- the embodiments of the present application provide a device control method, which is applied to a device control system.
- the device control system includes an electronic device, a cloud server, a first device, a second device, a cloud server of a first manufacturer, and a second device.
- the cloud server of the manufacturer is respectively communicatively connected with the electronic device, the cloud server of the first manufacturer, and the cloud server of the second manufacturer, and the cloud server of the first manufacturer is communicatively connected with the first device, so
- the cloud server of the second vendor is in communication connection with the second device, and the method includes: the electronic device responds to a scene trigger event to obtain device information in a scene corresponding to the scene trigger event, and the device information includes all The device information of the first device and the device information of the second device, the first device and the second device belong to different vendors; determine the first vendor's cloud server and the device corresponding to the first device The second manufacturer cloud server corresponding to the second device; generates a control instruction based on the scene trigger event, and sends the control instruction to the cloud server; the cloud server uses the control instruction to control the Sending the first control instruction of the first device to the first vendor cloud server, and sending the second control instruction for controlling the second device in the control instruction to the second vendor cloud server;
- the first vendor cloud server controls the first device to
- an embodiment of the present application provides a device control device, which is applied to an electronic device that accesses a cloud server, and the device includes: an acquisition module configured to respond to a scene trigger event and acquire a scene corresponding to the scene trigger event
- the device information in the device information includes the information of the first device and the information of the second device.
- the first device and the second device belong to different manufacturers; the determining module is used to determine the first device The corresponding first vendor cloud server and the second vendor cloud server corresponding to the second device; a sending module, configured to generate a control instruction based on the scene trigger event, and send the control instruction to the cloud server, the The control instruction is used to instruct the cloud server to send a first control instruction for controlling the first device to the first vendor cloud server, and to send a second control instruction for controlling the second device to all The cloud server of the second vendor.
- an embodiment of the present application provides a device control device, which is applied to a cloud server accessed by an electronic device, and the device includes: a receiving module for the cloud server to receive scene trigger information sent by the electronic device ; Acquisition module for acquiring device information in the scene corresponding to the scene trigger information, the device information including the information of the first device and the information of the second device, the first device and the second device Belonging to different vendors; a determining module, used to determine the first vendor cloud server corresponding to the first device and the second vendor cloud server corresponding to the second device; sending module, used to generate control based on the scenario trigger information Instruction, sending a first control instruction for controlling the first device to the first vendor cloud server, and sending a second control instruction for controlling the second device to the second vendor cloud server.
- an embodiment of the present application provides a device control system, which includes an electronic device, a cloud server, a first device, a second device, a cloud server from a first vendor, and a cloud server from a second vendor.
- the electronic device, the first vendor cloud server, and the second vendor cloud server are in communication connection, the first vendor cloud server is in communication connection with the first device, and the second vendor cloud server is in communication with the second vendor.
- a device communication connection wherein: the electronic device is configured to respond to a scene trigger event to obtain device information in a scene corresponding to the scene trigger event, and the device information includes the device information of the first device and the first device Device information of the second device.
- the first device and the second device belong to different vendors; the electronic device is used to determine the first vendor cloud server and the second device corresponding to the first device The corresponding cloud server of the second manufacturer; the electronic device is configured to generate a control instruction based on the scene trigger event, and send the control instruction to the cloud server; the cloud server is configured to control the The first control instruction for controlling the first device in the instruction is sent to the first vendor cloud server, and the second control instruction for controlling the second device in the control instruction is sent to the second Vendor cloud server; the first vendor cloud server is configured to control the first device to respond based on the first control instruction; the second vendor cloud server is configured to control the plant based on the second control instruction The second device responds.
- an embodiment of the present application provides an electronic device, including: a memory; one or more processors coupled to the memory; one or more programs, wherein the one or more application programs are Stored in the memory and configured to be executed by the one or more processors, and the one or more programs are configured to execute the above method.
- an embodiment of the present application provides a cloud server, including: a memory; one or more processors coupled to the memory; one or more programs, wherein the one or more application programs are Stored in the memory and configured to be executed by the one or more processors, and the one or more programs are configured to execute the above method.
- an embodiment of the present application provides a computer-readable storage medium, the computer-readable storage medium stores program code, and the program code can be invoked by a processor to execute the foregoing method.
- the device control method, device, system, electronic device, and cloud server provided by the embodiments of the present application respond to a scene trigger event, obtain information about the first device and information about the second device in the scene corresponding to the scene trigger event, and determine the first device
- the cloud server of the first vendor corresponding to a device and the cloud server of the second vendor corresponding to the second device generate a control instruction based on the scene trigger event, and send the control instruction to the cloud server.
- the control instruction is used to instruct the cloud server to use
- the first control instruction for controlling the first device is sent to the cloud server of the first manufacturer
- the second control instruction for controlling the second device is sent to the cloud server of the second manufacturer, thereby determining the scene in the scene corresponding to the scene trigger event
- Multiple devices, through the cloud server respectively send control instructions to multiple vendors' cloud servers corresponding to the multiple devices, to achieve linkage control of multiple vendors' devices, and to improve scene linkage efficiency.
- Figure 1 shows a schematic diagram of a device control system provided by an embodiment of the present application
- FIG. 2 shows a sequence diagram of a device control method provided by an embodiment of the present application
- FIG. 3 shows a schematic flowchart of a device control method provided by an embodiment of the present application
- FIG. 4 shows a schematic flowchart of a device control method provided by another embodiment of the present application.
- FIG. 5 shows a schematic flowchart of a device control method provided by another embodiment of the present application.
- FIG. 6 shows a schematic flowchart of a device control method provided by another embodiment of the present application.
- FIG. 7 shows a schematic flowchart of a device control method provided by another embodiment of the present application.
- FIG. 8 shows a schematic flowchart of step S604 of the device control method shown in FIG. 7 of the present application
- FIG. 9 shows a schematic flowchart of a device control method provided by yet another embodiment of the present application.
- FIG. 10 shows a schematic flowchart of step S708 of the device control method shown in FIG. 9 of the present application
- FIG. 11 shows a schematic flowchart of a device control method provided by another embodiment of the present application.
- Fig. 12 shows a block diagram of a device control apparatus provided by an embodiment of the present application.
- FIG. 13 shows a block diagram of a device control device provided by another embodiment of the present application.
- FIG. 14 shows a block diagram of an electronic device used to execute the device control method according to the embodiment of the present application
- FIG. 15 shows a block diagram of a cloud server used to execute the device control method according to the embodiment of the present application
- Fig. 16 shows a storage unit for storing or carrying program codes for implementing the device control method according to the embodiment of the present application.
- Smart home connects various devices in the home (such as air conditioners, lights, refrigerators, washing machines, etc.) through the Internet of Things technology to provide home appliance control, lighting control, remote control, indoor and outdoor remote control, anti-theft alarm, environmental monitoring, and HVAC Various controls such as control, infrared forwarding and programmable timing control.
- the control of various devices can be completed by electronic devices.
- the control of various devices can be achieved by installing applications from manufacturers corresponding to various devices on the electronic devices, for example, When the smart home includes device A, device B, and device C, and device A belongs to manufacturer A, device B belongs to manufacturer B, and device C belongs to manufacturer C, you need to install the application of manufacturer A in the electronic device to control device A , Install B manufacturer's application program to control B equipment and install C manufacturer's application program to control C equipment.
- the user when the user expects device A, device B, and device C to interact, they need to enter the application of manufacturer A, the application of manufacturer B, and the application of manufacturer C to operate, and the operation process is cumbersome.
- the inventor has discovered through long-term research and proposed the device control method, device, system, electronic device, and cloud server provided by the embodiments of the present application.
- the control instructions are sent to the cloud servers of multiple vendors corresponding to the multiple devices, so as to realize the linkage control of the devices of multiple vendors and improve the efficiency of scene linkage.
- the specific device control method is described in detail in the subsequent embodiments.
- FIG. 1 shows a device control system 10 that can be used in the device control method provided by an embodiment of the present application.
- the device control system 10 includes an electronic device 100, a cloud server 200, a first device 300, and a second device 400 ,
- the first manufacturer’s cloud server 500 and the second manufacturer’s cloud server 600 wherein the cloud server 200 is respectively connected to the electronic device 100, the first manufacturer’s cloud server 500, and the second manufacturer’s cloud server 600 to realize the communication with the electronic device 100, Data interaction between the cloud server 500 of the first manufacturer and the cloud server 600 of the second manufacturer.
- the cloud server 500 of the first manufacturer communicates with the first device 300 to realize the data interaction with the first device 300.
- the cloud server 600 is in communication connection with the second device 400 to realize data interaction with the second device 400.
- the electronic device 100 can include but is not limited to smart phones, tablet computers, wearable electronic devices, etc.
- the first device 300 can include, but is not limited to, air conditioners, floor heating, fresh air, curtains, lights, TVs, refrigerators, electric fans, etc.
- the second device 400 may include, but is not limited to, air conditioners, floor heating, fresh air, curtains, lights, televisions, refrigerators, electric fans, and the like.
- FIG. 2 shows a sequence diagram of a device control method provided by an embodiment of the present application.
- the process shown in Figure 2 will be described in detail below.
- the device control method is applied to a device control system.
- the device control system includes: an electronic device, a cloud server, a first device, a second device, and a first vendor cloud server And a second-vendor cloud server, the cloud server is respectively connected to the electronic device, the first-vendor cloud server, and the second-vendor cloud server
- the device control method may include steps S101 to S106.
- Step S101 The electronic device responds to a scene trigger event to obtain device information in a scene corresponding to the scene trigger event, where the device information includes device information of the first device and device information of the second device, The first device and the second device belong to different manufacturers.
- the electronic device may preset and store multiple scenarios for the user to select triggering or automatic triggering.
- the multiple scenes may be manually configured by the user, or automatically configured by the electronic device.
- the user can set the name of the scene, trigger conditions, included equipment, Configure the tasks to be performed;
- the electronic device can confirm the use or confirm the trigger to the user in a recommended form, for example, "away from home scene", "at home scene", “get up”
- the user can modify or delete the scene recommended by the electronic device, which is not limited here.
- the electronic device when the electronic device stores a scene, it can store scene trigger events corresponding to the scene at the same time. Therefore, the electronic device can monitor the scene trigger event for the scene, and it can be understood that when the scene trigger event is detected, it will make a response corresponding to the scene trigger event.
- the device information in the scene corresponding to the scene trigger event can be acquired, where the device information in the scene may include multiple devices and linkage relationships of multiple devices And the trigger conditions of multiple devices, for example, when the device information in the scene includes TV, air conditioner, light and curtain, then the linkage relationship of the multiple devices can include TV on, air conditioner on, light on, and curtain off, and The trigger conditions for the multiple devices may include when the TV is on, the air conditioner is on, the lights are on, and the curtains are off.
- the device information can include the information of the first device and the second device , And the first device and the second device belong to different manufacturers.
- the scene trigger event may include at least one of a touch operation trigger event, a timing trigger event, a device state trigger event, and a voice trigger event.
- Step S102 Determine the first vendor cloud server corresponding to the first device and the second vendor cloud server corresponding to the second device.
- the first vendor cloud server corresponding to the first device and the second vendor cloud server corresponding to the second device may be determined respectively.
- the scene corresponding to the scene trigger event can be configured corresponding to the first device during configuration.
- the corresponding first manufacturer and the second manufacturer corresponding to the second device can be understood that after the first manufacturer corresponding to the first device is determined, the first manufacturer cloud server corresponding to the first manufacturer can be determined correspondingly , That is, determine the first vendor cloud server corresponding to the first device.
- you can correspondingly determine the second vendor cloud server corresponding to the second vendor that is, determine the The second vendor cloud server corresponding to the second device.
- the correspondence between the device and the vendor's cloud server can be established, for example, the correspondence between the first device and the first vendor's cloud server and the second device
- the corresponding relationship between the cloud server of the second manufacturer and the second vendor’s cloud server, and the corresponding relationship is stored locally in the electronic device. Therefore, after acquiring the first device and the second device in the scene corresponding to the scene trigger event, it is based on the stored The correspondence relationship may determine the first vendor cloud server corresponding to the first device and the second vendor cloud server corresponding to the second device.
- Step S103 Generate a control instruction based on the scene trigger event, and send the control instruction to the cloud server.
- the electronic device responds to the scene trigger event to realize the linkage control of the first device and the second device included in the scene corresponding to the scene trigger event. Therefore, the first device and the second device can be controlled according to the scene set in the scene.
- the linkage relationship between a device and a second device controls the first device and the second device to respond respectively.
- the electronic device can generate a control instruction based on the scene trigger event, where the control instruction can be used to control the first device and the second device, and then send the control instruction to the cloud connected to the electronic device via the network Server, it is understandable that the electronic device may send the control instruction to the cloud server via a wireless network or a data network, where when the electronic device sends the control instruction to the cloud server via a data network, the data network may include a 2G network, 3G network or 4G network, etc., are not limited here.
- Step S104 The cloud server sends the first control instruction used to control the first device in the control instruction to the first vendor cloud server, and uses the control instruction to control the second device
- the second control instruction of is sent to the cloud server of the second manufacturer.
- the control instruction may include the control instruction of the first device and the control instruction of the second device at the same time, that is, the control instruction can realize the control of the first device and the second device at the same time. Therefore, the cloud server can send the control instruction to the cloud server of the first vendor and the cloud server of the second vendor, and then the cloud server of the first vendor analyzes the control instruction to extract the first control instruction pair for the first device The first device is controlled. Similarly, the cloud server of the second manufacturer analyzes the control instruction, and extracts the second control instruction for the second device to control the second device.
- control instruction may respectively include a first control instruction for controlling the first device and a second control instruction for controlling the second device. Therefore, the cloud server may use the control instruction for controlling the first device.
- the first control instruction is sent to the cloud server of the first vendor
- the second control instruction for controlling the second device is sent to the cloud server of the second vendor, simplifying the analysis and extraction operations of the cloud server of the first vendor and the cloud server of the second vendor.
- Step S105 The first vendor cloud server controls the first device to respond based on the first control instruction.
- the first vendor cloud server controls the first device to respond based on the first control instruction. For example, if the first device is an air conditioner, and the first control instruction includes "adjust the air conditioner to 26°", then the cloud server of the first manufacturer corresponding to the first device can adjust the temperature of the air conditioner to 26 based on the first control instruction. °.
- Step S106 The second vendor cloud server controls the second device to respond based on the second control instruction.
- the cloud server of the second manufacturer controls the second device to respond based on the second control instruction. For example, if the second device is a TV, and the second control instruction includes "turn on the TV", then the cloud server of the second manufacturer corresponding to the second device can turn on the TV based on the second control instruction.
- the electronic device responds to the scene trigger event, and the first device and the second device of different manufacturers in the scene corresponding to the scene trigger event can be controlled to respond at the same time, that is, Cross-vendor device control is realized through electronic devices, which facilitates the setting and control of linkage scenes.
- the electronic device responds to a scene trigger event to obtain device information in the scene corresponding to the scene trigger event.
- the device information includes information about a first device and information about a second device.
- the first device And the second device belong to a different vendor, determine the first vendor cloud server corresponding to the first device and the second vendor cloud server corresponding to the second device, generate a control instruction based on the scenario trigger event, and send the control instruction to the cloud server,
- the cloud server sends the first control instruction for controlling the first device in the control instruction to the cloud server of the first manufacturer, and sends the second control instruction for controlling the second device in the control instruction to the cloud server of the second manufacturer,
- the cloud server of the first vendor controls the first device to respond based on the first control instruction
- the cloud server of the second vendor controls the second device to respond based on the second control instruction, thereby determining the scene in the scene corresponding to the scene trigger event
- FIG. 3 shows a schematic flowchart of a device control method according to an embodiment of the present application.
- the device control method is applied to the device control apparatus 700 shown in FIG. 12 and the electronic device 100 (as shown in FIG. 14) equipped with the device control device 700, wherein the electronic device Communication and connection with the cloud server, the following will take an electronic device as an example to illustrate the specific process of this embodiment.
- the flow shown in FIG. 3 will be described in detail below, and the device control method may include steps S201 to S203.
- Step S201 In response to a scene trigger event, obtain device information in a scene corresponding to the scene trigger event.
- the device information includes information about a first device and information about a second device.
- the first device and the second device The equipment belongs to different manufacturers.
- Step S202 Determine the first vendor cloud server corresponding to the first device and the second vendor cloud server corresponding to the second device.
- Step S203 Generate a control instruction based on the scene trigger event, and send the control instruction to the cloud server, where the control instruction is used to instruct the cloud server to use a first control instruction to control the first device Send to the first vendor cloud server, and send a second control instruction for controlling the second device to the second vendor cloud server.
- step S201 to step S203 please refer to step S101 to step S106, which will not be repeated here.
- the device control method responds to a scene trigger event, obtains information of the first device and information of the second device in the scene corresponding to the scene trigger event, and determines the first vendor cloud server corresponding to the first device
- the cloud server of the second manufacturer corresponding to the second device generates a control instruction based on the scene trigger event, and sends the control instruction to the cloud server, where the control instruction is used to instruct the cloud server to control the first control of the first device
- the instruction is sent to the cloud server of the first vendor, and the second control instruction for controlling the second device is sent to the cloud server of the second vendor, so that multiple devices in the scene corresponding to the scene trigger event are determined, and the cloud server transmits
- the control instructions are respectively sent to the cloud servers of multiple vendors corresponding to multiple devices to realize the linkage control of multiple vendors' devices and improve the efficiency of scene linkage.
- FIG. 4 shows a schematic flowchart of a device control method according to another embodiment of the present application.
- the process shown in FIG. 4 will be described in detail below, and the device control method may include steps S301 to S306.
- Step S301 The electronic device displays scene controls.
- the scene trigger event is a touch operation trigger event.
- the electronic device displays scene controls, where the scene controls can be displayed in the form of cards or buttons, which is not limited here.
- the number of scene controls displayed by the electronic device can be selected according to the number of configured scenes. For example, when the number of configured scenes is 6, 6 scene controls can be displayed; when the number of configured scenes is When the number is 10, you can choose to display the scene controls corresponding to 8 of the scenes, and hide the scene controls corresponding to the 2 scenes, and display the corresponding hidden 2 scenes when the user touches the designated position or triggers the designated operation Scene controls.
- the order in which the electronic device displays the scene controls can be arranged from front to back according to the frequency of the user's touch operation, the user's preference, the priority set by the user, etc., which will not be repeated here.
- Step S302 Detect a touch operation acting on the scene control.
- the electronic device detects the touch operation acting on the scene control, where the touch operation may include single-finger tap, multi-finger tap, single-finger long press, single-finger long press, and multi-finger long press , Heavy pressure, multiple clicks, sliding operations, pressing area, etc.
- the single-finger click refers to the operation of clicking on the scene control with a single finger
- the multi-finger clicking refers to the simultaneous clicking of multiple fingers on the scene control Operation
- single-finger long press means that a single finger presses on the scene control for longer than the preset time
- multi-finger long press means that multiple fingers press on the scene control at the same time for longer than the preset time
- heavy press means that the pressing force on the scene control exceeds Preset strength
- multiple clicks means that the number of clicks within a preset time exceeds the preset number of times
- sliding operation refers to the operation of sliding a single finger on the scene control
- pressing area means that the pressing area of a single finger on the scene control exceed
- Step S303 Determine whether the touch operation conforms to the specified touch operation.
- the electronic device may be provided with a designated touch operation, and the designated touch operation is used as a basis for determining the touch operation detected by the electronic device.
- the designated touch operation can be pre-stored locally by the electronic device, or can be set at the time of judgment.
- the designated touch operation can be automatically configured by the electronic device, can be manually set by the user, or It can be transmitted to the electronic device after the server configuration is completed, which is not limited here. Therefore, in this embodiment, after detecting the touch operation, the electronic device can compare the touch operation with the designated touch operation to determine whether the touch operation meets the designated touch operation.
- Step S304 When the touch operation conforms to the specified touch operation, in response to the touch operation, obtain device information in the scene corresponding to the touch operation trigger event, where the device information includes the first device And the information of the second device, the first device and the second device belong to different manufacturers.
- the electronic device when it is determined that the touch operation conforms to the specified touch operation, it can be determined that the user corresponding to the electronic device has triggered the touch operation trigger event. Therefore, the electronic device can respond to the touch operation to obtain information corresponding to the touch operation trigger event. Device information in the scene.
- Step S305 Determine the first vendor cloud server corresponding to the first device and the second vendor cloud server corresponding to the second device.
- Step S306 Generate a control instruction based on the scene trigger event, and send the control instruction to the cloud server, where the control instruction is used to instruct the cloud server to use a first control instruction to control the first device Send to the first vendor cloud server, and send a second control instruction for controlling the second device to the second vendor cloud server.
- step S304 to step S306 please refer to step S101 to step S106, which will not be repeated here.
- an electronic device displays a scene control, detects a touch operation acting on the scene control, and determines whether the touch operation conforms to a specified touch operation, and when the touch operation conforms to the specified touch operation During the control operation, in response to the touch operation, obtain the information of the first device and the information of the second device in the scene corresponding to the touch operation trigger event, and determine that the first manufacturer's cloud server corresponding to the first device corresponds to the second device
- the second manufacturer’s cloud server generates a control instruction based on the scene trigger event, and sends the control instruction to the cloud server, where the control instruction is used to instruct the cloud server to send the first control instruction for controlling the first device to the first
- the vendor cloud server sends the second control instruction for controlling the second device to the second vendor cloud server.
- this embodiment can also trigger a scene through a touch operation, which improves the efficiency of scene triggering.
- FIG. 5 shows a schematic flowchart of a device control method provided by another embodiment of the present application.
- the process shown in FIG. 5 will be described in detail below, and the device control method may include steps S401 to S405.
- Step S401 Detect the current time.
- the scene trigger event is a timing trigger event.
- the current time can be detected through a timer built into the electronic device.
- Step S402 Determine whether the current time reaches a designated time.
- the electronic device may be set with a designated time, and the designated time is used as a basis for determining the current time detected by the electronic device.
- the designated time can be pre-stored locally by the electronic device, or can be set at the time of judgment.
- the designated time can be automatically configured by the electronic device, manually set by the user, or configured by the server After completion, it is transmitted to the electronic device, which is not limited here. Therefore, in this embodiment, after detecting the current time, the electronic device can compare the current time with the designated time to determine whether the current time reaches the designated time.
- the designated time may be 6 pm (home time), or 7 am (time away from home), etc.
- Step S403 When the current time reaches the specified time, in response to the current time, obtain device information in the scene corresponding to the timing trigger event, where the device information includes the information of the first device and the second device , The first device and the second device belong to different manufacturers.
- the electronic device can respond to the current time to obtain device information in the scene corresponding to the timing trigger event.
- Step S404 Determine the first vendor cloud server corresponding to the first device and the second vendor cloud server corresponding to the second device.
- Step S405 Generate a control instruction based on the scene trigger event, and send the control instruction to the cloud server, where the control instruction is used to instruct the cloud server to use a first control instruction to control the first device Send to the first vendor cloud server, and send a second control instruction for controlling the second device to the second vendor cloud server.
- step S403 to step S405 please refer to step S101 to step S106, which will not be repeated here.
- the device control method provided by another embodiment of the present application detects the current time and determines whether the current time reaches the specified time, and when the current time reaches the specified time, responds to the current time to obtain the first device in the scene corresponding to the timing trigger event
- the control instruction is used to instruct the cloud server to send the first control instruction for controlling the first device to the cloud server of the first manufacturer, and send the second control instruction for controlling the second device to the cloud server of the second manufacturer.
- this embodiment can also trigger the scene periodically to improve the efficiency of scene triggering.
- FIG. 6 shows a schematic flowchart of a device control method provided by another embodiment of the present application.
- the flow shown in FIG. 6 will be described in detail below, and the device control method may include steps S501 to S506.
- Step S501 Obtain the target device, and generate a subscription device event based on the target device.
- the scene trigger event is a device state trigger event.
- one device or several devices can be selected from multiple devices as the target device, where the target device may be the first device and/or the second device, or may be other than the first device and the second device. Other equipment is not limited here.
- the target device is acquired, and a subscribed device event is generated based on the target device, where the subscribed device event is used to instruct the target cloud server corresponding to the target device to feed back a status confirmation when the status information of the target device meets the specified status information Information, that is, the target cloud server can monitor the state information of the target device based on the subscribed device event, and compare the state information with the specified state information in real time. When it is determined that the state information matches the specified state information, generate The status confirmation information is fed back to the cloud server connected to the electronic device to instruct the cloud server to send the status confirmation information to the electronic device.
- Step S502 Determine the target cloud server corresponding to the target device.
- the target cloud server corresponding to the target device can be determined.
- the target vendor and/or target cloud server corresponding to the target device can be configured and stored at the same time. Therefore, it can be based on the target vendor and/or target cloud server corresponding to the pre-configured target device.
- the cloud service determines the target cloud server corresponding to the target device.
- Step S503 Send the subscription device event to the cloud server, and instruct the cloud server to send the subscription device event to the target cloud server, and the subscription device event is used to indicate that the target cloud server is in the When the status information of the target device conforms to the specified status information, the status confirmation information is fed back.
- the electronic device can send the subscription device event to the cloud server connected to the electronic device via the network. It is understandable that the electronic device can send the subscription device time to the cloud server via a wireless network or a data network.
- the data network may include a 2G network, a 3G network, or a 4G network, etc., which is not limited here.
- the cloud server can obtain the target server corresponding to the target device contained in the subscription device event, and then send the subscription device event to the target cloud server to indicate the target The cloud server feeds back the status confirmation information when the status information of the target device meets the specified status information.
- Step S504 When receiving the status confirmation information of the corresponding target device sent by the cloud server, respond to the status confirmation information to obtain the device information in the scene corresponding to the device status trigger event, and the device information includes the first Information about a device and information about a second device, the first device and the second device belong to different manufacturers.
- the cloud server After the cloud server receives the status confirmation information fed back by the target cloud server, it will send the device status information to the electronic device. Therefore, the electronic device can monitor the status confirmation information and receive the status confirmation information. When confirming the information, in response to the status confirmation information, the device information in the scene corresponding to the device status trigger event is obtained.
- Step S505 Determine the first vendor cloud server corresponding to the first device and the second vendor cloud server corresponding to the second device.
- Step S506 Generate a control instruction based on the scene trigger event, and send the control instruction to the cloud server, where the control instruction is used to instruct the cloud server to use a first control instruction to control the first device Send to the first vendor cloud server, and send a second control instruction for controlling the second device to the second vendor cloud server.
- step S504 to step S506 please refer to step S101 to step S106, which will not be repeated here.
- the device control method obtaineds a target device and generates a subscription device event based on the target device, determines the target cloud server corresponding to the target device, sends the subscription device event to the cloud server, and instructs the cloud server to
- the subscribed device event is sent to the target cloud server, and the subscribed device event is used to instruct the target cloud server to feed back status confirmation information when the target device's status information meets the specified status information, and when the target device status confirmation information sent by the cloud server is received
- obtain the information of the first device and the information of the second device in the scene corresponding to the device status trigger event obtain the information of the first device and the information of the second device in the scene corresponding to the device status trigger event, and determine the first vendor cloud server corresponding to the first device and the second device corresponding to the second device.
- the vendor cloud server generates a control instruction based on the scene trigger event, and sends the control instruction to the cloud server, where the control instruction is used to instruct the cloud server to send the first control instruction for controlling the first device to the first vendor cloud server , Sending the second control instruction for controlling the second device to the cloud server of the second manufacturer.
- this embodiment can also trigger scenes based on the device status, which improves the efficiency of scene triggering.
- FIG. 7 shows a schematic flowchart of a device control method provided by yet another embodiment of the present application.
- the flow shown in FIG. 7 will be described in detail below, and the device control method may include steps S601 to S604.
- Step S601 Detect the voice information input to the electronic device.
- the scene trigger event is a voice trigger event.
- the electronic device can collect the input voice information through a built-in sound collection device, where the sound collection device can be a microphone or a recording device of the electronic device.
- the voice information input to the electronic device includes but is not limited to the voice information input by the user, the voice information generated by the environment, the voice information input by other electronic devices, etc., optionally, in this embodiment, the voice information of the electronic device is input to the user Perform testing.
- Step S602 Extract the voice content of the voice information.
- the voice content in the voice information is extracted, for example, keywords in the voice information are extracted.
- the sentence corresponding to the voice information can be segmented to obtain multiple phrases, and then the content of each phrase can be obtained separately; as another way, the sentence corresponding to the voice information can be directly recognized to obtain the The voice content of the voice message.
- Step S603 Determine whether the voice content includes designated voice content.
- the electronic device may be provided with designated voice content, and the designated voice content is used as a judgment basis for the voice content extracted by the electronic device.
- the designated voice content can be pre-stored locally by the electronic device, or it can be set at the time of judgment.
- the designated voice content can be automatically configured by the electronic device, manually set by the user, or by After the server configuration is completed, it is transmitted to the electronic device, which is not limited here. Therefore, in this embodiment, after the voice content in the voice information is obtained, the voice content can be compared with the specified voice content to determine whether the voice content includes the specified voice content. For example, if the specified voice content is "start the first scene" and the voice content is "please start the first scene", then it can be determined that the voice content includes the specified voice content.
- Step S604 When the voice content includes the specified voice content, respond to the voice information to obtain device information in the scene corresponding to the voice trigger event, and the device information includes the information of the first device and the second device. Information about the device, the first device and the second device belong to different manufacturers.
- the electronic device can respond to the voice information to obtain device information in the scene corresponding to the voice trigger event.
- FIG. 8 shows a schematic flowchart of step S604 of the device control method shown in FIG. 7 of the present application.
- the process shown in FIG. 8 will be described in detail below, and the method may specifically include the following steps:
- Step S6041 When the voice content includes the designated voice content, extract voiceprint information of the voice information.
- the electronic device may also extract voiceprint information in the voice information.
- the voiceprint is the sound wave spectrum carrying speech information that can be displayed by electroacoustic instruments. It is understandable that the production of human language is a complex physiological and physical process between the human language center and the vocal organs.
- the voice used by people in speech The organs-tongue, teeth, throat, lungs, and nasal cavity are very different in size and shape from each person, so the voiceprint patterns of any two people are different.
- the acoustic characteristics of each person's voice have both relative stability and variability, and they are not absolute and static.
- This variation can come from physiology, pathology, psychology, simulation, camouflage, and is also related to environmental interference. Nevertheless, because everyone’s vocal organs are different, in general, people can still distinguish different people’s voices or judge whether they are the same person’s voice.
- Step S6042 Determine whether the voiceprint information matches the specified voiceprint information.
- the electronic device may be provided with designated voiceprint information, and the designated voiceprint information is used as a judgment basis for the voiceprint information extracted from the voice information input to the electronic device.
- the specified voiceprint information may be real user voiceprint information corresponding to the electronic device. Therefore, after obtaining the voiceprint information of the voice information, the voiceprint information may be compared with the specified voiceprint information to determine Whether the input voice information is the real user of the electronic device, it is understandable that when the voiceprint information matches the specified voiceprint information, it can be determined that the voice information input to the electronic device is the real user input of the electronic device; when the voiceprint information When the specified voiceprint information does not match, it can be determined that the voice information input to the electronic device is not a real user input of the electronic device.
- Step S6043 When the voiceprint information matches the specified voiceprint information, respond to the voice information to obtain device information in the scene corresponding to the voice trigger event.
- the device in the scene corresponding to the voice trigger event can be obtained in response to the voice information information.
- Step S605 Determine the first vendor cloud server corresponding to the first device and the second vendor cloud server corresponding to the second device.
- Step S606 Generate a control instruction based on the scene trigger event, and send the control instruction to the cloud server, where the control instruction is used to instruct the cloud server to use a first control instruction to control the first device Send to the first vendor cloud server, and send a second control instruction for controlling the second device to the second vendor cloud server.
- step S604 to step S606 please refer to step S101 to step S106, which will not be repeated here.
- the device control method provided in yet another embodiment of the present application detects voice information input to an electronic device, extracts the voice content of the voice information, and determines whether the voice content includes specified voice content.
- the voice content includes the specified voice content
- the sound According to the voice information, obtain the information of the first device and the information of the second device in the scene corresponding to the voice trigger event, and determine the first vendor cloud server corresponding to the first device and the second vendor cloud server corresponding to the second device,
- a control instruction is generated based on the scene trigger event, and the control instruction is sent to the cloud server.
- the control instruction is used to instruct the cloud server to send the first control instruction for controlling the first device to the cloud server of the first manufacturer.
- the second control instruction for controlling the second device is sent to the cloud server of the second manufacturer.
- this embodiment can also trigger scenes through voice to improve scene triggering efficiency.
- FIG. 9 shows a schematic flowchart of a device control method provided by yet another embodiment of the present application.
- the flow shown in FIG. 9 will be described in detail below.
- the device control method may include step S701 to step S709:
- Step S701 In response to a scene trigger event, obtain device information in a scene corresponding to the scene trigger event.
- the device information includes information about a first device and information about a second device.
- the first device and the second device The equipment belongs to different manufacturers.
- Step S702 Determine the first vendor cloud server corresponding to the first device and the second vendor cloud server corresponding to the second device.
- step S701-step S702 please refer to step S101-step S102, which will not be repeated here.
- Step S703 Obtain the target state information of the first device and the target state information of the second device configured in the scene corresponding to the scene trigger event.
- the target state information of the device in the scene will be configured, that is, the state information that the device is expected to reach.
- the target state information of the first device and the target state information of the second device can be configured in the scene corresponding to the scene trigger event.
- the first device is an air conditioner
- the second device is a TV
- the target status information of the second device is "26°"
- the target status information of the second device is "open”.
- Step S704 Acquire current state information of the first device and current state information of the second device.
- the current status information of the first device can be monitored through the cloud server of the first manufacturer and fed back to the electronic device through the cloud server, and the current status information of the second device can be monitored through the cloud server of the second manufacturer and passed through the cloud server Feedback to electronic equipment.
- the current state information of the first device and the current state information of the second device may be acquired in real time, may be acquired at predetermined intervals, or may be acquired in response to a scene trigger event, which is not limited here.
- Step S705 Determine whether the target state information of the first device is consistent with the current state information of the first device, and determine whether the target state information of the second device is consistent with the current state information of the second device, Obtain the judgment result.
- the first device is an air conditioner and the target status information is "26°”, if the current status information of the first device is "26°”, then the target of the first device The status information is consistent with the current status information. If the current status information of the first device is "20°", then the target status information of the first device is inconsistent with the current status information.
- Step S706 When the judgment result is that the target state information of the first device is inconsistent with the current state information of the first device, and the target state information of the second device is inconsistent with the current state information of the second device, A control instruction is generated based on the scene trigger event and the judgment result, and the control instruction is sent to the cloud server. The control instruction is used to instruct the cloud server to control the first device of the first device. The control instruction is sent to the first vendor cloud server, and the second control instruction for controlling the second device is sent to the second vendor cloud server.
- the control instruction includes a first control instruction for controlling the first device and a second control instruction for controlling the second device, and the first control instruction is sent to
- the cloud server of the first vendor instructs the cloud server of the first vendor to adjust the current state of the first device to the target state, and sends the second control instruction to the cloud server of the second vendor to instruct the cloud server of the second vendor to change the current state of the second device
- the state is adjusted to the target state.
- Step S707 Monitor the feedback information sent by the cloud server.
- the cloud server sends the first control instruction to the cloud server of the first manufacturer, and if the sending of the first instruction fails, the cloud server sends feedback information to the electronic device; similarly, the cloud server sends the second control instruction to the cloud server of the second manufacturer For the server, if the sending of the second instruction fails, the cloud server sends feedback information to the electronic device. Therefore, as a way, the electronic device monitors the feedback information sent by the cloud server.
- Step S708 When it is monitored that the feedback information indicates that the control instruction has failed to be sent, the control instruction is re-sent to the cloud server through the delayed backoff algorithm, and the control instruction is used to instruct the cloud server to use
- the first control instruction for controlling the first device is sent to the first vendor cloud server
- the second control instruction for controlling the second device is sent to the second vendor cloud server.
- the control instruction can be re-sent to the cloud server to instruct the cloud server to control the first control of the first device in the control instruction.
- the instruction is sent to the cloud server of the first manufacturer, and the second control instruction for controlling the second device is sent to the cloud server of the second manufacturer.
- the control instruction can be re-sent through the delayed backoff algorithm, and when the number of re-sending instructions reaches a specified number of times, the re-sending is stopped, where the specified number of times may include 3 times.
- FIG. 10 shows a schematic flowchart of step S708 of the device control method shown in FIG. 9 of the present application.
- the following will elaborate on the process shown in FIG. 10, and the method may specifically include the following steps:
- Step S7081 When it is monitored that the feedback information indicates that the control instruction has failed to be sent, it is determined whether the scene trigger event meets the specified trigger event.
- the specified trigger event may include a timing trigger event and a device state trigger event.
- Step S7082 When the trigger event matches the specified trigger event, re-send the control instruction to the cloud server through the delayed backoff algorithm, and the control instruction is used to instruct the cloud server to be used to control the first A first control instruction for a device is sent to the first vendor cloud server, and a second control instruction for controlling a second device is sent to the second vendor cloud server.
- the instruction information can be re-sent.
- Step S709 When the judgment result is that the target state information of the first device is inconsistent with the current state information of the first device and the target state information of the second device is consistent with the current state information of the second device , Generate the first control instruction based on the scene trigger event and the judgment result, and send the first control instruction to the cloud server, and the first control instruction is used to instruct the cloud server to The first control instruction is sent to the first device.
- the first control instruction used to control the first device based on the trigger event and the judgment result can be used to send the first control instruction to the cloud server of the first manufacturer to instruct the cloud server of the first manufacturer to The current state of the first device is adjusted to the target state.
- the device control method responds to a scene trigger event, obtains information about a first device and a second device in a scene corresponding to the scene trigger event, and determines the first vendor cloud corresponding to the first device
- the second vendor cloud server corresponding to the server and the second device obtains the target state information of the first device and the target state information of the second device configured in the scene corresponding to the scene trigger event, and obtains the current state information of the first device and The current state information of the second device, when the target state information of the first device is inconsistent with the current state information and the target state information of the second device is inconsistent with the current state information, a control instruction is generated and sent to the cloud server,
- the control instruction is used to instruct the cloud server to send the first control instruction for controlling the first device to the cloud server of the first manufacturer, and send the second control instruction for controlling the second device to the cloud server of the second manufacturer, and If the transmission fails, it is retransmitted through the delayed backoff algorithm.
- the first control instruction is generated and the second device is A control instruction is sent to the cloud server, and the first control instruction is used to instruct the cloud server to send the first control instruction to the cloud server of the first manufacturer.
- this embodiment monitors the device status in the scene, and when the status information meets the conditions, no control instruction is sent, which reduces the amount of data transmission.
- FIG. 11 shows a schematic flowchart of a device control method according to another embodiment of the present application.
- the device control method is applied to the device control device 800 shown in FIG. 13 and the cloud server 200 (FIG. 15) configured with the device control device 800, and the following will focus on the device control device 800 shown in FIG.
- the process is described in detail, and the device control method may include step S801-step S804:
- Step S801 The cloud server receives the scene trigger information sent by the electronic device.
- the electronic device generates scene trigger information in response to the scene trigger event, and sends the scene trigger information to the cloud server to process the scene trigger information through the cloud server.
- Step S802 Obtain device information in the scene corresponding to the scene trigger information.
- the device information includes information about a first device and information about a second device.
- the first device and the second device belong to different Vendor.
- Step S803 Determine the first vendor cloud server corresponding to the first device and the second vendor cloud server corresponding to the second device.
- Step S804 Generate a control instruction based on the scene trigger information, send the first control instruction for controlling the first device to the first vendor cloud server, and set the second control instruction for controlling the second device The instruction is sent to the cloud server of the second manufacturer.
- step S801 to step S804 please refer to step S101 to step S106, which will not be repeated here.
- the cloud server receives the scene trigger information sent by the electronic device, obtains the information of the first device and the information of the second device in the scene corresponding to the scene trigger information, and determines the first device
- the corresponding cloud server of the first vendor and the cloud server of the second vendor corresponding to the second device generate control instructions based on the scene trigger event, and send the first control instruction for controlling the first device to the cloud server of the first vendor, and use
- the second control instruction for controlling the second device is sent to the cloud server of the second manufacturer.
- this embodiment can also trigger a scene through a touch operation, which improves the efficiency of scene triggering.
- FIG. 12 shows a block diagram of a device control apparatus 700 according to an embodiment of the present application.
- the device control apparatus 700 is applied to the above-mentioned electronic device 100. The following will describe the block diagram shown in FIG. 12.
- the device control apparatus 700 includes: an acquisition module 710, a determination module 720, and a sending module 730, wherein:
- the acquisition module 710 is configured to respond to a scene trigger event and acquire device information in a scene corresponding to the scene trigger event.
- the device information includes information about the first device and information about the second device.
- the second device belongs to a different manufacturer.
- the acquisition module 710 includes: a scene control display submodule, a touch operation detection submodule, a touch operation judgment submodule, and a touch operation response submodule ,among them:
- the scene control display sub-module is used for the electronic device to display the scene control.
- the touch operation detection sub-module is used to detect the touch operation acting on the scene control.
- the touch operation judging sub-module is used to judge whether the touch operation meets the specified touch operation.
- the touch operation response sub-module is configured to respond to the touch operation when the touch operation matches the specified touch operation, and obtain device information in the scene corresponding to the touch operation trigger event.
- the acquisition module 710 includes: a time detection sub-module, a time judgment sub-module, and a time response sub-module, wherein:
- Time detection sub-module used to detect the current time.
- the time judgment sub-module is used for whether the current time reaches the specified time.
- the time response submodule is configured to respond to the current time when the current time reaches the specified time, and obtain device information in the scene corresponding to the timing trigger event.
- the acquisition module 710 includes: a target device acquisition submodule, a target cloud server determination submodule, a subscription device event sending submodule, and a status information response submodule, where :
- the target device acquisition sub-module is used to acquire the target device and generate subscription device events based on the target device.
- the target cloud server determining sub-module is used to determine the target cloud server corresponding to the target device.
- the subscription device event sending submodule is used to send the subscription device event to the cloud server, and instruct the cloud server to send the subscription device event to the target cloud server, and the subscription device event is used to instruct all
- the target cloud server feeds back the status confirmation information when the status information of the target device meets the specified status information.
- the status information response submodule is configured to respond to the status confirmation information and obtain the device information in the scene corresponding to the device status trigger event when receiving the status confirmation information corresponding to the target device sent by the cloud server.
- the acquisition module 710 includes: a voice information detection submodule, a voice content extraction submodule, a voice content judgment submodule, and a voice information response submodule, wherein:
- the voice information detection sub-module is used to detect voice information input to the electronic device.
- the voice content extraction sub-module is used to extract the voice content of the voice information.
- the voice content judgment sub-module is used to judge whether the voice content includes specified voice content.
- the voice information response sub-module is configured to respond to the voice information when the voice content includes the specified voice content, and obtain device information in a scene corresponding to the voice trigger event. Further, the voice information response submodule includes: a voiceprint information extraction unit, a voiceprint information judgment unit, and a voice information response unit, wherein:
- the voiceprint information extraction unit is configured to extract voiceprint information of the voice information when the voice content includes the specified voice content.
- the voiceprint information judging unit is used to judge whether the voiceprint information matches the specified voiceprint information.
- the voice information response unit is configured to respond to the voice information when the voiceprint information matches the specified voiceprint information, and obtain device information in a scene corresponding to the voice trigger event.
- the determining module 720 is configured to determine a first vendor cloud server corresponding to the first device and a second vendor cloud server corresponding to the second device.
- the sending module 730 is configured to generate a control instruction based on the scene trigger event and send the control instruction to the cloud server, where the control instruction is used to instruct the cloud server to control the first device of the first device A control instruction is sent to the cloud server of the first vendor, and a second control instruction for controlling the second device is sent to the cloud server of the second vendor. Further, the sending module 730 includes: a target status information acquisition submodule, a current status information acquisition submodule, a status information judgment submodule, a first sending submodule, and a second sending submodule, wherein:
- the target state information acquisition sub-module is configured to acquire the target state information of the first device and the target state information of the second device configured in the scene corresponding to the scene trigger event.
- the current status information acquisition submodule is used to acquire the current status information of the first device and the current status information of the second device.
- the state information judging sub-module is used to judge whether the target state information of the first device is consistent with the current state information of the first device, and to judge whether the target state information of the second device is consistent with that of the second device.
- the current status information is consistent, and the judgment result is obtained.
- the first sending submodule is used for when the judgment result is that the target state information of the first device is inconsistent with the current state information of the first device and the target state information of the second device is the same as the current state information of the second device
- a control instruction is generated based on the scene trigger event and the judgment result, and the control instruction is sent to the cloud server.
- the control instruction is used to instruct the cloud server to control the first
- a first control instruction for a device is sent to the first vendor cloud server, and a second control instruction for controlling the second device is sent to the second vendor cloud server.
- the second sending submodule is used for when the judgment result is that the target state information of the first device is inconsistent with the current state information of the first device and the target state information of the second device is the same as that of the second device
- the first control instruction is generated based on the scene trigger event and the judgment result, and the first control instruction is sent to the cloud server, and the first control instruction is used to instruct all
- the cloud server sends the first control instruction to the first device.
- the device control apparatus 700 further includes: a monitoring module and a control module, wherein:
- the monitoring module is used to monitor the feedback information sent by the cloud server.
- the control module is configured to re-send the control instruction to the cloud server through a delayed backoff algorithm when the feedback information indicates that the control instruction has failed to be sent, and the control instruction is used to instruct the cloud server
- the first control instruction for controlling the first device is sent to the first vendor cloud server
- the second control instruction for controlling the second device is sent to the second vendor cloud server.
- the control module includes: a trigger event judgment sub-module and a control sub-module, wherein:
- the trigger event judging sub-module is used to judge whether the scene trigger event conforms to the specified trigger event when the feedback information indicates that the control instruction has failed to be sent.
- the control sub-module is configured to re-send the control instruction to the cloud server through the delayed backoff algorithm when the trigger event matches the specified trigger event, and the control instruction instructs the cloud server to be used for control
- the first control instruction of the first device is sent to the first vendor cloud server, and the second control instruction for controlling the second device is sent to the second vendor cloud server.
- FIG. 13 shows a block diagram of a device control apparatus 800 according to another embodiment of the present application.
- the device control device 800 is applied to the above-mentioned cloud server 200. The following will describe the block diagram shown in FIG. 13.
- the device control device 800 includes: a receiving module 810, an acquiring module 820, a determining module 830, and a sending module 840, wherein: receive
- the receiving module 810 is configured to receive the scene trigger information sent by the electronic device by the cloud server.
- the acquiring module 820 is configured to acquire device information in the scene corresponding to the scene trigger information.
- the device information includes the information of the first device and the information of the second device.
- the first device and the second device Belong to different manufacturers.
- the determining module 830 is configured to determine the first vendor cloud server corresponding to the first device and the second vendor cloud server corresponding to the second device.
- the sending module 840 is configured to generate a control instruction based on the scene trigger information, send a first control instruction for controlling the first device to the first vendor cloud server, and send a control instruction for controlling the second device
- the second control instruction is sent to the cloud server of the second manufacturer.
- the coupling between the modules may be electrical, mechanical or other forms of coupling.
- each functional module in each embodiment of the present application may be integrated into one processing module, or each module may exist alone physically, or two or more modules may be integrated into one module.
- the above-mentioned integrated modules can be implemented in the form of hardware or software functional modules.
- an embodiment of the present application also provides a device control system 10, which includes an electronic device 100, a cloud server 200, a first device 300, a second device 400, a first vendor cloud server 500, and a second vendor cloud server 600.
- the cloud server 200 is in communication connection with the electronic device 100, the first vendor cloud server 500, and the second vendor cloud server 600, and the first vendor cloud server 500 is in communication connection with the first device 300,
- the second vendor cloud server 600 is in communication connection with the second device 400, wherein:
- the electronic device 100 is configured to respond to a scene trigger event and obtain device information in a scene corresponding to the scene trigger event.
- the device information includes the device information of the first device 300 and the device information of the second device 400 Device information, the first device 300 and the second device 400 belong to different manufacturers.
- the electronic device 100 is configured to determine the first vendor cloud server 500 corresponding to the first device 300 and the second vendor cloud server 600 corresponding to the second device 400.
- the electronic device 100 is configured to generate a control instruction based on the scene trigger event, and send the control instruction to the cloud server 200.
- the cloud server 200 is configured to send the first control instruction used to control the first device 300 in the control instruction to the first vendor cloud server 500, and use the control instruction to control the The second control instruction of the second device 400 is sent to the second vendor cloud server 600.
- the first vendor cloud server 500 is configured to control the first device 300 to respond based on the first control instruction.
- the second vendor cloud server 600 is configured to control the second device 400 to respond based on the second control instruction.
- FIG. 14 shows a structural block diagram of an electronic device 100 provided by an embodiment of the present application.
- the electronic device 100 may be an electronic device capable of running application programs, such as a smart phone, a tablet computer, or an e-book.
- the electronic device 100 in this application may include one or more of the following components: a processor 110, a memory 120, a screen 130, and one or more application programs, of which one or more application programs may be stored in the memory 120 and configured To be executed by one or more processors 110, one or more programs are configured to execute the methods described in the foregoing method embodiments.
- the processor 110 may include one or more processing cores.
- the processor 110 uses various interfaces and lines to connect various parts of the entire electronic device 100, and executes by running or executing instructions, programs, code sets, or instruction sets stored in the memory 120, and calling data stored in the memory 120.
- Various functions and processing data of the electronic device 100 may adopt at least one of Digital Signal Processing (DSP), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), and Programmable Logic Array (Programmable Logic Array, PLA).
- DSP Digital Signal Processing
- FPGA Field-Programmable Gate Array
- PLA Programmable Logic Array
- the processor 110 may be integrated with one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU), and a modem.
- CPU Central Processing Unit
- GPU Graphics Processing Unit
- modem modem
- the CPU mainly processes the operating system, user interface, and application programs; the GPU is used for rendering and drawing of display content; the modem is used for processing wireless communication. It can be understood that the above-mentioned modem may not be integrated into the processor 110, but may be implemented by a communication chip alone.
- the memory 120 may include random access memory (RAM) or read-only memory (Read-Only Memory).
- the memory 120 may be used to store instructions, programs, codes, code sets or instruction sets.
- the memory 120 may include a program storage area and a data storage area, where the program storage area may store instructions for implementing the operating system and instructions for implementing at least one function (such as touch function, sound playback function, image playback function, etc.) , Instructions for implementing the following method embodiments, etc.
- the data storage area can also store data (such as phone book, audio and video data, chat record data) created by the terminal 100 during use.
- the screen 130 may be a liquid crystal display (Liquid Crystal Display, LCD), may be an organic light-emitting diode (Organic Light-Emitting Diode, OLED), or the like.
- LCD Liquid Crystal Display
- OLED Organic Light-Emitting Diode
- the screen 130 is used to display information input by the user, information provided to the user, and various graphical user interfaces of the electronic device. These graphical user interfaces can be composed of graphics, text, icons, numbers, videos, and any combination thereof. constitute.
- FIG. 15 shows a structural block diagram of a cloud server 200 according to an embodiment of the present application.
- the cloud server 200 in this application may include one or more of the following components: a processor 210, a memory 220, and one or more application programs.
- One or more application programs may be stored in the memory 220 and configured to be Or multiple processors 210 execute, and one or more programs are configured to execute the method described in the foregoing method embodiment.
- the processor 210 and the memory 220 please refer to the descriptions of the processor 110 and the memory 120, which will not be repeated here.
- FIG. 16 shows a structural block diagram of a computer-readable storage medium provided by an embodiment of the present application.
- the computer-readable medium 900 stores program code, and the program code can be invoked by a processor to execute the method described in the foregoing method embodiment.
- the computer-readable storage medium 900 may be an electronic memory such as flash memory, EEPROM (Electrically Erasable Programmable Read Only Memory), EPROM, hard disk, or ROM.
- the computer-readable storage medium 900 includes a non-transitory computer-readable storage medium.
- the computer-readable storage medium 900 has storage space for the program code 910 for executing any method steps in the above-mentioned methods. These program codes can be read out from or written into one or more computer program products.
- the program code 910 may be compressed in an appropriate form, for example.
- the device control method, device, system, electronic device, and cloud server respond to a scene trigger event to obtain information about the first device and information about the second device in the scene corresponding to the scene trigger event.
- Information determine the first vendor cloud server corresponding to the first device and the second vendor cloud server corresponding to the second device, generate a control instruction based on the scene trigger event, and send the control instruction to the cloud server, where the control instruction is used to instruct
- the cloud server sends the first control instruction for controlling the first device to the cloud server of the first manufacturer, and sends the second control instruction for controlling the second device to the cloud server of the second manufacturer, thereby triggering the event by determining the scene.
Landscapes
- Selective Calling Equipment (AREA)
- Telephonic Communication Services (AREA)
- Computer And Data Communications (AREA)
Abstract
Description
Claims (20)
- 一种设备控制方法,其特征在于,应用于接入云服务器的电子设备,所述方法包括:A device control method, characterized in that it is applied to an electronic device connected to a cloud server, and the method includes:响应场景触发事件,获取所述场景触发事件所对应场景中的设备信息,所述设备信息中包括第一设备的信息和第二设备的信息,所述第一设备和所述第二设备属于不同的厂商;In response to a scene trigger event, obtain device information in the scene corresponding to the scene trigger event. The device information includes information about a first device and information about a second device. The first device and the second device belong to different Manufacturer确定所述第一设备对应的第一厂商云服务器和所述第二设备对应的第二厂商云服务器;Determining a first vendor cloud server corresponding to the first device and a second vendor cloud server corresponding to the second device;基于所述场景触发事件生成控制指令,将所述控制指令发送至所述云服务器,所述控制指令用于指示所述云服务器将用于控制所述第一设备的第一控制指令发送至所述第一厂商云服务器,将用于控制所述第二设备的第二控制指令发送至所述第二厂商云服务器。Generate a control instruction based on the scene trigger event, and send the control instruction to the cloud server, where the control instruction is used to instruct the cloud server to send a first control instruction for controlling the first device to all The first vendor cloud server sends a second control instruction for controlling the second device to the second vendor cloud server.
- 根据权利要求1所述的方法,其特征在于,所述场景触发事件包括触控操作触发事件、定时触发事件、设备状态触发事件以及语音触发事件中的至少一种。The method according to claim 1, wherein the scene trigger event includes at least one of a touch operation trigger event, a timing trigger event, a device state trigger event, and a voice trigger event.
- 根据权利要求2所述的方法,其特征在于,当所述场景触发事件为所述触控操作触发事件时,所述响应场景触发事件,获取所述场景触发事件所对应场景中的设备信息,包括:The method according to claim 2, wherein when the scene triggering event is the touch operation triggering event, responding to the scene triggering event to obtain device information in the scene corresponding to the scene triggering event, include:所述电子设备展示场景控件;The electronic device displays scene controls;检测作用于所述场景控件上的触控操作;Detecting a touch operation acting on the scene control;判断所述触控操作是否符合指定触控操作;Determine whether the touch operation conforms to a specified touch operation;当所述触控操作符合所述指定触控操作时,响应所述触控操作,获取所述触控操作触发事件所对应场景中的设备信息。When the touch operation conforms to the specified touch operation, in response to the touch operation, obtain device information in the scene corresponding to the touch operation trigger event.
- 根据权利要求2所述的方法,其特征在于,当所述场景触发事件为所述定时触发事件,所述响应场景触发事件,获取所述场景触发事件所对应场景中的设备信息,包括:The method according to claim 2, wherein when the scene trigger event is the timing trigger event, the responding to the scene trigger event and acquiring device information in the scene corresponding to the scene trigger event comprises:检测当前时间;Detect current time;判断所述当前时间是否到达指定时间;Determine whether the current time reaches the designated time;当所述当前时间到达所述指定时间时,响应所述当前时间,获取所述定时触发事件所对应场景中的设备信息。When the current time reaches the specified time, respond to the current time to obtain device information in the scene corresponding to the timing trigger event.
- 根据权利要求2所述的方法,其特征在于,当所述场景触发事件为所述设备状态触发事件时,所述响应场景触发事件,获取所述场景触发事件所对应场景中的设备信息,包括:The method according to claim 2, wherein when the scene trigger event is the device state trigger event, the responding to the scene trigger event and acquiring device information in the scene corresponding to the scene trigger event comprises :当接收到所述云服务器发送的对应目标设备的状态确认信息时,响应所述状态确认信息,获取所述设备状态触发事件所对应场景中的设备信息。When receiving the status confirmation information corresponding to the target device sent by the cloud server, respond to the status confirmation information to obtain the device information in the scene corresponding to the device status trigger event.
- 根据权利要求5所述的方法,其特征在于,所述当接收到所述云服务器发送的对应所述目标设备的状态确认信息时,响应所述状态确认信息,获取所述设备状态触发事件所对应场景中的设备信息之前,还包括:The method according to claim 5, wherein when receiving the status confirmation information corresponding to the target device sent by the cloud server, responding to the status confirmation information to obtain the status of the device trigger event Before corresponding to the device information in the scene, it also includes:获取所述目标设备,并基于所述目标设备生成订阅设备事件;Acquiring the target device, and generating a subscription device event based on the target device;确定所述目标设备对应的目标云服务器;Determine the target cloud server corresponding to the target device;将所述订阅设备事件发送至所述云服务器,指示所述云服务器将所述订阅设备事件发送至所述目标云服务器,所述订阅设备事件用于指示所述目标云服务器在所述目标设备的状态信息符合指定状态信息时反馈所述状态确认信息。Send the subscription device event to the cloud server, instruct the cloud server to send the subscription device event to the target cloud server, and the subscription device event is used to indicate that the target cloud server is on the target device When the status information matches the specified status information, the status confirmation information is fed back.
- 根据权利要求2所述的方法,其特征在于,当所述场景触发事件为所述语音触发事件时,所述响应场景触发事件,获取所述场景触发事件所对应场景中的设备信息,包括:The method according to claim 2, wherein when the scene trigger event is the voice trigger event, the responding to the scene trigger event and obtaining device information in the scene corresponding to the scene trigger event comprises:检测输入所述电子设备的语音信息;Detecting voice information input to the electronic device;提取所述语音信息的语音内容;Extract the voice content of the voice information;判断所述语音内容是否包括指定语音内容;Determine whether the voice content includes specified voice content;当所述语音内容包括所述指定语音内容时,响应所述语音信息,获取与所述语音触发事件对应场景中的设备信息。When the voice content includes the specified voice content, responding to the voice information, obtain device information in a scene corresponding to the voice trigger event.
- 根据权利要求7所述的方法,其特征在于,所述当所述语音内容包括所述指定语音内容时,响应所述语音信息,获取与所述语音触发事件对应场景中的设备信息,包括:8. The method according to claim 7, wherein said responding to said voice information when said voice content includes said designated voice content and acquiring device information in a scene corresponding to said voice trigger event comprises:当所述语音内容包括所述指定语音内容时,提取所述语音信息的声纹信息;When the voice content includes the specified voice content, extracting voiceprint information of the voice information;判断所述声纹信息是否与指定声纹信息匹配;Determine whether the voiceprint information matches the specified voiceprint information;当所述声纹信息与所述指定声纹信息匹配时,响应所述语音信息,获取与所述语音触发事件对应场景中的设备信息。When the voiceprint information matches the specified voiceprint information, responding to the voice information, obtain device information in a scene corresponding to the voice trigger event.
- 根据权利要求1-8任一项所述的方法,其特征在于,所述基于所述场景触发事件生成控制指令,将所述控制指令发送至所述云服务器,所述控制指令用于指示所述云服务器将用于控制所述第一设备的第一控制指令发送至所述第一厂商云服务器,将用于控制所述第二设备的第二控制指令发送至所述第二厂商云服务器,包括:The method according to any one of claims 1-8, wherein the control instruction is generated based on the scene trigger event, and the control instruction is sent to the cloud server, and the control instruction is used to instruct The cloud server sends a first control instruction for controlling the first device to the first vendor cloud server, and sends a second control instruction for controlling the second device to the second vendor cloud server ,include:获取所述场景触发事件所对应场景中配置的所述第一设备的目标状态信息和所述第二设备的目标状态信息;Acquiring the target state information of the first device and the target state information of the second device configured in the scene corresponding to the scene trigger event;获取所述第一设备的当前状态信息和所述第二设备的当前状态信息;Acquiring current state information of the first device and current state information of the second device;判断所述第一设备的目标状态信息是否与所述第一设备的当前状态信息一致,以及判断所述第二设备的目标状态信息是否与所述第二设备的当前状态信息一致,获得判断结果;Determine whether the target state information of the first device is consistent with the current state information of the first device, and determine whether the target state information of the second device is consistent with the current state information of the second device, and obtain the judgment result ;当所述判断结果为第一设备的目标状态信息与所述第一设备的当前状态信息不一致且所述第二设备的目标状态信息与所述第二设备的当前状态信息不一致时,基于所述场景触发事件和所述判断结果生成控制指令,将所述控制指令发送至所述云服务器,所述控制指令用于指示所述云服务器将用于控制所述第一设备的第一控制指令发送至所述第一厂商云服务器,将用于控制所述第二设备的第二控制指令发送至所述第二厂商云服务器。When the judgment result is that the target state information of the first device is inconsistent with the current state information of the first device and the target state information of the second device is inconsistent with the current state information of the second device, based on the The scene trigger event and the judgment result generate a control instruction, and send the control instruction to the cloud server, where the control instruction is used to instruct the cloud server to send a first control instruction for controlling the first device To the cloud server of the first vendor, send a second control instruction for controlling the second device to the cloud server of the second vendor.
- 根据权利要求9所述的方法,其特征在于,所述方法还包括:The method according to claim 9, wherein the method further comprises:当所述判断结果为所述第一设备的目标状态信息与所述第一设备的当前状态信息不一致且所述第二设备的目标状态信息与所述第二设备的当前状态信息一致时,基于所述场景触发事件和所述判断结果生成所述第一控制指令,将所述第一控制指令发送至所述云服务器,所述第一控制指令用于指示所述云服务器将所述第一控制指令发送至所述第一厂商云服务器。When the judgment result is that the target state information of the first device is inconsistent with the current state information of the first device and the target state information of the second device is consistent with the current state information of the second device, based on The scene trigger event and the judgment result generate the first control instruction, and send the first control instruction to the cloud server. The first control instruction is used to instruct the cloud server to control the first control instruction. The control instruction is sent to the cloud server of the first manufacturer.
- 根据权利要求1-10任一项所述的方法,其特征在于,所述基于所述场景触发事件生成控制指令,将所述控制指令发送至所述云服务器,所述控制指令用于指示所述云服务器将用于控制所述第一设备的第一控制指令发送至所述第一厂商云服务器,将用于控制所述第二设备的第二控制指令发送至所述第二厂商云服务器,之后,还包括:The method according to any one of claims 1-10, wherein the control instruction is generated based on the scene trigger event, and the control instruction is sent to the cloud server, and the control instruction is used to instruct The cloud server sends a first control instruction for controlling the first device to the first vendor cloud server, and sends a second control instruction for controlling the second device to the second vendor cloud server , After that, it also includes:监听所述云服务器发送的反馈信息;Monitor the feedback information sent by the cloud server;当监听到所述反馈信息指示所述控制指令发送失败时,通过延时退避算法重新将所述控制指令发送至所述云服务器,所述控制指令用于指示所述云服务器将用于控制所述第一设备的第一控制指令发送至所述第一厂商云服务器,将用于控制所述第二设备的第二控制指令发送至所述第二厂商云服务器。When the feedback information is monitored to indicate that the control instruction has failed to be sent, the control instruction is re-sent to the cloud server through the delayed backoff algorithm, and the control instruction is used to indicate that the cloud server will be used to control the The first control instruction of the first device is sent to the first vendor cloud server, and the second control instruction for controlling the second device is sent to the second vendor cloud server.
- 根据权利要求11所述的方法,其特征在于,所述当监听到所述反馈信息指示所述控制指令发送失败时,通过延时退避算法重新将所述控制指令发送至所述云服务器,所述控制指令用于指示所述云服务器将用于控制所述第一设备的第一控制指令发送至所述第一厂商云服务器,将用于控制所述第二设备的第二控制指令发送至所述第二厂商云服务器,包括:The method according to claim 11, wherein when the feedback information is monitored to indicate that the control instruction has failed to be sent, the control instruction is re-sent to the cloud server through a delayed backoff algorithm, so The control instruction is used to instruct the cloud server to send a first control instruction for controlling the first device to the first vendor cloud server, and to send a second control instruction for controlling the second device to The second vendor cloud server includes:当监听到所述反馈信息指示所述控制指令发送失败时,判断所述场景触发事件是否符合指定触发事件;When it is monitored that the feedback information indicates that the control instruction has failed to be sent, determining whether the scene trigger event meets a specified trigger event;当所述触发事件符合所述指定触发事件时,通过延时退避算法重新将所述控制指令发送至所述云服务器,所述控制指令用于指示所述云服务器将用于控制所述第一设备的第一控制指令发送至所述第一厂商云服务器,将用于控制所述第二设备的第二控制指令发送至所述第二厂商云服务器。When the trigger event matches the specified trigger event, the control instruction is re-sent to the cloud server through the delayed backoff algorithm, and the control instruction is used to instruct the cloud server to control the first The first control instruction of the device is sent to the first vendor cloud server, and the second control instruction for controlling the second device is sent to the second vendor cloud server.
- 一种设备控制方法,其特征在于,应用于电子设备接入的云服务器,所述方法包括:A device control method, characterized in that it is applied to a cloud server accessed by an electronic device, and the method includes:所述云服务器接收所述电子设备发送的场景触发信息;Receiving, by the cloud server, scene trigger information sent by the electronic device;获取所述场景触发信息所对应的场景中的设备信息,所述设备信息中包括第一设备的信息和第二设备的信息,所述第一设备和所述第二设备属于不同的厂商;Acquiring device information in a scene corresponding to the scene trigger information, where the device information includes information about a first device and information about a second device, and the first device and the second device belong to different manufacturers;确定所述第一设备对应的第一厂商云服务器和所述第二设备对应的第二厂商云服务器;Determining a first vendor cloud server corresponding to the first device and a second vendor cloud server corresponding to the second device;基于所述场景触发信息生成控制指令,将用于控制所述第一设备的第一控制指令发送至所述第一厂商云服务器,将用于控制所述第二设备的第二控制指令发送至所述第二厂商云服务器。Generate a control instruction based on the scene trigger information, send a first control instruction for controlling the first device to the first vendor cloud server, and send a second control instruction for controlling the second device to The second vendor cloud server.
- 一种设备控制方法,其特征在于,应用于设备控制系统,所述设备控制系统包括电子设备、云服务器、第一设备、第二设备、第一厂商云服务器以及第二厂商云服务器,所述云服务器分别与所述电子设备、所述第一厂商云服务器以及所述第二厂商云服务器通信连接,所述第一厂商云服务器与所述第一设备通信连接,所述第二厂商云服务器与所述第二设备通信连接,所述方法包括:A device control method, characterized in that it is applied to a device control system, the device control system includes an electronic device, a cloud server, a first device, a second device, a cloud server of a first manufacturer, and a cloud server of a second manufacturer. The cloud server is in communication connection with the electronic device, the first vendor cloud server, and the second vendor cloud server, the first vendor cloud server is in communication connection with the first device, and the second vendor cloud server Connecting to the second device in communication, the method includes:所述电子设备响应场景触发事件,获取所述场景触发事件所对应场景中的设备信息,所述设备信息中包括所述第一设备的设备信息和所述第二设备的设备信息,所述第一设备和所述第二设备属于不同的厂商;In response to a scene trigger event, the electronic device obtains device information in a scene corresponding to the scene trigger event. The device information includes device information of the first device and device information of the second device. The first device and the second device belong to different manufacturers;确定所述第一设备对应的所述第一厂商云服务器和所述第二设备对应的所述第二厂商云服务器;Determining the first vendor cloud server corresponding to the first device and the second vendor cloud server corresponding to the second device;基于所述场景触发事件生成控制指令,将所述控制指令发送至所述云服务器;Generating a control instruction based on the scene trigger event, and sending the control instruction to the cloud server;所述云服务器将所述控制指令中用于控制所述第一设备的第一控制指令发送至所述第一厂商云服务器,将所述控制指令中用于控制所述第二设备的第二控制指令发送至所述第二厂商云服务器;The cloud server sends the first control instruction used to control the first device in the control instruction to the first vendor cloud server, and sends the second control instruction used to control the second device in the control instruction. Sending a control instruction to the cloud server of the second manufacturer;所述第一厂商云服务器基于所述第一控制指令控制所述第一设备做出响应;The first vendor cloud server controls the first device to respond based on the first control instruction;所述第二厂商云服务器基于所述第二控制指令控制所述第二设备做出响应。The second vendor cloud server controls the second device to respond based on the second control instruction.
- 一种设备控制装置,其特征在于,应用于接入云服务器的电子设备,所述装置包括:An equipment control device, characterized in that it is applied to electronic equipment connected to a cloud server, and the device includes:获取模块,用于响应场景触发事件,获取所述场景触发事件所对应场景中的设备信息,所述设备信息中包括第一设备的信息和第二设备的信息,所述第一设备和所述第二设备属于不同的厂商;The acquisition module is configured to respond to a scene trigger event and acquire device information in the scene corresponding to the scene trigger event. The device information includes information about the first device and information about the second device. The first device and the The second device belongs to a different manufacturer;确定模块,用于确定所述第一设备对应的第一厂商云服务器和所述第二设备对应的第二厂商云服务器;A determining module, configured to determine a first vendor cloud server corresponding to the first device and a second vendor cloud server corresponding to the second device;发送模块,用于基于所述场景触发事件生成控制指令,将所述控制指令发送至所述云服务器,所述控制指令用于指示所述云服务器将用于控制所述第一设备的第一控制指令发送至所述第一厂商云服务器,将用于控制所述第二设备的第二控制指令发送至所述第二厂商云服务器。The sending module is configured to generate a control instruction based on the scene trigger event, and send the control instruction to the cloud server, where the control instruction is used to instruct the cloud server to control the first device of the first device The control instruction is sent to the first vendor cloud server, and the second control instruction for controlling the second device is sent to the second vendor cloud server.
- 一种设备控制装置,其特征在于,应用于电子设备接入的云服务器,所述装置包括:An equipment control device, characterized in that it is applied to a cloud server accessed by electronic equipment, and the device includes:接收模块,用于所述云服务器接收所述电子设备发送的场景触发信息;A receiving module, used for the cloud server to receive scene trigger information sent by the electronic device;获取模块,用于获取所述场景触发信息所对应的场景中的设备信息,所述设备信息中包括第一设备的信息和第二设备的信息,所述第一设备和所述第二设备属于不同的厂商;The acquisition module is configured to acquire device information in the scene corresponding to the scene trigger information. The device information includes information about a first device and information about a second device. The first device and the second device belong to Different vendors确定模块,用于确定所述第一设备对应的第一厂商云服务器和所述第二设备对应的第二厂商云服务器;A determining module, configured to determine a first vendor cloud server corresponding to the first device and a second vendor cloud server corresponding to the second device;发送模块,用于基于所述场景触发信息生成控制指令,将用于控制所述第一设备的第一控制指令发送至所述第一厂商云服务器,将用于控制所述第二设备的第二控制指令发送至所述第二厂商云服务器。The sending module is configured to generate a control instruction based on the scene trigger information, send the first control instruction for controlling the first device to the first vendor cloud server, and send the first control instruction for controlling the second device The second control instruction is sent to the cloud server of the second manufacturer.
- 一种设备控制系统,其特征在于,包括电子设备、云服务器、第一设备、第二设备、第一厂商云服务器以及第二厂商云服务器,所述云服务器分别与所述电子设备、所述第一厂商云服务器以及所述第二厂商云服务器通信连接,所述第一厂商云服务器与所述第一设备通信连接,所述第二厂商云服务器与所述第二设备通信连接,其中:A device control system, characterized in that it includes an electronic device, a cloud server, a first device, a second device, a first vendor cloud server, and a second vendor cloud server. The cloud server is respectively connected to the electronic device and the second vendor. The first vendor's cloud server is in communication connection with the second vendor's cloud server, the first vendor's cloud server is in communication connection with the first device, and the second vendor's cloud server is in communication connection with the second device, wherein:所述电子设备,用于响应场景触发事件,获取所述场景触发事件所对应场景中的设备信息,所述设备信息中包括所述第一设备的设备信息和所述第二设备的设备信息,所述第一设备和所述第二设备属于不同的厂商;The electronic device is configured to respond to a scene trigger event to obtain device information in a scene corresponding to the scene trigger event, where the device information includes the device information of the first device and the device information of the second device, The first device and the second device belong to different manufacturers;所述电子设备,用于确定所述第一设备对应的所述第一厂商云服务器和所述第二设备对应的所述第二厂商云服务器;The electronic device is used to determine the first vendor cloud server corresponding to the first device and the second vendor cloud server corresponding to the second device;所述电子设备,用于基于所述场景触发事件生成控制指令,将所述控制指令发送至所述云服务器;The electronic device is configured to generate a control instruction based on the scene trigger event, and send the control instruction to the cloud server;所述云服务器,用于将所述控制指令中用于控制所述第一设备的第一控制指令发送至所述第一厂商云服务器,将所述控制指令中用于控制所述第二设备的第二控制指令发送至所述第二厂商云服务器;The cloud server is configured to send a first control instruction used to control the first device in the control instruction to the first vendor cloud server, and use the control instruction to control the second device Send the second control instruction of the second vendor to the cloud server of the second vendor;所述第一厂商云服务器,用于基于所述第一控制指令控制所述第一设备做出响应;The first vendor cloud server is configured to control the first device to respond based on the first control instruction;所述第二厂商云服务器,用于基于所述第二控制指令控制所述第二设备做出响应。The second vendor cloud server is configured to control the second device to respond based on the second control instruction.
- 一种电子设备,其特征在于,包括:An electronic device, characterized in that it comprises:存储器;Memory一个或多个处理器,与所述存储器耦接;One or more processors coupled to the memory;一个或多个程序,其中,所述一个或多个应用程序被存储在所述存储器中并被配置为由所述一个或多个处理器执行,所述一个或多个程序配置用于执行如权利要求1-13任一项所述的方法。One or more programs, wherein the one or more application programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs are configured to execute such as The method of any one of claims 1-13.
- 一种云服务器,其特征在于,包括:A cloud server is characterized in that it includes:存储器;Memory一个或多个处理器,与所述存储器耦接;One or more processors coupled to the memory;一个或多个程序,其中,所述一个或多个应用程序被存储在所述存储器中并被配置为由所述一个或多个处理器执行,所述一个或多个程序配置用于执行如权利要求14所述的方法。One or more programs, wherein the one or more application programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs are configured to execute such as The method of claim 14.
- 一种计算机可读取存储介质,其特征在于,所述计算机可读取存储介质中存储有程序代码,所述程序代码可被处理器调用执行如权利要求1-13任一项所述的方法。A computer readable storage medium, wherein the computer readable storage medium stores program code, and the program code can be called by a processor to execute the method according to any one of claims 1-13 .
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201980081076.2A CN113170000B (en) | 2019-02-22 | 2019-02-22 | Equipment control method, device, system, electronic equipment and cloud server |
PCT/CN2019/075947 WO2020168571A1 (en) | 2019-02-22 | 2019-02-22 | Device control method, apparatus, system, electronic device and cloud server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2019/075947 WO2020168571A1 (en) | 2019-02-22 | 2019-02-22 | Device control method, apparatus, system, electronic device and cloud server |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2020168571A1 true WO2020168571A1 (en) | 2020-08-27 |
Family
ID=72144511
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2019/075947 WO2020168571A1 (en) | 2019-02-22 | 2019-02-22 | Device control method, apparatus, system, electronic device and cloud server |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN113170000B (en) |
WO (1) | WO2020168571A1 (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111897348A (en) * | 2020-08-31 | 2020-11-06 | 北京云迹科技有限公司 | Control method and system of cloud robot, cloud robot and cloud server |
CN112350907A (en) * | 2020-11-05 | 2021-02-09 | 深圳Tcl新技术有限公司 | Scene linkage control method, terminal and computer readable storage medium |
CN112769895A (en) * | 2020-12-18 | 2021-05-07 | 杭州涂鸦信息技术有限公司 | Group or scene control method and related device |
CN113110147A (en) * | 2021-03-31 | 2021-07-13 | 青岛海尔科技有限公司 | Method and device for cross-platform linkage of intelligent equipment, equipment and storage medium |
CN113596235A (en) * | 2021-06-30 | 2021-11-02 | 青岛海尔科技有限公司 | Operation instruction issuing method and device, storage medium and electronic device |
CN113633989A (en) * | 2021-08-13 | 2021-11-12 | 网易(杭州)网络有限公司 | Game object display control method and device and electronic equipment |
CN113992729A (en) * | 2021-10-26 | 2022-01-28 | 北京百度网讯科技有限公司 | Cloud mobile phone control method, related device and computer program product |
CN115469559A (en) * | 2022-09-30 | 2022-12-13 | 武汉天业视讯信息技术有限公司 | Equipment control method and system based on Internet of things technology |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114049597B (en) * | 2021-12-24 | 2022-05-06 | 北京创米智汇物联科技有限公司 | Household scene event detection and identification system and method |
CN115103033A (en) * | 2022-06-21 | 2022-09-23 | 青岛海尔科技有限公司 | Device control method, device, storage medium, and electronic apparatus |
CN115225420A (en) * | 2022-07-18 | 2022-10-21 | 深圳市华曦达科技股份有限公司 | Security linkage method and device for intelligent household equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104794640A (en) * | 2015-05-04 | 2015-07-22 | 常州永安公共自行车系统股份有限公司 | Vehicle management method based on cloud server and cloud server thereof |
CN105681142A (en) * | 2016-02-29 | 2016-06-15 | 华勤通讯技术有限公司 | Networking system and networking method |
CN106679095A (en) * | 2016-12-30 | 2017-05-17 | Tcl集团股份有限公司 | Internet access method and device and intelligent air conditioner system |
CN107342607A (en) * | 2017-06-30 | 2017-11-10 | 深圳微克科技有限公司 | A kind of control method of charging equipment, device and charging equipment control system |
CN109345268A (en) * | 2018-09-21 | 2019-02-15 | 联桥网云信息科技(长沙)有限公司 | Two-dimensional code anti-counterfeiting label, label register method and label identification method based on NFC |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107094173A (en) * | 2017-04-13 | 2017-08-25 | 深圳创维-Rgb电子有限公司 | The intelligent control method and server of many equipment |
CN107728590A (en) * | 2017-09-29 | 2018-02-23 | 四川长虹电器股份有限公司 | ZigBee intelligent domestic systems and its scene inter-linked controlling method |
CN109302471A (en) * | 2018-09-26 | 2019-02-01 | 四川长虹电器股份有限公司 | A kind of Intelligent household scene control system and method |
CN109257259B (en) * | 2018-11-30 | 2022-06-24 | 广东美的制冷设备有限公司 | Scene linkage control method and device and household electrical appliance |
-
2019
- 2019-02-22 CN CN201980081076.2A patent/CN113170000B/en active Active
- 2019-02-22 WO PCT/CN2019/075947 patent/WO2020168571A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104794640A (en) * | 2015-05-04 | 2015-07-22 | 常州永安公共自行车系统股份有限公司 | Vehicle management method based on cloud server and cloud server thereof |
CN105681142A (en) * | 2016-02-29 | 2016-06-15 | 华勤通讯技术有限公司 | Networking system and networking method |
CN106679095A (en) * | 2016-12-30 | 2017-05-17 | Tcl集团股份有限公司 | Internet access method and device and intelligent air conditioner system |
CN107342607A (en) * | 2017-06-30 | 2017-11-10 | 深圳微克科技有限公司 | A kind of control method of charging equipment, device and charging equipment control system |
CN109345268A (en) * | 2018-09-21 | 2019-02-15 | 联桥网云信息科技(长沙)有限公司 | Two-dimensional code anti-counterfeiting label, label register method and label identification method based on NFC |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111897348A (en) * | 2020-08-31 | 2020-11-06 | 北京云迹科技有限公司 | Control method and system of cloud robot, cloud robot and cloud server |
CN112350907A (en) * | 2020-11-05 | 2021-02-09 | 深圳Tcl新技术有限公司 | Scene linkage control method, terminal and computer readable storage medium |
CN112769895A (en) * | 2020-12-18 | 2021-05-07 | 杭州涂鸦信息技术有限公司 | Group or scene control method and related device |
CN112769895B (en) * | 2020-12-18 | 2023-10-13 | 杭州涂鸦信息技术有限公司 | Group or scene control method and related device |
CN113110147A (en) * | 2021-03-31 | 2021-07-13 | 青岛海尔科技有限公司 | Method and device for cross-platform linkage of intelligent equipment, equipment and storage medium |
CN113596235A (en) * | 2021-06-30 | 2021-11-02 | 青岛海尔科技有限公司 | Operation instruction issuing method and device, storage medium and electronic device |
CN113633989A (en) * | 2021-08-13 | 2021-11-12 | 网易(杭州)网络有限公司 | Game object display control method and device and electronic equipment |
CN113992729A (en) * | 2021-10-26 | 2022-01-28 | 北京百度网讯科技有限公司 | Cloud mobile phone control method, related device and computer program product |
CN113992729B (en) * | 2021-10-26 | 2023-11-07 | 北京百度网讯科技有限公司 | Cloud mobile phone control method, related device and computer program product |
CN115469559A (en) * | 2022-09-30 | 2022-12-13 | 武汉天业视讯信息技术有限公司 | Equipment control method and system based on Internet of things technology |
Also Published As
Publication number | Publication date |
---|---|
CN113170000B (en) | 2023-08-01 |
CN113170000A (en) | 2021-07-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2020168571A1 (en) | Device control method, apparatus, system, electronic device and cloud server | |
WO2020228032A1 (en) | Scene pushing method, apparatus and system, and electronic device and storage medium | |
CN105471705B (en) | Intelligent control method, equipment and system based on instant messaging | |
WO2018113405A1 (en) | Live broadcast interaction method based on video stream, and corresponding apparatus thereof | |
US9811870B2 (en) | Information processing method, apparatus and payment system | |
US20150256957A1 (en) | User terminal device, audio system, and method for controlling speaker thereof | |
WO2018120884A1 (en) | Method and system for controlling mobile device by pc terminal | |
US20150029089A1 (en) | Display apparatus and method for providing personalized service thereof | |
US10606367B2 (en) | Command relay device, system and method for providing remote assistance/remote control | |
CN112053683A (en) | Voice instruction processing method, device and control system | |
CN102637127B (en) | Method for controlling mouse modules and electronic device | |
EP3016377B1 (en) | Display apparatus, controlling method and display system | |
WO2019184533A1 (en) | Method and apparatus for remotely configuring control panel of intelligent device | |
CN110855921B (en) | Video recording control method and electronic equipment | |
WO2018184442A1 (en) | Terminal control method and device | |
WO2022052613A1 (en) | Camera control method and apparatus, electronic device, and storage medium | |
WO2022105447A1 (en) | Iot device control method, apparatus, terminal, and storage medium | |
WO2020228033A1 (en) | Sdk plug-in loading method and apparatus, and mobile terminal and storage medium | |
CN103905837A (en) | Image processing method and device and terminal | |
WO2015131813A1 (en) | Method and system for operating device | |
CN111447598A (en) | Interaction method and display device | |
CN106376000B (en) | The smart machine control method of integration description file | |
TWI527000B (en) | Infrared contral system and operation method thereof | |
CN109343761B (en) | Data processing method based on intelligent interaction equipment and related equipment | |
CN112698806A (en) | Parameter adjusting method and device, electronic equipment and readable storage medium |
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: 19916510 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: 19916510 Country of ref document: EP Kind code of ref document: A1 |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 19916510 Country of ref document: EP Kind code of ref document: A1 |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 25/05/2022) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 19916510 Country of ref document: EP Kind code of ref document: A1 |