Control method and device

By introducing a control method that allows the device to automatically receive and integrate data information and push it in the whole-house intelligent system, the problem of low intelligence in the existing system is solved, and the automatic operation of the device and user professional requirements are realized. reduce.

CN119439767AActive Publication Date: 2025-02-14HUAWEI TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202310970364.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-08-02
Publication Date
2025-02-14
Estimated Expiration
2043-08-02

AI Technical Summary

Technical Problem

In the existing whole-house intelligent system, smart home devices require users to manually configure scenarios, resulting in high user professionalism and low level of equipment intelligence.

Method used

Through a control method and device, the device allows the device to receive data information sent by other devices without the need for manual configuration of the user, integrate information to determine the target information, and push it to the device subscribed to the information, so that the device can automatically perform corresponding operations .

Benefits of technology

It improves the intelligence level of the whole-house intelligent system, reduces the professional requirements of users, and realizes the automated operation of the equipment without the need for manual configuration of users.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119439767A_ABST
    Figure CN119439767A_ABST
Patent Text Reader

Abstract

The invention provides a control method and equipment. The method can be applied to a first device and a second device, and the method comprises the steps that the second device subscribes to first information, and the first information is information related to the capacity of the second device; the first device receives the data information sent by the one or more devices and determines first information according to the data information sent by the one or more devices; after determining a second device subscribing to the first information, the first device sends the first information to the second device; and the second equipment executes the first operation according to the first information. According to the technical scheme, the equipment can execute corresponding operation without manual configuration of a user, so that the intelligent degree of the whole house can be improved to a certain extent.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] Currently, users have more and more smart home devices, which provides convenience for building a smart home. In the scenario of a smart home, users are generally required to configure the scene of smart home devices in the control application. Smart home devices generally perform corresponding actions according to the configured scene, which requires high professionalism from users and the intelligence level of the devices is low. Summary of the invention

[0003] 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.

[0004] 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.

[0005] The data information may be acquired by the device according to its own capabilities. For example, if the device is a temperature and humidity sensor, the data information may be temperature, humidity, etc.; if the device is a camera, the data information may be a video screen or image.

[0006] The number of the second device may be one or more, which is not limited in the embodiment 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 at home, whether no one is at home, etc.

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

[0008] In this way, the 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 the second device that has subscribed to the first information. This technical solution does not require manual configuration by the user, and the first device can automatically perform the above operations, thereby improving the intelligence of the first device.

[0009] In combination with the first aspect, in an implementation method of the first aspect, determining the second device that subscribes to the first information includes: receiving subscription information sent by the second device, 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.

[0010] Exemplarily, 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.

[0011] 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.

[0012] This technical solution can enable the first device to determine which second devices have subscribed to the first information, so that the first information can be accurately pushed to the second devices.

[0013] 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.

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

[0015] 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, wherein sending 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, 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.

[0016] Exemplarily, the first information includes one or more of a temperature value, a humidity value, a heart rate value, a blood pressure value, and the like.

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

[0018] Based on the embodiment 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. When it is determined that the difference between the first information and the second information is greater than the threshold, the first information can be sent to the second device.

[0019] 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.

[0020] 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.

[0021] For example, the second device may periodically send the second information to the first device, so that the second information acquired by the first device can be updated. Alternatively, the second device may also send the changed second information to the first device when the second information changes, so that the first device can acquire the latest second information.

[0022] In combination with the first aspect, in an implementation method 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, the first indication information being used to instruct the second device to perform a first operation according to the first information.

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

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

[0025] 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.

[0026] 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.

[0027] 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 according to the first information.

[0028] 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 level of the second device.

[0029] 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.

[0030] 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.

[0031] Based on the embodiment of the present application, the second device may also send subscription information to the first device for indicating that the second device subscribes to the first information, thereby facilitating the first device to determine which devices have subscribed to the first information.

[0032] 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.

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

[0034] Based on the embodiment of the present application, the second device may also send subscription information to the cloud server to indicate that the second device has subscribed to the first information, thereby facilitating the first device to obtain from the cloud server which devices have subscribed to the first information.

[0035] 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.

[0036] Exemplarily, the second device may periodically send the second information to the first device. Alternatively, when determining 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.

[0037] 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.

[0038] In combination with the second aspect, in an implementation manner of the second aspect, the method also 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.

[0039] 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.

[0040] 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.

