CN112068510B - Control method and device of intelligent equipment, electronic equipment and computer storage medium - Google Patents
Control method and device of intelligent equipment, electronic equipment and computer storage medium Download PDFInfo
- Publication number
- CN112068510B CN112068510B CN202010793492.XA CN202010793492A CN112068510B CN 112068510 B CN112068510 B CN 112068510B CN 202010793492 A CN202010793492 A CN 202010793492A CN 112068510 B CN112068510 B CN 112068510B
- Authority
- CN
- China
- Prior art keywords
- sensor
- determining
- weight value
- intelligent equipment
- information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 33
- 238000004590 computer program Methods 0.000 claims description 11
- 239000002131 composite material Substances 0.000 claims description 2
- 238000010586 diagram Methods 0.000 description 13
- 230000006870 function Effects 0.000 description 9
- 230000009286 beneficial effect Effects 0.000 description 5
- 230000008901 benefit Effects 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 5
- 238000012545 processing Methods 0.000 description 5
- 238000012986 modification Methods 0.000 description 4
- 230000004048 modification Effects 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 4
- 230000004913 activation Effects 0.000 description 3
- 239000013307 optical fiber Substances 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000001816 cooling Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/418—Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01D—MEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
- G01D21/00—Measuring or testing not otherwise provided for
- G01D21/02—Measuring two or more variables by means not covered by a single other subclass
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B15/00—Systems controlled by a computer
- G05B15/02—Systems controlled by a computer electric
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/26—Pc applications
- G05B2219/2642—Domotique, domestic, home control, automation, smart house
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Manufacturing & Machinery (AREA)
- Quality & Reliability (AREA)
- Selective Calling Equipment (AREA)
Abstract
The application discloses a control method and device of intelligent equipment, electronic equipment and a computer storage medium. The method comprises the following steps: acquiring sensor information corresponding to a plurality of sensors; wherein the sensor information includes: data information acquired by the sensor and label information of the sensor; determining the weight value of each sensor according to the label information of each sensor and intelligent equipment to be controlled; and determining a control instruction for the intelligent equipment needing to be controlled according to the weight value of each sensor and the data information of each sensor. Therefore, in order to solve the problem that inaccurate automatic control of the intelligent equipment is achieved according to data information acquired by the sensors in the related art, the intelligent equipment is controlled by considering the information of the sensors after the information of the sensors corresponding to the sensors is acquired, and therefore the accuracy of control over the intelligent equipment is improved.
Description
Technical Field
The present application relates to the field of smart homes, and in particular, to a method and an apparatus for controlling a smart device, an electronic device, and a computer storage medium.
Background
At present, smart devices generally have sensors for monitoring or controlling some parameters of the smart devices, and the types of the sensors included in different types of smart devices are different. Along with the current intelligent device categories are also more and more complicated and diversified, therefore, the sensor data generated by each intelligent device is more and more.
In the related art, each intelligent device can only realize automatic control over the intelligent device according to the data information of the sensor detected by the intelligent device, or realize automatic control over the intelligent device according to the data information acquired by a plurality of sensors, and because each sensor has different characteristics, the automatic control over the intelligent device is realized according to the data information acquired by the sensor, which can cause inaccurate problem.
Disclosure of Invention
The application aims to provide a control method and device of intelligent equipment, electronic equipment and a computer storage medium, and aims to solve the problem that the automatic control of the intelligent equipment according to data information acquired by a sensor in the related art can cause inaccuracy.
In a first aspect, an embodiment of the present application provides a method for controlling an intelligent device, including:
acquiring sensor information corresponding to a plurality of sensors; wherein the sensor information includes: data information acquired by the sensor and label information of the sensor;
determining the weight value of each sensor according to the label information of each sensor and intelligent equipment to be controlled;
and determining a control instruction for the intelligent equipment needing to be controlled according to the weight value of each sensor and the data information of each sensor.
According to the technical scheme, when the control instruction of the intelligent device to be controlled is determined according to the information of the plurality of sensors, the influence of the plurality of sensors on the control instruction of the intelligent device is considered, and the label information of the sensors is contained when the data information is uploaded to each sensor, so that the weight values, namely the importance degrees, of the different sensors on the intelligent device can be determined through the label information, and the accuracy of the control instruction of the plurality of sensor information on the intelligent device is improved. Compared with the determination of the control instruction of the intelligent equipment according to the data information acquired by the sensors in the related technology, the method and the device have the advantages that the importance degree of different sensors on the control of the intelligent equipment is considered, and therefore the accuracy of the control of the intelligent equipment is improved.
In a possible embodiment, the tag information of the sensor includes: sensor type and sensor location;
the determining the weight value of each sensor according to the label information of each sensor and the intelligent device to be controlled comprises:
determining the corresponding relation between the sensor type and the initial weight value bound with the type of the intelligent equipment to be controlled;
for the sensor information corresponding to each sensor, respectively executing:
according to the corresponding relation, determining an initial weight value corresponding to the sensor through the sensor type; and determining an adjustment factor by the sensor position;
determining the weight value of the sensor based on the initial weight value and the adjustment factor.
The beneficial effect of this embodiment does: determining the importance degree of different sensor types to different intelligent devices needing to be controlled according to the sensor types contained in the label information of the sensors; secondly, the importance degree of each sensor is adjusted according to the distance between the sensor and the intelligent equipment, so that the importance degree of different sensors for determining the control command of the intelligent equipment is obtained. By the embodiment, the accuracy of determining the control instruction of the intelligent device through the sensor information is improved, so that the intelligent device can make an accurate adjustment instruction according to the current environment.
In one possible embodiment, the determining the adjustment factor by the sensor position includes:
and determining an adjusting factor corresponding to the distance difference between the sensor position and the intelligent equipment to be controlled according to the corresponding relation between the preset distance difference and the adjusting factor.
The beneficial effect of this embodiment does: an implementation mode for determining the importance degree of a sensor according to the distance between the sensor and an intelligent device is characterized in that the corresponding adjustment factor is determined according to the distance difference determined by the position of the sensor acquired from label information of the sensor based on the preset corresponding relationship between the distance difference and the adjustment factor. The accuracy of the determination of the control instructions for the smart device is improved by this embodiment.
In a possible embodiment, the determining a control instruction for the intelligent device needing to be controlled according to the weight value of each sensor and the data information of each sensor includes:
determining a comprehensive influence value according to the weight value of each sensor and the data information of each sensor;
determining a control condition which is satisfied by the comprehensive influence value from all control conditions;
and sending a control instruction corresponding to the determined control condition to the intelligent equipment.
The beneficial effect of this embodiment does: the embodiment provides an implementation way of how to determine the control instruction, and the control instruction corresponding to the comprehensive influence value obtained according to the acquired sensor information is determined based on the preset corresponding relationship between the comprehensive influence value obtained according to the sensor information and the control condition, so that the intelligent device can realize the intelligence of automatic adjustment based on the received sensor information.
In a possible embodiment, if the control condition is an activation control condition and it is determined that the smart device is in an unopened state, the control instruction is to activate the smart device; or the like, or, alternatively,
if the control condition is a closing control condition and the intelligent equipment is determined to be in an opening state, the control instruction is to close the intelligent equipment; or the like, or, alternatively,
and if the control condition is a control condition of a specified working state and the current working state of the intelligent equipment is determined to be inconsistent with the specified working state, changing the working state of the intelligent equipment to the specified working state by the control instruction.
The beneficial effect of this embodiment does: the embodiment provides the corresponding relations between several control conditions and the control instructions, and after the control conditions are determined according to the comprehensive influence values, the corresponding control instructions can be determined, so that the intelligent device can be adjusted according to the control instructions.
In a possible embodiment, the determining a composite influence value according to the weight value of each sensor and the data information of each sensor includes:
and determining a value obtained by weighting and summing the data information of each sensor and the corresponding weight value as the comprehensive influence value.
The beneficial effect of this embodiment does: the implementation mode for determining the comprehensive influence value is provided, so that automatic control of determining the control instruction by the intelligent equipment according to the information of various sensors is realized, and the user experience is further improved.
In a second aspect, an embodiment of the present application provides a control apparatus for an intelligent device, where the apparatus includes:
the acquisition module is used for acquiring sensor information corresponding to the plurality of sensors; wherein the sensor information includes: data information acquired by the sensor and label information of the sensor;
the weight value determining module is used for determining the weight value of each sensor according to the label information of each sensor and the intelligent equipment to be controlled;
and the instruction determining module is used for determining a control instruction for the intelligent equipment needing to be controlled according to the weight value of each sensor and the data information of each sensor.
In a possible embodiment, the tag information of the sensor includes: sensor type and sensor location;
the weight value determining module is configured to, when determining the weight value of each sensor according to the tag information of each sensor and the intelligent device to be controlled, specifically:
determining the corresponding relation between the sensor type and the initial weight value bound with the type of the intelligent equipment to be controlled;
for the sensor information corresponding to each sensor, respectively executing:
according to the corresponding relation, determining an initial weight value corresponding to the sensor through the sensor type; and determining an adjustment factor by the sensor position;
determining the weight value of the sensor based on the initial weight value and the adjustment factor.
In a possible embodiment, the weight value determining module, when determining the adjustment factor according to the sensor position, is specifically configured to:
and determining an adjusting factor corresponding to the distance difference between the sensor position and the intelligent equipment to be controlled according to the corresponding relation between the preset distance difference and the adjusting factor.
In a possible embodiment, the instruction determining module, when determining the control instruction for the intelligent device to be controlled according to the weight value of each sensor and the data information of each sensor, is specifically configured to:
determining a comprehensive influence value according to the weight value of each sensor and the data information of each sensor;
determining a control condition which is satisfied by the comprehensive influence value from all control conditions;
and sending a control instruction corresponding to the determined control condition to the intelligent equipment.
In a possible embodiment, if the control condition is an activation control condition and it is determined that the smart device is in an unopened state, the control instruction is to activate the smart device; or the like, or, alternatively,
if the control condition is a closing control condition and the intelligent equipment is determined to be in an opening state, the control instruction is to close the intelligent equipment; or the like, or, alternatively,
and if the control condition is a control condition of a specified working state and the current working state of the intelligent equipment is determined to be inconsistent with the specified working state, changing the working state of the intelligent equipment to the specified working state by the control instruction.
In a possible embodiment, the instruction determining module is configured to, when determining the comprehensive influence value according to the weight value of each sensor and the data information of each sensor, specifically:
and determining a value obtained by weighting and summing the data information of each sensor and the corresponding weight value as the comprehensive influence value.
In a third aspect, another embodiment of the present application further provides an electronic device, including at least one processor; and a memory communicatively coupled to the at least one processor; the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the control method of any intelligent device provided by the embodiment of the application.
In a fourth aspect, another embodiment of the present application further provides a computer storage medium, where the computer storage medium stores a computer program, and the computer program is used to make a computer execute the control method of any one of the intelligent devices in the embodiments of the present application.
Additional features and advantages of the application will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the application. The objectives and other advantages of the application may be realized and attained by the structure particularly pointed out in the written description and drawings.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments of the present invention will be briefly described below, and it is obvious that the drawings described below are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is an application scenario diagram of a control method of an intelligent device according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a control method of an intelligent device according to an embodiment of the present application;
fig. 3A is a schematic view of a scenario of a plurality of sensors provided in an embodiment of the present application;
fig. 3B is a schematic diagram of a configuration interface of tag information of a sensor according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a control apparatus of an intelligent device according to an embodiment of the present application;
fig. 5 is a schematic diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention.
It should be noted that the terms "first", "second", etc. in the description of the present disclosure are used for distinguishing similar objects, and are not necessarily used for describing a particular order or sequence. It is to be understood that such descriptions are interchangeable under appropriate circumstances such that the embodiments of the disclosure can be practiced in sequences other than those illustrated or described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure.
Along with the continuous promotion of science and technology level, the kind of smart machine is also more and more, and the sensor class that its used is also more complicated and diverse, and the sensor data that produces thereupon is also more and more. When the sensor and the intelligent device are together, the cloud server for distributing the control instruction to the intelligent device can directly use the sensor data to perform some brief analysis; however, with the continuous development of intelligence, the functions supported by the intelligent device are more and more, and the amount of data required to be supported is larger and larger. For different kinds of sensors and individual sensors on different smart devices, if their data can be uploaded to the cloud service at the same time, it is very necessary for the smart device that needs to use the sensor data for control to distinguish which sensor data is important, which sensor data is relatively unimportant, and which sensor data is not important at all. Therefore, how to realize accurate adjustment of automatic control of the smart device through multiple sensor information is a problem that needs attention at present.
In view of this, the present application provides a method for controlling an intelligent device to solve the problems in the related art, and provides a scheme for reasonably and accurately implementing automatic control of the intelligent device according to information of each sensor.
Referring to fig. 1, a schematic view of an application scenario of a control method for an intelligent device according to an embodiment of the present application is provided, where a source of sensor information corresponding to a plurality of sensors is obtained, and optionally, the sensor information is obtained by a pre-installed independent sensor, such as the sensor 101 in fig. 1; or, optionally, the information is obtained by a sensor built in the smart device 102, for example, a temperature sensor is built in the smart air conditioner. Secondly, the sensor information sent by the plurality of sensors is received through the gateway or the router 103, and is uploaded to the cloud server to determine the control instruction of the intelligent device to be controlled. In addition, in the application, the configuration of the tag information of each sensor can be realized through the intelligent terminal 104, so that each sensor carries the tag information of the sensor when uploading the sensor information.
Based on the application scenario introduced above, referring to fig. 2, a schematic flow chart of a control method for an intelligent device provided in an embodiment of the present application includes the following steps:
step S201: acquiring sensor information corresponding to a plurality of sensors; wherein the sensor information includes: data information collected by the sensor and label information of the sensor.
Referring to fig. 3A, a scene schematic diagram of a plurality of sensors provided in the embodiment of the present application is shown, for example, if the obtained information of the plurality of sensors includes the sensor 1, the sensor 2, the sensor 3, and the sensor 4 as in fig. 3A, it can be obtained according to fig. 3A that the sensor 1, the sensor 2, and the smart device 1 are located in the same space; the sensor 3 and the intelligent device 2 are in the same space; the sensor 4 is in the same space as the smart device 3. Based on the design idea of the application, when each sensor uploads respective sensor information, the sensor information comprises data information collected by the sensor and label information of the sensor.
In order to enable the sensors to upload respective sensor information, including tag information of the sensors, in one possible implementation, before acquiring sensor information corresponding to a plurality of sensors, a configuration instruction for the tag information corresponding to each sensor is received; and generating label information for the corresponding sensor according to the configuration instruction so that the sensor comprises the label information when uploading the sensor information. In practice, the configuration of the sensor information may be implemented by the smart terminal 104 as shown in fig. 1, wherein the smart terminal 104 includes: intelligent terminals such as mobile phones, tablets and computers.
Optionally, referring to fig. 3B, a schematic view of a configuration interface of tag information of a sensor provided in an embodiment of the present application is provided, where the configuration interface is used to implement configuration of the tag information of each sensor, for example, the configured tag information includes: sensor type (e.g. temperature sensor, humidity sensor, odor sensor, etc.), sensor location (e.g. information indicating sensor location such as sensor 1 located in the center of bedroom 1, sensor 2 located at the window side of bedroom 1, sensor 3 located in the center of bedroom 2, sensor 4 located in the south of the living room), nearest smart devices and distance between them. Wherein, if desired, some special information may also be configured, such as configuring the sensor 4 with special information located beside the door, in order to facilitate determining that the sensor 4 is located in the south of the living room and beside the door, thereby assisting in more accurately determining the sensor location; similarly, the sensor 2 may be provided with specific information or the like on a wall, each of which is used to assist in determining the position of the sensor.
When acquiring sensor information, firstly, each sensor has a basic function of uploading data of each sensor; next, in order to obtain the tag information of the sensor, optionally, the configuration of the intelligent terminal described in the foregoing embodiment is used to configure the tag information corresponding to each sensor.
In addition, according to another possible implementation manner, besides the sensor information is acquired through the pre-configured tag information, the sensor position can be located through a WIFI locating technology, a GPS locating technology and the like, and therefore the sensor position information is uploaded to the cloud server.
Step S202: and determining the weight value of each sensor according to the label information of each sensor and the intelligent equipment to be controlled.
In a possible embodiment, the tag information of the sensor includes: sensor type and sensor location; determining the weight value of each sensor according to the label information of each sensor and the intelligent device to be controlled, comprising the following steps:
step A1: and determining the corresponding relation between the sensor type and the initial weight value bound with the type of the intelligent equipment to be controlled.
For example, the importance of the temperature sensor to the intelligent air conditioner is higher, and the importance of the sensor information to the intelligent voice device is lower, so that different sensor types have different weight values for different intelligent devices. Taking an intelligent air conditioner as an example, the corresponding relationship between the bound sensor type and the initial weight value is shown in the following table 1:
TABLE 1
Sensor type | Initial weight value |
Temperature sensor | 1 |
Humidity sensor | 0.5 |
Smell sensor | 0 |
…… | …… |
According to the importance of different types of intelligent devices corresponding to different sensors, the corresponding relationship between the sensor type and the initial weight value is bound in advance for each intelligent device according to the importance of different types of intelligent devices corresponding to different sensors, so that after the sensor information is received, the corresponding initial weight value is determined according to the corresponding sensor type, and the weight value corresponding to each sensor information is further determined.
Secondly, for the sensor information corresponding to each sensor, respectively executing:
step A2: according to the corresponding relation, determining an initial weight value corresponding to the sensor through the sensor type; and determining an adjustment factor by the sensor position;
after the initial weight values corresponding to different sensor information are determined, the distance between the sensor and the intelligent equipment has certain influence on the determination of the control instruction of the intelligent equipment, so that an adjusting factor for the initial weight values is determined according to the position of the sensor, and the initial weight values adjusted by the adjusting factor are used as the weight values of the sensor information. During implementation, according to a preset corresponding relation between the distance difference and the adjustment factor, the adjustment factor corresponding to the distance difference between the sensor position and the intelligent device to be controlled is determined.
For example, as shown in table 2 below, an implementation is provided for determining an adjustment factor based on sensor position for the present examples:
TABLE 2
As can be obtained from table 2, if the sensor and the smart device to be controlled are not located in the same space, the distance difference between the sensor and the smart device to be controlled is not considered, and the adjustment factor corresponding to the sensor is directly set to 0, which indicates that the sensor information is not considered, because in a general scene, the sensor data in other spaces does not affect the determination of the control instruction of the smart device to be controlled, for example, the sensor information uploaded by the sensor 4 located in the living room in fig. 3A hardly affects the control of the smart device 1 located in the bedroom, and when the control instruction of the smart device 1 is determined, the sensor information uploaded by the sensor 3 and the sensor 4 does not need to be considered. If the sensor and the intelligent device to be controlled are in the same space, determining the adjustment factor corresponding to the sensor according to the distance difference between the sensor and the intelligent device, wherein the more the sensor is close to the intelligent device, the higher the importance degree of the sensor to the intelligent device is, and the larger the corresponding adjustment factor is; conversely, the more distant the sensor is from the smart device, the lower its importance to the smart device, the smaller the adjustment factor, e.g., sensor 1 in FIG. 3A has a larger adjustment factor and sensor 2 has a smaller adjustment factor.
Step A3: determining the weight value of the sensor based on the initial weight value and the adjustment factor.
Step S203: and determining a control instruction for the intelligent equipment needing to be controlled according to the weight value of each sensor and the data information of each sensor.
The determination of the control command of the smart device by the sensor has a certain influence on the determination of the control command of the smart device by the size of the data information collected by the sensor, in addition to the type and position of the sensor described above. For example, the higher the data of the temperature sensor, the lower the cooling temperature of the intelligent air conditioner needs to be adjusted.
During implementation, determining a comprehensive influence value according to the weight value of each sensor and the data information of each sensor; determining a control condition which is satisfied by the comprehensive influence value from all control conditions; and sending a control instruction corresponding to the determined control condition to the intelligent equipment. And determining a value obtained by weighting and summing the data information of each sensor and the corresponding weight value as the comprehensive influence value.
The corresponding relations between different control conditions and control instructions optionally include at least the following possible scenarios:
and 1, if the control condition is a starting control condition and the intelligent equipment is determined to be in a non-starting state, the control instruction is to start the intelligent equipment.
During implementation, if the intelligent equipment is an intelligent air conditioner, the intelligent air conditioner is started according to the fact that the comprehensive influence value obtained by the information of the plurality of sensors meets the starting control condition. For example, if the temperature of the current space is detected to be higher by a plurality of sensors, it indicates that the intelligent air conditioner needs to be started, so that the room temperature is reduced, and the user requirements are met.
And 2, if the control condition is a closing control condition and the intelligent equipment is determined to be in an opening state, the control instruction is to close the intelligent equipment.
During implementation, contrary to the previous scenario, if the intelligent device is an intelligent air conditioner, the intelligent air conditioner is turned off if the intelligent device meets the turn-off control condition according to the comprehensive influence value obtained by the information of the plurality of sensors.
And 3, if the control condition is a control condition of a specified working state and the current working state of the intelligent equipment is determined to be inconsistent with the specified working state, changing the working state of the intelligent equipment into the specified working state by the control instruction.
In one possible embodiment, if the intelligent device is an intelligent air conditioner, the specified operating state control condition is to set the operating temperature of the intelligent air conditioner to a first temperature; and determining that the current operating temperature is the second temperature according to the current working state of the intelligent air conditioner, and changing the operating temperature of the intelligent air conditioner to the first temperature according to the control instruction.
Another possible embodiment is that, if the intelligent device is an intelligent air conditioner, the specified working state control condition is that the operating wind power of the intelligent air conditioner is set to be a first wind power; and determining that the current operating wind power is the second wind power according to the current working state of the intelligent air conditioner, and changing the operating wind power of the intelligent air conditioner into the first wind power according to the control instruction.
In another possible embodiment, if the intelligent device is an intelligent humidifier, the specified operating condition is that the operating range of the intelligent humidifier is set to the first range; and determining that the current operation gear is a second gear according to the current working state of the intelligent humidifier, and changing the operation gear of the intelligent humidifier into the first gear according to the control instruction.
Compared with the technical scheme that the control of the intelligent device can be realized only through the sensor of the intelligent device or the control of the intelligent device is realized through the data of a plurality of sensors, the control method of the intelligent device has the advantage that the control instruction of the intelligent device is inaccurate.
Based on the same conception, the embodiment of the application also provides a control device of the intelligent device.
As shown in fig. 4, the control apparatus 400 of the smart device may include: an obtaining module 410, a weight value determining module 420 and an instruction determining module 430.
An obtaining module 410, configured to obtain sensor information corresponding to multiple sensors; wherein the sensor information includes: data information acquired by the sensor and label information of the sensor;
a weight value determining module 420, configured to determine a weight value of each sensor according to the tag information of each sensor and an intelligent device to be controlled;
and the instruction determining module 430 is configured to determine a control instruction for the intelligent device to be controlled according to the weight value of each sensor and the data information of each sensor.
In a possible embodiment, the tag information of the sensor includes: sensor type and sensor location;
the weight value determining module 420 is configured to, when determining the weight value of each sensor according to the tag information of each sensor and the intelligent device to be controlled, specifically:
determining the corresponding relation between the sensor type and the initial weight value bound with the type of the intelligent equipment to be controlled;
for the sensor information corresponding to each sensor, respectively executing:
according to the corresponding relation, determining an initial weight value corresponding to the sensor through the sensor type; and determining an adjustment factor by the sensor position;
determining the weight value of the sensor based on the initial weight value and the adjustment factor.
In a possible embodiment, the weight value determining module 420 is configured to, when determining the adjustment factor according to the sensor position, specifically:
and determining an adjusting factor corresponding to the distance difference between the sensor position and the intelligent equipment to be controlled according to the corresponding relation between the preset distance difference and the adjusting factor.
In a possible embodiment, the instruction determining module 430 is configured to, when determining the control instruction for the intelligent device to be controlled according to the weight value of each sensor and the data information of each sensor, specifically:
determining a comprehensive influence value according to the weight value of each sensor and the data information of each sensor;
determining a control condition which is satisfied by the comprehensive influence value from all control conditions;
and sending a control instruction corresponding to the determined control condition to the intelligent equipment.
In a possible embodiment, if the control condition is an activation control condition and it is determined that the smart device is in an unopened state, the control instruction is to activate the smart device; or the like, or, alternatively,
if the control condition is a closing control condition and the intelligent equipment is determined to be in an opening state, the control instruction is to close the intelligent equipment; or the like, or, alternatively,
and if the control condition is a control condition of a specified working state and the current working state of the intelligent equipment is determined to be inconsistent with the specified working state, changing the working state of the intelligent equipment to the specified working state by the control instruction.
In a possible embodiment, the instruction determining module 430 is configured to, when determining the comprehensive influence value according to the weight value of each sensor and the data information of each sensor, specifically:
and determining a value obtained by weighting and summing the data information of each sensor and the corresponding weight value as the comprehensive influence value.
The specific implementation of the control device and the functional modules of the intelligent device can be referred to the above description in conjunction with fig. 1-3, and are not described herein again.
After a method and an apparatus for controlling a smart device according to an exemplary embodiment of the present application are introduced, an electronic device according to another exemplary embodiment of the present application is introduced next.
As will be appreciated by one skilled in the art, aspects of the present application may be embodied as a system, method or program product. Accordingly, various aspects of the present application may be embodied in the form of: an entirely hardware embodiment, an entirely software embodiment (including firmware, microcode, etc.) or an embodiment combining hardware and software aspects that may all generally be referred to herein as a "circuit," module "or" system.
In some possible implementations, an electronic device according to the present application may include at least one processor, and at least one memory. The memory stores therein program code that, when executed by the processor, causes the processor to perform the steps of the control method of the smart device according to various exemplary embodiments of the present application described above in the present specification. For example, the processor may perform the steps shown in FIG. 2.
The electronic device 130 according to this embodiment of the present application is described below with reference to fig. 5. The electronic device 130 shown in fig. 5 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present application.
As shown in fig. 5, the electronic device 130 is represented in the form of a general electronic device. The components of the electronic device 130 may include, but are not limited to: the at least one processor 131, the at least one memory 132, and a bus 133 that connects the various system components (including the memory 132 and the processor 131).
The memory 132 may include readable media in the form of volatile memory, such as Random Access Memory (RAM)1321 and/or cache memory 1322, and may further include Read Only Memory (ROM) 1323.
The electronic device 130 may also communicate with one or more external devices 134 (e.g., keyboard, pointing device, etc.), with one or more devices that enable a user to interact with the electronic device 130, and/or with any devices (e.g., router, modem, etc.) that enable the electronic device 130 to communicate with one or more other electronic devices. Such communication may occur via input/output (I/O) interfaces 135. Also, the electronic device 130 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the internet) via the network adapter 136. As shown, network adapter 136 communicates with other modules for electronic device 130 over bus 133. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction with electronic device 130, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
In some possible embodiments, aspects of a control method of a smart device provided by the present application may also be implemented in the form of a program product including computer program code for causing a computer device to perform the steps of a control method of a smart device according to various exemplary embodiments of the present application described above in this specification when the program product is run on the computer device, for example, the computer device may perform the steps as shown in fig. 2.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The program product for image processing of the embodiments of the present application may employ a portable compact disc read only memory (CD-ROM) and include program code, and may be run on an electronic device. However, the program product of the present application is not limited thereto, and in this document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A readable signal medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations of the present application may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the consumer electronic device, partly on the consumer electronic device, as a stand-alone software package, partly on the consumer electronic device and partly on a remote electronic device, or entirely on the remote electronic device or server. In the case of remote electronic devices, the remote electronic devices may be connected to the consumer electronic device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external electronic device (e.g., through the internet using an internet service provider).
It should be noted that although several units or sub-units of the apparatus are mentioned in the above detailed description, such division is merely exemplary and not mandatory. Indeed, the features and functions of two or more units described above may be embodied in one unit, according to embodiments of the application. Conversely, the features and functions of one unit described above may be further divided into embodiments by a plurality of units.
Further, while the operations of the methods of the present application are depicted in the drawings in a particular order, this does not require or imply that these operations must be performed in this particular order, or that all of the illustrated operations must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While the preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the present application and its equivalent technology, the present application is intended to include such modifications and variations as well.
Claims (12)
1. A control method of an intelligent device, the method comprising:
acquiring sensor information corresponding to a plurality of sensors; wherein the sensor information includes: data information acquired by the sensor and label information of the sensor;
determining the weight value of each sensor according to the label information of each sensor and intelligent equipment to be controlled;
determining a control instruction for the intelligent equipment needing to be controlled according to the weight value of each sensor and the data information of each sensor;
wherein, the label information of the sensor comprises: sensor type and sensor location;
the determining the weight value of each sensor according to the label information of each sensor and the intelligent device to be controlled comprises:
determining the corresponding relation between the sensor type and the initial weight value bound with the type of the intelligent equipment to be controlled;
for the sensor information corresponding to each sensor, respectively executing: according to the corresponding relation, determining an initial weight value corresponding to the sensor through the sensor type; and determining an adjustment factor by the sensor position; determining the weight value of the sensor based on the initial weight value and the adjustment factor.
2. The method of claim 1, wherein determining an adjustment factor by the sensor position comprises:
and determining an adjusting factor corresponding to the distance difference between the sensor position and the intelligent equipment to be controlled according to the corresponding relation between the preset distance difference and the adjusting factor.
3. The method of claim 1, wherein the determining a control instruction for the intelligent device needing to be controlled according to the weight value of each sensor and the data information of each sensor comprises:
determining a comprehensive influence value according to the weight value of each sensor and the data information of each sensor;
determining a control condition which is satisfied by the comprehensive influence value from all control conditions;
and sending a control instruction corresponding to the determined control condition to the intelligent equipment.
4. The method of claim 3,
if the control condition is a starting control condition and the intelligent equipment is determined to be in a non-starting state, the control instruction is to start the intelligent equipment; or the like, or, alternatively,
if the control condition is a closing control condition and the intelligent equipment is determined to be in an opening state, the control instruction is to close the intelligent equipment; or the like, or, alternatively,
and if the control condition is a control condition of a specified working state and the current working state of the intelligent equipment is determined to be inconsistent with the specified working state, changing the working state of the intelligent equipment to the specified working state by the control instruction.
5. The method of claim 3, wherein determining a composite impact value based on the weight value of each of the sensors and the data information of each of the sensors comprises:
and determining a value obtained by weighting and summing the data information of each sensor and the corresponding weight value as the comprehensive influence value.
6. An apparatus for controlling a smart device, the apparatus comprising:
the acquisition module is used for acquiring sensor information corresponding to the plurality of sensors; wherein the sensor information includes: data information acquired by the sensor and label information of the sensor;
the weight value determining module is used for determining the weight value of each sensor according to the label information of each sensor and the intelligent equipment to be controlled;
the instruction determining module is used for determining a control instruction of the intelligent equipment needing to be controlled according to the weight value of each sensor and the data information of each sensor;
wherein, the label information of the sensor comprises: sensor type and sensor location;
the weight value determining module is configured to, when determining the weight value of each sensor according to the tag information of each sensor and the intelligent device to be controlled, specifically:
determining the corresponding relation between the sensor type and the initial weight value bound with the type of the intelligent equipment to be controlled;
for the sensor information corresponding to each sensor, respectively executing:
according to the corresponding relation, determining an initial weight value corresponding to the sensor through the sensor type; and determining an adjustment factor by the sensor position;
determining the weight value of the sensor based on the initial weight value and the adjustment factor.
7. The apparatus of claim 6, wherein the weight value determining module, when determining the adjustment factor according to the sensor position, is specifically configured to:
and determining an adjusting factor corresponding to the distance difference between the sensor position and the intelligent equipment to be controlled according to the corresponding relation between the preset distance difference and the adjusting factor.
8. The apparatus according to claim 6, wherein the instruction determining module, when determining the control instruction for the intelligent device to be controlled according to the weight value of each of the sensors and the data information of each of the sensors, is specifically configured to:
determining a comprehensive influence value according to the weight value of each sensor and the data information of each sensor;
determining a control condition which is satisfied by the comprehensive influence value from all control conditions;
and sending a control instruction corresponding to the determined control condition to the intelligent equipment.
9. The apparatus of claim 8,
if the control condition is a starting control condition and the intelligent equipment is determined to be in a non-starting state, the control instruction is to start the intelligent equipment; or the like, or, alternatively,
if the control condition is a closing control condition and the intelligent equipment is determined to be in an opening state, the control instruction is to close the intelligent equipment; or the like, or, alternatively,
and if the control condition is a control condition of a specified working state and the current working state of the intelligent equipment is determined to be inconsistent with the specified working state, changing the working state of the intelligent equipment to the specified working state by the control instruction.
10. The apparatus of claim 8, wherein the instruction determining module, when determining the comprehensive impact value according to the weight value of each sensor and the data information of each sensor, is specifically configured to:
and determining a value obtained by weighting and summing the data information of each sensor and the corresponding weight value as the comprehensive influence value.
11. An electronic device comprising at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-5.
12. A computer storage medium, characterized in that the computer storage medium stores a computer program for causing a computer to perform the method according to any one of claims 1-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010793492.XA CN112068510B (en) | 2020-08-10 | 2020-08-10 | Control method and device of intelligent equipment, electronic equipment and computer storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010793492.XA CN112068510B (en) | 2020-08-10 | 2020-08-10 | Control method and device of intelligent equipment, electronic equipment and computer storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112068510A CN112068510A (en) | 2020-12-11 |
CN112068510B true CN112068510B (en) | 2022-03-08 |
Family
ID=73660971
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010793492.XA Active CN112068510B (en) | 2020-08-10 | 2020-08-10 | Control method and device of intelligent equipment, electronic equipment and computer storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112068510B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112765679B (en) * | 2021-01-08 | 2024-09-10 | 珠海格力电器股份有限公司 | Sensor data management method, device, system and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101443597A (en) * | 2006-07-13 | 2009-05-27 | 三菱电机株式会社 | Air conditioner system |
JP4267553B2 (en) * | 2004-10-25 | 2009-05-27 | 株式会社Nttファシリティーズ | Air conditioner control system and air conditioner control method |
CN110941189A (en) * | 2018-09-21 | 2020-03-31 | 上海小蚁科技有限公司 | Intelligent household system and control method thereof and readable storage medium |
CN111237976A (en) * | 2018-11-29 | 2020-06-05 | 湖南长庆机电科教有限公司 | Automatic ventilation alarm method for laboratory |
CN111357011A (en) * | 2019-01-31 | 2020-06-30 | 深圳市大疆创新科技有限公司 | Environment sensing method and device, control method and device and vehicle |
-
2020
- 2020-08-10 CN CN202010793492.XA patent/CN112068510B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4267553B2 (en) * | 2004-10-25 | 2009-05-27 | 株式会社Nttファシリティーズ | Air conditioner control system and air conditioner control method |
CN101443597A (en) * | 2006-07-13 | 2009-05-27 | 三菱电机株式会社 | Air conditioner system |
CN110941189A (en) * | 2018-09-21 | 2020-03-31 | 上海小蚁科技有限公司 | Intelligent household system and control method thereof and readable storage medium |
CN111237976A (en) * | 2018-11-29 | 2020-06-05 | 湖南长庆机电科教有限公司 | Automatic ventilation alarm method for laboratory |
CN111357011A (en) * | 2019-01-31 | 2020-06-30 | 深圳市大疆创新科技有限公司 | Environment sensing method and device, control method and device and vehicle |
Also Published As
Publication number | Publication date |
---|---|
CN112068510A (en) | 2020-12-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10930281B2 (en) | Method, apparatus and system for testing intelligent voice device | |
KR101874351B1 (en) | System and method for management of devices based on internet of things and computer program for the same | |
US10938910B2 (en) | Discovering capabilities of entities in an internet of things setting | |
CN112068510B (en) | Control method and device of intelligent equipment, electronic equipment and computer storage medium | |
CN112666942A (en) | Self-moving robot and path planning method, device, equipment and storage medium thereof | |
CN114019807A (en) | Data processing method, device, system, equipment and readable storage medium | |
CN107566480B (en) | User activity information acquisition method and device for mobile terminal application and storage medium | |
CN113325767B (en) | Scene recommendation method and device, storage medium and electronic equipment | |
CN109100998A (en) | Method and system for controlling operation of household appliance, storage medium and electronic device | |
EP2728803B1 (en) | Systems and Methods for Implementation of a Smart Energy Profile Using Data-Interchange Encoding | |
CN113467965A (en) | Data processing method and device, electronic equipment and computer readable storage medium | |
WO2023248074A1 (en) | Infrastructure management system | |
CN108847231B (en) | Far-field speech recognition method, device and system | |
CN116055538A (en) | Control method and device of Internet of things equipment, terminal equipment and storage medium | |
CN113434690B (en) | Clustering algorithm-based electricity utilization prediction evaluation method, device, system and medium | |
CN109062396B (en) | Method and device for controlling equipment | |
US20230136504A1 (en) | Method for generating application for controlling external electronic device and electronic apparatus for supporting the same | |
CN110445784B (en) | Display method and device of operation data and energy system | |
JP6393905B2 (en) | Motor drive device | |
CN113270094A (en) | Electrical equipment control method and device | |
CN113676353A (en) | Control method and device for equipment, storage medium and electronic device | |
CN112416441A (en) | Equipment management method, device and system based on Internet of things | |
CN111883126A (en) | Data processing mode selection method and device and electronic equipment | |
CN114095541B (en) | Data processing system and method, edge device, protocol management device and server | |
CN111352811B (en) | User behavior data acquisition method, device, equipment and medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |