Control method and device of Internet of Things equipment, storage medium and electronic device

By acquiring and processing the historical control information of IoT devices and using the prediction model to correct the control information, the control accuracy of IoT devices is improved and the problem of low control accuracy in the existing technology is solved.

CN114815645BActive Publication Date: 2024-10-22QINGDAO HAIER TECH +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210410381.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-19
Publication Date
2024-10-22
Estimated Expiration
2042-04-19

AI Technical Summary

Technical Problem

Existing control methods for IoT devices have low control accuracy and cannot effectively correct user intention recognition errors.

Method used

By obtaining the historical control related information and historical control information of the IoT device, the corresponding relationship of the control related information is determined, the control related information is processed based on the prediction model, the target control information is corrected, and finally the IoT device is processed based on the corrected control information. control operations.

Benefits of technology

The control accuracy of the Internet of Things device is improved, the control information can be accurately determined according to the user's fuzzy instructions, and the problem of low control accuracy in the existing technology is solved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114815645B_ABST
    Figure CN114815645B_ABST
Patent Text Reader

Abstract

The present application discloses a control method, storage medium and electronic device for an Internet of Things device, and relates to the field of smart home technology. The control method for the Internet of Things device includes: obtaining control association information, wherein the control association information is used to trigger a control operation on the Internet of Things device; in the case of obtaining historical control association information of the Internet of Things device and historical control information of the Internet of Things device, determining the first control information corresponding to the control association information according to the correspondence between the historical control association information and the historical control information; correcting the second control information based on the first control information to obtain the target control information, wherein the second control information is a processing result obtained by processing the control association information through a prediction model; and controlling the target Internet of Things device according to the target control information. The present application solves the technical problem that the control accuracy of the existing control method for Internet of Things devices is low.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of smart home technology, and in particular to a control method and device for an Internet of Things device, a storage medium and an electronic device. Background Art

[0002] In smart home scenarios, the user's true intention is usually identified based on the user's current instructions and behaviors, and subsequent behaviors are predicted, so as to realize intelligent and automated control of home appliances. However, the control logic of the control method of IoT devices currently used to understand the user's true intention is usually relatively simple. If the result of identifying the user's intention is wrong, the control method itself cannot be corrected. In other words, the existing control method of IoT devices has the technical problem of low control accuracy.

[0003] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention

[0004] The embodiments of the present invention provide a control method and device for an Internet of Things device, a storage medium, and an electronic device, so as to at least solve the technical problem that the control accuracy of the existing control method for an Internet of Things device is low.

[0005] According to one aspect of an embodiment of the present invention, a control method for an Internet of Things device is provided, comprising: obtaining control association information, wherein the control association information is used to trigger a control operation on the Internet of Things device; in a case where historical control association information of the Internet of Things device and historical control information of the Internet of Things device are obtained, determining first control information corresponding to the control association information according to a correspondence between the historical control association information and the historical control information; correcting second control information based on the first control information to obtain target control information, wherein the second control information is a processing result obtained by processing the control association information through a prediction model; and controlling a target Internet of Things device according to the target control information.

[0006] According to another aspect of an embodiment of the present invention, a control device for an Internet of Things device is provided, comprising: an acquisition unit for acquiring control association information, wherein the control association information is used to trigger a control operation on the Internet of Things device; a determination unit for determining first control information corresponding to the control association information according to a correspondence between the historical control association information and the historical control information when historical control association information of the Internet of Things device and historical control information of the Internet of Things device are acquired; a correction unit for correcting the second control information based on the first control information to obtain target control information, wherein the second control information is a processing result obtained by processing the control association information through a prediction model; and a control unit for controlling a target Internet of Things device according to the target control information.

[0007] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the control method of the Internet of Things device when running.

[0008] According to another aspect of an embodiment of the present invention, there is further provided an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to execute the control method of the Internet of Things device through the computer program.

