CN114114964A - Linkage control method and system among multiple devices - Google Patents

Linkage control method and system among multiple devices Download PDF

Info

Publication number
CN114114964A
CN114114964A CN202111277226.2A CN202111277226A CN114114964A CN 114114964 A CN114114964 A CN 114114964A CN 202111277226 A CN202111277226 A CN 202111277226A CN 114114964 A CN114114964 A CN 114114964A
Authority
CN
China
Prior art keywords
linkage
rule
linkage rule
sensor
data
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.)
Pending
Application number
CN202111277226.2A
Other languages
Chinese (zh)
Inventor
罗彩虹
王志双
宋德华
冯鸣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Yuanyuan Technology Co ltd
Shenzhen Yixin Semiconductor Co ltd
Guangdong Yuantong Industrial Technology Co ltd
Original Assignee
Guangdong Yuanyuan Technology Co ltd
Shenzhen Yixin Semiconductor Co ltd
Guangdong Yuantong Industrial Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Yuanyuan Technology Co ltd, Shenzhen Yixin Semiconductor Co ltd, Guangdong Yuantong Industrial Technology Co ltd filed Critical Guangdong Yuanyuan Technology Co ltd
Priority to CN202111277226.2A priority Critical patent/CN114114964A/en
Publication of CN114114964A publication Critical patent/CN114114964A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a linkage control method and a system among a plurality of devices, wherein the method comprises the following steps: generating a linkage rule file in response to the configuration of the cloud of the user; acquiring environmental data based on a sensor to obtain sensor data; integrating the sensor data and controlling the valve according to a preset linkage rule to obtain an equipment execution result; and making the device execution result into a storage log and uploading the storage log. The system comprises: managing a background and a device side. The invention realizes linkage control between the equipment and various sensors by processing and integrating the data collected by the equipment and issuing the rule file. The linkage control method and the linkage control system for the multiple devices can be widely applied to the field of linkage.

Description

