Control method and device

By introducing a control method and device that does not require manual configuration of users in the whole-house intelligent system, the first device can automatically receive and integrate data information of multiple devices and push these information to related devices, solving the user's need to manually configure intelligence. The problem of home equipment has improved the intelligence and automation capabilities of whole-house intelligence.

WO2025026103A1PCT designated stage expired Publication Date: 2025-02-06HUAWEI TECH CO LTD
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/106668
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-08-02
Filing Date
2024-07-22
Publication Date
2025-02-06

AI Technical Summary

Technical Problem

In the whole-house smart scenario, users need to manually configure smart home devices in the control application, resulting in high professional requirements and low intelligence of the equipment.

Method used

Through a control method and device, the first device may receive data information sent by other devices without manual configuration by the user, integrate the information to determine the target information, and push the information to the second device subscribed to the information, thereby Automatically perform the corresponding operation.

Benefits of technology

It has improved the intelligence level of whole-house intelligence, reduced the professional requirements of users, and improved the automation capabilities of smart home devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024106668_06022025_PF_FP_ABST
    Figure CN2024106668_06022025_PF_FP_ABST
Patent Text Reader

Abstract

A control method and a device. The method can be applied to a first device and a second device, and each device can perform a corresponding operation without manual configuration by a user, thereby improving the intelligence level of the whole house intelligence to a certain extent. The method comprises: a second device subscribes to first information, the first information being information related to capabilities of the second device; a first device receives data information sent by one or more devices and determines the first information on the basis of the data information sent by the one or more devices; after determining the second device subscribing to the first information, the first device sends the first information to the second device; and the second device performs a first operation on the basis of the first information.
Need to check novelty before this filing date? Find Prior Art

Description

Control method and device