[0009] In an embodiment of the present invention, control association information is obtained, wherein the control association information is used to trigger a control operation on an Internet of Things device; when historical control association information of the Internet of Things device and historical control information of the Internet of Things device are obtained, first control information corresponding to the control association information is determined based on the correspondence between the historical control association information and the historical control information; the second control information is corrected based on the first control information to obtain target control information, wherein the second control information is a processing result obtained by processing the control association information through a prediction model; the target Internet of Things device is controlled according to the target control information, so that the control information determined in a variety of ways is further determined through correction operations to obtain the target control information for controlling the Internet of Things device, thereby achieving the technical effect of accurately determining the control information according to the user's fuzzy instructions, thereby solving the technical problem of low control accuracy in the existing control method of the Internet of Things device. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0011] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0012] Figure 1 is a schematic diagram of a hardware environment of an optional control method for an Internet of Things device according to an embodiment of the present invention;

[0013] Figure 2 is a flow chart of an optional control method of an Internet of Things device according to an embodiment of the present invention;

[0014] Figure 3 is a flow chart of another optional control method of an Internet of Things device according to an embodiment of the present invention;

[0015] Figure 4 is a schematic structural diagram of an optional control device for an Internet of Things device according to an embodiment of the present invention;

[0016] Figure 5 is a schematic structural diagram of an optional electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0017] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0018] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0019] According to one aspect of the embodiments of the present application, a control method for an Internet of Things device is provided. The interaction method of the Internet of Things device is widely used in smart home (Smart Home), smart home, smart home device ecology, smart residential (Intelligence House) ecology and other whole-house intelligent digital control application scenarios. Optionally, in this embodiment, the interaction method of the Internet of Things device can be applied to Figure 1 In the hardware environment composed of the terminal device 102 and the server 104 shown in FIG. Figure 1 As shown, the server 104 is connected to the terminal device 102 via a network, and can be used to provide services (such as application services, etc.) for the terminal or a client installed on the terminal. A database can be set on the server or independently of the server to provide data storage services for the server 104. Cloud computing and / or edge computing services can be configured on the server or independently of the server to provide data computing services for the server 104.

[0020] The network may include but is not limited to at least one of the following: wired network, wireless network. The wired network may include but is not limited to at least one of the following: wide area network, metropolitan area network, local area network, and the wireless network may include but is not limited to at least one of the following: WIFI (Wireless Fidelity), Bluetooth. The terminal device 102 may be but is not limited to a PC, a mobile phone, a tablet computer, a smart air conditioner, a smart range hood, a smart refrigerator, a smart oven, a smart stove, a smart washing machine, a smart water heater, a smart washing device, a smart dishwasher, a smart projection device, a smart TV, a smart clothes drying rack, a smart curtain, a smart audio and video, a smart socket, a smart speaker, a smart fresh air device, a smart kitchen and bathroom device, a smart bathroom device, a smart sweeping robot, a smart window cleaning robot, a smart mopping robot, a smart air purification device, a smart steamer, a smart microwave oven, a smart kitchen treasure, a smart purifier, a smart water dispenser, a smart door lock, etc.

[0021] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described action sequence, because according to the present invention, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.

[0022] According to one aspect of an embodiment of the present invention, Figure 2 As shown, the control method of the above-mentioned Internet of Things device includes the following steps:

[0023] S202, obtaining control-related information, wherein the control-related information is used to trigger a control operation on the IoT device;

[0024] It should be noted that the information form of the above control-related information can be voice information, image information, operation control information, sensor information, etc., which are used to trigger the control operation of the IoT device. This implementation does not limit the specific form and content of the above control-related information. The specific form of the possible control-related information and the corresponding control operation content are explained below:

[0025] For example, in the case where the above-mentioned control-related information is the user's voice information, the above-mentioned voice information can be specifically the user's voice control command, such as "turn on the TV", which is used to trigger the start control operation of the smart TV; it can also be the user's non-control voice, such as when the user's voice "It's so hot" is detected, it triggers the control operation of turning on the air conditioner.

[0026] For another example, when the above-mentioned associated control information is image information, the above-mentioned image information may be image information of a user lying on a sofa. When the image information is detected, the start control operation of the smart TV can be triggered; when the image information of the user opening the door at home is detected, the start control operation of the home smart lighting system can be triggered.