Linkage control method and system among multiple devices
Technical Field
The invention relates to the field of linkage control, in particular to a linkage control method and a linkage control system among multiple devices.
Background
The vigorous development of the Internet of things industry promotes the rapid development of various industries such as smart home, smart agriculture and the like. Simple equipment control logic cannot meet the increasingly complex scene of the demand, and besides equipment control, data monitoring and acquisition, data analysis and corresponding equipment coping logic of a deployment environment are also important functions which must be possessed by the intelligent equipment of the Internet of things. Traditional environment monitoring equipment, such as smoke alarms, infrared inductive switches and the like, can only monitor specific data and trigger simple processing logic, and cannot cope with complex application scenes. The environmental monitoring type sensor in the existing market is only used as an auxiliary product for environmental data acquisition and is mounted on a plurality of Internet of things devices with monitoring functions. The internet of things equipment installed in some specific scenes has high requirements on data real-time performance, is sensitive to external environment changes, and needs to be quickly controlled and adjusted according to the environment changes. The automatic management is really realized according to the requirements of the user, and the attention degree and the control complexity of the user are reduced in the process of reaching the expectation.
Disclosure of Invention
In order to solve the above technical problems, an object of the present invention is to provide a method and a system for linkage control among multiple devices, which control the opening of a valve in real time during a change of external environmental data, so as to meet the device control requirements under different conditions.
The first technical scheme adopted by the invention is as follows: a linkage control method among a plurality of devices comprises the following steps:
generating a linkage rule file in response to the configuration of the cloud of the user;
acquiring environmental data based on a sensor to obtain sensor data;
integrating the sensor data and controlling the valve according to a preset linkage rule to obtain an equipment execution result;
and making the device execution result into a storage log and uploading the storage log.
Further, the linkage rule comprises rule effective time, rule invalid time, valve target opening, operation types among rule arrays, sensor types, sensor data condition fields, sensor data condition values, sensor addresses and single sensor internal judgment conditions.
Further, the step of generating a rule file of the linkage rule in response to the cloud configuration of the user specifically includes:
and responding to the user operation, generating a corresponding linkage rule file in the management background, and sending an updating instruction to the equipment terminal.
Further, the collecting of the environmental data based on the sensor is a timed loop task.
Further, the step of integrating the sensor data and controlling the valve according to a preset linkage rule to obtain an equipment execution result specifically comprises:
judging that the equipment end receives an updating instruction of the linkage rule file, sending a downloading request and downloading the linkage rule file;
checking and loading the linkage rule file to obtain a linkage rule;
integrating the sensor data to obtain integrated data;
and controlling the valve according to the integrated data and the linkage rule to obtain an equipment execution result.
Further, the step of checking and loading the linkage rule file to obtain the linkage rule specifically includes:
checking the linkage rule file;
judging that the linkage rule file passes the verification, analyzing the linkage rule and putting the linkage rule into a memory;
and judging that the linkage rule file fails to be checked, and retransmitting the downloading request and downloading the linkage rule file.
Further, the step of obtaining an equipment execution result by controlling the valve according to the integrated data and the linkage rule specifically includes:
integrating the data and comparing the linkage rules to judge whether the rules are matched;
judging rule matching, and controlling the opening of the corresponding valve according to the linkage rule to obtain an equipment execution result;
and judging that the rules are not matched, and waiting for the sensor data of the next round.
The second technical scheme adopted by the invention is as follows: a coordinated control system between a plurality of devices, comprising:
the management background responds to the configuration of a user, generates a linkage rule file and sends an instruction to the equipment end;
the device end acquires environmental data based on the sensor to obtain sensor data, integrates the sensor data, controls the valve according to a preset linkage rule to obtain a device execution result, and makes the device execution result into a storage log and uploads the storage log.
The method and the system have the beneficial effects that: the invention realizes linkage control between the equipment and various sensors by processing and integrating the collected data of the equipment and issuing the regular file, widens the control channels and modes of the equipment, and simultaneously improves the usability of the equipment so as to deal with more complex use scenes; the data processing and control dependence on the server side is reduced, and the user experience is optimized.
Drawings
FIG. 1 is a flow chart of a linkage control method among a plurality of devices according to the present invention;
fig. 2 is a schematic structural diagram of a linkage control system among a plurality of devices according to the present invention.
Detailed Description
The invention is described in further detail below with reference to the figures and the specific embodiments. The step numbers in the following embodiments are provided only for convenience of illustration, the order between the steps is not limited at all, and the execution order of each step in the embodiments can be adapted according to the understanding of those skilled in the art.
The invention realizes a new control mode by adding logic and a method for controlling the linkage of control and sensor data in the equipment.
Referring to fig. 1, the present invention provides a linkage control method between a plurality of devices, the method including the steps of:
s1, generating a linkage rule file in response to the user cloud configuration;
s2, acquiring environmental data based on the sensor to obtain sensor data;
s3, integrating the sensor data and controlling the valve according to a preset linkage rule to obtain an equipment execution result;
and S4, making the device execution result into a storage log and uploading the storage log.
Specifically, the device provides an RS485 interface, can access various environment and soil monitoring sensors according to requirements, then integrates the data collected by the sensors, sets corresponding control logic, and controls the opening of the valve in real time in the process of changing external environment data so as to meet the control requirements of the device under different conditions, thereby achieving the purpose of fine control and simplifying the complexity of user operation and participating in adjustment.
As a preferred embodiment of the method, the linkage rule includes rule effective time, rule ineffective time, valve target opening, operation type between rule arrays, sensor type, sensor data condition field, sensor data condition value, sensor address, and internal judgment condition of a single sensor.
Specifically, according to the scheme, the valve controller is linked, namely the valve control opening corresponding to the corresponding stage is set according to sensor data of different stages, the unattended self-control logic of the equipment is achieved, the linkage is not only specific to the equipment, but also can be expanded into a plurality of intelligent equipment control logics, the air conditioner is the linkage of the temperature and the refrigerating system, the water heater is the linkage of the temperature and the heater, the linkage rule is not only specific to a single rule, and a plurality of rules can be combined to realize more complex linkage logic.
Further as a preferred embodiment of the method, the sensor-based collection of environmental data is a timed loop task.
In addition, the sensor data is read in a circulating manner, the sensor data is updated in real time, and a data update notification is broadcasted to the whole world after each data update.
Further, as a preferred embodiment of the method, the step of integrating the sensor data and controlling the valve according to a preset linkage rule to obtain an execution result of the device specifically includes:
judging that the equipment end receives an updating instruction of the linkage rule file, sending a downloading request and downloading the linkage rule file;
checking and loading the linkage rule file to obtain a linkage rule;
specifically, a multi-sensor linkage control logic set by a user is downloaded from a platform through equipment, the multi-sensor linkage control logic is stored in the local offline for execution, the data of each sensor is read according to frequency, the data and conditions in the control logic are combined for operation, and actions in the control logic are triggered to execute when the data and the conditions are met (such as the temperature and humidity measured by the sensors and the opening degree of an automatic regulating valve).
Integrating the sensor data to obtain integrated data;
and controlling the valve according to the integrated data and the linkage rule to obtain an equipment execution result.
Specifically, by linkage rule matching, namely reading and analyzing a rule file by an equipment end, judging whether the current updated data meets the rule or not, and then carrying out subsequent processing logic according to the matching condition; the device action, i.e., the matching of the current rules, requires a process to be performed and achieve the desired effect.
Further, as a preferred embodiment of the method, the step of checking and loading the linkage rule file to obtain the linkage rule specifically includes:
checking the linkage rule file;
judging that the linkage rule file passes the verification, analyzing the linkage rule and putting the linkage rule into a memory;
and judging that the linkage rule file fails to be checked, and retransmitting the downloading request and downloading the linkage rule file.
Specifically, the linkage rule is configured at the cloud end by a user, after the user configuration is finished, the cloud end automatically generates a corresponding rule file, then sends a notification to the equipment, and after the equipment receives the rule file updating notification, automatically sends a downloading request to the cloud end and continues to perform subsequent verification and loading. And when the file is completely verified and loaded successfully, the current rule is stored in the current memory, and after each round of sensor data acquisition is finished, the rule file and the sensor data are matched in real time.
Further, as a preferred embodiment of the method, the step of controlling the valve according to the integrated data and the linkage rule to obtain the device execution result specifically includes:
integrating the data and comparing the linkage rules to judge whether the rules are matched;
judging rule matching, and controlling the opening of the corresponding valve according to the linkage rule to obtain an equipment execution result;
and judging that the rules are not matched, and waiting for the sensor data of the next round.
Specifically, when rule matching is carried out, if the current sensor data has a matched linkage rule, processing corresponding logic is started; the rule matching is premised that the collection action is in the time range set by the rule and accords with each condition list. Acquiring the opening degree corresponding to the rule, comparing the opening degree with the current opening degree of the equipment, and if the current opening degree is the same as the target opening degree, not performing action; and if the current opening is inconsistent with the target opening, starting valve opening adjustment, and after the adjustment is finished, recording a current behavior log and automatically reporting an event.
Referring to fig. 2, a coordinated control system between a plurality of devices includes:
the management background responds to the configuration of a user, generates a linkage rule file and sends an instruction to the equipment end;
the device end acquires environmental data based on the sensor to obtain sensor data, integrates the sensor data, controls the valve according to a preset linkage rule to obtain a device execution result, and makes the device execution result into a storage log and uploads the storage log.
Further, the device side further includes:
the sensor is used for collecting environmental data according to the timing task;
the memory is used for storing the analyzed linkage rule;
the linkage module is used for integrating the data, comparing linkage rules, judging whether the rules are matched or not, if the rules are matched, controlling the corresponding valve opening according to the linkage rules to obtain an equipment execution result, and if the rules are not matched, waiting for the sensor data of the next round;
and the log module is used for making the device execution result into a storage log and uploading the storage log.
The contents in the above method embodiments are all applicable to the present system embodiment, the functions specifically implemented by the present system embodiment are the same as those in the above method embodiment, and the beneficial effects achieved by the present system embodiment are also the same as those achieved by the above method embodiment.
While the preferred embodiments of the present invention have been illustrated and described, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (8)