[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on August 2, 2023, with application number 202310970364.1 and application name “Control Method and Device”, the entire contents of which are incorporated by reference into this application. Technical Field

[0002] The embodiments of the present application relate to the field of whole-house intelligence, and more specifically, to a control method and device. Background Art

[0003] Currently, users are increasingly owning smart home devices, making it easier to create a whole-home smart experience. In this scenario, users typically configure scenarios for smart home devices within control applications. These devices typically perform actions based on these scenarios, requiring a high level of user expertise and resulting in a relatively low level of device intelligence.

[0004] Summary of the Invention

[0005] The present application provides a control method and device. In this technical solution, the device can perform corresponding operations without the need for manual configuration by the user, thereby improving the intelligence level of the entire house to a certain extent.

[0006] A first aspect provides a control method, which is applied to a first device and includes: receiving data information sent by one or more devices; determining first information based on the data information sent by the one or more devices; determining a second device that subscribes to the first information; and sending the first information to the second device.

[0007] The data information can be acquired by the device based on its own capabilities. For example, if the device is a temperature and humidity sensor, the data information can be temperature, humidity, etc.; if the device is a camera, the data information can be a video or image.

[0008] The number of the second device may be one or more, and is not limited in the embodiments of the present application. The type included in the first information may be one or more. For example, the first information includes one or more of temperature, humidity, whether someone is home, and whether no one is home.

[0009] Based on the embodiment of the present application, the first device can receive data information sent by one or more devices and determine the first information based on the data information; thereafter, the first device can determine the second device that subscribes to the first information and send the first information to the second device.

[0010] In this way, a first device can receive data information sent by one or more devices, integrate the data information sent by the one or more devices to determine the first information, and send the first information to a second device that has subscribed to the first information. This technical solution does not require manual configuration by the user; the first device can automatically perform the above operations, thereby improving the intelligence of the first device.

[0011] In combination with the first aspect, in an implementation of the first aspect, determining the second device that subscribes to the first information includes: receiving subscription information sent by the second device, where the subscription information is used to indicate that the second device subscribes to the first information; and determining the second device that subscribes to the first information based on the subscription information.

[0012] For example, the second device may send the subscription information to the first device when establishing a connection with the first device for the first time, thereby facilitating the first device to determine which devices have subscribed to the first information.

[0013] Alternatively, when the second device needs to determine the device that subscribes to the first information, it may send a request message to the connected device and receive the subscription information sent by the device, thereby determining which devices have subscribed to the first information.

[0014] This technical solution enables the first device to determine which second devices have subscribed to the first information, thereby accurately pushing the first information to the second devices.

[0015] In combination with the first aspect, in an implementation manner of the first aspect, determining the second device that subscribes to the first information includes: determining the second device that subscribes to the first information from information stored in a cloud server.

[0016] Exemplarily, the second device may also upload the subscribed information to the cloud server, so that the first device can access the cloud server and determine which devices have subscribed to the first information.

[0017] In combination with the first aspect, in an implementation method of the first aspect, when the first information is information with a specific numerical value, the sending of the first information to the second device includes: determining whether the difference between the first information and the second information is greater than a threshold, and the second information is information related to the first information obtained by the second device; when it is determined that the difference between the first information and the second information is greater than the threshold, sending the first information to the second device.

[0018] Exemplarily, the first information includes one or more of temperature value, humidity value, heart rate value, blood pressure value, etc.

[0019] The threshold value may be 0.5 or 0.3, etc., and the embodiment of the present application does not limit the specific value of the threshold value.

[0020] Based on the embodiments of the present application, when the first information is information with a specific numerical value, the first device can determine whether the difference between the first information and the second information related to the first information obtained by the second device is greater than a threshold value. When it is determined that the difference between the first information and the second information is greater than the threshold value, the first information can be sent to the second device.

[0021] This technical solution enables the first device to send the changed first information to the second device when determining that the data has changed, so that the second device can adjust the corresponding value, making the value in the second device more accurate.

[0022] In combination with the first aspect, in an implementation manner of the first aspect, before determining whether the difference between the first information and the second information is greater than a threshold, the method further includes: receiving the second information sent by the second device.

[0023] For example, the second device may periodically send the second information to the first device, thereby updating the second information obtained by the first device. Alternatively, the second device may send the changed second information to the first device when the second information changes, thereby enabling the first device to obtain the latest second information.

[0024] In combination with the first aspect, in an implementation of the first aspect, sending the first information to the second device includes: sending the first information and first indication information to the second device, wherein the first indication information is used to instruct the second device to perform a first operation according to the first information.

[0025] Exemplarily, the first device may determine the first operation that it needs to perform based on the capability information of the second device.

[0026] Based on the embodiment of the present application, the first device may also send first information and first instruction information to the second device, where the first instruction information is used to instruct the second device to perform the first operation according to the first information. This technical solution can enable the second device to perform a specific operation.

[0027] The second aspect provides a control method, which is applied to a second device, and includes: subscribing to first information, where the first information is information related to the capabilities of the second device; receiving the first information sent by the first device; and performing a first operation according to the first information.

[0028] Exemplarily, the second device may subscribe to the corresponding first information through a subscription registration interface, and may specify a first operation to be performed by the second device after receiving the first information.

[0029] Based on the embodiment of the present application, the second device can subscribe to the first information through the subscription registration interface, so that the first device can send the first information to the second device after determining the first information, and the second device can perform the first operation based on the first information.

[0030] In this way, the second device can subscribe to various information, thereby improving the diversity of actions performed by the second device. In addition, this technical solution does not require manual configuration by the user, and the second device can automatically perform corresponding actions, thereby improving the intelligence of the second device.

[0031] In combination with the second aspect, in an implementation manner of the second aspect, the method further includes: sending subscription information to the first device, where the subscription information is used to instruct the second device to subscribe to the first information.

[0032] For example, the second device may send the subscription information to the first device when establishing a connection with the first device for the first time.

[0033] Based on the embodiment of the present application, the second device may further send subscription information to the first device for instructing the second device to subscribe to the first information, thereby facilitating the first device to determine which devices have subscribed to the first information.

[0034] In combination with the second aspect, in an implementation manner of the second aspect, the method further includes: sending subscription information to a cloud server, where the subscription information is used to instruct the second device to subscribe to the first information.

[0035] For example, the second device may upload the subscription information to the cloud server when accessing the home network for the first time.

[0036] Based on the embodiment of the present application, the second device can also send subscription information to the cloud server to instruct the second device to subscribe to the first information, thereby facilitating the first device to obtain which devices have subscribed to the first information from the cloud server.

[0037] In combination with the second aspect, in an implementation manner of the second aspect, the method further includes: acquiring second information related to the first information; and sending the second information to the first device.

[0038] For example, the second device may periodically send the second information to the first device. Alternatively, when the second device determines that the second information has changed, the second device may send the changed second information to the first device, so that the first device can obtain the latest second information.

[0039] Based on the embodiment of the present application, the second device can also obtain second information related to the first information and send the second information to the first device, thereby facilitating the first device to make decisions and judgments.

[0040] In combination with the second aspect, in an implementation of the second aspect, the method further includes: receiving first indication information sent by the first device; wherein, performing a first operation according to the first information includes: performing a first operation according to the first indication information.

[0041] Based on the embodiment of the present application, the second device can also receive the first indication information sent by the first device, so that the second device can clearly know which operations to perform.

[0042] In other examples, the second device may not receive the first indication information and directly perform the first operation according to the first information. In this case, the first device does not send the first indication information to the second device.

[0043] For example, if the first information is temperature information, specifically 28 degrees Celsius, and the second device is a smart air conditioner that displays a temperature of 25 degrees Celsius, then after receiving the first information, the second device can adjust the displayed temperature to 28 degrees Celsius based on the first information. Alternatively, if the first information is that no one is home, and the second device is a smart air conditioner, then after receiving the first information, the second device can turn off the smart air conditioner based on the first information to save power.

[0044] The third aspect provides a first device, comprising: one or more processors; one or more memories; the one or more memories storing one or more programs, which, when executed by one or more processors, enable the control method described in the first aspect and any possible implementation thereof to be executed.

[0045] The fourth aspect provides a second device, comprising: one or more processors; one or more memories; the one or more memories storing one or more programs, which, when executed by one or more processors, enable the control method described in the second aspect and any possible implementation thereof to be executed.

[0046] The present application also provides a system, comprising the first device described in the third aspect and the second device described in the fourth aspect.

[0047] A fifth aspect provides a device comprising a module for implementing the control method as described in the first aspect, the second aspect and any possible implementation manner thereof.

[0048] The sixth aspect provides a device comprising a processor and a communication interface, wherein the communication interface is used to receive a signal and transmit the signal to the processor, and the processor processes the signal so that the control method described in the first aspect and any possible implementation thereof is executed.

[0049] The seventh aspect provides a device comprising a processor and a communication interface, wherein the communication interface is used to receive a signal and transmit the signal to the processor, and the processor processes the signal so that the control method described in the second aspect and any possible implementation thereof is executed.

[0050] The device in the sixth aspect and the seventh aspect may be a chip. For example, the chip may be a chip system or an independent chip.

[0051] An eighth aspect provides a readable storage medium having instructions stored therein. When the instructions are executed on a device, the control method described in the first aspect and any possible implementation thereof is executed.

[0052] A ninth aspect provides a readable storage medium having instructions stored therein. When the instructions are executed on a device, the control method described in the second aspect and any possible implementation thereof is executed.

[0053] A tenth aspect provides a program product, which includes a program code. When the program code is run on a device, the control method described in the first aspect and any possible implementation thereof is executed.

[0054] The eleventh aspect provides a program product, which includes a program code. When the program code is run on a device, the control method described in the second aspect and any possible implementation thereof is executed. BRIEF DESCRIPTION OF THE DRAWINGS

[0055] FIG1 is a schematic diagram of a scenario to which this application can be applied.

[0056] FIG2 is a schematic interaction diagram of a control method provided in an embodiment of the present application.

[0057] FIG3 is a schematic interaction diagram of another control method provided in an embodiment of the present application.

[0058] FIG4 is a schematic flow chart of a control method provided in an embodiment of the present application.

[0059] FIG5 is a schematic flow chart of another control method provided in an embodiment of the present application.

[0060] FIG6 is a schematic block diagram of a device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0061] The technical solution in this application will be described below with reference to the accompanying drawings.