[0027] For another example, the above-mentioned associated information may also be sensor information. For example, when a sensor signal of a pressure sensor built into a sofa is detected, it is determined that the user is lying on the sofa, and the start operation of the smart TV can be triggered; when a sensor signal of a pressure sensor built into a spring bed is detected, it is determined that the user is lying on the bed, and the control operation of the smart curtain can be triggered to control the closing of the smart curtain.

[0028] S204, when the historical control association information of the IoT device and the historical control information of the IoT device are acquired, determine first control information corresponding to the control association information according to the correspondence between the historical control association information and the historical control information;

[0029] It should be noted that the control information in this embodiment at least includes the device identification and control parameters of the IoT device to be controlled. As an optional method, when the control information is "air conditioning; 28°C", it indicates that the air conditioning device is adjusted to a control state of 28°C; for example, when the control information is "light; 80%", it indicates that the smart light device is adjusted to a state of 80% brightness. As another optional method, the above control information may also include room information where the IoT device to be controlled is located, such as "air conditioning; master bedroom; 28°C", indicating that the air conditioning in the master bedroom is adjusted to a control state of 28°C. The above method of controlling IoT devices through control information is only an example, and does not limit the specific form of the control information and the specific control method in this embodiment.

[0030] The correspondence between the above historical control-related information and the historical control information may be a correspondence determined through data mining. For example, the usage habit information of the first user group is determined through data mining, and the correspondence between the first historical control-related information and the first historical control information. As an optional method, assuming that in the user usage habit information of the first user group obtained through data mining, after the user utters the voice "It's so hot", eighty percent of the users will control to turn on the air conditioner and adjust it to 24°C, and then it can be determined that there is a correspondence between the first historical control-related information "It's so hot" and the first historical control information "Air conditioning; 24°C". When the user's voice message "It's so hot" is received again, according to the above correspondence, it is determined that the control information corresponding to the current control-related information is "Air conditioning; 24°C".

[0031] In another embodiment, the correspondence between the current user's device usage habits and the device control method is determined through data mining. For example, in the current user's usage habit information obtained through data mining, after the control-related information "the sofa pressure sensor detects a pressure signal" is detected, the probability of the device control operation "turn on the TV" is 80%, and then it is determined that there is a correspondence between the control-related information "the sofa pressure sensor detects a pressure signal" and the control information "turn on the TV". Then, when the pressure signal of the sofa pressure sensor is detected, the first control information "TV; start state" is generated according to the above correspondence.

[0032] S206, modifying the second control information based on the first control information to obtain target control information, wherein the second control information is a processing result obtained by processing the control-related information through the prediction model;

[0033] As an optional method, the above-mentioned prediction model can be a multi-classification prediction model, which takes the feature vector of the above-mentioned control association information as input, outputs the above-mentioned multi-classification prediction model, and outputs the second control information. It can be understood that the above-mentioned second control information can include IoT device identification information and control parameter information. In another optional method, the above-mentioned prediction model can also be a support vector machine model, which can be a data-based machine learning algorithm to train different control association relationships and corresponding relationships of control information as samples to form a control information classification model. As a classifier based on a machine learning algorithm, the classification model can output control information based on the control association information.

[0034] It should be noted that the method of modifying the second control information by the first control information may be one or more of the following methods: replacing the second control information according to the first control information; replacing the IoT device identifier in the second control information according to the IoT device identifier in the first control information; replacing the control parameter information in the second control information according to the control parameter information in the first control information. The above method is only an example and does not limit the actual modification method.

[0035] S208, controlling the target IoT device according to the target control information.

[0036] The above steps are described below in conjunction with a specific implementation method.

[0037] Assume that the acquired control-related information is the user's voice message "It's so hot." Based on the historical control-related information and the association relationship between the historical control information, it is determined that the first control information corresponding to the control-related information "It's so hot" is "air conditioning; 24°C", indicating that the air conditioning is adjusted to 24°C; at the same time, based on the prediction model, the control-related information is processed, and the output second control information is "fan; 3", indicating that the fan is adjusted to level 3. The second control information is corrected based on the first control information. In this embodiment, the weight index of the first control information is higher than the weight index of the second control information, and the first control information is determined to be the target control information, and the air conditioning equipment is adjusted to 24°C based on the target control information "air conditioning; 24°C".