1. A linkage control method among a plurality of devices is characterized by comprising the following steps:
generating a linkage rule file in response to the configuration of the cloud of the user;
acquiring environmental data based on a sensor to obtain sensor data;
integrating the sensor data and controlling the valve according to a preset linkage rule to obtain an equipment execution result;
and making the device execution result into a storage log and uploading the storage log.
2. The method according to claim 1, wherein the linkage rules include rule effective time, rule ineffective time, valve target opening, operation type between rule arrays, rule array, sensor type, sensor data condition field, sensor data condition value, sensor address, and individual sensor internal judgment condition.
3. The method according to claim 1, wherein the step of generating a rule file of the linkage rule in response to the user cloud configuration specifically comprises:
and responding to the user operation, generating a corresponding linkage rule file in the management background, and sending an updating instruction to the equipment terminal.
4. The method of claim 3, wherein the sensor-based collection of environmental data is a timed-loop task.
5. The method for linkage control among a plurality of devices according to claim 4, wherein the step of integrating the sensor data and controlling the valve according to a preset linkage rule to obtain the device execution result specifically comprises:
judging that the equipment end receives an updating instruction of the linkage rule file, sending a downloading request and downloading the linkage rule file;
checking and loading the linkage rule file to obtain a linkage rule;
integrating the sensor data to obtain integrated data;
and controlling the valve according to the integrated data and the linkage rule to obtain an equipment execution result.
6. The method according to claim 5, wherein the step of checking and loading the linkage rule file to obtain the linkage rule specifically comprises:
checking the linkage rule file;
judging that the linkage rule file passes the verification, analyzing the linkage rule and putting the linkage rule into a memory;
and judging that the linkage rule file fails to be checked, and retransmitting the downloading request and downloading the linkage rule file.
7. The method according to claim 6, wherein the step of controlling the valve according to the integrated data and the linkage rule to obtain the execution result of the equipment comprises:
integrating the data and comparing the linkage rules to judge whether the rules are matched;
judging rule matching, and controlling the opening of the corresponding valve according to the linkage rule to obtain an equipment execution result;
and judging that the rules are not matched, and waiting for the sensor data of the next round.
8. A coordinated control system between a plurality of devices, comprising:
the management background responds to the configuration of a user, generates a linkage rule file and sends an instruction to the equipment end;
the device end acquires environmental data based on the sensor to obtain sensor data, integrates the sensor data, controls the valve according to a preset linkage rule to obtain a device execution result, and makes the device execution result into a storage log and uploads the storage log.
CN202111277226.2A 2021-10-29 2021-10-29 Linkage control method and system among multiple devices Pending CN114114964A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111277226.2A CN114114964A (en) 2021-10-29 2021-10-29 Linkage control method and system among multiple devices

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111277226.2A CN114114964A (en) 2021-10-29 2021-10-29 Linkage control method and system among multiple devices