[0041] For example, if the first information is temperature information, specifically 28 degrees, and the second device is a smart air conditioner, and the displayed temperature is 25 degrees, then after receiving the first information, the second device can adjust the displayed temperature to 28 degrees according to the first information. Alternatively, if the first information is that no one is at home, and the second device is a smart air conditioner, after receiving the first information, the smart air conditioner can be turned off according to the first information to save power consumption.

[0042] 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, and when the one or more programs are executed by one or more processors, the control method described in the first aspect and any possible implementation thereof is executed.

[0043] 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, and when the one or more programs are executed by one or more processors, the control method described in the second aspect and any possible implementation thereof is executed.

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

[0045] 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.

[0046] 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.

[0047] 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.

[0048] 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.

[0049] An eighth aspect provides a readable storage medium, wherein the readable storage medium stores instructions, and when the instructions are executed on a device, the control method described in the first aspect and any possible implementation thereof is executed.

[0050] A ninth aspect provides a readable storage medium, wherein the readable storage medium stores instructions, and when the instructions are executed on a device, the control method described in the second aspect and any possible implementation thereof is executed.

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

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

[0053] Figure 1 It is a schematic diagram of the scenarios to which this application can be adapted.

[0054] Figure 2 It is a schematic interaction diagram of a control method provided in an embodiment of the present application.

[0055] Figure 3 It is a schematic interaction diagram of another control method provided in an embodiment of the present application.

[0056] Figure 4 It is a schematic flow chart of a control method provided in an embodiment of the present application.

[0057] Figure 5 It is a schematic flow chart of another control method provided in an embodiment of the present application.

[0058] Figure 6 It is a schematic block diagram of a device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0059] The technical solution in this application will be described below in conjunction with the accompanying drawings.

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

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

[0062] Currently, users have more and more smart home devices, which provides convenience for building a smart home. In the scenario of a smart home, users are generally required to configure the scene of smart home devices in the control application. Smart home devices generally perform corresponding actions according to the configured scene, which requires high professionalism from users and the intelligence level of the devices is low.

[0063] 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.

[0064] Figure 1 This is a schematic diagram of the scenarios to which this application can be applied. Figure 1 As shown, the scene may include at least devices such as device 100a, smart switch 100b, smart desk lamp 100c, smart air conditioner 100d, smart speaker 100e, etc.

[0065] For example, the device 100a may be a whole-house smart host. 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.

[0066] 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, low-power Bluetooth, 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.

[0067] 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 the 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., then 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 of music playback, voice playback, etc., then the smart sound effect 100e automatically sends the capability information of the ability of music playback, voice playback, etc. to device 100a.

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

[0069] In the embodiment of the present application, the above-mentioned smart device can subscribe to various information related to its own capabilities. For example, each smart device connected to the whole house intelligence can be integrated with a software development kit (SDK) of the whole house intelligence corresponding service, and 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.

[0070] 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.

[0071] 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.

[0072] 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.

[0073] In other examples, the above-mentioned smart device can also automatically send the data information obtained through its own capabilities to the device 100a, so that the device 100a can make corresponding judgments and decisions.

[0074] Exemplarily, the device 100a may determine some target information according to the data information sent by each device, such as 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, etc.

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

[0076] For another example, device 100a determines that no one is at home through multiple devices (such as millimeter wave sensors, cameras, etc.), and device 100a determines that smart air conditioner 100a has subscribed to the no one at home information. At this time, smart air conditioner 100d is still working, and device 100a can send the no one at home information to smart air conditioner 100d. Afterwards, smart air conditioner 100d can stop working according to the no one at home information, or stop working after a preset time, thereby saving electricity and avoiding unnecessary waste of resources.

[0077] For another example, device 100a determines that there is someone in the room through multiple devices (such as millimeter wave sensors, cameras, etc.), and device 100a determines that smart air conditioner 100a has subscribed to the information that there is someone in the room, then device 100a can send the information that there is someone in the room to smart air conditioner 100d. After receiving the information that there is someone in the room, smart air conditioner 100d can adjust the wind direction of smart air conditioner 100d to avoid blowing directly on the user.

[0078] The following will combine Figure 2-5 The control method in the embodiment of the present application is introduced.

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

[0080] In some examples, the device A and the device C are the above-mentioned smart devices, and the device B is a smart host. The device A and the device C are connected to the device B wirelessly or wiredly.

[0081] 210 , device C subscribes to first information related to its own capability.

