WO2024016539A1 - Device control method and apparatus, and storage medium and electronic apparatus - Google Patents

Device control method and apparatus, and storage medium and electronic apparatus Download PDF

Info

Publication number
WO2024016539A1
WO2024016539A1 PCT/CN2022/133237 CN2022133237W WO2024016539A1 WO 2024016539 A1 WO2024016539 A1 WO 2024016539A1 CN 2022133237 W CN2022133237 W CN 2022133237W WO 2024016539 A1 WO2024016539 A1 WO 2024016539A1
Authority
WO
WIPO (PCT)
Prior art keywords
gateway
gateway device
control request
control
target
Prior art date
Application number
PCT/CN2022/133237
Other languages
French (fr)
Chinese (zh)
Inventor
彭德
Original Assignee
青岛海尔科技有限公司
海尔智家股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 青岛海尔科技有限公司, 海尔智家股份有限公司 filed Critical 青岛海尔科技有限公司
Publication of WO2024016539A1 publication Critical patent/WO2024016539A1/en

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B15/00Systems controlled by a computer
    • G05B15/02Systems controlled by a computer electric
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS], computer integrated manufacturing [CIM]
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2642Domotique, domestic, home control, automation, smart house

Definitions

  • the present disclosure relates to the field of smart home technology, and specifically to a device control method, device, storage medium and electronic device.
  • the present disclosure provides an equipment control method, device, storage medium and electronic device to at least solve the problem of low equipment control efficiency in related technologies.
  • a device control method including: receiving a device control request, wherein the device control request is used to request to control a target device deployed in a target area, and the target area also includes: A plurality of gateway devices are deployed, and the plurality of gateway devices include the first gateway device; in response to the device control request, a second gateway device is obtained from candidate gateway devices, wherein the candidate gateway device includes the third gateway device. A gateway device and a third gateway device among the plurality of gateway devices that are allowed to control the target device; control the second gateway device to execute the device control request.
  • a device for controlling a device including: a first receiving module configured to receive a device control request, wherein the device control request is used to request to control a device deployed in the target area.
  • Target device multiple gateway devices are also deployed in the target area, and the multiple gateway devices include the first gateway device;
  • a first acquisition module configured to respond to the device control request and acquire from the candidate gateway device a second gateway device, wherein the candidate gateway device includes the first gateway device and a third gateway device among the plurality of gateway devices that is allowed to control the target device;
  • a first processing module configured to control the third gateway device
  • the second gateway device executes the device control request.
  • a computer-readable storage medium is also provided, and a computer program is stored in the computer-readable storage medium, wherein the computer program is configured to execute the control method of the above device when running.
  • an electronic device including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the above-mentioned device through the computer program. Control Method.
  • a device control request is received, where the device control request is used to request control of a target device deployed in the target area, multiple gateway devices are also deployed in the target area, and the multiple gateway devices include a first gateway device; respond Device control request: obtain a second gateway device from candidate gateway devices, where the candidate gateway device includes a first gateway device and a third gateway device among the plurality of gateway devices that is allowed to control the target device; control the second gateway device to execute the device control request , that is, when a device control request is obtained, it may be indicated that a target device deployed in the target area is desired to be controlled.
  • the first gateway device that receives the device control request may be configured from the first gateway device and multiple Among the gateway devices, a suitable second gateway device is obtained from the candidate gateway devices of the third gateway device that controls the target device, and the second gateway device is controlled to execute the device control request, which greatly saves the time required to obtain the second gateway device.
  • Adopting the above technical solution solves the problems of low equipment control efficiency in related technologies and achieves the technical effect of improving the control efficiency of equipment.
  • Figure 1 is a schematic diagram of the hardware environment of a device control method according to the present disclosure
  • Figure 2 is a flow chart of a control method of a device according to the present disclosure
  • Figure 3 is a schematic diagram of an operation performed by a terminal device editing control device according to the present disclosure
  • Figure 4 is a schematic diagram of controlling a device through a cloud service according to the present disclosure
  • Figure 5 is a schematic diagram of a control method of a device according to the present disclosure.
  • Figure 6 is a schematic diagram of an application scenario execution according to the present disclosure.
  • Figure 7 is a sequence diagram for controlling smart devices across gateway devices according to the present disclosure.
  • Figure 8 is a structural block diagram of a control device of a device according to the present disclosure.
  • Figure 9 is a structural block diagram of an optional electronic device according to the present disclosure.
  • a control method of a device is provided.
  • the control method of this device is widely used in whole-house intelligent digital control application scenarios such as smart home, smart home, smart home device ecology, and smart residence (Intelligence House) ecology.
  • the above device control method can be applied to a hardware environment composed of a terminal device 102 and a server 104 as shown in FIG. 1 .
  • the server 104 is connected to the terminal device 102 through the network, and can be set to provide services (such as application services, etc.) for the terminal or the client installed on the terminal.
  • the database can be set on the server or independently of the server.
  • cloud computing and/or edge computing services may be configured on the server or independently of the server, and configured to provide data computing services for the server 104.
  • the above-mentioned network may include but is not limited to at least one of the following: wired network, wireless network.
  • the above-mentioned wired network may include but is not limited to at least one of the following: wide area network, metropolitan area network, and local area network.
  • the above-mentioned wireless network may include at least one of the following: WIFI (Wireless Fidelity, Wireless Fidelity), Bluetooth.
  • the terminal device 102 may be, but is not limited to, a PC, a mobile phone, a tablet, a smart air conditioner, a smart hood, a smart refrigerator, a smart oven, a smart stove, a smart washing machine, a smart water heater, a smart washing equipment, a smart dishwasher, or a smart projection device.
  • smart TV smart clothes drying rack, smart curtains, smart audio and video, smart sockets, smart audio, smart speakers, smart fresh air equipment, smart kitchen and bathroom equipment, smart bathroom equipment, smart sweeping robot, smart window cleaning robot, smart mopping robot, Smart air purification equipment, smart steamers, smart microwave ovens, smart kitchen appliances, smart purifiers, smart water dispensers, smart door locks, etc.
  • FIG. 1 is a flow chart of a device control method according to the present disclosure. As shown in Figure 2, the process includes the following steps:
  • Step S202 Receive a device control request, where the device control request is used to request to control a target device deployed in the target area.
  • Multiple gateway devices are also deployed in the target area, and the multiple gateway devices include the The first gateway device;
  • Step S204 In response to the device control request, obtain a second gateway device from candidate gateway devices, where the candidate gateway device includes the first gateway device and one of the plurality of gateway devices that is allowed to control the target device.
  • Third gateway device In response to the device control request, obtain a second gateway device from candidate gateway devices, where the candidate gateway device includes the first gateway device and one of the plurality of gateway devices that is allowed to control the target device.
  • Step S206 Control the second gateway device to execute the device control request.
  • the first gateway device that receives the device control request can obtain the device control request from the first gateway device. And obtain a suitable second gateway device from the candidate gateway devices that allow the third gateway device to control the target device among multiple gateway devices, and control the second gateway device to execute the device control request, which greatly saves the time required to obtain the second gateway device.
  • Adopting the above technical solution solves the problems of low equipment control efficiency in related technologies and achieves the technical effect of improving the control efficiency of equipment.
  • each of the multiple gateway devices deployed in the target area can receive the device control request, which may be but is not limited to when the first gateway device receives the device control request. , you can indicate that you want to control the target device deployed in the target area.
  • the target device can be, but is not limited to, one or more devices deployed in the target area.
  • the device control request can be used to request control of devices deployed in the target area. In the case of multiple devices, batch control of multiple devices deployed in the target area can be achieved, thereby realizing linkage between devices and improving user experience.
  • the target area may, but is not limited to, include an area in a house where the target device and multiple gateway devices are deployed, and the target area may include, but is not limited to, a rest area (which may, but is not limited to, a bedroom, a balcony, and living room, etc.), office area (which may include but is not limited to a study room, an office, etc.), cooking area (which may include but is not limited to a kitchen, a dining room, etc.), etc.
  • a rest area which may, but is not limited to, a bedroom, a balcony, and living room, etc.
  • office area which may include but is not limited to a study room, an office, etc.
  • cooking area which may include but is not limited to a kitchen, a dining room, etc.
  • one or more smart devices may be deployed in the target area, but are not limited to, the one or more smart devices may include, but are not limited to, the target device, and the smart devices may be, but are not limited to, capable of connecting.
  • Devices that are LAN and can be controlled through gateway devices deployed in the target area can, but are not limited to, include: smart air conditioners, smart hoods, smart refrigerators, smart ovens, smart stoves, smart washing machines, smart water heaters, smart washing equipment, smart Dishwasher, smart projection equipment, smart TV, smart clothes drying rack, smart curtains, smart audio and video, smart sockets, smart audio, smart speakers, smart fresh air equipment, smart kitchen and bathroom equipment, smart bathroom equipment, smart sweeping robot, smart window cleaning Robots, smart mopping robots, smart air purification equipment, smart steamers, smart microwave ovens, smart kitchen appliances, smart purifiers, smart water dispensers, smart door locks, etc.
  • the target device and the gateway device deployed in the target area may be connected through, but are not limited to, WIFI, Bluetooth gateway, or Zigbee (Zifeng protocol) protocol, etc., to realize the connection through the gateway Device control of the target device.
  • the first gateway device when the first gateway device receives a device control request, it can indicate that it wishes to control the target device deployed in the target area.
  • the first gateway device can deploy the device from Allocate the appropriate gateway device to the target device among all the gateway devices that can be selected in the target area, avoiding the need to find the appropriate gateway device through cloud server calculation, saving the time of transmitting the device control request to the cloud server and waiting for the cloud server calculation to be completed.
  • the time required to send the device control request to the gateway device calculated by the cloud server it also avoids the failure of transmitting the device control request to the corresponding gateway device due to poor network or network disconnection. , greatly improving the control efficiency of the equipment.
  • candidate gateway devices may, but are not limited to, include a first gateway device that receives a device control request, a third gateway device that is allowed to control the target device, and so on.
  • Each gateway device has a corresponding permission.
  • the devices controlled by the gateway device can, but are not limited to, be different, the same, or partially the same, etc., which enables multiple gateway devices deployed in the target area to control the devices deployed in the target area. controlled by smart devices.
  • the second gateway device may be obtained from the candidate gateway devices in the following manner, but is not limited to: obtaining a gateway that is allowed to control the target device from the plurality of gateway devices as the third gateway device. ; When the third gateway device includes the first gateway device, determine the first gateway device as the second gateway device; when the third gateway device does not include the first gateway device In the case of , the second gateway device is obtained from the third gateway device.
  • the first gateway device may be determined as the second gateway device when the third gateway device includes the first gateway device. That is to say, the first gateway device may be determined as the second gateway device but is not limited to when the third gateway device includes the first gateway device.
  • the gateway device that controls the target device includes a first gateway device that receives the device control request
  • the first gateway device may not assign a gateway device to the target device, but directly determines the first gateway device as a suitable gateway for controlling the target device. equipment, greatly reducing the time required to obtain the appropriate gateway device to control the target device, and improving the efficiency of controlling the target device.
  • the first gateway device may, but is not limited to, obtain an appropriate gateway from a gateway device that is allowed to control the target device. device to control the target device, avoiding the need to transmit the device control request to the cloud, calculate the appropriate gateway device through the cloud, and then send the device control request to the corresponding gateway device.
  • the first gateway device that receives the device control request is the The target device is assigned an appropriate gateway device, and remote operations in the cloud are converted into local operations on the gateway device, which greatly improves the efficiency of obtaining appropriate gateway devices.
  • obtaining the second gateway device from the third gateway device may include, but is not limited to, one of the following situations:
  • Scenario 1 Obtain a gateway device whose calling frequency meets the target calling condition from the third gateway device as the second gateway device.
  • the gateway device whose calling frequency meets the target calling conditions may be directly obtained from a third gateway device that is allowed to control the target device as the second gateway device.
  • the calling frequency may be, but is not limited to, directly obtained from the third gateway device. Obtained from the historical call data of each gateway device in the third gateway device. It is realized that the appropriate gateway device can be obtained directly according to the call frequency in the historical call data of each gateway device in the third gateway device without requiring other data, which reduces the complexity of obtaining the second gateway device.
  • Scenario 2 Detect the calling status of each third gateway device; obtain the calling status to indicate a fourth gateway device that is currently allowed to be called by the first gateway device; obtain the calling status from the fourth gateway device The gateway device whose frequency meets the target calling condition serves as the second gateway device.
  • the fourth gateway device whose calling status is allowed to be called by the first gateway device may be obtained from the third gateway device, but is not limited to, and then the calling frequency that satisfies the target calling is obtained from the fourth gateway device.
  • the conditional gateway device is used as the second gateway device. This method can ensure that the acquired second gateway device can currently be called by the first gateway device, and avoids acquiring a gateway device that cannot currently be called by the first gateway device, resulting in It takes more time to obtain other gateway devices from the third gateway device, which improves the success rate of device control.
  • the sixth gateway device may be obtained, but is not limited to, in the following manner: if the second gateway device is not obtained, obtain it from a smart device and a gateway device that have a corresponding relationship through a cloud service The fifth gateway device corresponding to the target device; obtaining the gateway device whose calling frequency meets the target calling condition from the fifth gateway device through the cloud service as the sixth gateway device; controlling the third gateway device through the cloud service Six gateway devices execute the device control request.
  • the first gateway device may, but is not limited to, obtain the second gateway device from the candidate gateway devices, or may not obtain the second gateway device from the candidate gateway devices; it may, but is not limited to, obtain the second gateway device from the candidate gateway devices. If the first gateway device does not obtain the second gateway device from the candidate gateway device, the first gateway device may, but is not limited to, obtain the calling frequency that satisfies the target calling condition from the fifth gateway device corresponding to the target device through a cloud service.
  • the gateway device serves as the sixth gateway device; the first gateway device may, but is not limited to, control the sixth gateway device to execute the device control request through a cloud service. It is realized that when the first gateway device cannot control the target device and the second gateway device is not obtained from the gateway device that is allowed to control the target device, the cloud service can also be used to select an appropriate sixth gateway device for the target device. Improved the success rate of device control.
  • FIG. 3 is a schematic diagram of editing the operations performed by the control device through a terminal device according to the present disclosure. As shown in Figure 3, the user can It is not limited to the application interface of the application software installed on the mobile phone.
  • the application interface of the air conditioner can, but is not limited to, display functional plug-ins including starting, shutting down, operating model adjustment, operating temperature adjustment, operating wind speed adjustment, operating wind direction adjustment, etc., which can be controlled by, but is not limited to, clicking on the power-on functional plug-in first. Turn on the air conditioner, and then click the run model adjustment function plug-in to adjust the operating mode of the air conditioner to cooling mode. It enables users to conveniently control smart devices without requiring users to go near the device to be controlled, which greatly improves the user's operating experience.
  • a device control request for controlling the device may be initiated to the cloud service based on the operation performed by the user on a terminal device such as a mobile phone, computer or tablet, etc., and the cloud service shall receive the
  • a gateway device whose calling frequency meets the target calling conditions can be assigned to the device.
  • Figure 4 is a schematic diagram of controlling a device through a cloud service according to the present disclosure.
  • the gateway device that executes the device control request from the gateway device that is allowed to execute the device control request (the fifth gateway device mentioned above) through the domain model deployed in the LOT (Lot Of Things, Internet of Things) cloud (i.e., the above-mentioned cloud service) (i.e., the above-mentioned sixth gateway device), and sends the device control request to the corresponding gateway device through the cloud edge channel, and then controls the device to perform the target operation carried in the device control request.
  • LOT Local Of Things, Internet of Things
  • cloud service i.e., the above-mentioned sixth gateway device
  • the first gateway device may be, but is not limited to, that when the first gateway device obtains a device control request, it may indicate that it wishes to control the target device deployed in the target area.
  • the first gateway device The device may obtain a second gateway device from the candidate gateway devices.
  • the second gateway device may be, but is not limited to, the first gateway device, or from a third gateway device.
  • the first gateway device may, but is not limited to, control the second gateway device to perform device control. ask.
  • controlling the second gateway device to execute the device control request may include, but is not limited to, the following situations:
  • Scenario 1 If the second gateway device comes from the third gateway device, send the device control request to the second gateway device.
  • the second gateway device may be, but is not limited to, the case where the second gateway device is from the third gateway device, that is, the gateway devices that are allowed to control the target device do not include the first gateway device.
  • the first gateway device can send the device control request to the second gateway device, thereby realizing collaboration between the gateway devices in a cross-gateway device manner, thereby completing the control of the target device.
  • Scenario 2 In the case where the second gateway device is the first gateway device, control the target device to perform the target operation requested by the device control request.
  • the second gateway device is the first gateway device
  • the gateway device that is allowed to control the target device includes the first gateway device that receives the device control request.
  • the first gateway device can be directly controlled to perform the target operation requested by the device control request, without sending the device control request to other gateway devices, which greatly saves the need to send the device control request to the corresponding gateway.
  • the time required for the equipment improves the efficiency of equipment control.
  • the indication message may be sent to the device that initiates the device control request in the following manner, but is not limited to: receiving a confirmation message returned by the second gateway device or the target device; If it is indicated that the device control request is executed successfully, indication information is sent to the device that initiated the device control request, where the indication information is used to indicate that the device control request is executed successfully.
  • the device that initiates the device control request may include, but is not limited to, a terminal device (which may include, but is not limited to, a mobile phone, a computer or a tablet, etc.), a gateway device, and a smart device deployed with a gateway function (which may (but not limited to including: smart speakers, smart speakers, etc.), it can be but is not limited to when the user expresses the language he wishes to control the device, or clicks on the control plug-in displayed on the screen on the gateway device, or by triggering the control plug-in deployed on the terminal device.
  • a terminal device which may include, but is not limited to, a mobile phone, a computer or a tablet, etc.
  • a gateway device which may (but not limited to including: smart speakers, smart speakers, etc.)
  • a smart device deployed with a gateway function which may (but not limited to including: smart speakers, smart speakers, etc.
  • the first gateway device may, but is not limited to, when sending a device control request to the second gateway device, receive a confirmation message returned by the second gateway device; or, when controlling the target device execution device In the case of a target operation requested by the control request, the first gateway device receives a confirmation message returned by the target device.
  • the indication information of successful execution may be but is not limited to broadcasting the indication information of successful execution through voice, or displaying the indication information of successful execution on a terminal device such as a mobile phone, tablet, etc., or on the first gateway. An indication of successful execution is displayed on the device. It realizes timely notification of the execution status of the device control request to the user, and facilitates the user to understand the control results of the desired control device in real time.
  • controlling other suitable gateway devices to execute the device control request may, but is not limited to Including one of the following situations:
  • Scenario 1 Obtain a seventh gateway device from other gateway devices in the third gateway device except the second gateway device; control the seventh gateway device to execute the device control request.
  • the second gateway device in the event that the second gateway device fails to execute the device control request, it may be, but is not limited to, within a specific time (which may be, but is not limited to, 30 seconds, or 40 seconds, or 1 minute, etc.) Re-control the second gateway device to execute the device control request within a specific time or a specific number of times (which can be but is not limited to 3 times, 4 times, or 5 times, etc.). If within a specific time or a specific number of times, the second gateway device still fails to control In this case, the seventh gateway device may be obtained from, but is not limited to, other gateway devices in the third gateway device except the second gateway device, and the seventh gateway device may be controlled to execute the device control request.
  • a specific time which may be, but is not limited to, 30 seconds, or 40 seconds, or 1 minute, etc.
  • Re-control the second gateway device to execute the device control request within a specific time or a specific number of times (which can be but is not limited to 3 times, 4 times, or 5 times, etc.
  • the third gateway device may be, but is not limited to, directly obtained from other gateway devices other than the second gateway device in the third gateway device.
  • the third gateway device With seven gateway devices, there is no need to retry the second gateway device of the control network, which avoids the situation of repeatedly trying to re-control the second gateway device to execute the device control request but ultimately failing to control the second gateway device, thus improving the user experience.
  • Scenario 2 Obtain and control an eighth gateway device to execute the device control request from the plurality of gateway devices through a cloud service.
  • the eighth gateway device when controlling the second gateway device to execute the device control request fails, may be obtained from a plurality of gateway devices deployed in the target area through a cloud service, but is not limited to, The eighth gateway device may be, but is not limited to, a second gateway device, or other gateway devices among multiple gateway devices. and controlling the eighth gateway device to execute the device control request.
  • the cloud service can also be used to select an appropriate eighth gateway device and control the eighth gateway device to execute the device control request.
  • FIG. 5 is a schematic diagram of a device control method according to the present disclosure.
  • a gateway device 1 may be deployed in the target area, but is not limited to it.
  • Device 2, and gateway device 3 i.e., the multiple gateway devices mentioned above
  • gateway device 1 may, but is not limited to, allow control of smart device 1, smart device 2, and smart device 3
  • gateway device 2 may, but is not limited to, allow control of smart devices.
  • gateway device 3 may, but is not limited to, allow control of smart device 4, smart device 5,..., smart device n.
  • Gateway device 1 to gateway device 3 can, but are not limited to, deploy uSDK (Software Development Kit) and Smart Device (smart device). Smart Device can be compatible with gateway device 1 to gateway device 3.
  • uSDK can be used, but is not limited to, for gateway devices to interact with various types of smart devices.
  • the user can, but is not limited to, initiate a device control request carrying the control smart device 1 (i.e., the above-mentioned target device) by clicking on the application software installed on the mobile phone or by voice interaction with the smart speaker.
  • the device control request can be directly transmitted to the gateway device 1 but is not limited to.
  • the device control request can be sent to the LOT (Lot Of Things, Internet of Things) cloud (i.e. the above-mentioned cloud service), which can be but is not limited to the field in the cloud service.
  • the model calculates the gateway device that executes the device control request based on the smart devices that each gateway device is allowed to control. It can, but is not limited to, send the device control request to the corresponding gateway device through the cloud edge channel.
  • users can also set up application scenarios for batch control of multiple smart devices on terminal devices such as mobile phones, computers, tablets, etc., such as homecoming scenarios (which may, but are not limited to, include controlling smart lamps to turn on, smart TVs to adjust to sports settings, etc.) News channel playback, smart air conditioner adjusted to cooling mode to operate at 26°C, etc.), sleeping scenes (which may, but are not limited to, include controlling smart lamps to turn off, smart curtains to close, smart speakers to turn off, etc.), and going out scenes (which may but are not limited to Including controlling smart lights to turn off, smart gas stoves to turn off, smart door locks to turn off, etc.) and other scenarios.
  • homecoming scenarios which may, but are not limited to, include controlling smart lamps to turn on, smart TVs to adjust to sports settings, etc.
  • News channel playback smart air conditioner adjusted to cooling mode to operate at 26°C, etc.
  • sleeping scenes which may, but are not limited to, include controlling smart lamps to turn off, smart curtains to close, smart speakers to turn off, etc.
  • API Application Interface
  • the application program interface gateway synchronizes multiple application scenarios to the scenario center on the LOT (Lot Of Things, Internet of Things) cloud.
  • the device control request can be sent to the LOT cloud, but is not limited to.
  • the domain model deployed in the LOT cloud can be, but is not limited to, based on the requirements of each gateway device.
  • the corresponding smart device list obtains the gateway device used to control multiple smart devices in the application scenario, and then sends the device control request to the corresponding gateway device through the cloud edge channel.
  • FIG. 6 is a schematic diagram of an application scenario execution according to the present disclosure.
  • the device APP Application, application program
  • the device APP Application, application program
  • 1 request i.e., the above-mentioned device control request.
  • the edge scenario SDK in gateway device A will first determine the location of application scenario 1, that is, determine whether gateway device A is allowed to execute application scenario 1. If the current gateway Device 1 is allowed to execute application scenario 1. It may, but is not limited to, directly execute application scenario 1 in gateway device A, and after completion of execution, report logs to the cloud scenario management in the LOT cloud (i.e., the above-mentioned cloud service).
  • gateway device A can obtain other gateway devices B that are currently allowed to execute application scenario 1 according to the list of application scenarios that are allowed to be executed corresponding to each gateway device (i.e.
  • the above-mentioned second gateway device, gateway device B may be, but is not limited to, connected to the same LAN as gateway device A), and may, but is not limited to, send the request to execute application scenario 1 to the Smart Device deployed in gateway device B through USDK.
  • Device sends the request to the edge scene management in the edge scene SDK deployed in gateway device B. After the edge scene is executed, the log is reported to the cloud scene management in the LOT cloud (the above-mentioned cloud service).
  • gateway device A can obtain other gateway devices B that are currently allowed to execute application scenario 1 based on the application scenarios that each gateway device is allowed to execute, but the current gateway device B In the event that gateway device A fails to control gateway device B due to a malfunction or disconnection, gateway device A can select the appropriate gateway device from among the gateway devices that are allowed to execute application scenario 1 except gateway device B.
  • gateway device ie, the above-mentioned seventh gateway device
  • other gateway devices ie, the above-mentioned eighth gateway device
  • a large loop ie, the above-mentioned cloud service
  • gateway device A is not allowed to execute application scenario 1, and gateway device 1 has not obtained a gateway device that is allowed to execute application scenario 1, in this case, it can be obtained directly through the LOT cloud (i.e., the above-mentioned cloud service), but is not limited to
  • the gateway device that is allowed to execute the application scenario i.e., the above-mentioned fifth gateway device
  • the gateway device that is allowed to execute the application scenario can, but is not limited to, obtain the gateway device for executing the request (i.e., the above-mentioned sixth gateway device) from the fifth gateway device, through LOT
  • the cloud's cloud edge channel sends the request to the corresponding gateway device.
  • FIG. 7 is a sequence diagram for controlling a smart device across a gateway device according to the present disclosure. As shown in Figure 7, it can be, but is not limited to, installed on a user-triggered mobile phone.
  • the gateway device 1 i.e., the above-mentioned first gateway device
  • the gateway device 1 may, but is not limited to, obtain a request to control the smart device 1 (i.e., the above-mentioned target device).
  • the gateway device 1 may, but is not limited to, obtain the gateway device that is allowed to control the smart device 1 (ie, the above-mentioned third gateway device) based on the smart devices that are allowed to be controlled by each gateway device, in the In the case where the three gateway devices do not include gateway device 1, gateway device 2 (i.e., the above-mentioned second gateway device) can be obtained from the third gateway device, but is not limited to, to detect whether the small loop of gateway device 2 is currently online, that is, to detect whether the current Whether gateway device 2 is allowed to be called by gateway device 1, if the current small loop of gateway device 2 is not online, that is, the current gateway device 2 is not allowed to be called by gateway device 1, it can but is not limited to through the large loop (that is, the above-mentioned cloud Service) sends the device control request to the gateway device 2, thereby completing the control of the smart device 1, and feeding back the device control results to the mobile APP.
  • the gateway device 1 may, but is not limited to, obtain the gateway device
  • the device control request can be but is not limited to be directly sent to gateway device 2, and gateway device 2 is in After successfully controlling the smart device 2 to perform the operation carried in the device control request (i.e., the above), the device control result (i.e., the above instruction information) can be returned to the mobile APP for the convenience of the user.
  • the method according to the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is Better implementation.
  • the technical solution of the present disclosure can be embodied in the form of a software product in essence or that contributes to the existing technology.
  • the computer software product is stored in a storage medium (such as ROM/RAM, disk, CD), including several instructions to cause a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods of various embodiments of the present disclosure.
  • Figure 8 is a structural block diagram of a device control device according to the present disclosure, applied to the first gateway device, as shown in Figure 8, including:
  • the first receiving module 802 is configured to receive a device control request, where the device control request is used to request to control a target device deployed in the target area, and multiple gateway devices are also deployed in the target area.
  • the gateway device includes the first gateway device;
  • the first acquisition module 804 is configured to respond to the device control request and acquire a second gateway device from candidate gateway devices, where the candidate gateway device includes the first gateway device and the permission control among the plurality of gateway devices.
  • the first processing module 806 is configured to control the second gateway device to execute the device control request.
  • the first gateway device that receives the device control request can obtain the device control request from the first gateway device.
  • the device and multiple gateway devices are allowed to obtain a suitable second gateway device from the candidate gateway devices of the third gateway device that controls the target device, and control the second gateway device to execute the device control request, which greatly saves the time required to obtain the second gateway device. time. Adopting the above technical solution solves the problems of low equipment control efficiency in related technologies and achieves the technical effect of improving the control efficiency of equipment.
  • the first acquisition module includes:
  • a first acquisition unit configured to acquire a gateway that is allowed to control the target device from the plurality of gateway devices as the third gateway device;
  • a determining unit configured to determine the first gateway device as the second gateway device when the third gateway device includes the first gateway device
  • the second acquisition unit is configured to acquire the second gateway device from the third gateway device when the third gateway device does not include the first gateway device.
  • the second acquisition unit includes one of the following:
  • each third gateway device obtains the calling status to indicate a fourth gateway device that is currently allowed to be called by the first gateway device; obtain the calling frequency from the fourth gateway device to meet the target The gateway device that calls the condition serves as the second gateway device.
  • the first processing module includes:
  • a sending unit configured to send the device control request to the second gateway device when the second gateway device comes from the third gateway device
  • a processing unit configured to control the target device to perform the target operation requested by the device control request when the second gateway device is the first gateway device.
  • the device also includes:
  • the second receiving module is configured to receive the first device control request after sending the device control request to the second gateway device or controlling the target device to perform the target operation requested by the device control request. 2. The confirmation message returned by the gateway device or the target device;
  • a sending module configured to send indication information to the device that initiated the device control request when the confirmation message is used to indicate that the device control request is executed successfully, wherein the indication information is used to indicate that the device control request is successfully executed. The request was executed successfully.
  • the device also includes:
  • the second acquisition module is configured to, after obtaining the second gateway device from the candidate gateway device, if the second gateway device is not obtained, obtain the corresponding smart device and the gateway device from the corresponding relationship through the cloud service. Obtain the fifth gateway device corresponding to the target device;
  • the third acquisition module is configured to acquire the gateway device whose calling frequency meets the target calling condition from the fifth gateway device through the cloud service as the sixth gateway device;
  • An execution module configured to control the sixth gateway device to execute the device control request through the cloud service.
  • the device also includes one of the following:
  • the fourth acquisition module is configured to, after controlling the second gateway device to execute the device control request, if the control of the second gateway device to execute the device control request fails, obtain the data from the third gateway device. Obtain a seventh gateway device from other gateway devices in the device except the second gateway device; control the seventh gateway device to execute the device control request;
  • the second processing module is configured to obtain from the plurality of gateway devices through cloud services and control the eighth gateway device to execute the device control request.
  • An embodiment of the present disclosure also provides a storage medium that includes a stored program, wherein the method of any of the above items is executed when the program is run.
  • the above-mentioned storage medium may be configured to store program codes for performing the following steps:
  • S1. Receive a device control request, wherein the device control request is used to request to control a target device deployed in the target area.
  • Multiple gateway devices are also deployed in the target area.
  • the multiple gateway devices include the third gateway device. a gateway device;
  • an electronic device for implementing the control method of the above equipment is also provided.
  • the electronic device includes a memory 902 and a processor 904.
  • the memory 902 stores Computer program
  • the processor 904 is configured to execute the steps in any of the above method embodiments through the computer program.
  • the above-mentioned electronic device may be located in at least one network device among multiple network devices of the computer network.
  • the above-mentioned processor may be configured to perform the following steps through a computer program:
  • S1. Receive a device control request, wherein the device control request is used to request to control a target device deployed in the target area.
  • Multiple gateway devices are also deployed in the target area.
  • the multiple gateway devices include the third gateway device. a gateway device;
  • the structure shown in Figure 9 is only illustrative, and the electronic device can also be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a handheld computer, and a mobile Internet device (Mobile Internet Devices, MID), PAD and other terminal equipment.
  • FIG. 9 does not limit the structure of the above-mentioned electronic device.
  • the electronic device may also include more or fewer components (such as network interfaces, etc.) than shown in FIG. 9 , or have a different configuration than that shown in FIG. 9 .
  • the memory 902 can be used to store software programs and modules, such as program instructions/modules corresponding to the device control methods and devices in the embodiment of the present invention.
  • the processor 904 executes the software programs and modules stored in the memory 902 by running them.
  • Various functional applications and data processing realize the control method of the above-mentioned equipment.
  • Memory 902 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory.
  • the memory 902 may further include memory located remotely relative to the processor 904, and these remote memories may be connected to the terminal through a network.
  • the above-mentioned networks include but are not limited to the Internet, intranets, local area networks, mobile communication networks and combinations thereof.
  • the memory 902 may include, but is not limited to, the first receiving module 802 , the first obtaining module 804 , and the first processing module 806 in the control device of the above device.
  • it may also include but is not limited to other modular units in the control device of the above equipment, which will not be described again in this example.
  • the above-mentioned transmission device 906 is used to receive or send data via a network.
  • Specific examples of the above-mentioned network may include wired networks and wireless networks.
  • the transmission device 906 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices and routers through network cables to communicate with the Internet or a local area network.
  • the transmission device 906 is a radio frequency (Radio Frequency, RF) module, which is used to communicate with the Internet wirelessly.
  • RF Radio Frequency
  • the above-mentioned electronic device also includes: a display 908 for displaying the above-mentioned device control request; and a connection bus 910 for connecting various module components in the above-mentioned electronic device.
  • the above storage medium may include but is not limited to: U disk, read-only memory (Read-Only Memory, referred to as ROM), random access memory (Random Access Memory, referred to as RAM), Various media that can store program code, such as mobile hard drives, magnetic disks, or optical disks.
  • ROM read-only memory
  • RAM random access memory
  • program code such as mobile hard drives, magnetic disks, or optical disks.
  • modules or steps of the present disclosure can be implemented using general-purpose computing devices, and they can be concentrated on a single computing device, or distributed across a network composed of multiple computing devices. , optionally, they may be implemented in program code executable by a computing device, such that they may be stored in a storage device for execution by the computing device, and in some cases, may be in a sequence different from that herein.
  • the steps shown or described are performed either individually as individual integrated circuit modules, or as multiple modules or steps among them as a single integrated circuit module. As such, the present disclosure is not limited to any specific combination of hardware and software.

Abstract

A device control method and apparatus, and a storage medium and an electronic apparatus, which relate to the technical field of smart homes. The control method comprises: receiving a device control request, wherein the device control request is used for requesting control over a target device deployed in a target area, a plurality of gateway devices are further deployed in the target area, and the plurality of gateway devices comprise a first gateway device (S202); in response to the device control request, acquiring a second gateway device from candidate gateway devices, wherein the candidate gateway devices comprise the first gateway device and a third gateway device, which is allowed to control the target device, among the plurality of gateway devices (S204); and controlling the second gateway device to execute the device control request (S206).

Description

设备的控制方法、装置、存储介质及电子装置Equipment control methods, devices, storage media and electronic devices
本公开要求于2022年7月20日提交中国专利局、申请号为202210857676.7、发明名称“设备的控制方法、装置、存储介质及电子装置”的中国专利申请的优先权,其全部内容通过引用结合在本公开中。This disclosure claims priority to the Chinese patent application filed with the China Patent Office on July 20, 2022, with application number 202210857676.7 and the invention title "Control method, device, storage medium and electronic device for equipment", the entire content of which is incorporated by reference. in this disclosure.
技术领域Technical field
本公开涉及智慧家庭技术领域,具体而言,涉及一种设备的控制方法、装置、存储介质及电子装置。The present disclosure relates to the field of smart home technology, and specifically to a device control method, device, storage medium and electronic device.
背景技术Background technique
随着日常生活的家居设备越来越智能,人们期待更为流畅和智慧化的设备控制体验,比如:无需人们手动进行复杂的操作,即可轻松控制多个设备在用户期望的状态下运行。现有技术中,智能家居联动往往需要云服务的支持,在用户期望控制设备执行控制指令的情况下,往往需要通过云服务计算选择控制设备的合适的网关设备,再通过该网关设备对设备进行控制,如果用户家中的网络存在掉线或者网络不稳定,可能会导致无法将控制指令发送至对应的网关,进而导致设备控制失败,降低用户的体验。As daily life home devices become more and more intelligent, people are looking forward to a smoother and smarter device control experience. For example, multiple devices can be easily controlled to run in the user's desired state without the need for people to perform complex manual operations. In the existing technology, smart home linkage often requires the support of cloud services. When the user expects the control device to execute control instructions, it is often necessary to select an appropriate gateway device for the control device through cloud service calculations, and then perform control on the device through the gateway device. Control, if the network at the user's home is offline or unstable, the control instructions may not be sent to the corresponding gateway, which may lead to device control failure and degrade the user experience.
针对相关技术中,设备的控制效率较低等问题,尚未提出有效的解决方案。No effective solution has yet been proposed for problems such as low equipment control efficiency in related technologies.
发明内容Contents of the invention
本公开提供了一种设备的控制方法、装置、存储介质及电子装置,以至少解决相关技术中,设备的控制效率较低等问题。The present disclosure provides an equipment control method, device, storage medium and electronic device to at least solve the problem of low equipment control efficiency in related technologies.
根据本公开的一个实施例,提供了一种设备的控制方法,包括:接收设备控制请求,其中,所述设备控制请求用于请求控制部署在目标区域中的目标设备,所述目标区域中还部署了多个网关设备,所述多个网关设备包括所述第一网关设备;响应所述设备控制请求,从候选网关设备中获取第二网关设备,其中,所述 候选网关设备包括所述第一网关设备以及所述多个网关设备中允许控制所述目标设备的第三网关设备;控制所述第二网关设备执行所述设备控制请求。According to an embodiment of the present disclosure, a device control method is provided, including: receiving a device control request, wherein the device control request is used to request to control a target device deployed in a target area, and the target area also includes: A plurality of gateway devices are deployed, and the plurality of gateway devices include the first gateway device; in response to the device control request, a second gateway device is obtained from candidate gateway devices, wherein the candidate gateway device includes the third gateway device. A gateway device and a third gateway device among the plurality of gateway devices that are allowed to control the target device; control the second gateway device to execute the device control request.
根据本公开的另一个实施例,还提供了一种设备的控制装置,包括:第一接收模块,设置为接收设备控制请求,其中,所述设备控制请求用于请求控制部署在目标区域中的目标设备,所述目标区域中还部署了多个网关设备,所述多个网关设备包括所述第一网关设备;第一获取模块,设置为响应所述设备控制请求,从候选网关设备中获取第二网关设备,其中,所述候选网关设备包括所述第一网关设备以及所述多个网关设备中允许控制所述目标设备的第三网关设备;第一处理模块,设置为控制所述第二网关设备执行所述设备控制请求。According to another embodiment of the present disclosure, a device for controlling a device is also provided, including: a first receiving module configured to receive a device control request, wherein the device control request is used to request to control a device deployed in the target area. Target device, multiple gateway devices are also deployed in the target area, and the multiple gateway devices include the first gateway device; a first acquisition module configured to respond to the device control request and acquire from the candidate gateway device a second gateway device, wherein the candidate gateway device includes the first gateway device and a third gateway device among the plurality of gateway devices that is allowed to control the target device; a first processing module configured to control the third gateway device The second gateway device executes the device control request.
根据本公开的又一方面,还提供了一种计算机可读的存储介质,该计算机可读的存储介质中存储有计算机程序,其中,该计算机程序被设置为运行时执行上述设备的控制方法。According to yet another aspect of the present disclosure, a computer-readable storage medium is also provided, and a computer program is stored in the computer-readable storage medium, wherein the computer program is configured to execute the control method of the above device when running.
根据本公开的又一方面,还提供了一种电子装置,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其中,上述处理器通过计算机程序执行上述的设备的控制方法。According to another aspect of the present disclosure, an electronic device is also provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the above-mentioned device through the computer program. Control Method.
在本公开中,接收设备控制请求,其中,设备控制请求用于请求控制部署在目标区域中的目标设备,目标区域中还部署了多个网关设备,多个网关设备包括第一网关设备;响应设备控制请求,从候选网关设备中获取第二网关设备,其中,候选网关设备包括第一网关设备以及多个网关设备中允许控制目标设备的第三网关设备;控制第二网关设备执行设备控制请求,即在获取到设备控制请求的情况下,可以表明希望控制部署在目标区域中的目标设备,在这样的情况下,接收到设备控制请求的第一网关设备可以从包括第一网关设备以及多个网关设备中允许控制目标设备的第三网关设备的候选网关设备中获取合适的第二网关设备,控制第二网关设备执行设备控制请求,大大节约了获取第二网关设备所需的时间。采用上述技术方案,解决了相关技术中,设备的控制效率较低等问题,实现了提升设备的控制效率的技术效果。In the present disclosure, a device control request is received, where the device control request is used to request control of a target device deployed in the target area, multiple gateway devices are also deployed in the target area, and the multiple gateway devices include a first gateway device; respond Device control request: obtain a second gateway device from candidate gateway devices, where the candidate gateway device includes a first gateway device and a third gateway device among the plurality of gateway devices that is allowed to control the target device; control the second gateway device to execute the device control request , that is, when a device control request is obtained, it may be indicated that a target device deployed in the target area is desired to be controlled. In such a case, the first gateway device that receives the device control request may be configured from the first gateway device and multiple Among the gateway devices, a suitable second gateway device is obtained from the candidate gateway devices of the third gateway device that controls the target device, and the second gateway device is controlled to execute the device control request, which greatly saves the time required to obtain the second gateway device. Adopting the above technical solution solves the problems of low equipment control efficiency in related technologies and achieves the technical effect of improving the control efficiency of equipment.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure.
为了更清楚地说明本公开实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those of ordinary skill in the art, It is said that other drawings can also be obtained based on these drawings without exerting creative work.
图1是根据本公开的一种设备的控制方法的硬件环境示意图;Figure 1 is a schematic diagram of the hardware environment of a device control method according to the present disclosure;
图2是根据本公开的一种设备的控制方法的流程图;Figure 2 is a flow chart of a control method of a device according to the present disclosure;
图3是根据本公开的一种通过终端设备编辑控制设备执行的操作的示意图;Figure 3 is a schematic diagram of an operation performed by a terminal device editing control device according to the present disclosure;
图4是根据本公开的一种通过云服务控制设备的示意图;Figure 4 is a schematic diagram of controlling a device through a cloud service according to the present disclosure;
图5是根据本公开的一种设备的控制方法的示意图;Figure 5 is a schematic diagram of a control method of a device according to the present disclosure;
图6是根据本公开的一种应用场景执行示意图;Figure 6 is a schematic diagram of an application scenario execution according to the present disclosure;
图7是根据本公开的一种跨网关设备控制智能设备的时序图;Figure 7 is a sequence diagram for controlling smart devices across gateway devices according to the present disclosure;
图8是根据本公开的一种设备的控制装置的结构框图;Figure 8 is a structural block diagram of a control device of a device according to the present disclosure;
图9是根据本公开的一种可选的电子装置的结构框图。Figure 9 is a structural block diagram of an optional electronic device according to the present disclosure.
具体实施方式Detailed ways
为了使本技术领域的人员更好地理解本公开方案,下面将结合本公开中的附图,对本公开中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本公开一部分的实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本公开保护的范围。In order to enable those skilled in the art to better understand the technical solutions of the present disclosure, the technical solutions in the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings in the present disclosure. Obviously, the described embodiments are only a part of the present disclosure. embodiments, not all embodiments. Based on the embodiments in this disclosure, all other embodiments obtained by those of ordinary skill in the art without creative efforts should fall within the scope of protection of this disclosure.
需要说明的是,本公开的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该 理解这样使用的数据在适当情况下可以互换,以便这里描述的本公开的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。It should be noted that the terms "first", "second", etc. in the description and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances so that the embodiments of the present disclosure described herein can be practiced in sequences other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, e.g., a process, method, system, product, or apparatus that encompasses a series of steps or units and need not be limited to those explicitly listed. Those steps or elements may instead include other steps or elements not expressly listed or inherent to the process, method, product or apparatus.
根据本公开的一个方面,提供了一种设备的控制方法。该设备的控制方法广泛应用于智慧家庭(Smart Home)、智能家居、智能家用设备生态、智慧住宅(Intelligence House)生态等全屋智能数字化控制应用场景。可选地,在本实施例中,上述设备的控制方法可以应用于如图1所示的由终端设备102和服务器104所构成的硬件环境中。如图1所示,服务器104通过网络与终端设备102进行连接,可设置为为终端或终端上安装的客户端提供服务(如应用服务等),可在服务器上或独立于服务器设置数据库,设置为为服务器104提供数据存储服务,可在服务器上或独立于服务器配置云计算和/或边缘计算服务,设置为为服务器104提供数据运算服务。According to an aspect of the present disclosure, a control method of a device is provided. The control method of this device is widely used in whole-house intelligent digital control application scenarios such as smart home, smart home, smart home device ecology, and smart residence (Intelligence House) ecology. Optionally, in this embodiment, the above device control method can be applied to a hardware environment composed of a terminal device 102 and a server 104 as shown in FIG. 1 . As shown in Figure 1, the server 104 is connected to the terminal device 102 through the network, and can be set to provide services (such as application services, etc.) for the terminal or the client installed on the terminal. The database can be set on the server or independently of the server. In order to provide data storage services for the server 104, cloud computing and/or edge computing services may be configured on the server or independently of the server, and configured to provide data computing services for the server 104.
上述网络可以包括但不限于以下至少之一:有线网络,无线网络。上述有线网络可以包括但不限于以下至少之一:广域网,城域网,局域网,上述无线网络可以包括但不限于以下至少之一:WIFI(Wireless Fidelity,无线保真),蓝牙。终端设备102可以并不限定于为PC、手机、平板电脑、智能空调、智能烟机、智能冰箱、智能烤箱、智能炉灶、智能洗衣机、智能热水器、智能洗涤设备、智能洗碗机、智能投影设备、智能电视、智能晾衣架、智能窗帘、智能影音、智能插座、智能音响、智能音箱、智能新风设备、智能厨卫设备、智能卫浴设备、智能扫地机器人、智能擦窗机器人、智能拖地机器人、智能空气净化设备、智能蒸箱、智能微波炉、智能厨宝、智能净化器、智能饮水机、智能门锁等。The above-mentioned network may include but is not limited to at least one of the following: wired network, wireless network. The above-mentioned wired network may include but is not limited to at least one of the following: wide area network, metropolitan area network, and local area network. The above-mentioned wireless network may include at least one of the following: WIFI (Wireless Fidelity, Wireless Fidelity), Bluetooth. The terminal device 102 may be, but is not limited to, a PC, a mobile phone, a tablet, a smart air conditioner, a smart hood, a smart refrigerator, a smart oven, a smart stove, a smart washing machine, a smart water heater, a smart washing equipment, a smart dishwasher, or a smart projection device. , smart TV, smart clothes drying rack, smart curtains, smart audio and video, smart sockets, smart audio, smart speakers, smart fresh air equipment, smart kitchen and bathroom equipment, smart bathroom equipment, smart sweeping robot, smart window cleaning robot, smart mopping robot, Smart air purification equipment, smart steamers, smart microwave ovens, smart kitchen appliances, smart purifiers, smart water dispensers, smart door locks, etc.
在本实施例中提供了一种设备的控制方法,应用于第一网关设备,图2是根据本公开的一种设备的控制方法的流程图,如图2所示,该流程包括如下步骤:In this embodiment, a device control method is provided, which is applied to the first gateway device. Figure 2 is a flow chart of a device control method according to the present disclosure. As shown in Figure 2, the process includes the following steps:
步骤S202,接收设备控制请求,其中,所述设备控制请求用于请求控制部署在目标区域中的目标设备,所述目标区域中还部署了多个网关设备,所述多个网关设备包括所述第一网关设备;Step S202: Receive a device control request, where the device control request is used to request to control a target device deployed in the target area. Multiple gateway devices are also deployed in the target area, and the multiple gateway devices include the The first gateway device;
步骤S204,响应所述设备控制请求,从候选网关设备中获取第二网关设备,其中,所述候选网关设备包括所述第一网关设备以及所述多个网关设备中允许控制所述目标设备的第三网关设备;Step S204: In response to the device control request, obtain a second gateway device from candidate gateway devices, where the candidate gateway device includes the first gateway device and one of the plurality of gateway devices that is allowed to control the target device. Third gateway device;
步骤S206,控制所述第二网关设备执行所述设备控制请求。Step S206: Control the second gateway device to execute the device control request.
通过上述步骤,在获取到设备控制请求的情况下,可以表明希望控制部署在目标区域中的目标设备,在这样的情况下,接收到设备控制请求的第一网关设备可以从包括第一网关设备以及多个网关设备中允许控制目标设备的第三网关设备的候选网关设备中获取合适的第二网关设备,控制第二网关设备执行设备控制请求,大大节约了获取第二网关设备所需的时间。采用上述技术方案,解决了相关技术中,设备的控制效率较低等问题,实现了提升设备的控制效率的技术效果。Through the above steps, when a device control request is obtained, it can be indicated that a target device deployed in the target area is desired to be controlled. In this case, the first gateway device that receives the device control request can obtain the device control request from the first gateway device. And obtain a suitable second gateway device from the candidate gateway devices that allow the third gateway device to control the target device among multiple gateway devices, and control the second gateway device to execute the device control request, which greatly saves the time required to obtain the second gateway device. . Adopting the above technical solution solves the problems of low equipment control efficiency in related technologies and achieves the technical effect of improving the control efficiency of equipment.
在上述步骤S202提供的技术方案中,部署在目标区域中的多个网关设备中的每个网关设备都可以接收设备控制请求,可以但不限于在第一网关设备接收到设备控制请求的情况下,可以表明希望控制部署在目标区域中的目标设备,目标设备可以但不限于为一个或者多个部署在目标区域中的设备,可以但不限于在设备控制请求用于请求控制部署在目标区域中的多个设备的情况下,可以实现对部署在目标区域中的多个设备的批量控制,进而实现了设备之间的联动,提升了用户的体验。In the technical solution provided in step S202 above, each of the multiple gateway devices deployed in the target area can receive the device control request, which may be but is not limited to when the first gateway device receives the device control request. , you can indicate that you want to control the target device deployed in the target area. The target device can be, but is not limited to, one or more devices deployed in the target area. The device control request can be used to request control of devices deployed in the target area. In the case of multiple devices, batch control of multiple devices deployed in the target area can be achieved, thereby realizing linkage between devices and improving user experience.
可选地,在本实施例中,目标区域可以但不限于包括部署了目标设备和多个网关设备的房屋中的区域,目标区域可以但不限于包括休息区域(可以但不限于卧室、阳台以及客厅等等),办公区域(可以但不限于包括书房以及办公室等等)、烹饪区域(可以但不限于包括厨房以及饭厅等等)等等。Optionally, in this embodiment, the target area may, but is not limited to, include an area in a house where the target device and multiple gateway devices are deployed, and the target area may include, but is not limited to, a rest area (which may, but is not limited to, a bedroom, a balcony, and living room, etc.), office area (which may include but is not limited to a study room, an office, etc.), cooking area (which may include but is not limited to a kitchen, a dining room, etc.), etc.
可选地,在本实施例中,目标区域中可以但不限于还部署了一个或者多个智能设备,一个或者多个智能设备可以但不限于包括目标设备,智能设备可以但不 限于为能连接局域网并且能通过部署在目标区域中的网关设备进行控制的设备,可以但不限于包括:智能空调、智能烟机、智能冰箱、智能烤箱、智能炉灶、智能洗衣机、智能热水器、智能洗涤设备、智能洗碗机、智能投影设备、智能电视、智能晾衣架、智能窗帘、智能影音、智能插座、智能音响、智能音箱、智能新风设备、智能厨卫设备、智能卫浴设备、智能扫地机器人、智能擦窗机器人、智能拖地机器人、智能空气净化设备、智能蒸箱、智能微波炉、智能厨宝、智能净化器、智能饮水机以及智能门锁等等。Optionally, in this embodiment, one or more smart devices may be deployed in the target area, but are not limited to, the one or more smart devices may include, but are not limited to, the target device, and the smart devices may be, but are not limited to, capable of connecting. Devices that are LAN and can be controlled through gateway devices deployed in the target area can, but are not limited to, include: smart air conditioners, smart hoods, smart refrigerators, smart ovens, smart stoves, smart washing machines, smart water heaters, smart washing equipment, smart Dishwasher, smart projection equipment, smart TV, smart clothes drying rack, smart curtains, smart audio and video, smart sockets, smart audio, smart speakers, smart fresh air equipment, smart kitchen and bathroom equipment, smart bathroom equipment, smart sweeping robot, smart window cleaning Robots, smart mopping robots, smart air purification equipment, smart steamers, smart microwave ovens, smart kitchen appliances, smart purifiers, smart water dispensers, smart door locks, etc.
可选地,在本实施例中,目标设备与部署在目标区域中的网关设备之间可以但不限于通过WIFI、或者蓝牙网关、或者Zigbee(紫峰协议)协议等等方式连接,实现了通过网关设备对目标设备的控制。Optionally, in this embodiment, the target device and the gateway device deployed in the target area may be connected through, but are not limited to, WIFI, Bluetooth gateway, or Zigbee (Zifeng protocol) protocol, etc., to realize the connection through the gateway Device control of the target device.
在上述步骤S204提供的技术方案中,在第一网关设备接收到设备控制请求的情况下,可以表明希望控制部署在目标区域中的目标设备,在这样的情况下,第一网关设备可以从部署在目标区域中的所有能够被选择的网关设备中为目标设备分配合适的网关设备,避免了通过云端服务器计算寻找合适的网关设备,节约了将设备控制请求传输至云端服务器、等待云端服务器计算完成以及将设备控制请求发送至云端服务器计算得到的网关设备所需的时间,同时也避免了由于网络不畅或者网络掉线的情况,而导致的将设备控制请求传输至对应的网关设备的传输失败,大大提升了设备的控制效率。In the technical solution provided in step S204 above, when the first gateway device receives a device control request, it can indicate that it wishes to control the target device deployed in the target area. In this case, the first gateway device can deploy the device from Allocate the appropriate gateway device to the target device among all the gateway devices that can be selected in the target area, avoiding the need to find the appropriate gateway device through cloud server calculation, saving the time of transmitting the device control request to the cloud server and waiting for the cloud server calculation to be completed. As well as the time required to send the device control request to the gateway device calculated by the cloud server, it also avoids the failure of transmitting the device control request to the corresponding gateway device due to poor network or network disconnection. , greatly improving the control efficiency of the equipment.
可选地,在本实施例中,候选网关设备可以但不限于包括接收到设备控制请求的第一网关设备以及允许控制目标设备的第三网关设备等等,每个网关设备都有对应的允许该网关设备控制的设备,每个网关设备控制的设备可以但不限于包括不同,或者,相同,或者部分相同等等,实现了通过部署在目标区域的多个网关设备,对部署在目标区域中的智能设备进行控制。Optionally, in this embodiment, candidate gateway devices may, but are not limited to, include a first gateway device that receives a device control request, a third gateway device that is allowed to control the target device, and so on. Each gateway device has a corresponding permission. The devices controlled by the gateway device can, but are not limited to, be different, the same, or partially the same, etc., which enables multiple gateway devices deployed in the target area to control the devices deployed in the target area. controlled by smart devices.
在一个示范性实施例中,可以但不限于通过以下方式从候选网关设备中获取第二网关设备:从所述多个网关设备中获取允许控制所述目标设备的网关作为所述第三网关设备;在所述第三网关设备包括所述第一网关设备的情况下,将所述第一网关设备确定为所述第二网关设备;在所述第三网关设备不包括所述第一网 关设备的情况下,从所述第三网关设备中获取所述第二网关设备。In an exemplary embodiment, the second gateway device may be obtained from the candidate gateway devices in the following manner, but is not limited to: obtaining a gateway that is allowed to control the target device from the plurality of gateway devices as the third gateway device. ; When the third gateway device includes the first gateway device, determine the first gateway device as the second gateway device; when the third gateway device does not include the first gateway device In the case of , the second gateway device is obtained from the third gateway device.
可选地,在本实施例中,可以但不限于在第三网关设备包括第一网关设备的情况下,将第一网关设备确定为第二网关设备,也就是说,可以但不限于在允许控制目标设备的网关设备包括接收到设备控制请求的第一网关设备的情况下,第一网关设备可以不用为目标设备分配网关设备,而是直接将第一网关设备确定为控制目标设备合适的网关设备,大大减少了获取控制目标设备合适的网关设备所需的时间,提升了控制目标设备的效率。Optionally, in this embodiment, the first gateway device may be determined as the second gateway device when the third gateway device includes the first gateway device. That is to say, the first gateway device may be determined as the second gateway device but is not limited to when the third gateway device includes the first gateway device. When the gateway device that controls the target device includes a first gateway device that receives the device control request, the first gateway device may not assign a gateway device to the target device, but directly determines the first gateway device as a suitable gateway for controlling the target device. equipment, greatly reducing the time required to obtain the appropriate gateway device to control the target device, and improving the efficiency of controlling the target device.
可选地,在本实施例中,可以但不限于在第三网关设备不包括第一网关设备的情况下,第一网关设备可以但不限于从允许控制目标设备的网关设备中获取合适的网关设备来控制目标设备,避免了将设备控制请求传输至云端,通过云端计算合适的网关设备,再将设备控制请求发送至对应的网关设备,而是由接收到设备控制请求的第一网关设备为目标设备分配合适的网关设备,将云端的远程操作转化为在网关设备的本地操作,大大提升了获取合适的网关设备的效率。Optionally, in this embodiment, in the case where the third gateway device does not include the first gateway device, the first gateway device may, but is not limited to, obtain an appropriate gateway from a gateway device that is allowed to control the target device. device to control the target device, avoiding the need to transmit the device control request to the cloud, calculate the appropriate gateway device through the cloud, and then send the device control request to the corresponding gateway device. Instead, the first gateway device that receives the device control request is the The target device is assigned an appropriate gateway device, and remote operations in the cloud are converted into local operations on the gateway device, which greatly improves the efficiency of obtaining appropriate gateway devices.
在一个示范性实施例中,从第三网关设备中获取第二网关设备,可以但不限于包括以下情形之一:In an exemplary embodiment, obtaining the second gateway device from the third gateway device may include, but is not limited to, one of the following situations:
情形一,从所述第三网关设备中获取调用频率满足目标调用条件的网关设备作为所述第二网关设备。Scenario 1: Obtain a gateway device whose calling frequency meets the target calling condition from the third gateway device as the second gateway device.
可选地,在本实施例中,可以但不限于直接从允许控制目标设备的第三网关设备中直接获取调用频率满足目标调用条件的网关设备作为第二网关设备,调用频率可以但不限于从第三网关设备中每个网关设备的历史调用数据中获取。实现了可以直接根据第三网关设备中的每个网关设备的历史调用数据中的调用频率来获取合适的网关设备,而无需其它的数据,降低了获取第二网关设备的复杂度。Optionally, in this embodiment, the gateway device whose calling frequency meets the target calling conditions may be directly obtained from a third gateway device that is allowed to control the target device as the second gateway device. The calling frequency may be, but is not limited to, directly obtained from the third gateway device. Obtained from the historical call data of each gateway device in the third gateway device. It is realized that the appropriate gateway device can be obtained directly according to the call frequency in the historical call data of each gateway device in the third gateway device without requiring other data, which reduces the complexity of obtaining the second gateway device.
情形二,检测每个所述第三网关设备的调用状态;获取所述调用状态用于指示当前允许被所述第一网关设备调用的第四网关设备;从所述第四网关设备中获取调用频率满足目标调用条件的网关设备作为所述第二网关设备。Scenario 2: Detect the calling status of each third gateway device; obtain the calling status to indicate a fourth gateway device that is currently allowed to be called by the first gateway device; obtain the calling status from the fourth gateway device The gateway device whose frequency meets the target calling condition serves as the second gateway device.
可选地,在本实施例中,可以但不限于从第三网关设备中获取调用状态为允 许被第一网关设备调用的第四网关设备,再从第四网关设备中获取调用频率满足目标调用条件的网关设备作为第二网关设备,这样的方式可以保证获取到的第二网关设备当前一定能够被第一网关设备调用,避免了获取到当前不能被第一网关设备调用的网关设备,而导致的需浪费更多的时间去从第三网关设备中获取其它的网关设备,提升了设备控制的成功率。Optionally, in this embodiment, the fourth gateway device whose calling status is allowed to be called by the first gateway device may be obtained from the third gateway device, but is not limited to, and then the calling frequency that satisfies the target calling is obtained from the fourth gateway device. The conditional gateway device is used as the second gateway device. This method can ensure that the acquired second gateway device can currently be called by the first gateway device, and avoids acquiring a gateway device that cannot currently be called by the first gateway device, resulting in It takes more time to obtain other gateway devices from the third gateway device, which improves the success rate of device control.
在一个示范性实施例中,可以但不限于通过以下方式获取第六网关设备:在未获取到所述第二网关设备的情况下,通过云服务从具有对应关系的智能设备和网关设备中获取所述目标设备所对应的第五网关设备;通过所述云服务从所述第五网关设备中获取调用频率满足目标调用条件的网关设备作为第六网关设备;通过所述云服务控制所述第六网关设备执行所述设备控制请求。In an exemplary embodiment, the sixth gateway device may be obtained, but is not limited to, in the following manner: if the second gateway device is not obtained, obtain it from a smart device and a gateway device that have a corresponding relationship through a cloud service The fifth gateway device corresponding to the target device; obtaining the gateway device whose calling frequency meets the target calling condition from the fifth gateway device through the cloud service as the sixth gateway device; controlling the third gateway device through the cloud service Six gateway devices execute the device control request.
可选地,在本实施例中,第一网关设备可以但不限于从候选网关设备中获取到第二网关设备,或者,未从候选网关设备中获取到第二网关设备;可以但不限于在第一网关设备未从候选网关设备中获取到第二网关设备的情况下,第一网关设备可以但不限于通过云服务从目标设备所对应的第五网关设备中获取调用频率满足目标调用条件的网关设备作为第六网关设备;第一网关设备可以但不限于通过云服务控制第六网关设备执行设备控制请求。实现了在第一网关设备无法控制目标设备,并且未从允许控制目标设备的网关设备中获取到第二网关设备的情况下,还可以通过云服务来为目标设备选取合适的第六网关设备,提升了设备控制的成功率。Optionally, in this embodiment, the first gateway device may, but is not limited to, obtain the second gateway device from the candidate gateway devices, or may not obtain the second gateway device from the candidate gateway devices; it may, but is not limited to, obtain the second gateway device from the candidate gateway devices. If the first gateway device does not obtain the second gateway device from the candidate gateway device, the first gateway device may, but is not limited to, obtain the calling frequency that satisfies the target calling condition from the fifth gateway device corresponding to the target device through a cloud service. The gateway device serves as the sixth gateway device; the first gateway device may, but is not limited to, control the sixth gateway device to execute the device control request through a cloud service. It is realized that when the first gateway device cannot control the target device and the second gateway device is not obtained from the gateway device that is allowed to control the target device, the cloud service can also be used to select an appropriate sixth gateway device for the target device. Improved the success rate of device control.
可选地,在本实施例中,可以但不限于在用户不在家,但想控制家中的智能家居设备的情况下,可以但不限于通过触发手机、电脑、平板等等终端设备上安装的应用软件、小程序以及网页等等方式,编辑所期望控制的设备执行的操作,图3是根据本公开的一种通过终端设备编辑控制设备执行的操作的示意图,如图3所示,用户可以但不限于在手机上安装的应用软件的应用界面上,编辑所期望控制的部署在卧室(即上述的目标区域)中的空调(即上述的目标设备)执行的操作(即上述的目标操作)。在空调的应用界面上可以但不限于显示了包括开机、关机、运行模型调整、运行温度调整、运行风速调整以及运行风向调整等等功能 插件,可以但不限于通过先点击开机功能插件的方式控制空调开机,再点击运行模型调整功能插件,将空调的运行模式调整至制冷模式。实现了用户对智能设备的便捷控制,无需用户走近需控制的设备,大大提升了用户的操作体验。Optionally, in this embodiment, when the user is not at home but wants to control smart home devices at home, he or she can, but is not limited to, trigger an application installed on a terminal device such as a mobile phone, computer, tablet, etc. Software, small programs, web pages, etc., edit the operations performed by the device that is desired to be controlled. Figure 3 is a schematic diagram of editing the operations performed by the control device through a terminal device according to the present disclosure. As shown in Figure 3, the user can It is not limited to the application interface of the application software installed on the mobile phone. Edit the operation (that is, the above-mentioned target operation) performed by the air conditioner (that is, the above-mentioned target device) deployed in the bedroom (that is, the above-mentioned target area) that is desired to be controlled. The application interface of the air conditioner can, but is not limited to, display functional plug-ins including starting, shutting down, operating model adjustment, operating temperature adjustment, operating wind speed adjustment, operating wind direction adjustment, etc., which can be controlled by, but is not limited to, clicking on the power-on functional plug-in first. Turn on the air conditioner, and then click the run model adjustment function plug-in to adjust the operating mode of the air conditioner to cooling mode. It enables users to conveniently control smart devices without requiring users to go near the device to be controlled, which greatly improves the user's operating experience.
可选地,在本实施例中,可以但不限于根据用户在手机、电脑或者平板等等终端设备上编辑控制目标设备执行的操作,向云服务发起控制设备的设备控制请求,云服务在接收到设备控制请求的情况下,可以为该设备分配调用频率满足目标调用条件的网关设备,图4是根据本公开的一种通过云服务控制设备的示意图,如图4所示,可以但不限于通过LOT(Lot Of Things,物联网)云(即上述的云服务)中部署的领域模型从允许执行设备控制请求的网关设备(即上述的第五网关设备)中获取执行设备控制请求的网关设备(即上述的第六网关设备),并通过云边通道将设备控制请求发送至对应的网关设备,进而控制设备执行设备控制请求中携带的目标操作。通过这样的方式实现了对智能设备的远程控制,提升了用户的控制体验。Optionally, in this embodiment, a device control request for controlling the device may be initiated to the cloud service based on the operation performed by the user on a terminal device such as a mobile phone, computer or tablet, etc., and the cloud service shall receive the In the case of a device control request, a gateway device whose calling frequency meets the target calling conditions can be assigned to the device. Figure 4 is a schematic diagram of controlling a device through a cloud service according to the present disclosure. As shown in Figure 4, it can be, but is not limited to Obtain the gateway device that executes the device control request from the gateway device that is allowed to execute the device control request (the fifth gateway device mentioned above) through the domain model deployed in the LOT (Lot Of Things, Internet of Things) cloud (i.e., the above-mentioned cloud service) (i.e., the above-mentioned sixth gateway device), and sends the device control request to the corresponding gateway device through the cloud edge channel, and then controls the device to perform the target operation carried in the device control request. In this way, remote control of smart devices is achieved and the user's control experience is improved.
在上述步骤S206提供的技术方案中,可以但不限于在第一网关设备获取到设备控制请求的情况下,可以表明希望控制部署在目标区域中的目标设备,在这样的情况下,第一网关设备可以从候选网关设备中获取第二网关设备,第二网关设备可以但不限于为第一网关设备,或者来自第三网关设备,第一网关设备可以但不限于控制第二网关设备执行设备控制请求。In the technical solution provided in step S206 above, it may be, but is not limited to, that when the first gateway device obtains a device control request, it may indicate that it wishes to control the target device deployed in the target area. In this case, the first gateway device The device may obtain a second gateway device from the candidate gateway devices. The second gateway device may be, but is not limited to, the first gateway device, or from a third gateway device. The first gateway device may, but is not limited to, control the second gateway device to perform device control. ask.
在一个示范性实施例中,控制第二网关设备执行设备控制请求可以但不限于包括以下情形:In an exemplary embodiment, controlling the second gateway device to execute the device control request may include, but is not limited to, the following situations:
情形一,在所述第二网关设备来自所述第三网关设备的情况下,向所述第二网关设备发送所述设备控制请求。Scenario 1: If the second gateway device comes from the third gateway device, send the device control request to the second gateway device.
可选地,在本实施例中,可以但不限于在第二网关设备来自第三网关设备的情况下,也就是说,允许控制目标设备的网关设备中不包括第一网关设备,在这样的情况下,第一网关设备可以将设备控制请求发送至第二网关设备,实现了通过跨网关设备的方式,实现了网关设备之间的协同配合,进而完成了对目标设备的控制。Optionally, in this embodiment, the second gateway device may be, but is not limited to, the case where the second gateway device is from the third gateway device, that is, the gateway devices that are allowed to control the target device do not include the first gateway device. In this case In this case, the first gateway device can send the device control request to the second gateway device, thereby realizing collaboration between the gateway devices in a cross-gateway device manner, thereby completing the control of the target device.
情形二,在所述第二网关设备为所述第一网关设备的情况下,控制所述目标设备执行所述设备控制请求所请求的目标操作。Scenario 2: In the case where the second gateway device is the first gateway device, control the target device to perform the target operation requested by the device control request.
可选地,在本实施例中,可以但不限于在第二网关设备为第一网关设备的情况下,也就是说,允许控制目标设备的网关设备包括接收到设备控制请求的第一网关设备,在这样的情况下,可以直接控制第一网关设备执行设备控制请求所请求的目标操作,而不用再将设备控制请求发送至其它的网关设备,大大节约了将设备控制请求发送至对应的网关设备所需的时间,提升了设备控制的效率。Optionally, in this embodiment, it may be but is not limited to the case where the second gateway device is the first gateway device, that is, the gateway device that is allowed to control the target device includes the first gateway device that receives the device control request. , in such a case, the first gateway device can be directly controlled to perform the target operation requested by the device control request, without sending the device control request to other gateway devices, which greatly saves the need to send the device control request to the corresponding gateway. The time required for the equipment improves the efficiency of equipment control.
在一个示范性实施例中,可以但不限于通过以下方式向发起设备控制请求的设备发送指示消息:接收所述第二网关设备或者所述目标设备返回的确认消息;在所述确认消息用于指示所述设备控制请求执行成功的情况下,向发起所述设备控制请求的设备发送指示信息,其中,所述指示信息用于指示所述设备控制请求执行成功。In an exemplary embodiment, the indication message may be sent to the device that initiates the device control request in the following manner, but is not limited to: receiving a confirmation message returned by the second gateway device or the target device; If it is indicated that the device control request is executed successfully, indication information is sent to the device that initiated the device control request, where the indication information is used to indicate that the device control request is executed successfully.
可选地,在本实施例中,发起设备控制请求的设备可以但不限于包括终端设备(可以但不限于包括手机、电脑或者平板等等),网关设备以及部署了网关功能的智能设备(可以但不限于包括:智能音响、智能音箱等等),可以但不限于在用户表达出希望控制设备的语言,或者点击网关设备上的屏幕上显示的控制插件,或者通过触发在终端设备上部署的软件、网页或者小程序等等情况下,确定接收到设备控制请求。Optionally, in this embodiment, the device that initiates the device control request may include, but is not limited to, a terminal device (which may include, but is not limited to, a mobile phone, a computer or a tablet, etc.), a gateway device, and a smart device deployed with a gateway function (which may (but not limited to including: smart speakers, smart speakers, etc.), it can be but is not limited to when the user expresses the language he wishes to control the device, or clicks on the control plug-in displayed on the screen on the gateway device, or by triggering the control plug-in deployed on the terminal device. In the case of software, web pages or small programs, etc., confirm that the device control request has been received.
可选地,在本实施例中,可以但不限于在向第二网关设备发送设备控制请求的情况下,第一网关设备接收第二网关设备返回的确认消息;或者,在控制目标设备执行设备控制请求所请求的目标操作的情况下,第一网关设备接收目标设备返回的确认消息。在确认消息用于指示设备控制请求成功执行的情况下,可以但不限于通过语音播报成功执行的指示信息,或者在手机、平板等等终端设备上显示成功执行的指示信息,或者在第一网关设备上显示成功执行的指示信息。实现了及时通知用户设备控制请求的执行情况,便于用户实时了解所期望控制的设备的控制结果。Optionally, in this embodiment, the first gateway device may, but is not limited to, when sending a device control request to the second gateway device, receive a confirmation message returned by the second gateway device; or, when controlling the target device execution device In the case of a target operation requested by the control request, the first gateway device receives a confirmation message returned by the target device. In the case where the confirmation message is used to indicate the successful execution of the device control request, the indication information of successful execution may be but is not limited to broadcasting the indication information of successful execution through voice, or displaying the indication information of successful execution on a terminal device such as a mobile phone, tablet, etc., or on the first gateway. An indication of successful execution is displayed on the device. It realizes timely notification of the execution status of the device control request to the user, and facilitates the user to understand the control results of the desired control device in real time.
在一个示范性实施例中,在控制第二网关设备执行设备控制请求之后,并且 在控制第二网关设备执行设备控制请求失败的情况下,控制其他合适的网关设备执行设备控制请求可以但不限于包括以下情形之一:In an exemplary embodiment, after controlling the second gateway device to execute the device control request, and in the event that controlling the second gateway device to execute the device control request fails, controlling other suitable gateway devices to execute the device control request may, but is not limited to Including one of the following situations:
情形一,从所述第三网关设备中除所述第二网关设备之外的其他网关设备中获取第七网关设备;控制所述第七网关设备执行所述设备控制请求。Scenario 1: Obtain a seventh gateway device from other gateway devices in the third gateway device except the second gateway device; control the seventh gateway device to execute the device control request.
可选地,在本实施例中,在控制第二网关设备执行设备控制请求失败的情况下,可以但不限于在特定时间(可以但不限于为30秒,或者40秒或者1分钟等等)内或者特定次数(可以但不限于为3次、4次或者5次等等)内重新控制第二网关设备执行设备控制请求,如果在特定时间或者特定次数内,第二网关设备仍然控制失败的情况下,可以但不限于再从第三网关设备中除第二网关设备之外的其他网关设备中获取第七网关设备,并控制第七网关设备执行设备控制请求。Optionally, in this embodiment, in the event that the second gateway device fails to execute the device control request, it may be, but is not limited to, within a specific time (which may be, but is not limited to, 30 seconds, or 40 seconds, or 1 minute, etc.) Re-control the second gateway device to execute the device control request within a specific time or a specific number of times (which can be but is not limited to 3 times, 4 times, or 5 times, etc.). If within a specific time or a specific number of times, the second gateway device still fails to control In this case, the seventh gateway device may be obtained from, but is not limited to, other gateway devices in the third gateway device except the second gateway device, and the seventh gateway device may be controlled to execute the device control request.
可选地,在本实施例中,在控制第二网关设备执行设备控制请求失败的情况下,可以但不限于直接从第三网关设备中除第二网关设备之外的其他网关设备中获取第七网关设备,无需再重新尝试控制网第二网关设备,避免了反复尝试重新控制第二网关设备执行设备控制请求但最后控制第二网关设备失败的情形,提升了用户的体验。Optionally, in this embodiment, when controlling the second gateway device to execute the device control request fails, the third gateway device may be, but is not limited to, directly obtained from other gateway devices other than the second gateway device in the third gateway device. With seven gateway devices, there is no need to retry the second gateway device of the control network, which avoids the situation of repeatedly trying to re-control the second gateway device to execute the device control request but ultimately failing to control the second gateway device, thus improving the user experience.
情形二,通过云服务从所述多个网关设备中获取并控制第八网关设备执行所述设备控制请求。Scenario 2: Obtain and control an eighth gateway device to execute the device control request from the plurality of gateway devices through a cloud service.
可选地,在本实施例中,在控制第二网关设备执行设备控制请求失败的情况下,可以但不限于通过云服务从部署在目标区域中的多个网关设备中获取第八网关设备,第八网关设备可以但不限于为第二网关设备,或者多个网关设备中的其它网关设备。在第八网关设备并控制第八网关设备执行设备控制请求。通过这样的方式,在第一网关设备控制第二网关设备执行设备控制请求失败的情况下,还可以通过云服务选取合适的第八网关设备并控制第八网关设备执行设备控制请求。Optionally, in this embodiment, when controlling the second gateway device to execute the device control request fails, the eighth gateway device may be obtained from a plurality of gateway devices deployed in the target area through a cloud service, but is not limited to, The eighth gateway device may be, but is not limited to, a second gateway device, or other gateway devices among multiple gateway devices. and controlling the eighth gateway device to execute the device control request. In this way, when the first gateway device fails to control the second gateway device to execute the device control request, the cloud service can also be used to select an appropriate eighth gateway device and control the eighth gateway device to execute the device control request.
为了更好的理解上述设备的控制的过程,以下再结合可选实施例对上述设备的控制流程进行说明,但不用于限定本公开的技术方案。In order to better understand the control process of the above-mentioned equipment, the control process of the above-mentioned equipment will be described below in conjunction with optional embodiments, but this is not intended to limit the technical solution of the present disclosure.
在本实施例中提供了一种设备的控制方法,图5是根据本公开的一种设备的控制方法的示意图,如图5所示,目标区域中可以但不限于部署了网关设备1,网关设备2,和网关设备3(即上述的多个网关设备),网关设备1可以但不限于允许控制智能设备1,智能设备2,和智能设备3,网关设备2可以但不限于允许控制智能设备2和智能设备3,网关设备3可以但不限于允许控制智能设备4,智能设备5,……,智能设备n。网关备1至网关设备3上可以但不限于均部署了uSDK(Software Development Kit,软件开发工具包)和Smart Device(智慧设备),Smart Device(智慧设备)可以兼容网关设备1至网关设备3可以与不同操作系统的终端设备进行交互,uSDK可以但不限于用于网关设备与各种型号的智能设备进行交互。In this embodiment, a device control method is provided. Figure 5 is a schematic diagram of a device control method according to the present disclosure. As shown in Figure 5, a gateway device 1 may be deployed in the target area, but is not limited to it. Device 2, and gateway device 3 (i.e., the multiple gateway devices mentioned above), gateway device 1 may, but is not limited to, allow control of smart device 1, smart device 2, and smart device 3, and gateway device 2 may, but is not limited to, allow control of smart devices. 2 and smart device 3, gateway device 3 may, but is not limited to, allow control of smart device 4, smart device 5,..., smart device n. Gateway device 1 to gateway device 3 can, but are not limited to, deploy uSDK (Software Development Kit) and Smart Device (smart device). Smart Device can be compatible with gateway device 1 to gateway device 3. To interact with terminal devices with different operating systems, uSDK can be used, but is not limited to, for gateway devices to interact with various types of smart devices.
用户可以但不限于通过点击手机上安装的应用软件,或者与智能音箱进行语音交互的方式,发起携带有控制智能设备1(即上述的目标设备)的设备控制请求。在这样的情况下,如果当前用于控制智能设备1的网关设备1的小循环在线(即网关设备1可以直接在本地调用),那么可以但不限于直接将设备控制请求传输至网关设备1。如果当前网关设备1的小循环不在线,那么可以但不限于将设备控制请求发送至LOT(Lot Of Things,物联网)云(即上述的云服务),可以但不限于由云服务中的领域模型根据每个网关设备允许控制的智能设备,计算执行设备控制请求的网关设备,可以但不限于通过云边通道并将设备控制请求发送至对应的网关设备。The user can, but is not limited to, initiate a device control request carrying the control smart device 1 (i.e., the above-mentioned target device) by clicking on the application software installed on the mobile phone or by voice interaction with the smart speaker. In this case, if the small loop of the gateway device 1 currently used to control the smart device 1 is online (that is, the gateway device 1 can be directly called locally), then the device control request can be directly transmitted to the gateway device 1 but is not limited to. If the current small loop of gateway device 1 is not online, then the device control request can be sent to the LOT (Lot Of Things, Internet of Things) cloud (i.e. the above-mentioned cloud service), which can be but is not limited to the field in the cloud service. The model calculates the gateway device that executes the device control request based on the smart devices that each gateway device is allowed to control. It can, but is not limited to, send the device control request to the corresponding gateway device through the cloud edge channel.
此外,用户还可以在手机、电脑以及平板等等终端设备上设置用于批量控制多个智能设备的应用场景,比如:回家场景(可以但不限于包括控制智能灯具打开、智能电视调整至体育新闻频道播放、智能空调调整至制冷模式26℃温度运行等等)、睡眠场景(可以但不限于包括控制智能灯具关闭、智能窗帘关闭、智能音箱关闭等等)、以及出门场景(可以但不限于包括控制智能灯具关闭、智能燃气灶关闭、智能门锁关闭等等)等等场景。可以但不限于在手机、电脑、平板等等终端设备上对各个应用场景所包括的设备进行添加、删除、调整控制设备执行的操作等等管理操作,并可以但不限于通过API(Application Interface,应用程序接口)网关将多个应用场景同步到LOT(Lot Of Things,物联网)云上的场景中 心中。在用户在手机、电脑、或者平板等等终端设备上触发某一个应用场景的情况下,如果控制该应用场景中的智能设备的网关设备的小循环在线的话,可以但不限于直接通过小循环通道批量控制多个网关设备,进而实现批量控制该应用场景中包括的多个智能设备。如果控制该应用场景中的智能设备的网关设备的小循环不在线的话,可以但不限于将设备控制请求发送至LOT云上,LOT云中部署的领域模型可以但不限于根据每个网关设备所对应的智能设备列表,获取用于控制应用场景中的多个智能设备的网关设备,再通过云边通道,将设备控制请求发送至对应的网关设备。In addition, users can also set up application scenarios for batch control of multiple smart devices on terminal devices such as mobile phones, computers, tablets, etc., such as homecoming scenarios (which may, but are not limited to, include controlling smart lamps to turn on, smart TVs to adjust to sports settings, etc.) News channel playback, smart air conditioner adjusted to cooling mode to operate at 26°C, etc.), sleeping scenes (which may, but are not limited to, include controlling smart lamps to turn off, smart curtains to close, smart speakers to turn off, etc.), and going out scenes (which may but are not limited to Including controlling smart lights to turn off, smart gas stoves to turn off, smart door locks to turn off, etc.) and other scenarios. You can, but are not limited to, add, delete, adjust the operations performed by the control devices, and other management operations on the devices included in each application scenario on terminal devices such as mobile phones, computers, tablets, etc., and can, but are not limited to, use API (Application Interface, The application program interface) gateway synchronizes multiple application scenarios to the scenario center on the LOT (Lot Of Things, Internet of Things) cloud. When a user triggers an application scenario on a terminal device such as a mobile phone, computer, or tablet, if the small loop that controls the gateway device of the smart device in the application scenario is online, it can, but is not limited to, directly through the small loop channel Batch control multiple gateway devices to achieve batch control of multiple smart devices included in this application scenario. If the small loop of the gateway device that controls the smart device in the application scenario is not online, the device control request can be sent to the LOT cloud, but is not limited to. The domain model deployed in the LOT cloud can be, but is not limited to, based on the requirements of each gateway device. The corresponding smart device list obtains the gateway device used to control multiple smart devices in the application scenario, and then sends the device control request to the corresponding gateway device through the cloud edge channel.
部署在目标区域中的每个网关设备都可以触发所有的应用场景,每个网关设备都对应着允许执行的应用场景列表。图6是根据本公开的一种应用场景执行示意图,如图6所示,设备APP(Application,应用程序)可以但不限于在网关设备A(即上述的第一网关设备)上触发执行应用场景1的请求(即上述的设备控制请求),在这样的情况下,网关设备A中的边缘场景SDK首先会判断应用场景1的位置,即判断网关设备A是否允许执行应用场景1,如果当前网关设备1允许执行应用场景1,可以但不限于直接在网关设备A中执行应用场景1,并在执行完毕之后向LOT云(即上述的云服务)中的云场景管理上报日志。Each gateway device deployed in the target area can trigger all application scenarios, and each gateway device corresponds to a list of application scenarios that are allowed to be executed. Figure 6 is a schematic diagram of an application scenario execution according to the present disclosure. As shown in Figure 6, the device APP (Application, application program) can, but is not limited to, trigger the execution of the application scenario on gateway device A (ie, the above-mentioned first gateway device). 1 request (i.e., the above-mentioned device control request). In this case, the edge scenario SDK in gateway device A will first determine the location of application scenario 1, that is, determine whether gateway device A is allowed to execute application scenario 1. If the current gateway Device 1 is allowed to execute application scenario 1. It may, but is not limited to, directly execute application scenario 1 in gateway device A, and after completion of execution, report logs to the cloud scenario management in the LOT cloud (i.e., the above-mentioned cloud service).
如果网关设备A不允许执行应用场景1,在这样的情况下,网关设备A可以根据每个网关设备所对应的允许执行的应用场景列表,获取其它当前允许执行应用场景1的网关设备B(即上述的第二网关设备,网关设备B可以但不限于与网关设备A连接在同一局域网下),可以但不限于通过USDK将执行应用场景1的请求发送至网关设备B中部署的Smart Device,Smart Device将该请求发送至网关设备B中部署的边缘场景SDK中的边缘场景管理,在边缘场景执行完毕之后,向LOT云(即上述的云服务)中的云场景管理上报日志。If gateway device A is not allowed to execute application scenario 1, in this case, gateway device A can obtain other gateway devices B that are currently allowed to execute application scenario 1 according to the list of application scenarios that are allowed to be executed corresponding to each gateway device (i.e. The above-mentioned second gateway device, gateway device B may be, but is not limited to, connected to the same LAN as gateway device A), and may, but is not limited to, send the request to execute application scenario 1 to the Smart Device deployed in gateway device B through USDK. Device sends the request to the edge scene management in the edge scene SDK deployed in gateway device B. After the edge scene is executed, the log is reported to the cloud scene management in the LOT cloud (the above-mentioned cloud service).
如果网关设备A不允许执行应用场景1,在这样的情况下,网关设备A可以根据每个网关设备允许执行的应用场景,获取其它当前允许执行应用场景1的网关设备B,但是当前网关设备B出现故障或者掉线等等导致网关设备A控制网关设备B失败的情况下,网关设备A可以再从允许执行该应用场景1的网关设备 中除了网关设备B之外的网关设备中,选取合适的网关设备(即上述的第七网关设备),或者,可以通过大循环(即上述的云服务)从允许执行该应用场景的网关设备中获取其它网关设备(即上述的第八网关设备)。If gateway device A is not allowed to execute application scenario 1, in this case, gateway device A can obtain other gateway devices B that are currently allowed to execute application scenario 1 based on the application scenarios that each gateway device is allowed to execute, but the current gateway device B In the event that gateway device A fails to control gateway device B due to a malfunction or disconnection, gateway device A can select the appropriate gateway device from among the gateway devices that are allowed to execute application scenario 1 except gateway device B. gateway device (ie, the above-mentioned seventh gateway device), or other gateway devices (ie, the above-mentioned eighth gateway device) can be obtained from the gateway devices that are allowed to execute the application scenario through a large loop (ie, the above-mentioned cloud service).
如果网关设备A不允许执行应用场景1,并且网关设备1没有获取到允许执行的应用场景1的网关设备,在这样的情况下,可以但不限于直接通过LOT云(即上述的云服务)获取允许执行该应用场景的网关设备(即上述的第五网关设备),并可以但不限于从第五网关设备中获取用于执行该请求的网关设备(即上述的第六网关设备),通过LOT云的云边通道将该请求发送至对应的网关设备。If gateway device A is not allowed to execute application scenario 1, and gateway device 1 has not obtained a gateway device that is allowed to execute application scenario 1, in this case, it can be obtained directly through the LOT cloud (i.e., the above-mentioned cloud service), but is not limited to The gateway device that is allowed to execute the application scenario (i.e., the above-mentioned fifth gateway device) can, but is not limited to, obtain the gateway device for executing the request (i.e., the above-mentioned sixth gateway device) from the fifth gateway device, through LOT The cloud's cloud edge channel sends the request to the corresponding gateway device.
为了更好的理解上述设备的控制的过程,以下再结合可选实施例对上述设备的控制流程进行说明,但不用于限定本公开的技术方案。In order to better understand the control process of the above-mentioned equipment, the control process of the above-mentioned equipment will be described below in conjunction with optional embodiments, but this is not intended to limit the technical solution of the present disclosure.
在本实施例中提供了一种设备的控制方法,图7是根据本公开的一种跨网关设备控制智能设备的时序图,如图7所示,可以但不限于在用户触发手机上安装的APP或者用户与部署网关设备功能的智能音箱进行语音交互的情况下,网关设备1(即上述的第一网关设备)可以但不限于获取到用于请求控制智能设备1(即上述的目标设备)的设备控制请求,在这样的情况下,网关设备1可以但不限于根据允许每个网关设备控制的智能设备,获取允许控制智能设备1的网关设备(即上述的第三网关设备),在第三网关设备没有包括网关设备1的情况下,可以但不限于从第三网关设备中获取网关设备2(即上述的第二网关设备),检测网关设备2的小循环当前是否在线,即检测当前网关设备2是否允许被网关设备1调用,如果网关设备2当前的小循环不在线,也就是说,当前网关设备2不允许被网关设备1调用,可以但不限于通过大循环(即上述的云服务)将设备控制请求发送至网关设备2,进而完成对智能设备1的控制,并将设备控制结果反馈给手机APP。In this embodiment, a device control method is provided. Figure 7 is a sequence diagram for controlling a smart device across a gateway device according to the present disclosure. As shown in Figure 7, it can be, but is not limited to, installed on a user-triggered mobile phone. When an APP or a user performs voice interaction with a smart speaker that deploys the gateway device function, the gateway device 1 (i.e., the above-mentioned first gateway device) may, but is not limited to, obtain a request to control the smart device 1 (i.e., the above-mentioned target device). device control request, in this case, the gateway device 1 may, but is not limited to, obtain the gateway device that is allowed to control the smart device 1 (ie, the above-mentioned third gateway device) based on the smart devices that are allowed to be controlled by each gateway device, in the In the case where the three gateway devices do not include gateway device 1, gateway device 2 (i.e., the above-mentioned second gateway device) can be obtained from the third gateway device, but is not limited to, to detect whether the small loop of gateway device 2 is currently online, that is, to detect whether the current Whether gateway device 2 is allowed to be called by gateway device 1, if the current small loop of gateway device 2 is not online, that is, the current gateway device 2 is not allowed to be called by gateway device 1, it can but is not limited to through the large loop (that is, the above-mentioned cloud Service) sends the device control request to the gateway device 2, thereby completing the control of the smart device 1, and feeding back the device control results to the mobile APP.
如果网关设备2当前的小循环在线,也就是说,当前网关设备2允许被网关设备1调用,在这样的情况下,可以但不限于直接将设备控制请求发送至网关设备2,网关设备2在成功控制智能设备2执行设备控制请求中携带的操作(即上述的)之后,可以将设备控制结果(即上述的指示信息)返回至手机APP,方便 用户查看。If the current small loop of gateway device 2 is online, that is, the current gateway device 2 is allowed to be called by gateway device 1, in this case, the device control request can be but is not limited to be directly sent to gateway device 2, and gateway device 2 is in After successfully controlling the smart device 2 to perform the operation carried in the device control request (i.e., the above), the device control result (i.e., the above instruction information) can be returned to the mobile APP for the convenience of the user.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本公开的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本公开各个实施例的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is Better implementation. Based on this understanding, the technical solution of the present disclosure can be embodied in the form of a software product in essence or that contributes to the existing technology. The computer software product is stored in a storage medium (such as ROM/RAM, disk, CD), including several instructions to cause a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods of various embodiments of the present disclosure.
图8是根据本公开的一种设备的控制装置的结构框图,应用于第一网关设备,如图8所示,包括:Figure 8 is a structural block diagram of a device control device according to the present disclosure, applied to the first gateway device, as shown in Figure 8, including:
第一接收模块802,设置为接收设备控制请求,其中,所述设备控制请求用于请求控制部署在目标区域中的目标设备,所述目标区域中还部署了多个网关设备,所述多个网关设备包括所述第一网关设备;The first receiving module 802 is configured to receive a device control request, where the device control request is used to request to control a target device deployed in the target area, and multiple gateway devices are also deployed in the target area. The gateway device includes the first gateway device;
第一获取模块804,设置为响应所述设备控制请求,从候选网关设备中获取第二网关设备,其中,所述候选网关设备包括所述第一网关设备以及所述多个网关设备中允许控制所述目标设备的第三网关设备;The first acquisition module 804 is configured to respond to the device control request and acquire a second gateway device from candidate gateway devices, where the candidate gateway device includes the first gateway device and the permission control among the plurality of gateway devices. The third gateway device of the target device;
第一处理模块806,设置为控制所述第二网关设备执行所述设备控制请求。The first processing module 806 is configured to control the second gateway device to execute the device control request.
通过上述实施例,在获取到设备控制请求的情况下,可以表明希望控制部署在目标区域中的目标设备,在这样的情况下,接收到设备控制请求的第一网关设备可以从包括第一网关设备以及多个网关设备中允许控制目标设备的第三网关设备的候选网关设备中获取合适的第二网关设备,控制第二网关设备执行设备控制请求,大大节约了获取第二网关设备所需的时间。采用上述技术方案,解决了相关技术中,设备的控制效率较低等问题,实现了提升设备的控制效率的技术效果。Through the above embodiments, when a device control request is obtained, it can be indicated that a target device deployed in the target area is desired to be controlled. In this case, the first gateway device that receives the device control request can obtain the device control request from the first gateway device. The device and multiple gateway devices are allowed to obtain a suitable second gateway device from the candidate gateway devices of the third gateway device that controls the target device, and control the second gateway device to execute the device control request, which greatly saves the time required to obtain the second gateway device. time. Adopting the above technical solution solves the problems of low equipment control efficiency in related technologies and achieves the technical effect of improving the control efficiency of equipment.
可选的,所述第一获取模块,包括:Optionally, the first acquisition module includes:
第一获取单元,设置为从所述多个网关设备中获取允许控制所述目标设备的 网关作为所述第三网关设备;A first acquisition unit configured to acquire a gateway that is allowed to control the target device from the plurality of gateway devices as the third gateway device;
确定单元,设置为在所述第三网关设备包括所述第一网关设备的情况下,将所述第一网关设备确定为所述第二网关设备;a determining unit configured to determine the first gateway device as the second gateway device when the third gateway device includes the first gateway device;
第二获取单元,设置为在所述第三网关设备不包括所述第一网关设备的情况下,从所述第三网关设备中获取所述第二网关设备。The second acquisition unit is configured to acquire the second gateway device from the third gateway device when the third gateway device does not include the first gateway device.
可选的,所述第二获取单元,包括以下之一:Optionally, the second acquisition unit includes one of the following:
从所述第三网关设备中获取调用频率满足目标调用条件的网关设备作为所述第二网关设备;Obtain a gateway device whose calling frequency meets the target calling condition from the third gateway device as the second gateway device;
检测每个所述第三网关设备的调用状态;获取所述调用状态用于指示当前允许被所述第一网关设备调用的第四网关设备;从所述第四网关设备中获取调用频率满足目标调用条件的网关设备作为所述第二网关设备。Detect the calling status of each third gateway device; obtain the calling status to indicate a fourth gateway device that is currently allowed to be called by the first gateway device; obtain the calling frequency from the fourth gateway device to meet the target The gateway device that calls the condition serves as the second gateway device.
可选的,所述第一处理模块,包括:Optionally, the first processing module includes:
发送单元,设置为在所述第二网关设备来自所述第三网关设备的情况下,向所述第二网关设备发送所述设备控制请求;A sending unit configured to send the device control request to the second gateway device when the second gateway device comes from the third gateway device;
处理单元,设置为在所述第二网关设备为所述第一网关设备的情况下,控制所述目标设备执行所述设备控制请求所请求的目标操作。A processing unit configured to control the target device to perform the target operation requested by the device control request when the second gateway device is the first gateway device.
可选的,所述装置还包括:Optionally, the device also includes:
第二接收模块,设置为在所述向所述第二网关设备发送所述设备控制请求,或者,所述控制所述目标设备执行所述设备控制请求所请求的目标操作之后,接收所述第二网关设备或者所述目标设备返回的确认消息;The second receiving module is configured to receive the first device control request after sending the device control request to the second gateway device or controlling the target device to perform the target operation requested by the device control request. 2. The confirmation message returned by the gateway device or the target device;
发送模块,设置为在所述确认消息用于指示所述设备控制请求执行成功的情况下,向发起所述设备控制请求的设备发送指示信息,其中,所述指示信息用于指示所述设备控制请求执行成功。A sending module, configured to send indication information to the device that initiated the device control request when the confirmation message is used to indicate that the device control request is executed successfully, wherein the indication information is used to indicate that the device control request is successfully executed. The request was executed successfully.
可选的,所述装置还包括:Optionally, the device also includes:
第二获取模块,设置为在所述从候选网关设备中获取第二网关设备之后,在未获取到所述第二网关设备的情况下,通过云服务从具有对应关系的智能设备和网关设备中获取所述目标设备所对应的第五网关设备;The second acquisition module is configured to, after obtaining the second gateway device from the candidate gateway device, if the second gateway device is not obtained, obtain the corresponding smart device and the gateway device from the corresponding relationship through the cloud service. Obtain the fifth gateway device corresponding to the target device;
第三获取模块,设置为通过所述云服务从所述第五网关设备中获取调用频率满足目标调用条件的网关设备作为第六网关设备;The third acquisition module is configured to acquire the gateway device whose calling frequency meets the target calling condition from the fifth gateway device through the cloud service as the sixth gateway device;
执行模块,设置为通过所述云服务控制所述第六网关设备执行所述设备控制请求。An execution module, configured to control the sixth gateway device to execute the device control request through the cloud service.
可选的,所述装置还包括以下之一:Optionally, the device also includes one of the following:
第四获取模块,设置为在所述控制所述第二网关设备执行所述设备控制请求之后,在控制所述第二网关设备执行所述设备控制请求失败的情况下,从所述第三网关设备中除所述第二网关设备之外的其他网关设备中获取第七网关设备;控制所述第七网关设备执行所述设备控制请求;The fourth acquisition module is configured to, after controlling the second gateway device to execute the device control request, if the control of the second gateway device to execute the device control request fails, obtain the data from the third gateway device. Obtain a seventh gateway device from other gateway devices in the device except the second gateway device; control the seventh gateway device to execute the device control request;
第二处理模块,设置为通过云服务从所述多个网关设备中获取并控制第八网关设备执行所述设备控制请求。The second processing module is configured to obtain from the plurality of gateway devices through cloud services and control the eighth gateway device to execute the device control request.
本公开的实施例还提供了一种存储介质,该存储介质包括存储的程序,其中,上述程序运行时执行上述任一项的方法。An embodiment of the present disclosure also provides a storage medium that includes a stored program, wherein the method of any of the above items is executed when the program is run.
可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的程序代码:Optionally, in this embodiment, the above-mentioned storage medium may be configured to store program codes for performing the following steps:
S1,接收设备控制请求,其中,所述设备控制请求用于请求控制部署在目标区域中的目标设备,所述目标区域中还部署了多个网关设备,所述多个网关设备包括所述第一网关设备;S1. Receive a device control request, wherein the device control request is used to request to control a target device deployed in the target area. Multiple gateway devices are also deployed in the target area. The multiple gateway devices include the third gateway device. a gateway device;
S2,响应所述设备控制请求,从候选网关设备中获取第二网关设备,其中,所述候选网关设备包括所述第一网关设备以及所述多个网关设备中允许控制所述目标设备的第三网关设备;S2. In response to the device control request, obtain a second gateway device from candidate gateway devices, where the candidate gateway device includes the first gateway device and the third gateway device among the plurality of gateway devices that is allowed to control the target device. Three gateway devices;
S3,控制所述第二网关设备执行所述设备控制请求。S3: Control the second gateway device to execute the device control request.
根据本发明实施例的又一个方面,还提供了一种用于实施上述设备的控制方法的电子装置,如图9所示,该电子装置包括存储器902和处理器904,该存储器902中存储有计算机程序,该处理器904被设置为通过计算机程序执行上述任一项方法实施例中的步骤。According to another aspect of the embodiment of the present invention, an electronic device for implementing the control method of the above equipment is also provided. As shown in Figure 9, the electronic device includes a memory 902 and a processor 904. The memory 902 stores Computer program, the processor 904 is configured to execute the steps in any of the above method embodiments through the computer program.
可选地,在本实施例中,上述电子装置可以位于计算机网络的多个网络设备中的至少一个网络设备。Optionally, in this embodiment, the above-mentioned electronic device may be located in at least one network device among multiple network devices of the computer network.
可选地,在本实施例中,上述处理器可以被设置为通过计算机程序执行以下步骤:Optionally, in this embodiment, the above-mentioned processor may be configured to perform the following steps through a computer program:
S1,接收设备控制请求,其中,所述设备控制请求用于请求控制部署在目标区域中的目标设备,所述目标区域中还部署了多个网关设备,所述多个网关设备包括所述第一网关设备;S1. Receive a device control request, wherein the device control request is used to request to control a target device deployed in the target area. Multiple gateway devices are also deployed in the target area. The multiple gateway devices include the third gateway device. a gateway device;
S2,响应所述设备控制请求,从候选网关设备中获取第二网关设备,其中,所述候选网关设备包括所述第一网关设备以及所述多个网关设备中允许控制所述目标设备的第三网关设备;S2. In response to the device control request, obtain a second gateway device from candidate gateway devices, where the candidate gateway device includes the first gateway device and the third gateway device among the plurality of gateway devices that is allowed to control the target device. Three gateway devices;
S3,控制所述第二网关设备执行所述设备控制请求。S3: Control the second gateway device to execute the device control request.
可选地,本领域普通技术人员可以理解,图9所示的结构仅为示意,电子装置也可以是智能手机(如Android手机、iOS手机等)、平板电脑、掌上电脑以及移动互联网设备(Mobile Internet Devices,MID)、PAD等终端设备。图9其并不对上述电子装置的结构造成限定。例如,电子装置还可包括比图9中所示更多或者更少的组件(如网络接口等),或者具有与图9所示不同的配置。Optionally, those of ordinary skill in the art can understand that the structure shown in Figure 9 is only illustrative, and the electronic device can also be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a handheld computer, and a mobile Internet device (Mobile Internet Devices, MID), PAD and other terminal equipment. FIG. 9 does not limit the structure of the above-mentioned electronic device. For example, the electronic device may also include more or fewer components (such as network interfaces, etc.) than shown in FIG. 9 , or have a different configuration than that shown in FIG. 9 .
其中,存储器902可用于存储软件程序以及模块,如本发明实施例中的设备的控制方法和装置对应的程序指令/模块,处理器904通过运行存储在存储器902内的软件程序以及模块,从而执行各种功能应用以及数据处理,即实现上述的设备的控制方法。存储器902可包括高速随机存储器,还可以包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,存储器902可进一步包括相对于处理器904远程设置的存储器,这些远程 存储器可以通过网络连接至终端。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。作为一种示例,如图9所示,上述存储器902中可以但不限于包括上述设备的控制装置中的第一接收模块802、第一获取模块804、第一处理模块806。此外,还可以包括但不限于上述设备的控制装置中的其他模块单元,本示例中不再赘述。The memory 902 can be used to store software programs and modules, such as program instructions/modules corresponding to the device control methods and devices in the embodiment of the present invention. The processor 904 executes the software programs and modules stored in the memory 902 by running them. Various functional applications and data processing realize the control method of the above-mentioned equipment. Memory 902 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 902 may further include memory located remotely relative to the processor 904, and these remote memories may be connected to the terminal through a network. Examples of the above-mentioned networks include but are not limited to the Internet, intranets, local area networks, mobile communication networks and combinations thereof. As an example, as shown in FIG. 9 , the memory 902 may include, but is not limited to, the first receiving module 802 , the first obtaining module 804 , and the first processing module 806 in the control device of the above device. In addition, it may also include but is not limited to other modular units in the control device of the above equipment, which will not be described again in this example.
可选地,上述的传输装置906用于经由一个网络接收或者发送数据。上述的网络具体实例可包括有线网络及无线网络。在一个实例中,传输装置906包括一个网络适配器(Network Interface Controller,NIC),其可通过网线与其他网络设备与路由器相连从而可与互联网或局域网进行通讯。在一个实例中,传输装置906为射频(Radio Frequency,RF)模块,其用于通过无线方式与互联网进行通讯。Optionally, the above-mentioned transmission device 906 is used to receive or send data via a network. Specific examples of the above-mentioned network may include wired networks and wireless networks. In one example, the transmission device 906 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices and routers through network cables to communicate with the Internet or a local area network. In one example, the transmission device 906 is a radio frequency (Radio Frequency, RF) module, which is used to communicate with the Internet wirelessly.
此外,上述电子装置还包括:显示器908,用于显示上述设备控制请求;和连接总线910,用于连接上述电子装置中的各个模块部件。In addition, the above-mentioned electronic device also includes: a display 908 for displaying the above-mentioned device control request; and a connection bus 910 for connecting various module components in the above-mentioned electronic device.
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(Read-Only Memory,简称为ROM)、随机存取存储器(Random Access Memory,简称为RAM)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。Optionally, in this embodiment, the above storage medium may include but is not limited to: U disk, read-only memory (Read-Only Memory, referred to as ROM), random access memory (Random Access Memory, referred to as RAM), Various media that can store program code, such as mobile hard drives, magnetic disks, or optical disks.
可选地,本实施例中的具体示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。Optionally, for specific examples in this embodiment, reference can be made to the examples described in the above-mentioned embodiments and optional implementations, and details will not be described again in this embodiment.
显然,本领域的技术人员应该明白,上述的本公开的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本公开不限制于任何特定的硬件和软件结合。Obviously, those skilled in the art should understand that the above-mentioned modules or steps of the present disclosure can be implemented using general-purpose computing devices, and they can be concentrated on a single computing device, or distributed across a network composed of multiple computing devices. , optionally, they may be implemented in program code executable by a computing device, such that they may be stored in a storage device for execution by the computing device, and in some cases, may be in a sequence different from that herein. The steps shown or described are performed either individually as individual integrated circuit modules, or as multiple modules or steps among them as a single integrated circuit module. As such, the present disclosure is not limited to any specific combination of hardware and software.
以上所述仅是本公开的优选实施方式,应当指出,对于本技术领域的普通技 术人员来说,在不脱离本公开原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本公开的保护范围。The above are only preferred embodiments of the present disclosure. It should be pointed out that for those of ordinary skill in the art, several improvements and modifications can be made without departing from the principles of the present disclosure. These improvements and modifications can also be made. should be regarded as the scope of protection of this disclosure.

Claims (10)

  1. 一种设备的控制方法,应用于第一网关设备,包括:A device control method, applied to the first gateway device, including:
    接收设备控制请求,其中,所述设备控制请求用于请求控制部署在目标区域中的目标设备,所述目标区域中还部署了多个网关设备,所述多个网关设备包括所述第一网关设备;Receive a device control request, wherein the device control request is used to request control of a target device deployed in the target area, and multiple gateway devices are also deployed in the target area, and the multiple gateway devices include the first gateway equipment;
    响应所述设备控制请求,从候选网关设备中获取第二网关设备,其中,所述候选网关设备包括所述第一网关设备以及所述多个网关设备中允许控制所述目标设备的第三网关设备;In response to the device control request, obtain a second gateway device from candidate gateway devices, wherein the candidate gateway device includes the first gateway device and a third gateway among the plurality of gateway devices that is allowed to control the target device. equipment;
    控制所述第二网关设备执行所述设备控制请求。Control the second gateway device to execute the device control request.
  2. 根据权利要求1所述的方法,其中,所述从候选网关设备中获取第二网关设备,包括:The method according to claim 1, wherein the obtaining the second gateway device from the candidate gateway devices includes:
    从所述多个网关设备中获取允许控制所述目标设备的网关设备作为所述第三网关设备;Obtain a gateway device that is allowed to control the target device from the plurality of gateway devices as the third gateway device;
    在所述第三网关设备包括所述第一网关设备的情况下,将所述第一网关设备确定为所述第二网关设备;In the case where the third gateway device includes the first gateway device, determine the first gateway device as the second gateway device;
    在所述第三网关设备不包括所述第一网关设备的情况下,从所述第三网关设备中获取所述第二网关设备。If the third gateway device does not include the first gateway device, obtain the second gateway device from the third gateway device.
  3. 根据权利要求2所述的方法,其中,所述从所述第三网关设备中获取所述第二网关设备,包括以下之一:The method according to claim 2, wherein the obtaining the second gateway device from the third gateway device includes one of the following:
    从所述第三网关设备中获取调用频率满足目标调用条件的网关设备作为所述第二网关设备;Obtain a gateway device whose calling frequency meets the target calling condition from the third gateway device as the second gateway device;
    检测每个所述第三网关设备的调用状态;获取所述调用状态用于指示当前允许被所述第一网关设备调用的第四网关设备;从所述第四网关设备中获取调用频率满足目标调用条件的网关设备作为所述第二网关设备。Detect the calling status of each third gateway device; obtain the calling status to indicate a fourth gateway device that is currently allowed to be called by the first gateway device; obtain the calling frequency from the fourth gateway device to meet the target The gateway device that calls the condition serves as the second gateway device.
  4. 根据权利要求1所述的方法,其中,所述控制所述第二网关设备执行所述设备 控制请求,包括:The method according to claim 1, wherein the controlling the second gateway device to execute the device control request includes:
    在所述第二网关设备来自所述第三网关设备的情况下,向所述第二网关设备发送所述设备控制请求;If the second gateway device comes from the third gateway device, send the device control request to the second gateway device;
    在所述第二网关设备为所述第一网关设备的情况下,控制所述目标设备执行所述设备控制请求所请求的目标操作。In the case where the second gateway device is the first gateway device, the target device is controlled to perform the target operation requested by the device control request.
  5. 根据权利要求4所述的方法,其中,在所述向所述第二网关设备发送所述设备控制请求,或者,所述控制所述目标设备执行所述设备控制请求所请求的目标操作之后,所述方法还包括:The method of claim 4, wherein after the sending the device control request to the second gateway device or controlling the target device to perform a target operation requested by the device control request, The method also includes:
    接收所述第二网关设备或者所述目标设备返回的确认消息;Receive a confirmation message returned by the second gateway device or the target device;
    在所述确认消息用于指示所述设备控制请求执行成功的情况下,向发起所述设备控制请求的设备发送指示信息,其中,所述指示信息用于指示所述设备控制请求执行成功。When the confirmation message is used to indicate that the device control request is executed successfully, indication information is sent to the device that initiated the device control request, where the indication information is used to indicate that the device control request is executed successfully.
  6. 根据权利要求1所述的方法,其中,在所述从候选网关设备中获取第二网关设备之后,所述方法还包括:The method according to claim 1, wherein after obtaining the second gateway device from the candidate gateway devices, the method further includes:
    在未获取到所述第二网关设备的情况下,通过云服务从具有对应关系的智能设备和网关设备中获取所述目标设备所对应的第五网关设备;If the second gateway device is not obtained, obtain the fifth gateway device corresponding to the target device from the smart device and the gateway device that have a corresponding relationship through the cloud service;
    通过所述云服务从所述第五网关设备中获取调用频率满足目标调用条件的网关设备作为第六网关设备;Obtain the gateway device whose calling frequency meets the target calling condition from the fifth gateway device through the cloud service as the sixth gateway device;
    通过所述云服务控制所述第六网关设备执行所述设备控制请求。Control the sixth gateway device to execute the device control request through the cloud service.
  7. 根据权利要求1所述的方法,其中,在所述控制所述第二网关设备执行所述设备控制请求之后,在控制所述第二网关设备执行所述设备控制请求失败的情况下,所述方法还包括以下之一:The method of claim 1, wherein after controlling the second gateway device to execute the device control request, in the event that controlling the second gateway device to execute the device control request fails, the Methods also include one of the following:
    从所述第三网关设备中除所述第二网关设备之外的其他网关设备中获取第七网关设备;控制所述第七网关设备执行所述设备控制请求;Obtain a seventh gateway device from other gateway devices in the third gateway device except the second gateway device; control the seventh gateway device to execute the device control request;
    通过云服务从所述多个网关设备中获取并控制第八网关设备执行所述设 备控制请求。Obtain and control an eighth gateway device to execute the device control request from the plurality of gateway devices through the cloud service.
  8. 一种设备的控制装置,其中,应用于第一网关设备,包括:A device control device, which is applied to the first gateway device and includes:
    第一接收模块,设置为接收设备控制请求,其中,所述设备控制请求用于请求控制部署在目标区域中的目标设备,所述目标区域中还部署了多个网关设备,所述多个网关设备包括所述第一网关设备;The first receiving module is configured to receive a device control request, wherein the device control request is used to request to control a target device deployed in the target area, and multiple gateway devices are also deployed in the target area. The multiple gateways The device includes the first gateway device;
    第一获取模块,设置为响应所述设备控制请求,从候选网关设备中获取第二网关设备,其中,所述候选网关设备包括所述第一网关设备以及所述多个网关设备中允许控制所述目标设备的第三网关设备;The first acquisition module is configured to respond to the device control request and acquire a second gateway device from candidate gateway devices, wherein the candidate gateway device includes the first gateway device and all gateway devices allowed to be controlled among the plurality of gateway devices. The third gateway device of the target device;
    第一处理模块,设置为控制所述第二网关设备执行所述设备控制请求。The first processing module is configured to control the second gateway device to execute the device control request.
  9. 一种计算机可读的存储介质,所述计算机可读的存储介质包括存储的程序,其中,所述程序运行时执行权利要求1至7中任一项所述的方法。A computer-readable storage medium includes a stored program, wherein the method of any one of claims 1 to 7 is executed when the program is run.
  10. 一种电子装置,包括存储器和处理器,所述存储器中存储有计算机程序,所述处理器被设置为通过所述计算机程序执行权利要求1至7中任一项所述的方法。An electronic device includes a memory and a processor, a computer program is stored in the memory, and the processor is configured to execute the method according to any one of claims 1 to 7 through the computer program.
PCT/CN2022/133237 2022-07-20 2022-11-21 Device control method and apparatus, and storage medium and electronic apparatus WO2024016539A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210857676.7A CN115309062A (en) 2022-07-20 2022-07-20 Device control method, device, storage medium, and electronic apparatus
CN202210857676.7 2022-07-20

Publications (1)

Publication Number Publication Date
WO2024016539A1 true WO2024016539A1 (en) 2024-01-25

Family

ID=83857689

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/133237 WO2024016539A1 (en) 2022-07-20 2022-11-21 Device control method and apparatus, and storage medium and electronic apparatus

Country Status (2)

Country Link
CN (1) CN115309062A (en)
WO (1) WO2024016539A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115309062A (en) * 2022-07-20 2022-11-08 青岛海尔科技有限公司 Device control method, device, storage medium, and electronic apparatus

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170094706A1 (en) * 2014-04-01 2017-03-30 Belkin International, Inc. Setup of multiple iot network devices
CN108366121A (en) * 2018-02-13 2018-08-03 广州云湾信息技术有限公司 The group network system and apparatus control method of the more intelligent gateways of Internet of Things
CN109474936A (en) * 2019-01-03 2019-03-15 上海顺舟智能科技股份有限公司 Applied to the Internet of Things means of communication and system between multiple lora gateways
CN111245714A (en) * 2020-03-31 2020-06-05 上海庆科信息技术有限公司 Access method and device of home gateway module, storage medium and electronic device
CN113422814A (en) * 2021-06-16 2021-09-21 青岛易来智能科技股份有限公司 Method and system for sending device control command, storage medium and electronic device
CN114745813A (en) * 2022-03-23 2022-07-12 深圳市飞比电子科技有限公司 Device control method, device, electronic device, and storage medium
CN115309062A (en) * 2022-07-20 2022-11-08 青岛海尔科技有限公司 Device control method, device, storage medium, and electronic apparatus

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7590132B2 (en) * 2003-02-25 2009-09-15 Cisco Technology, Inc. In-band negotiation in single transcompression scenarios related applications
US8605621B2 (en) * 2007-02-16 2013-12-10 France Telecom Methods and devices for discovering a gateway and for routing towards said gateway in a hybrid wireless network
JP6194693B2 (en) * 2013-08-22 2017-09-13 富士通株式会社 COMMUNICATION DEVICE, CONTROL SYSTEM, COMMUNICATION PROGRAM, AND COMMUNICATION METHOD
CN108880911A (en) * 2018-07-16 2018-11-23 山东大学 A kind of sensing network control layer, sensing network framework and its construction method
CN109617731A (en) * 2018-12-21 2019-04-12 青岛海信智慧家居系统股份有限公司 Adaptive gateway role configuration method and device under a kind of multi-gateway environment
CN110995513B (en) * 2019-12-27 2023-02-17 远景智能国际私人投资有限公司 Data sending and receiving method in Internet of things system, internet of things equipment and platform
US20210337611A1 (en) * 2020-04-27 2021-10-28 Cisco Technology, Inc. Optimized serving gateway node selection for interworking networks
CN113890895A (en) * 2021-08-27 2022-01-04 青岛海尔科技有限公司 Message pushing method and device, storage medium and electronic device
CN113645636B (en) * 2021-10-12 2021-12-14 武汉慧联无限科技有限公司 Network deployment method and device, electronic equipment and storage medium
CN114755931A (en) * 2022-03-10 2022-07-15 青岛海尔科技有限公司 Control instruction prediction method and device, storage medium and electronic device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170094706A1 (en) * 2014-04-01 2017-03-30 Belkin International, Inc. Setup of multiple iot network devices
CN108366121A (en) * 2018-02-13 2018-08-03 广州云湾信息技术有限公司 The group network system and apparatus control method of the more intelligent gateways of Internet of Things
CN109474936A (en) * 2019-01-03 2019-03-15 上海顺舟智能科技股份有限公司 Applied to the Internet of Things means of communication and system between multiple lora gateways
CN111245714A (en) * 2020-03-31 2020-06-05 上海庆科信息技术有限公司 Access method and device of home gateway module, storage medium and electronic device
CN113422814A (en) * 2021-06-16 2021-09-21 青岛易来智能科技股份有限公司 Method and system for sending device control command, storage medium and electronic device
CN114745813A (en) * 2022-03-23 2022-07-12 深圳市飞比电子科技有限公司 Device control method, device, electronic device, and storage medium
CN115309062A (en) * 2022-07-20 2022-11-08 青岛海尔科技有限公司 Device control method, device, storage medium, and electronic apparatus

Also Published As

Publication number Publication date
CN115309062A (en) 2022-11-08

Similar Documents

Publication Publication Date Title
US11546186B2 (en) Automatic device orchestration and configuration
WO2019205134A1 (en) Smart home voice control method, apparatus, device and system
KR102350430B1 (en) Over-the-air provisioning and configuration of hardware elements in a home automation system
WO2018039814A1 (en) Smart household control method, apparatus and system
CN104539504B (en) A kind of event triggering method and device
CN110687805A (en) Intelligent household equipment linkage control method and device, storage medium and equipment
KR102252258B1 (en) Method and apparatus for controlling a group of home devices in a home network system
CN112202648B (en) Control method and system of networked home equipment
WO2016173189A1 (en) Smart household control method, device and system
CN105652675A (en) Control method for intelligent household equipment, device, terminal and system
CN111970180B (en) Networking configuration method and device for intelligent household equipment, electronic equipment and storage medium
CN109799716B (en) Scene pushing method and device and intelligent home system
WO2024016539A1 (en) Device control method and apparatus, and storage medium and electronic apparatus
CN113485129B (en) Method for controlling and reporting equipment under contextual model of whole-house intelligent system
CN111372222A (en) Device connection method and system, corresponding terminal device and server
CN112511392B (en) Intelligent home network Combo equipment gateway selection method and control system
CN115175152A (en) Intelligent device binding method and device, storage medium and electronic device
CN105187549B (en) A kind of long-distance remote-control method and system of smart home device
CN115277280A (en) Control method of intelligent household equipment and control method of server
CN111010322B (en) Information configuration method and device, electronic equipment and storage medium
CN104110881A (en) Water heater and control method and control system thereof
CN113126510A (en) Household appliance control system and control method thereof
CN115296945B (en) Control method, system and device of equipment, storage medium and electronic device
WO2023202029A1 (en) Tag data adjustment method and apparatus, and storage medium
CN115499262A (en) Device control method, device, storage medium, and electronic apparatus

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: 22951800

Country of ref document: EP

Kind code of ref document: A1