[0062] The technical solutions in this application can be applied to control devices, Internet of Things (IOT) devices, etc.

[0063] The control device in the embodiment of the present application includes a smart host, etc. The IoT devices include smart TVs, smart lamps, smart speakers, smart air conditioners, security cameras, temperature and humidity sensors, wearable devices, smart curtains, smart door locks, etc., which are not specifically limited in the embodiment of the present application.

[0064] Currently, users are increasingly owning smart home devices, making it easier to create a whole-home smart experience. In this scenario, users typically configure scenarios for smart home devices within control applications. These devices typically perform actions based on these scenarios, requiring a high level of user expertise and resulting in a relatively low level of device intelligence.

[0065] In view of this, an embodiment of the present application provides a control method and device. In this technical solution, the device can perform corresponding operations without the need for manual configuration by the user, thereby improving the intelligence level of the entire house to a certain extent.

[0066] Figure 1 is a schematic diagram of a scenario that this application can adapt to. As shown in Figure 1, the scenario may include at least a device 100a, a smart switch 100b, a smart desk lamp 100c, a smart air conditioner 100d, a smart speaker 100e, and other devices.

[0067] For example, the device 100a may be a whole-house smart host, and the smart switch 100b, smart desk lamp 100c, smart air conditioner 100d, smart speaker 100e and other devices are smart devices owned by the user under the whole-house smart system.

[0068] The smart switch 100b, smart desk lamp 100c, smart air conditioner 100d, and smart speaker 100e can be wirelessly connected to the device 100a, and the wireless connection method includes but is not limited to Bluetooth, Bluetooth low energy, wireless fidelity (Wi-Fi), ultra wide band (UWB), etc. The smart switch 100b, smart desk lamp 100c, smart air conditioner 100d, and smart speaker 100e can also be wiredly connected to the device 100a, and the wired connection method includes but is not limited to power line communication (PLC) connection, Ethernet connection, etc.

[0069] In some examples, the above-mentioned smart devices can send their own capability information to device 100a. For example, for the smart switch 100b of the living room light, it has the ability to turn on or off the light, so the smart switch 100b automatically sends the capability information of turning on or off the light to device 100a. For the smart desk lamp 100c, it has a lighting function, so the smart desk lamp 100c automatically sends the capability information of the lighting function to device 100a. For the smart air conditioner 100d, it has the ability to adjust the temperature, adjust the humidity, adjust the air cleanliness, etc., so the smart air conditioner 100d automatically sends the capability information of the ability to adjust the temperature, adjust the humidity, adjust the air cleanliness, etc. to device 100a. For the smart speaker 100e, it has the ability to play music, play voice, etc., so the smart sound effect 100e automatically sends the capability information of the ability to play music, play voice, etc. to device 100a.

[0070] It should be understood that all smart devices owned by the user under the whole-home intelligence will automatically send their own capability information to device 100a, so that device 100a can obtain various capabilities of each device, so that device 100a can integrate various capability information.

[0071] In the embodiments of the present application, the smart devices can subscribe to various information related to their own capabilities. For example, each smart device connected to the whole-house intelligence system can be integrated with a software development kit (SDK) for the corresponding whole-house intelligence service. The SDK can provide a corresponding subscription registration interface, so that the smart device can subscribe to various information by calling the subscription registration interface.

[0072] For example, the smart air conditioner 100a can subscribe to temperature information, humidity information, and information about no one at home, etc. through the subscription registration interface.

[0073] It is understandable that each smart device can subscribe to one or more information through the above subscription registration interface, and the smart device can also send the subscribed information to device 100a, so that when the above information changes, device 100a can push the changed information to the corresponding smart device.

[0074] It should be understood that the name of the above subscription registration interface is only schematic. In other examples, the interface can also be called a subscription interface or a registration interface or other interfaces.

[0075] In other examples, the smart device may also automatically send data information acquired through its own capabilities to the device 100a, so that the device 100a can make corresponding judgments and decisions.

[0076] For example, the device 100a may determine some target information based on the data information sent by each device. For example, the target information may include one or more of the temperature value, humidity value, whether there is someone in the room, or whether there is someone at home.

[0077] For example, device 100a determines that the temperature in the room is 28 degrees Celsius using data sent by multiple devices (such as multiple temperature and humidity sensors), and the temperature determined by smart air conditioner 100d is 25 degrees Celsius (such as the temperature displayed by the air conditioner is 25 degrees Celsius). Device 100a determines that smart air conditioner 100a has subscribed to temperature information. Then, device 100a can send the temperature value 28 degrees determined by device 100a to smart air conditioner 100d, so that smart air conditioner 100d can adjust the corresponding temperature. Alternatively, device 100a can also send the determined temperature value 28 degrees Celsius and instruction information for instructing smart air conditioner 100d to continue cooling until the room temperature eventually reaches 25 degrees Celsius.

[0078] For example, device 100a uses multiple devices (such as millimeter wave sensors and cameras) to determine that no one is home. Device 100a also determines that smart air conditioner 100a has subscribed to the no-home information. At this point, smart air conditioner 100d is still operating. Device 100a can then send the no-home information to smart air conditioner 100d. Smart air conditioner 100d can then stop operating based on the no-home information, or after a preset time, thereby saving electricity and avoiding unnecessary resource waste.