[0082] Exemplarily, the device C may be integrated with an SDK for whole-house smart services, and the SDK may provide a corresponding subscription registration interface, so that the smart device may subscribe to various information by calling the subscription registration interface.

[0083] For example, device C is a smart air conditioner that has the ability to adjust temperature, humidity, air cleanliness, etc., and the first information includes temperature information, humidity information, air cleanliness information, etc. Since the user may need to turn on the air conditioner when he is at home, and the air conditioner can be turned off when the user is out to save power consumption, the first information also includes one or more of the following information: no one at home, someone at home, no one in the room, someone in the room, etc.

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

[0085] 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.

[0086] 220, device A obtains data information related to its own capabilities.

[0087] In one example, the user's whole-house intelligence 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 at 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.

[0088] In another example, the user's whole-home smart system may also include multiple different types of devices A. For example, device A1 is a temperature and humidity sensor, device A2 is a security camera, and device A3 is a smart door lock. In this case, the data information obtained by each device A is different. The data information obtained by device A1 is temperature information, humidity information, etc., the data information obtained by device A2 is video information, image information, etc., and the data information obtained by device A3 is fingerprint information, etc.

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

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

[0091] 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 acquiring the data information for the first time, and subsequently send the changed data information to the device when determining that the acquired data information has changed.

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

[0093] In one example, when the number of device A is one, device B can determine the first information based on the data information sent by the one device A. For example, device A is a camera in the room, and the data information is a video screen of a preset length acquired by the camera, then device B can determine whether there is someone in the room based on the video screen. When device B analyzes the video screen and determines that there is no one in the video screen, device B can determine that there is no one in the room; when device B analyzes the video screen and determines that there is someone in the video screen, device B can determine that there is someone in the room.

[0094] 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, device A is a temperature and humidity sensor, and multiple temperature and humidity sensors are installed in the user's room, then each temperature and humidity sensor can obtain information such as temperature value and humidity value. If the first information is temperature information, device B can determine the final first information based on multiple temperature values, such as device B uses the average value of multiple temperature values ​​as the first information, or uses the average value of multiple temperature values ​​excluding the maximum value and the minimum value among the multiple temperature values ​​as the first information. In this way, the determined first information can be made more accurate.

[0095] In another example, when there are multiple devices A and the types of the multiple devices A are different, device B can determine the first information based on the data information sent by the multiple devices A. For example, 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 image information, and the data information sent by device A2 is information obtained by the millimeter wave sensor. If the first information is whether there is someone at home, device B can determine whether there is someone at home based on the video image information and the information obtained by the millimeter wave sensor.

[0096] 250. Device B determines device C that subscribes to the first information.

[0097] In one example, device C may send the subscribed first information to device B, so that device B may 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 relationship with device B for the first time, they may send the first information they have subscribed to to device B. Device B may store the correspondence between the device name and the first information it has subscribed to, so that in step 250, device B may determine the corresponding device name by querying the first information, and thus may determine device C that has subscribed to the first information.

[0098] 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.

[0099] It should be understood that in other examples, device B may also obtain device C that has subscribed to the first information in other ways, and the embodiment of the present application does not limit the specific implementation method in which device B obtains device C that has subscribed to the first information.

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

[0101] 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 the embodiment of the present application.

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

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

[0104] For example, device C is a smart air conditioner, which subscribes to temperature information. The first information is temperature information. Device B determines the temperature of 28 degrees through multiple temperature and humidity sensors. Device B can send the 28 degrees to the smart air conditioner. If the temperature displayed by the smart air conditioner is 25 degrees, the first operation can be to adjust the temperature displayed by the smart air conditioner to 28 degrees. In this way, the temperature displayed by the air conditioner can be more accurate.

[0105] Alternatively, if device C is a smart air conditioner, and the first information is that no one is in the room, after device B determines that no one is in the room, it can send the room no-man information to the smart air conditioner. If the smart air conditioner is running, the first operation can be to stop the smart air conditioner or stop running after a preset time. In this way, when no one is in the room, the smart air conditioner stops running, thereby saving energy and avoiding unnecessary waste of resources.

[0106] For another example, device C is a smart air conditioner, and the first information is that someone is in the room. After device B determines that someone is in the room, it can send the information that someone is in the room to the smart air conditioner. If the smart air conditioner is running, the first operation can be to adjust the wind direction of the smart air conditioner to avoid the wind blowing directly on the user. In this way, when someone is in the room, the user does not need to perform any operation, and the smart air conditioner can adjust the wind direction to avoid the wind blowing directly on the user, giving the user a good experience.