Publications (1)

Publication Number Publication Date
CN114114964A true CN114114964A (en) 2022-03-01

Family

ID=80379672

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111277226.2A Pending CN114114964A (en) 2021-10-29 2021-10-29 Linkage control method and system among multiple devices

Country Status (1)

Country Link
CN (1) CN114114964A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN206835124U (en) * 2017-06-05 2018-01-02 杭州嘉迅科技有限公司 A kind of Intelligent internet of things gateway
CN109445848A (en) * 2018-11-07 2019-03-08 深圳市云威物联科技有限公司 Equipment linkage method and device
CN111766820A (en) * 2020-07-20 2020-10-13 成都快乐猴科技有限公司 Intelligent fine management control system applied to intelligent agriculture
CN112492000A (en) * 2020-11-18 2021-03-12 中盈优创资讯科技有限公司 Method and device for loading Internet of things access network rules
CN113268097A (en) * 2021-05-24 2021-08-17 大气候物联网科技(广州)有限公司 Agricultural automation linkage control system and control method thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN206835124U (en) * 2017-06-05 2018-01-02 杭州嘉迅科技有限公司 A kind of Intelligent internet of things gateway
CN109445848A (en) * 2018-11-07 2019-03-08 深圳市云威物联科技有限公司 Equipment linkage method and device
CN111766820A (en) * 2020-07-20 2020-10-13 成都快乐猴科技有限公司 Intelligent fine management control system applied to intelligent agriculture
CN112492000A (en) * 2020-11-18 2021-03-12 中盈优创资讯科技有限公司 Method and device for loading Internet of things access network rules
CN113268097A (en) * 2021-05-24 2021-08-17 大气候物联网科技(广州)有限公司 Agricultural automation linkage control system and control method thereof

Similar Documents

Publication Publication Date Title
KR102393418B1 (en) Data learning server and method for generating and using thereof
US20180283723A1 (en) Data learning server and method for generating and using learning model thereof
CN107860099B (en) Air conditioner frosting detection method and device, storage medium and equipment
US10637682B2 (en) Smart home learning system including user behavior
CN108489031A (en) Control method, air-conditioner set and the storage medium of air-conditioner set
CN111835582A (en) Configuration method and device of Internet of things inspection equipment and computer equipment
CN111327497A (en) Intelligent terminal control method and device, electronic equipment and storage medium
CN110719217A (en) Control method and system based on affair map, readable storage medium and computer
CN113128764A (en) Generation of tobacco dryer outlet water content prediction model and regulation and control method based on same
Kabilan et al. Surveillance and steering of irrigation system in cloud using Wireless Sensor Network and Wi-Fi module
CA3035593A1 (en) Training server and method for generating a predictive model for controlling an appliance
Shafi et al. IoT Based Smart Home: A Machine Learning Approach
CN113901162B (en) Unmanned aerial vehicle environment monitoring method and system based on city management and cloud platform
CN115936262B (en) Yield prediction method, system and medium based on big data environment interference
CN110727299A (en) Greenhouse control method and device
CN117743904A (en) ZigBee-based feed additive nondestructive detection system and method
CN112130458A (en) Target device control method and device, storage medium and electronic device
CN114114964A (en) Linkage control method and system among multiple devices
CN110486859A (en) Multi-split air conditioner and its control method, control device and readable storage medium storing program for executing
CN114019820A (en) Configuration method, device and system of smart home
CN109141536A (en) Seismographic station long-distance monitoring method, system and electronic equipment
CN110779175A (en) Operation mode control method and device
CN109407526B (en) Equipment detection method and device and household appliance
CN116931486A (en) Intelligent library environment data analysis device and method based on HarmonyOS
CN110486898A (en) Air conditioning control method, device and air-conditioning system based on User Activity rule

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