[0079] For example, device 100a uses multiple devices (such as millimeter wave sensors and cameras) to determine that a room is occupied. If device 100a determines that smart air conditioner 100a has subscribed to this information, device 100a can send this information to smart air conditioner 100d. Upon receiving this information, smart air conditioner 100d can adjust the airflow direction to avoid direct airflow towards the user.

[0080] The control method in the embodiment of the present application will be described below with reference to Figures 2-5.

[0081] For example, Figure 2 is a schematic interactive diagram of a control method provided in an embodiment of the present application. As shown in Figure 2 , the method 200 may include steps 210 to 260 .

[0082] In some examples, the device A and the device C are the aforementioned smart devices, and the device B is a smart host. The device A and the device C are connected to the device B via wireless or wired means.

[0083] 210 , device C subscribes to first information related to its own capabilities.

[0084] For example, the device C may be integrated with an SDK for the corresponding service of the whole-house intelligence, and the SDK may provide a corresponding subscription registration interface, so that the smart device can subscribe to various information by calling the subscription registration interface.

[0085] For example, if device C is a smart air conditioner capable of adjusting temperature, humidity, and air cleanliness, the first information may include temperature information, humidity information, air cleanliness information, etc. Since the air conditioner may only be turned on when the user is at home and may be turned off when the user is away to save power, the first information may also include one or more of the following: home empty, home occupied, room empty, or room occupied.

[0086] After device C subscribes to the first information, device C can perform different functional operations after receiving different first information.

[0087] In this way, device C can conveniently subscribe to various information through the above subscription registration interface, thereby improving the intelligence level of device C and the diversity of usage results to a certain extent.

[0088] 220. Device A obtains data information related to its own capabilities.

[0089] In one example, a user's whole-home smart system may include multiple devices A of the same type, and each device A can obtain data information related to its own capabilities. For example, if device A is a temperature and humidity sensor, the user's room may have multiple temperature and humidity sensors, which can be installed in different locations in the room. In this case, each temperature and humidity sensor can be used to obtain data information such as temperature and humidity near the installation location. Alternatively, the user's home has multiple rooms, and one or more temperature and humidity sensors can be installed in each room.

[0090] In another example, a user's entire smart home might include multiple different types of devices A. For example, device A1 might be a temperature and humidity sensor, device A2 might be a security camera, and device A3 might be a smart door lock. In this case, each device A acquires different data. Device A1 acquires temperature and humidity information, device A2 acquires video and image information, and device A3 acquires fingerprint information.

[0091] In some cases, the number of the device A may be one, which is not limited in the embodiments of the present application.

[0092] 230. Device A sends data information to device B. Correspondingly, device B receives the data information.

[0093] For example, device A may send data information to device B once every preset time interval. Alternatively, device A may send the data information to device B when it first obtains the data information, and subsequently send the changed data information to the device when it determines that the obtained data information has changed.

[0094] 240. Device B determines first information according to one or more data information.

[0095] In one example, when there is only one device A, device B can determine the first information based on the data information sent by the single device A. For example, if device A is a camera in a room and the data information is a video image captured by the camera for a preset duration, device B can determine whether the room is occupied based on the video image. If device B analyzes the video image and determines that no one is present, device B can determine that the room is empty; if device B analyzes the video image and determines that a person is present, device B can determine that the room is occupied.

[0096] In another example, when there are multiple devices A, device B can determine the first information based on the data information sent by the multiple devices A. For example, if device A is a temperature and humidity sensor, and multiple temperature and humidity sensors are installed in the user's room, each temperature and humidity sensor can obtain information such as temperature and humidity values. If the first information is temperature information, device B can determine the final first information based on the multiple temperature values. For example, device B can use the average of the multiple temperature values ​​as the first information, or use the average of multiple temperature values ​​excluding the maximum and minimum values ​​as the first information. This can make the determined first information more accurate.

[0097] In another example, when there are multiple devices A, and the types of these devices A are different, device B can determine the first information based on the data information sent by the multiple devices A. For example, if device A1 is a camera in room A and device A2 is a millimeter wave sensor, the data information sent by device A1 is video information, and the data information sent by device A2 is information obtained by the millimeter wave sensor. If the first information is whether someone is home, device B can determine whether someone is home based on the video information and the information obtained by the millimeter wave sensor.

[0098] 250. Device B determines device C to subscribe to the first information.

[0099] In one example, device C can send the subscribed first information to device B, so that device B can determine which devices have subscribed to the first information. For example, when all smart devices in the user's whole-home smart system establish a connection with device B for the first time, they can send the subscribed first information to device B. Device B can store the correspondence between the device name and the subscribed first information. Therefore, in step 250, device B can determine the corresponding device name by querying the first information, and thus determine device C that has subscribed to the first information.

[0100] In other examples, device C may also upload the subscribed first information to the cloud server, so that device B may obtain from the cloud server which devices have subscribed to the first information.

[0101] It should be understood that in other examples, device B may also obtain device C that has subscribed to the first information through other methods. The embodiment of the present application does not limit the specific implementation method for device B to obtain device C that has subscribed to the first information.

[0102] 260. Device B sends first information to device C. Correspondingly, device C receives the first information.

[0103] It should be understood that when device B determines that there are multiple devices C that have subscribed to the first information, the first information can be sent to the multiple devices C. In this case, the types of the multiple devices C can be the same or different, which is not limited in this embodiment of the application.

[0104] 270. Device C performs a first operation according to the first information.

[0105] After receiving the first information, device C may perform a corresponding first operation.

[0106] For example, device C is a smart air conditioner that has subscribed to temperature information. The first information is the temperature information. Device B determines a temperature of 28 degrees Celsius using multiple temperature and humidity sensors. Device B can send this 28 degrees Celsius to the smart air conditioner. If the temperature displayed by the smart air conditioner is 25 degrees Celsius, the first operation can be to adjust the temperature displayed by the smart air conditioner to 28 degrees Celsius. This makes the temperature displayed by the air conditioner more accurate.