[0107] In other examples, device B may also send first indication information to device C, and the first indication 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 indication information.

[0108] Exemplarily, device B may determine the first operation that needs to be performed according to the capability information of device C, and thus may send first instruction information for instructing device C to perform the first operation to device C. For example, device C is a smart air conditioner, and the first information is room occupancy information. The first instruction information may be used to instruct the smart air conditioner to turn on cooling or heating to adjust the room temperature.

[0109] 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.

[0110] It should also be understood that the embodiment of the present application does not limit the specific execution order of the above steps 210 to 270. In other examples, some of the above steps 210 to 270 may not be executed or replaced by other steps. For example, step 210 may not be executed. In this case, it may be assumed that device C has subscribed to the first information, and the method 200 may be executed starting from step 220.

[0111] Based on the embodiments 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.

[0112] In this way, smart device C can subscribe to various information according to its own capability information, thereby improving the intelligence 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 devices 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 users to perform manual configuration, thereby improving the user experience. Furthermore, device B (for example, a smart host) can integrate the information of multiple devices and make decisions, thereby improving the intelligence 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 research and development difficulty of device C.

[0113] Figure 3 300 is a schematic interactive diagram of another control method provided by an embodiment of the present application. The method 300 may include steps 310 to 395.

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

[0115] 320, device A obtains data information related to its own capabilities.

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

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

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

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

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

[0121] Exemplarily, device C may periodically send the second information to device B, or device C may also send the second information to device B when the second information changes, which is not limited in this embodiment of the present application.

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

[0123] 370. Device B determines device C that subscribes to the first information.

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

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

[0126] 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.

[0127] 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.

[0128] 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.

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

[0130] In other examples, when device B determines that the difference between the first information and the second information is less than or equal to the threshold, the first information may not be sent 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, so device B may not send the first information to device C, thereby saving power consumption of device B and device C.

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

[0132] Exemplarily, 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 a 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.

[0133] 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.

[0134] It should be understood that the specific execution order of the above steps 310 to 395 is not limited in the embodiment of the present application. For example, steps 340-350 may also be executed before step 320 or simultaneously. In other examples, some of the above steps 310 to 395 may not be executed or may be replaced by other steps. For example, step 310 may not be executed. In this case, it may be assumed that device C has subscribed to the first information, and the method 300 may be executed starting from step 320.

[0135] In other examples, device B may also send first indication information to device C, and the first indication 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 indication information, and details may refer to the relevant description in the foregoing text.

[0136] Based on the embodiments 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.

[0137] In this way, device C can subscribe to various information according to its own capability information, thereby improving the intelligence of smart device C to a certain extent. In addition, device B (for example, a smart host) can integrate the information of multiple devices and make decisions, thereby improving the intelligence of the first device. As a result, the function of device C does not need to be configured for information integration and decision-making, which simplifies the function configuration of device C and greatly reduces the cost and R&D difficulty of device C. Furthermore, the technical solution can automatically calibrate the data information in device C without manual configuration by the user, making the values ​​displayed in device C more accurate.

[0138] 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 protection scope of this application.

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

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

[0141] Exemplarily, the data information may be information acquired by the device according to 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 a video image; if the device is a smart door lock, the corresponding data information may be detected fingerprint information.

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

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

[0144] 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, whether there is someone in the room, and the like.

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

[0146] For a specific 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 related description of device B determining the first information in step 240 above.

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

[0148] In one example, the second device may send the subscribed first information to the first device, so that the first device may 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 may send their subscribed information to the first device. The first device may store the correspondence between the device name and the subscribed information, so that the first device may determine the corresponding device name by querying the first information, and thus determine the second device that has subscribed to the first information.

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

[0150] It should be understood that in other examples, the first device may also obtain the second device subscribed to the first information in other ways, and the embodiment of the present application does not limit the specific implementation method for the first device to obtain the second device subscribed to the first information.

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

[0152] In one implementation, the first device may send the first information to the second device each time after determining the first information.

[0153] In another implementation, the first device may also send the changed first information to the second device when the first information changes.

[0154] In another implementation, the first device may also send the first information to the second device at preset time intervals.

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

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