[0038] In an embodiment of the present invention, control association information is obtained, wherein the control association information is used to trigger a control operation on an Internet of Things device; when historical control association information of the Internet of Things device and historical control information of the Internet of Things device are obtained, first control information corresponding to the control association information is determined according to the correspondence between the historical control association information and the historical control information; the second control information is corrected based on the first control information to obtain target control information, wherein the second control information is a processing result obtained by processing the control association information through a prediction model; the target Internet of Things device is controlled according to the target control information, so that the target control information for controlling the Internet of Things device is further determined through correction operations based on the control information determined in a variety of ways, thereby solving the technical problem of low control accuracy in existing control methods for Internet of Things devices.

[0039] As an optional implementation manner, the above-mentioned modifying the second control information based on the first control information to obtain the target control information includes:

[0040] S1, obtaining a first weight index corresponding to the first control information and a second weight index corresponding to the second control information, wherein the first weight index is used to indicate the accuracy of the first control information, and the second weight index is used to indicate the accuracy of the second control information;

[0041] S2. Determine target control information according to the first weight index, the first control information, the second weight index, and the second control information.

[0042] It can be understood that in this embodiment, the first control information determined by the correspondence between the historical control association information and the historical control information and the second control information output by the prediction model can be pre-configured with a weight index, and the second control information can be corrected based on the weight index to obtain the target control information.

[0043] Through the above-mentioned implementation mode of the present application, a first weight index corresponding to the first control information and a second weight index corresponding to the second control information are obtained, wherein the first weight index is used to indicate the accuracy of the first control information, and the second weight index is used to indicate the accuracy of the second control information; the target control information is determined according to the first weight index, the first control information, the second weight index, and the second control information, so that based on one control information, multiple control information are determined through multiple channels, and the target control information is determined based on the weight indices corresponding to different control information, thereby solving the technical problem of inaccurate control results of the control method of the existing Internet of Things device.

[0044] As an optional implementation manner, the above-mentioned correcting the second control information based on the first control information to obtain the target control information includes:

[0045] S1, when the first weight index is greater than or equal to the second weight index, taking the first control information as the target control information;

[0046] S2: When the first weight index is smaller than the second weight index, the second control information is used as the target control information.

[0047] It is understandable that in this embodiment, the target control information is determined according to the control information with a larger weight index. It is understandable that when the identifiers of the IoT devices included in the first control information and the second control information are different, the control information with a larger weight index can be directly used as the target control information. For example: the acquired control association information is the user's voice information "It's so hot". Based on the association relationship between the historical control association information and the historical control information, it is determined that the first control information corresponding to the control association information "It's so hot" is "air conditioning; 24°C", indicating that the air conditioning is adjusted to 24°C; at the same time, the control association information is processed based on the prediction model, and the output second control information is "fan; 3", indicating that the fan is adjusted to level 3. The second control information is corrected based on the above-mentioned first control information. In this embodiment, the weight index of the first control information is higher than the weight index of the second control information, and the first control information is determined to be the target control information, and the air conditioning equipment is adjusted to 24°C based on the target control information "air conditioning; 24°C".

[0048] As another optional implementation, when the device identifier included in the first control information is the same as the IoT device identifier included in the second control information, the method further includes:

[0049] S1, based on the first weight index and the second weight index, performing a weighted sum calculation on the first control parameter included in the first control information and the second control parameter included in the second control information to determine a target control parameter;

[0050] S2, takes the IoT device identification and target control parameters as target control information.

[0051] It can be understood that when the IoT device identifiers included in the first control information and the second control information are the same, the target control information can be further determined based on the first weight index and the second weight index, and then the target control information can be determined based on the same IoT device identifier and target control information.

[0052] For example: Assume that the acquired control-related information is the user's voice information "It's so hot". Based on the historical control-related information and the association relationship between the historical control information, it is determined that the first control information corresponding to the control-related information "It's so hot" is "air conditioning; 24°C", indicating that the air conditioning is adjusted to 24°C; at the same time, based on the prediction model, the above control-related information is processed, and the output second control information is "air conditioning; 28°C", indicating that the air conditioning is adjusted to 28°C. The second control information is corrected based on the above first control information. In this embodiment, it is assumed that the weight index of the first control information is 5 and the weight index of the second control information is 10. Then, based on the weight index of the first control information and the weight index of the second control information, the target control parameter is determined by weighted summation calculation, that is, the target control parameter = (24*5+28*10) / (5+10) = 26.7, that is, the target control information is determined to be "air conditioning; 26.7°C", and the air conditioning equipment is adjusted to 26.7°C based on the target control information "air conditioning; 26.7°C".