[0107] Alternatively, if device C is a smart air conditioner and the first information indicates that the room is unoccupied, device B can send the unoccupied information to the smart air conditioner after determining that the room is unoccupied. If the smart air conditioner is running, the first action can be to stop the smart air conditioner or to stop it after a preset time. In this way, the smart air conditioner stops running after the room is unoccupied, thereby saving energy and avoiding unnecessary resource waste.

[0108] For example, if device C is a smart air conditioner and the first information indicates that someone is in the room, device B can send this information to the smart air conditioner after confirming that someone is in the room. If the smart air conditioner is already running, the first action can be to adjust the airflow direction to avoid blowing directly at the user. This way, when someone is in the room, the smart air conditioner can adjust the airflow direction to avoid blowing directly at the user without any user intervention, providing a good user experience.

[0109] In other examples, device B may also send first instruction information to device C, where the first instruction information may be used to instruct device C to perform the first operation. In this case, device C may perform the first operation according to the first instruction information.

[0110] For example, device B may determine the first operation it needs to perform based on the capability information of device C, and may thereby send first instruction information to device C for instructing device C to perform the first operation. For example, if device C is a smart air conditioner and the first information is information about a person in the room, the first instruction information may be for instructing the smart air conditioner to turn on cooling or heating to adjust the room temperature.

[0111] It is understandable that the above description is based on the example of device C being a smart air conditioner, but this should not limit the scope of application of the embodiments of the present application. In other examples, the above device C can also be other IoT devices, which is not limited by the embodiments of the present application.

[0112] It should also be understood that the embodiments of the present application do not limit the specific execution order of steps 210 to 270. In other examples, some of steps 210 to 270 may be omitted or replaced by other steps. For example, step 210 may be omitted. In this case, it may be assumed that device C has subscribed to the first information, and method 200 may begin at step 220.

[0113] Based on the embodiment of the present application, smart device C can subscribe to various first information. When the smart host determines the corresponding first information through the data information obtained from other smart devices A, it can send the first information to smart device C, and smart device C can perform the corresponding first operation based on the first information.

[0114] In this way, smart device C can subscribe to various information based on its own capability information, thereby improving the intelligence level of smart device C to a certain extent. In addition, after device B determines the corresponding first information from the data information obtained from other smart device A, it can send the first information to smart device C, so that smart device C automatically performs the corresponding operation, thereby eliminating the need for manual configuration by the user and improving the user experience. Furthermore, device B (for example, a smart host) can integrate information from multiple devices and make decisions, thereby improving the intelligence level of the first device. In addition, the function of device C that does not require configuration information integration and decision-making simplifies the functional configuration of device C and greatly reduces the cost and R&D difficulty of device C.

[0115] FIG3 is a schematic interaction diagram of another control method provided by an embodiment of the present application. The method 300 may include steps 310 to 395.

[0116] 310. Device C subscribes to the first information.

[0117] 320. Device A obtains data information related to its own capabilities.

[0118] 330. Device A sends data information to device B. Correspondingly, device B receives the data information.

[0119] It should be understood that steps 310-330 can refer to the relevant descriptions in steps 210-230, and for the sake of brevity, they are not repeated here.

[0120] 340. Device C obtains second information related to the first information.

[0121] For example, if device C is a smart air conditioner and the first information is temperature information, the second information may be a specific temperature value obtained by the smart air conditioner, such as the temperature value displayed on the smart air conditioner. Alternatively, if device C is a central control panel, the second information may be the temperature value displayed on the central control panel.

[0122] 350. Device C sends second information to device B. Correspondingly, device C receives the second information.

[0123] For example, device C may periodically send the second information to device B, or device C may further send the second information to device B when the second information changes, which is not limited in this embodiment of the present application.

[0124] 360. Device B determines first information according to one or more data information.

[0125] 370. Device B determines device C to subscribe to the first information.

[0126] It should be understood that steps 360-370 can refer to the relevant descriptions in steps 240-250, and for the sake of brevity, they are not repeated here.

[0127] 380. Device B determines whether the difference between the first information and the second information is greater than a threshold.

[0128] The embodiment of the present application does not limit the specific value of the threshold. For example, the threshold may be 0.5 or 0.3.

[0129] Exemplarily, the first information is temperature information. For example, the first information is the temperature value determined by device B, and the second information is the temperature value displayed in device C. Device B can compare the first information and the second information to determine whether the difference between the first information and the second information is greater than a threshold.

[0130] In other examples, the first information also includes one or more information with specific numerical values, such as humidity information, heart rate value, blood pressure value, etc.

[0131] 390. When device B determines that the difference between the first information and the second information is greater than the threshold, device B sends the first information to device C. Correspondingly, device C receives the first information.

[0132] In other examples, when device B determines that the difference between the first information and the second information is less than or equal to a threshold, it may not send the first information to device C. In this way, since the difference between the first information and the second information is small, it can be understood that the values ​​of the first information and the second information are the same and the data has not changed. Therefore, device B may not send the first information to device C, thereby saving power consumption of devices B and C.

[0133] 395. Device C performs a first operation according to the first information.

[0134] For example, the first information is temperature information, the specific value of the second information obtained by device C is 25 degrees, and the temperature value determined by device B is 28 degrees. At this time, device B can send the temperature value of 28 degrees to device C. After device C receives the temperature value of 28 degrees, it can modify the temperature to 28 degrees.

[0135] For example, device C is a smart device such as a smart air conditioner or a central control panel that can display temperature information. In this way, the values ​​displayed by the smart air conditioner, the central control panel, and other devices can be more accurate.

[0136] It should be understood that the embodiments of the present application do not limit the specific execution order of steps 310 to 395. For example, steps 340-350 may be executed before or simultaneously with step 320. In other examples, some of steps 310 to 395 may be omitted or replaced by other steps. For example, step 310 may be omitted. In this case, it may be assumed that device C has subscribed to the first information, and the method 300 may begin execution at step 320.