[0157] In this way, the 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 the second device that has subscribed to the first information. This technical solution does not require manual configuration by the user, and the first device can automatically perform the above operations, thereby improving the intelligence of the first device.

[0158] In some embodiments, the first device determines a second device that subscribes to the first information, including:

[0159] 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;

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

[0161] 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 information about no one at home. In this case, the first information may include one or more types of the multiple types of information.

[0162] Exemplarily, 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.

[0163] 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.

[0164] This technical solution can enable the first device to determine which second devices have subscribed to the first information, so that the first information can be accurately pushed to the second devices.

[0165] In some embodiments, the first device determines a second device that subscribes to the first information, including:

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

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

[0168] This technical solution can enable the first device to determine which second devices have subscribed to the first information, so that the first information can be accurately pushed to the second devices.

[0169] 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:

[0170] 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 acquired by the second device;

[0171] 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.

[0172] Exemplarily, the first information includes one or more of a temperature value, a humidity value, a heart rate value, a blood pressure value, and the like.

[0173] 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.

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

[0175] Based on the embodiment 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. When it is determined that the difference between the first information and the second information is greater than the threshold, the first information can be sent to the second device.

[0176] 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.

[0177] 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:

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

[0179] For example, the second device may periodically send the second information to the first device, so that the second information acquired by the first device can be updated. Alternatively, the second device may also send the changed second information to the first device when the second information changes, so that the first device can acquire the latest second information.

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

[0181] 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.

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

[0183] 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.

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

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

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

[0187] 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 may subscribe to various information by calling the subscription registration interface.

[0188] Exemplarily, the second device may be a smart air conditioner, which has the ability to adjust 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.

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

[0190] Exemplarily, after the first device determines the first information, the first information may be directly sent to the second device, and the second device receives the first information.

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

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

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

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

[0195] 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 according to the first information.

[0196] 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 level of the second device.

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

[0198] 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.

[0199] 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.

[0200] In some 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.

[0201] Based on the embodiment of the present application, the second device may also send subscription information to the first device for indicating that the second device subscribes to the first information, thereby facilitating the first device to determine which devices have subscribed to the first information.

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

[0203] 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.

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

[0205] Based on the embodiment of the present application, the second device may also send subscription information to the cloud server to indicate that the second device has subscribed to the first information, thereby facilitating the first device to obtain from the cloud server which devices have subscribed to the first information.

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

[0207] The second device acquires second information related to the first information;

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

[0209] Exemplarily, the second device may periodically send the second information to the first device. Alternatively, when determining 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.

[0210] 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.

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

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

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

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

[0215] 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.

[0216] 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.

[0217] For example, if the first information is temperature information, specifically 28 degrees, and the second device is a smart air conditioner, and the displayed temperature is 25 degrees, then after receiving the first information, the second device can adjust the displayed temperature to 28 degrees according to the first information. Alternatively, if the first information is that no one is at home, and the second device is a smart air conditioner, after receiving the first information, the smart air conditioner can be turned off according to the first information to save power consumption.

[0218] Figure 6 is a schematic block diagram of a device provided in an embodiment of the present application. Figure 6 As shown, the device 600 may include one or more processors 610; one or more memories 620; the one or more memories 620 store one or more instructions, and when the instructions are executed by one or more processors 610, the control method described in any possible implementation method in the foregoing text is executed.

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

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

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

[0222] An embodiment of the present application also provides a readable storage medium, in which instructions are stored. 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.

[0223] The embodiment of the present application also provides a program product. When the program product is run on a device, the device executes the above-mentioned related steps to implement the control method in the above-mentioned embodiment.

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

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

[0226] In addition, an embodiment of the present application also provides a device, which may 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 may execute the instructions stored in the memory so that the device executes the control method in the above-mentioned method embodiments.

[0227] 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.

[0228] 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 to be beyond the scope of this application.

[0229] Those skilled in the art can 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.

[0230] In the several embodiments provided in the present 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 only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, 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.

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

[0232] 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.

[0233] 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 can be essentially or partly embodied in the form of a software product that contributes to the prior art. The software product is stored in a storage medium and includes several instructions for 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 media include: various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories, random access memories, magnetic disks or optical disks.

[0234] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope 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

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

    CN106230882A

  • Smart home management and control system based on ROS

    CN108828967A

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

    CN114153153A

  • Equipment state monitoring method and device, equipment and storage medium

    CN115380256A

  • Air conditioner and environment temperature processing method of air conditioner

    CN115540042A