[0053] As an optional implementation manner, the above-mentioned determining the first control information corresponding to the control association information according to the correspondence between the historical control association information and the historical control information further includes:

[0054] S1, searching the acquired control-related information in a historical control database to obtain third control information, wherein the historical control database includes a correspondence between a plurality of historical control-related information and a plurality of historical control information;

[0055] S2, modifying the third control information according to the historical feedback information to obtain fourth control information;

[0056] S3, extracting a fourth device identifier and a fourth control parameter included in the fourth control information, and modifying the fourth control parameter using a knowledge base corresponding to the fourth device identifier, wherein the knowledge base includes a set of IoT device control functions and an optional range of control parameters;

[0057] S4. Use the fourth device identifier and the modified fourth control parameter as the first control information.

[0058] Specifically, the above historical feedback information may be feedback adjustment information of the user on the prediction result. Feedback adjustment information may be a correction operation performed by the user on the control operation within a preset period of time after the device is controlled based on the prediction result. For example: in a certain historical control operation, according to the user's voice "It's so hot", the predicted control information is "air conditioning; 24°C", and after the air conditioning is controlled based on the control information, the user adjusts the air conditioning to 26°C within 5 minutes, and the user's adjustment operation is recorded in the historical feedback information.

[0059] It should be noted that the above-mentioned knowledge base may be a preset control rule for a certain IoT device. In an optional manner, the above-mentioned knowledge base may include executable functions of various categories of IoT devices and the range of parameters of each function, such as the adjustable temperature of an air conditioner within a range of 16-32°C.

[0060] The following is explained in a specific way. Assuming that the user's voice message "It's so hot" is detected, a search is performed in the historical control database based on the control-related information "It's so hot" to determine that the third control information matching "It's so hot" is "Air conditioning; 24°C"; further, historical feedback information is obtained, and a historical feedback information is obtained: within 5 minutes after the user controls the air conditioner based on the prediction result, the air conditioner is turned off, the electric fan is turned on, and it is adjusted to the 4th gear, and then the fourth control information is obtained based on the user feedback information as "Electric fan; 4"; then the parameter range of the current electric fan is retrieved in the knowledge base corresponding to the electric fan. Assuming that the user has recently replaced a new fan, the current fan only supports adjusting the air volume to 3 gears, and then the fourth control information "Electric fan; 4" is adjusted to "Electric fan; 3" based on the knowledge base of the current fan, and then "Electric fan; 3" is determined to be the first control information.

[0061] Through the above-mentioned implementation mode of the present application, the acquired control-related information is retrieved in the historical control database to obtain the third control information; the third control information is corrected according to the historical feedback information to obtain the fourth control information; the fourth device identifier and the fourth control parameter included in the fourth control information are extracted, and the fourth control parameter is corrected with the knowledge base corresponding to the fourth device identifier; the fourth device identifier and the corrected fourth control parameter are used as the first control information, and then the accurate control information result is determined, thereby improving the accuracy of device control.

[0062] As an optional implementation manner, after controlling the target IoT device according to the target control information, the method further includes:

[0063] S1, when a correction operation is detected, recording correction operation information corresponding to the correction operation, wherein the correction operation information includes a correction device identifier and correction device parameters;

[0064] S2, updating the historical feedback information according to the corresponding relationship between the control association information and the correction operation information.

[0065] The above method is described below in conjunction with a specific example. During a certain control operation in history, based on the user's voice "It's so hot", the predicted control information is "air conditioning; 24°C", and after the air conditioning is controlled based on the control information, the user adjusts the air conditioning to 26°C within 5 minutes, and the user's adjustment operation is recorded in the historical feedback information.