[0137] In other examples, device B may also send first instruction information to device C, where the first instruction information may be used to instruct device C to perform a first operation. In this case, device C may perform the first operation according to the first instruction information, and details may be found in the above description.

[0138] Based on the embodiment of the present application, device C can subscribe to the first information and obtain the second information related to the first information; thereafter, device C can send the second information to device C; device A can obtain data information related to its own capabilities and send the data information to device B; device B can determine the first information based on the first or multiple data information, and determine the device C that subscribes to the first information, and determine whether the difference between the first information and the second information is greater than a threshold; when it is determined that the difference between the first information and the second information is greater than the threshold, the first information is sent to device C, so that device C performs the first operation based on the first information.

[0139] In this way, device C can subscribe to various information based on its own capabilities, thereby enhancing the intelligence of smart device C to a certain extent. Furthermore, device B (e.g., a smart host) can integrate information from multiple devices and make decisions, thereby enhancing the intelligence of the first device. Furthermore, device C's ability to integrate and make decisions without requiring configuration simplifies its functional configuration and significantly reduces the cost and development difficulty of device C. Furthermore, this technical solution can automatically calibrate the data in device C without manual user configuration, making the values ​​displayed on device C more accurate.

[0140] It can be understood that the technical solutions in the above-mentioned multiple embodiments can be used in combination with each other to form a new technical solution, and such a technical solution should not be considered to exceed the scope of protection of this application.

[0141] FIG4 is a schematic flow chart of a control method provided by an embodiment of the present application. As shown in FIG4 , the method 400 can be applied to a first device, and the method 400 can include steps 410 to 440.

[0142] 410. The first device receives data information sent by one or more devices.

[0143] Exemplarily, the data information may be information acquired by the device based on its own capabilities. For example, if the device is a temperature and humidity sensor, the corresponding data information may be temperature and humidity; if the device is a camera, the corresponding data information may be video images; if the device is a smart door lock, the corresponding data information may be detected fingerprint information.

[0144] The multiple devices may also be devices of the same type. For example, the multiple devices are all temperature and humidity sensors.

[0145] 420. The first device determines first information according to data information sent by one or more devices.

[0146] Exemplarily, the first information includes one or more of temperature, humidity, whether there is no one at home, whether there is someone at home, whether there is no one in the room, and whether there is someone in the room.

[0147] The type of information included in the first information may be one or more types. Alternatively, a device may subscribe to multiple types of information.

[0148] For a detailed description of how the first device determines the first information based on the data information sent by one or more devices, please refer to the description of device B determining the first information in step 240 above.

[0149] 430. The first device determines a second device that subscribes to the first information.

[0150] In one example, the second device can send the subscribed first information to the first device, so that the first device can determine which devices have subscribed to the first information. For example, when all smart devices in the user's whole-home smart system establish a connection with the first device for the first time, they can send their subscribed information to the first device. The first device can store the correspondence between the device name and the information it subscribes to, so that the first device can determine the corresponding device name by querying the first information, and thus can determine the second device that has subscribed to the first information.

[0151] In other examples, the second device may also upload the subscription information to the cloud server, so that the first device may obtain from the cloud server which devices have subscribed to the first information.

[0152] It should be understood that in other examples, the first device may also obtain the second device that subscribes to the first information through other methods. The embodiment of the present application does not limit the specific implementation method of the first device obtaining the second device that subscribes to the first information.

[0153] 440. The first device sends first information to the second device.

[0154] In one implementation, the first device may send the first information to the second device each time the first information is determined.

[0155] In another embodiment, the first device may further send the changed first information to the second device when the first information changes.

[0156] In another embodiment, the first device may further send the first information to the second device at preset time intervals.

[0157] The number of the second device may be one or more, which is not limited in the embodiment of the present application.

[0158] Based on the embodiment of the present application, the first device can receive data information sent by one or more devices and determine the first information based on the data information; thereafter, the first device can determine the second device that subscribes to the first information and send the first information to the second device.

[0159] In this way, a first device can receive data information sent by one or more devices, integrate the data information sent by the one or more devices to determine the first information, and send the first information to a second device that has subscribed to the first information. This technical solution does not require manual configuration by the user; the first device can automatically perform the above operations, thereby improving the intelligence of the first device.

[0160] In some embodiments, the first device determines the second device to subscribe to the first information, including:

[0161] The first device receives subscription information sent by the second device, where the subscription information is used to instruct the second device to subscribe to the first information;

[0162] The first device determines a second device that subscribes to the first information according to the subscription information.

[0163] The subscription information may also include multiple types of information. For example, if the second device is a smart air conditioner, the subscription information may include multiple types of information such as temperature information, humidity information, and whether or not there is anyone at home. In this case, the first information may include one or more types of the multiple types of information.

[0164] For example, the second device may send the subscription information to the first device when establishing a connection with the first device for the first time, thereby facilitating the first device to determine which devices have subscribed to the first information.

[0165] Alternatively, when the second device needs to determine the device that subscribes to the first information, it may send a request message to the connected device and receive the subscription information sent by the device, thereby determining which devices have subscribed to the first information.

[0166] This technical solution enables the first device to determine which second devices have subscribed to the first information, thereby accurately pushing the first information to the second devices.

[0167] In some embodiments, the first device determines the second device to subscribe to the first information, including:

[0168] The first device determines a second device that subscribes to the first information from the information stored in the cloud server.

[0169] Exemplarily, the second device may also upload the subscribed information to the cloud server, so that the first device can access the cloud server and determine which devices have subscribed to the first information.

[0170] This technical solution enables the first device to determine which second devices have subscribed to the first information, thereby accurately pushing the first information to the second devices.

[0171] In some embodiments, when the first information is information having a specific value, the first device sending the first information to the second device includes:

[0172] The first device determines whether a difference between the first information and the second information is greater than a threshold, where the second information is information related to the first information and obtained by the second device;