[0066] Through the above-mentioned implementation mode of the present application, when a correction operation is detected, the correction operation information corresponding to the correction operation is recorded, and the correction operation information includes a correction device identification and correction device parameters; the historical feedback information is updated according to the correspondence between the control association information and the correction operation information, so as to accurately record the user's adjustment method based on the device control prediction result, and further update the historical feedback information based on the user's adjustment method, thereby improving the accuracy of the device control result.

[0067] As an optional method, it is characterized in that after controlling the target IoT device according to the target control information, it also includes: when a correction operation is detected, adjusting the first weight index and the second weight index according to the difference between the correction operation information and the first control information and the second control information, including:

[0068] S1, when the difference between the modified operation information and the first control information is less than or equal to the difference between the modified operation information and the second control information, increase the first weight index and decrease the second weight index;

[0069] S2, when the difference between the modified operation information and the first control information is greater than the difference between the modified operation information and the second control information, reducing the first weight index and increasing the second weight index.

[0070] It can be understood that in this embodiment, after the target device is controlled based on the target control information, the adjustment control operation performed by the user will continue to be detected, and the weight indexes of the first control information and the second control information will be adjusted based on the user's adjustment control operation.

[0071] The following combination Figure 3 The above method is described.

[0072] S1, through knowledge base and data mining, and based on user feedback, generate business and user behavior habits, preferences and other memory rules into the rule engine;

[0073] S2, when the user's control-related information is obtained, the control-related information is transmitted to the rule engine and the prediction model for processing respectively. The rule engine is composed of user feedback information, data mining results, and a knowledge base; the prediction model is a prediction model obtained through machine learning training;

[0074] S3, the rule engine outputs the decision results based on the rule memory; the prediction model uses machine learning, deep learning and other methods to output the probability prediction results;

[0075] S4, continuously optimizes the rule engine results and prediction model results through reinforcement learning to output the optimal results;

[0076] S5, utilize user feedback to enhance or correct rule engine results and predictive model results.

[0077] Through the above-mentioned implementation mode of the present application, based on the output results of the rule engine and the output results of the prediction model, the final device control method is further determined by reinforcement learning, thereby solving the technical problems of the existing Internet of Things devices with a single control method and low control accuracy.

[0078] According to another aspect of an embodiment of the present invention, a control device for an Internet of Things device for implementing the control method of the Internet of Things device is also provided. Figure 4 As shown, the device comprises:

[0079] An acquisition unit 402 is used to acquire control-related information, wherein the control-related information is used to trigger a control operation on an IoT device;

[0080] A determination unit 404 is configured to determine, when the historical control association information of the IoT device and the historical control information of the IoT device are acquired, first control information corresponding to the control association information according to a correspondence between the historical control association information and the historical control information;

[0081] A correction unit 406 is used to correct the second control information based on the first control information to obtain target control information, wherein the second control information is a processing result obtained by processing the control-related information through the prediction model;

[0082] The control unit 408 is used to control the target IoT device according to the target control information.

[0083] Optionally, in this embodiment, the embodiments to be implemented by the above-mentioned various unit modules can refer to the above-mentioned various method embodiments, which will not be repeated here.

[0084] According to another aspect of the embodiment of the present invention, an electronic device for implementing the control method of the above-mentioned Internet of Things device is also provided. The electronic device may be Figure 5 The terminal device or server shown in the figure. This embodiment is described by taking the electronic device as a terminal device as an example. Figure 5 As shown, the electronic device includes a memory 502 and a processor 504. The memory 502 stores a computer program, and the processor 504 is configured to execute the steps in any of the above method embodiments through the computer program.

[0085] Optionally, in this embodiment, the electronic device may be located in at least one network device among a plurality of network devices of a computer network.

[0086] Optionally, in this embodiment, the processor may be configured to perform the following steps through a computer program:

[0087] S1, obtaining control-related information, wherein the control-related information is used to trigger a control operation on an IoT device;

[0088] S2, when the historical control association information of the IoT device and the historical control information of the IoT device are obtained, determining first control information corresponding to the control association information according to the corresponding relationship between the historical control association information and the historical control information;

[0089] S3, modifying the second control information based on the first control information to obtain target control information, wherein the second control information is a processing result obtained by processing the control-related information through the prediction model;

[0090] S4, controlling the target IoT device according to the target control information.