[0173] When determining that the difference between the first information and the second information is greater than a threshold, the first device sends the first information to the second device.

[0174] Exemplarily, the first information includes one or more of temperature value, humidity value, heart rate value, blood pressure value, etc.

[0175] The second information may be information related to the first information. For example, when the first information is a temperature value, the second information may also be a temperature value, so that the first device may compare the first information with the second information.

[0176] The threshold value may be 0.5 or 0.3, etc., and the embodiment of the present application does not limit the specific value of the threshold value.

[0177] Based on the embodiments of the present application, when the first information is information with a specific numerical value, the first device can determine whether the difference between the first information and the second information related to the first information obtained by the second device is greater than a threshold value. When it is determined that the difference between the first information and the second information is greater than the threshold value, the first information can be sent to the second device.

[0178] This technical solution enables the first device to send the changed first information to the second device when determining that the data has changed, so that the second device can adjust the corresponding value, making the value in the second device more accurate.

[0179] In some embodiments, before the first device determines whether the difference between the first information and the second information is greater than a threshold, the method 400 further includes:

[0180] The first device receives the second information sent by the second device.

[0181] For example, the second device may periodically send the second information to the first device, thereby updating the second information obtained by the first device. Alternatively, the second device may send the changed second information to the first device when the second information changes, thereby enabling the first device to obtain the latest second information.

[0182] In some embodiments, the first device sends the first information to the second device, including:

[0183] The first device sends first information and first indication information to the second device, where the first indication information is used to instruct the second device to perform a first operation according to the first information.

[0184] Exemplarily, the first device may determine the first operation that it needs to perform based on the capability information of the second device.

[0185] For example, the second device is a smart air conditioner that has the ability to adjust temperature, humidity, etc., then the first operation may be an operation related to adjusting temperature and humidity.

[0186] Based on the embodiment of the present application, the first device may also send first information and first instruction information to the second device, where the first instruction information is used to instruct the second device to perform the first operation according to the first information. This technical solution can enable the second device to perform a specific operation.

[0187] FIG5 is a schematic flow chart of another control method provided by an embodiment of the present application. As shown in FIG5 , the method 500 can be applied to the second device, and the method 500 can include steps 510 to 530.

[0188] 510. The second device subscribes to first information, where the first information is information related to the capability of the second device.

[0189] The second device may be integrated with an SDK for the corresponding whole-house smart service, and the SDK may provide a corresponding subscription registration interface, so that the second device can subscribe to various information by calling the subscription registration interface.

[0190] For example, the second device may be a smart air conditioner having the capability of adjusting temperature, humidity, etc. The smart air conditioner may subscribe to one or more of temperature information, humidity information, and home absence information through the subscription registration interface.

[0191] 520. The second device receives the first information sent by the first device.

[0192] Exemplarily, after the first device determines the first information, it may directly send the first information to the second device, and the second device receives the first information.

[0193] Alternatively, the first device may periodically send the first information to the second device, and the second device may periodically receive the first information sent by the first device.

[0194] 530. The second device performs a first operation according to the first information.

[0195] The first operation may be an operation related to the capabilities of the second device. For example, if the second device is a smart air conditioner, the second operation may be to adjust the temperature or humidity. Alternatively, if the first information indicates that no one is home, the first operation may be to turn off the smart air conditioner, thereby saving electricity and avoiding unnecessary waste of resources.

[0196] It should be understood that the first operation performed by the second device according to the first information can be determined when the second device subscribes to the first information through the subscription registration interface. In this way, the second device can subscribe to various information according to the capability information and specify the corresponding actions to be performed.

[0197] Based on the embodiment of the present application, the second device can subscribe to the first information through the subscription registration interface, so that the first device can send the first information to the second device after determining the first information, and the second device can perform the first operation based on the first information.

[0198] In this way, the second device can subscribe to various information, thereby improving the diversity of actions performed by the second device. In addition, this technical solution does not require manual configuration by the user, and the second device can automatically perform corresponding actions, thereby improving the intelligence of the second device.

[0199] In some embodiments, the method 500 further includes:

[0200] The second device sends subscription information to the first device, where the subscription information is used to instruct the second device to subscribe to the first information.

[0201] For example, the second device may send the subscription information to the first device when establishing a connection with the first device for the first time.

[0202] In other examples, the subscription information may also be used to indicate information other than the first information. For example, if the first information is temperature information, the subscription information may include temperature information and humidity information.

[0203] Based on the embodiment of the present application, the second device may further send subscription information to the first device for instructing the second device to subscribe to the first information, thereby facilitating the first device to determine which devices have subscribed to the first information.

[0204] In some embodiments, the method 500 further includes:

[0205] The second device sends subscription information to the cloud server, where the subscription information is used to instruct the second device to subscribe to the first information.

[0206] For example, the second device may upload the subscription information to the cloud server when accessing the home network for the first time.

[0207] Based on the embodiment of the present application, the second device can also send subscription information to the cloud server to instruct the second device to subscribe to the first information, thereby facilitating the first device to obtain which devices have subscribed to the first information from the cloud server.

[0208] In some embodiments, the method 500 further includes:

[0209] The second device obtains second information related to the first information;

[0210] The second device sends second information to the first device.

[0211] For example, the second device may periodically send the second information to the first device. Alternatively, when the second device determines that the second information has changed, the second device may send the changed second information to the first device, so that the first device can obtain the latest second information.

[0212] Based on the embodiment of the present application, the second device can also obtain second information related to the first information and send the second information to the first device, thereby facilitating the first device to make decisions and judgments.

[0213] In some embodiments, the method 500 further includes:

[0214] The second device receives the first indication information sent by the first device;

[0215] The second device performs the first operation according to the first information, including:

[0216] The second device performs the first operation according to the first indication information and the first information.

[0217] Based on the embodiment of the present application, the second device can also receive the first indication information sent by the first device, so that the second device can clearly know which operations to perform.