[0091] Alternatively, a person skilled in the art may understand that: Figure 5 The structure shown is for illustration only, and the electronic device may also be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a PDA, a mobile Internet device (Mobile Internet Devices, MID), a PAD, or other terminal devices. Figure 5 The structure of the electronic device is not limited. Figure 5 More or fewer components (such as network interfaces, etc.) as shown in, or with Figure 5 Different configurations are shown.

[0092] Among them, the memory 502 can be used to store software programs and modules, such as the program instructions / modules corresponding to the control method and device of the Internet of Things device in the embodiment of the present invention. The processor 504 executes various functional applications and data processing by running the software programs and modules stored in the memory 502, that is, realizing the control method of the above-mentioned Internet of Things device. The memory 502 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 502 may further include a memory remotely arranged relative to the processor 504, and these remote memories may be connected to the terminal via a network. Examples of the above-mentioned networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof. Among them, the memory 502 can be specifically, but not limited to, used to store information such as device control information. As an example, such as Figure 5 As shown, the memory 502 may include, but is not limited to, the acquisition unit 402, the determination unit 404, the correction unit 406, and the control unit 408 in the control device of the IoT device. In addition, it may also include, but is not limited to, other module units in the control device of the IoT device, which will not be repeated in this example.

[0093] Optionally, the transmission device 506 is used to receive or send data via a network. Specific examples of the network may include wired networks and wireless networks. In one example, the transmission device 506 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices and routers via a network cable so as to communicate with the Internet or a local area network. In one example, the transmission device 506 is a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0094] In addition, the electronic device further comprises: a display 508 for controlling the operation interface on the display interface device; and a connection bus 510 for connecting the various module components in the electronic device.

[0095] In other embodiments, the terminal device or server may be a node in a distributed system, wherein the distributed system may be a blockchain system, and the blockchain system may be a distributed system formed by connecting the multiple nodes through network communication. Among them, the nodes may form a peer-to-peer (P2P, Peer To Peer) network, and any form of computing device, such as a server, terminal and other electronic devices, may become a node in the blockchain system by joining the peer-to-peer network.

[0096] According to one aspect of the present application, a computer program product is provided, the computer program product comprising a computer program / instruction, the computer program / instruction comprising a program code for executing the method shown in the flow chart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication part, and / or installed from a removable medium. When the computer program is executed by a central processing unit, various functions provided by the embodiments of the present application are executed.

[0097] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0098] According to one aspect of the present application, a computer-readable storage medium is provided, and a processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the above-mentioned device control method.

[0099] Optionally, in this embodiment, the computer-readable storage medium may be configured to store a computer program for performing the following steps:

[0100] S1, obtaining control-related information, wherein the control-related information is used to trigger a control operation on an IoT device;

[0101] S2, when the historical control association information of the IoT device and the historical control information of the IoT device are obtained, determining first control information corresponding to the control association information according to the corresponding relationship between the historical control association information and the historical control information;

[0102] S3, modifying the second control information based on the first control information to obtain target control information, wherein the second control information is a processing result obtained by processing the control-related information through the prediction model;

[0103] S4, controlling the target IoT device according to the target control information.

[0104] Optionally, in this embodiment, a person of ordinary skill in the art may understand that all or part of the steps in the various methods of the above embodiments may be completed by instructing hardware related to the terminal device through a program, and the program may be stored in a computer-readable storage medium, and the storage medium may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc.

[0105] If the integrated units in the above embodiments are implemented in the form of software functional units and sold or used as independent products, they can be stored in the above computer-readable storage medium. Based on such understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or all or 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 one or more computer devices (which can be personal computers, servers or network devices, etc.) to perform all or part of the steps of the above methods of various embodiments of the present invention.

[0106] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0107] In the several embodiments provided in the present application, it should be understood that the disclosed client can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the above units is only a logical function division. There may be other division methods in actual implementation. For example, 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 units or modules, which can be electrical or other forms.

[0108] The units described above 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.