[0218] In other examples, the second device may not receive the first indication information and directly perform the first operation according to the first information. In this case, the first device does not send the first indication information to the second device.

[0219] For example, if the first information is temperature information, specifically 28 degrees Celsius, and the second device is a smart air conditioner that displays a temperature of 25 degrees Celsius, then after receiving the first information, the second device can adjust the displayed temperature to 28 degrees Celsius based on the first information. Alternatively, if the first information is that no one is home, and the second device is a smart air conditioner, then after receiving the first information, the second device can turn off the smart air conditioner based on the first information to save power.

[0220] Figure 6 is a schematic block diagram of a device provided in an embodiment of the present application. As shown in Figure 6, the device 600 may include one or more processors 610 and one or more memories 620. The one or more memories 620 store one or more instructions that, when executed by the one or more processors 610, enable the control method described in any of the possible implementations described above to be executed.

[0221] Exemplarily, the device 600 may be the device B, device C, first device, or second device mentioned above.

[0222] An embodiment of the present application also provides a device including a processor and a communication interface, wherein the communication interface is used to receive signals and transmit the signals to the processor, and the processor processes the signals so that the control method described in any possible implementation method described above is executed.

[0223] The device may be a chip. For example, the chip may be a chip system or an independent chip.

[0224] An embodiment of the present application further provides a readable storage medium, which stores instructions. When the instructions are executed on a device, the device executes the above-mentioned related method steps to implement the control method in the above-mentioned embodiment.

[0225] An embodiment of the present application further provides a program product, which, when executed on a device, causes the device to execute the aforementioned related steps to implement the control method in the aforementioned embodiment.

[0226] An embodiment of the present application also provides a system, including the first device and the second device as described above.

[0227] An embodiment of the present application also provides a control device, comprising a module for implementing the control method described in any of the above embodiments.

[0228] In addition, an embodiment of the present application also provides a device, which can specifically be a chip, component or module, and the device may include a connected processor and memory; wherein the memory is used to store instructions, and when the device is running, the processor can execute the instructions stored in the memory to enable the device to execute the control method in the above-mentioned method embodiments.

[0229] Among them, the equipment, readable storage medium, program product or device provided in this embodiment is used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above, and will not be repeated here.

[0230] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0231] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0232] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0233] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.

[0234] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0235] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling a device to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory, a random access memory, a magnetic disk, or an optical disk.

[0236] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.

Claims

1. A control method, characterized in that: The method is applied to a first device, and the method includes: Receive data information sent by one or more devices; Determine first information according to the data information sent by the one or more devices; Determine a second device that subscribes to the first information; The first information is sent to the second device.

2. The method according to claim 1, characterized in that The determining of subscribing to the second device of the first information includes: receiving subscription information sent by the second device, where the subscription information is used to instruct the second device to subscribe to the first information; Determine, according to the subscription information, a second device that subscribes to the first information.

3. The method according to claim 1, characterized in that: The determining of subscribing to the second device of the first information includes: A second device subscribed to the first information is determined from the information stored in the cloud server.

4. The method according to any one of claims 1 to 3, characterized in that In the case where the first information is information having a specific value, the sending the first information to the second device includes: determining whether a difference between the first information and second information is greater than a threshold, where the second information is information related to the first information acquired by the second device; When it is determined that the difference between the first information and the second information is greater than a threshold, the first information is sent to the second device.

5. The method according to claim 4, characterized in that Before determining whether the difference between the first information and the second information is greater than a threshold, the method further includes: Receive the second information sent by the second device.

6. The method according to any one of claims 1 to 3, characterized in that The sending the first information to the second device includes: The first information and first indication information are sent to the second device, where the first indication information is used to instruct the second device to perform a first operation according to the first information.

7. A control method, characterized in that: The method is applied to a second device, and the method includes: subscribing to first information, where the first information is information related to the capability of the second device; receiving the first information sent by the first device; A first operation is performed according to the first information.

8. The method according to claim 7, characterized in that The method further comprises: Subscription information is sent to the first device, where the subscription information is used to instruct the second device to subscribe to the first information.

9. The method according to claim 7, characterized in that: The method further comprises: Subscription information is sent to the cloud server, where the subscription information is used to instruct the second device to subscribe to the first information.

10. The method according to any one of claims 7 to 9, characterized in that: The method further comprises: Acquire second information related to the first information; The second information is sent to the first device.

11. The method according to any one of claims 7 to 10, characterized in that: The method further comprises: Receiving first indication information sent by the first device; The performing of the first operation according to the first information includes: Perform a first operation according to the first indication information and the first information.

12. A first device, characterized in that: include: one or more processors; One or more memories; the one or more memories store one or more programs, and when the one or more programs are executed by one or more processors, the control method as described in any one of claims 1 to 6 is executed.

13. A second device, characterized in that: include: one or more processors; One or more memories; the one or more memories store one or more programs, and when the one or more programs are executed by one or more processors, the control method as described in any one of claims 7-11 is executed.

14. A device, characterized in that: The device includes a processor and a communication interface, wherein the communication interface is used to receive a signal and transmit the signal to the processor, and the processor processes the signal so that the control method as described in any one of claims 1 to 6 is executed, or the control method as described in any one of claims 7 to 11 is executed.

15. A readable storage medium, characterized in that: The readable storage medium stores instructions, and when the instructions are executed on the device, the control method according to any one of claims 1 to 6 is executed, or the control method according to any one of claims 7 to 11 is executed.

Citation Information

Patent Citations

  • Subscription mechanism-based communication method and subject server

    CN105338014A

  • First machine, second machine, and method for controlling second machine by first machine

    CN106230882A

  • Household electrical appliance linkage control method, household electrical appliance, server, and system

    CN106647304A

  • Smart home management and control system based on ROS

    CN108828967A

  • Equipment control method, device and system, electronic equipment and storage medium

    CN110113232A