[0109] In addition, each functional unit in each embodiment of the present invention 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. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0110] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A control method for an Internet of Things device, characterized in that: include: Acquire control-related information, wherein the control-related information is used to trigger a control operation on an IoT device; In the case where the historical control association information of the IoT device and the historical control information of the IoT device are acquired, determining first control information corresponding to the control association information according to the corresponding relationship between the historical control association information and the historical control information; The second control information is modified based on the first control information to obtain target control information, including: obtaining a first weight index corresponding to the first control information and a second weight index corresponding to the second control information, wherein the first weight index is used to indicate the accuracy of the first control information, and the second weight index is used to indicate the accuracy of the second control information; determining the target control information according to the first weight index, the first control information, the second weight index, and the second control information, wherein the second control information is a processing result obtained by processing the control-related information through a prediction model; Control the target IoT device according to the target control information; When a correction operation is detected, the first weight index and the second weight index are adjusted according to the difference between the correction operation information and the first control information and the second control information, including: when the difference between the correction operation information and the first control information is less than or equal to the difference between the correction operation information and the second control information, increasing the first weight index and decreasing the second weight index; when the difference between the correction operation information and the first control information is greater than the difference between the correction operation information and the second control information, decreasing the first weight index and increasing the second weight index.

2. The method according to claim 1, characterized in that The modifying the second control information based on the first control information to obtain target control information further includes: When the first weight index is greater than or equal to the second weight index, determining the target control information according to the first control information; In a case where the first weight index is smaller than the second weight index, the target control information is determined according to the second control information.

3. The method according to claim 2, characterized in that In a case where the device identifier included in the first control information is the same as the IoT device identifier included in the second control information, the method further includes: Based on the first weight index and the second weight index, performing a weighted sum calculation on a first control parameter included in the first control information and a second control parameter included in the second control information to determine a target control parameter; The Internet of Things device identifier and the target control parameter are used as the target control information.

4. The method according to claim 1, characterized in that: Determining first control information corresponding to the control association information according to the correspondence between the historical control association information and the historical control information, further comprising: In a historical control database, the acquired control association information is searched to obtain third control information, wherein the historical control database includes a correspondence between a plurality of historical control association information and a plurality of historical control information; Modifying the third control information according to the historical feedback information to obtain fourth control information; Extracting a fourth device identifier and a fourth control parameter included in the fourth control information, and modifying the fourth control parameter using a knowledge base corresponding to the fourth device identifier, wherein the knowledge base includes a set of IoT device control functions and an optional range of control parameters; The fourth device identifier and the modified fourth control parameter are used as the first control information.

5. The method according to any one of claims 1 to 4, characterized in that After controlling the target IoT device according to the target control information, the method further includes: When a correction operation is detected, recording correction operation information corresponding to the correction operation, wherein the correction operation information includes a correction device identifier and correction device parameters; The historical feedback information is updated according to the correspondence between the control association information and the correction operation information.

6. A control device for an Internet of Things device, characterized in that: include: An acquisition unit, used to acquire control-related information, wherein the control-related information is used to trigger a control operation on an IoT device; a determining unit, configured to determine, when acquiring the historical control association information of the IoT device and the historical control information of the IoT device, first control information corresponding to the control association information according to a corresponding relationship between the historical control association information and the historical control information; A correction unit, used to correct the second control information based on the first control information to obtain target control information, including: obtaining a first weight index corresponding to the first control information and a second weight index corresponding to the second control information, wherein the first weight index is used to indicate the accuracy of the first control information, and the second weight index is used to indicate the accuracy of the second control information; determining the target control information according to the first weight index, the first control information, the second weight index, and the second control information, wherein the second control information is a processing result obtained by processing the control-related information through a prediction model; A control unit, configured to control a target IoT device according to the target control information; when a correction operation is detected, adjusting the first weight index and the second weight index according to the difference between the correction operation information and the first control information and the second control information, including: When the difference between the correction operation information and the first control information is less than or equal to the difference between the correction operation information and the second control information, the first weight index is increased and the second weight index is decreased; when the difference between the correction operation information and the first control information is greater than the difference between the correction operation information and the second control information, the first weight index is decreased and the second weight index is increased.

7. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein the program executes the method according to any one of claims 1 to 5 when executed.

8. An electronic device comprising a memory and a processor, characterized in that: A computer program is stored in the memory, and the processor is configured to execute the method according to any one of claims 1 to 5 through the computer program.