CN113406891B - Internet of things equipment linkage control method, system, device and storage medium - Google Patents

Internet of things equipment linkage control method, system, device and storage medium Download PDF

Info

Publication number
CN113406891B
CN113406891B CN202110677941.9A CN202110677941A CN113406891B CN 113406891 B CN113406891 B CN 113406891B CN 202110677941 A CN202110677941 A CN 202110677941A CN 113406891 B CN113406891 B CN 113406891B
Authority
CN
China
Prior art keywords
control
state information
type
program
linkage
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
Application number
CN202110677941.9A
Other languages
Chinese (zh)
Other versions
CN113406891A (en
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.)
Hangzhou Shendu Technology Co ltd
Original Assignee
Hangzhou Shendu 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 Hangzhou Shendu Technology Co ltd filed Critical Hangzhou Shendu Technology Co ltd
Priority to CN202110677941.9A priority Critical patent/CN113406891B/en
Publication of CN113406891A publication Critical patent/CN113406891A/en
Application granted granted Critical
Publication of CN113406891B publication Critical patent/CN113406891B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • G05B15/00Systems controlled by a computer
    • G05B15/02Systems controlled by a computer electric
    • 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/418Total 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]
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y10/00Economic sectors
    • G16Y10/80Homes; Buildings
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y40/00IoT characterised by the purpose of the information processing
    • G16Y40/30Control
    • G16Y40/35Management of things, i.e. controlling in accordance with a policy or in order to achieve specified objectives
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2642Domotique, domestic, home control, automation, smart house
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • General Business, Economics & Management (AREA)
  • Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Automation & Control Theory (AREA)
  • General Engineering & Computer Science (AREA)
  • Manufacturing & Machinery (AREA)
  • Quality & Reliability (AREA)
  • Architecture (AREA)
  • Civil Engineering (AREA)
  • Structural Engineering (AREA)
  • Accounting & Taxation (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Computer And Data Communications (AREA)

Abstract

The application discloses a thing networking equipment coordinated control method, system, device and computer readable storage medium, include: receiving state information uploaded by each independent device by utilizing a centralized control program; acquiring first type state information uploaded by corresponding first type independent equipment from a centralized control program by using a first linkage management program and a corresponding first communication mapping relation; and calling a control program corresponding to the first type of state information of the first type of independent equipment by using the first linkage management program to generate corresponding control information. The method and the system realize unified information collection of the independent devices by utilizing the centralized control program to uniformly collect the state information of each independent device, acquire the required state information by utilizing each pre-designed linkage management program, and call the corresponding control program according to the state information by utilizing each linkage management program, thereby realizing the effect of carrying out linkage control on a plurality of independent devices according to the state information of the plurality of independent devices.

Description

Internet of things equipment linkage control method, system, device and storage medium
Technical Field
The invention relates to the field of distributed storage, in particular to a linkage control method, a system and a device for Internet of things equipment and a computer readable storage medium.
Background
With the development of the internet and intelligent terminals, in order to further facilitate the living experience of people, various devices start to be connected so as to receive remote control of people, the concept of the internet of things is greatly developed.
A large number of devices can be dynamically accessed in the Internet of things, meanwhile, linkage relations are required to be established between different devices, such as an air conditioner is started at a temperature lower than 20 ℃, PM2.5 is started at a value higher than a specified value, and the like, in the prior art, the linkage establishment method is that specified comparison rules and specified actions (such as an address 1 is larger than 20, then data 10 is sent to an address 2) are set in a device management program, the linkage can only be applicable to linkage between simple data transformation, for complex situations, no method is realized, meanwhile, a basic rule of logic is dead, a code upgrading program is required to be modified by dynamically expanding the linkage rules, and the realization and flexibility are both insufficient.
Therefore, an internet of things equipment control method is needed, which is more flexible and has stronger functions.
Disclosure of Invention
Accordingly, the present invention is directed to a method, a system, a device, and a computer readable storage medium for controlling the linkage of an internet of things device, which can be more flexible and have a stronger function. The specific scheme is as follows:
an internet of things equipment linkage control method comprises the following steps:
receiving state information uploaded by each independent device by utilizing a centralized control program;
acquiring first type state information uploaded by corresponding first type independent equipment from the centralized control program by using a first linkage management program and a corresponding first communication mapping relation;
calling a control program corresponding to the first type of state information of the first type of independent equipment by using the first linkage management program to generate corresponding control information;
transmitting the control information to the centralized control program by using the first linkage management program;
and sending the control information to corresponding independent equipment and other corresponding linkage management programs by utilizing the centralized control program so as to control each equipment and synchronize the control information.
Optionally, the process of acquiring the first type of status information uploaded by the corresponding first type of independent device from the centralized control program by using the first linkage management program and the corresponding communication mapping relation includes:
and the first linkage management program loads a corresponding state information acquisition script by using the first communication mapping relation, and acquires first type state information uploaded by corresponding first type independent equipment from the centralized control program by using the state information acquisition script.
Optionally, the process of calling, by using the first linkage management program, a control program corresponding to the first type of state information of the first type of independent device to generate corresponding control information includes:
the first linkage management program uses the first type state information of the first type independent equipment and the pre-generated information to control a mapping relation, and searches a control script function corresponding to the first type state information;
and the first linkage management program runs the control script function and generates corresponding control information according to the first type of state information.
The invention also discloses a linkage control system of the Internet of things equipment, which comprises the following steps:
the state information receiving module is used for receiving the state information uploaded by each independent device by utilizing the centralized control program;
the state information acquisition module is used for acquiring first type state information uploaded by corresponding first type independent equipment from the centralized control program by using a first linkage management program and a corresponding first communication mapping relation;
the control information generation module is used for calling a control program corresponding to the first type of state information of the first type of independent equipment by using the first linkage management program to generate corresponding control information;
the control information sending module is used for sending the control information to the centralized control program by utilizing the first linkage management program;
and the control information synchronization module is used for transmitting the control information to corresponding independent equipment and other corresponding linkage management programs by utilizing the centralized control program so as to control each equipment and synchronize the control information.
Optionally, the state information obtaining module is specifically configured to load a corresponding state information obtaining script by using the first communication mapping relationship by using the first linkage management program, and obtain, by using the state information obtaining script, first type state information uploaded by a corresponding first type independent device from the centralized control program.
Optionally, the control information generating module includes:
the script searching unit is used for searching a control script function corresponding to the first type of state information by the first linkage management program according to the first type of state information of the first type of independent equipment and the pre-generated information control mapping relation;
and the script running unit is used for running the control script function by the first linkage management program and generating corresponding control information according to the first type of state information.
The invention also discloses a linkage control device of the Internet of things equipment, which comprises:
a memory for storing a computer program;
and the processor is used for executing the computer program to realize the linkage control method of the Internet of things equipment.
The invention also discloses a computer readable storage medium, wherein the computer readable storage medium is stored with a computer program, and the computer program realizes the linkage control method of the Internet of things equipment when being executed by a processor.
The invention discloses a linkage control method of equipment of the Internet of things, which comprises the following steps: receiving state information uploaded by each independent device by utilizing a centralized control program; acquiring first type state information uploaded by corresponding first type independent equipment from a centralized control program by using a first linkage management program and a corresponding first communication mapping relation; calling a control program corresponding to the first type of state information of the first type of independent equipment by using a first linkage management program to generate corresponding control information; transmitting control information to the centralized control program by using the first linkage management program; and sending control information to corresponding independent equipment and other corresponding linkage management programs by utilizing the centralized control program so as to control each equipment and synchronize the control information.
The invention utilizes the centralized control program to collect the state information of each independent device uniformly, realizes the uniform information collection of the independent devices, and utilizes each pre-designed linkage management program to acquire the required state information, and each linkage management program calls the corresponding control program according to the state information, thereby realizing the effect of carrying out linkage control on a plurality of independent devices according to the state information of the plurality of independent devices, and simultaneously realizing the control sharing among the linkage control programs.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present invention, and that other drawings can be obtained according to the provided drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic flow chart of a linkage control method of an internet of things device according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of another coordinated control method of an internet of things device according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a linkage management program implementation flow according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a coordinated control logic of an internet of things device according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a coordinated control system of an internet of things device according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The embodiment of the invention discloses a linkage control method of Internet of things equipment, which is shown in fig. 1 and comprises the following steps:
s11: and receiving the state information uploaded by each independent device by utilizing the centralized control program.
Specifically, each device in the internet of things, for example, a sensor such as a thermometer, an air conditioner, a washing machine and the like, and response devices can upload own state information to the centralized control program through the corresponding device management program.
The state information includes the operation state of the equipment, output parameters and the like, such as a temperature value detected by a thermometer, whether the air conditioner is in operation, a set temperature, an operation mode and the like.
Specifically, the centralized control program is used for receiving the state information of each independent device in the designated area, so as to realize unified management, and the state information of each device is collected in a unified way, so that the subsequent program can acquire various device information conveniently.
S12: and acquiring the first type of state information uploaded by the corresponding first type of independent equipment from the centralized control program by using the first linkage management program and the corresponding first communication mapping relation.
Specifically, because there may be multiple independent devices, the correlation between some independent devices may not be easy to control jointly, so multiple linkage management programs may be run simultaneously, and different linkage management programs may control different multiple independent devices respectively, so that joint control is implemented for multiple independent devices in one area or multiple areas.
For example, one linkage management program may be used to perform light logic control on a plurality of lamps, another linkage management program may be used to perform linkage control on a plurality of air conditioners, and one linkage management program may be used to perform linkage control on a part of light and air conditioners.
Specifically, each linkage management program has a corresponding communication mapping relation, and the linkage management program can acquire the first type state information uploaded by the first type independent equipment needing linkage control at this time by using the communication mapping relation, so that linkage control on the first type independent equipment is realized. The first type of independent equipment refers to one or more independent equipment to be subjected to linkage control by the first linkage management program, and the first type of state information comprises state information of each independent equipment in the first type of independent equipment.
It can be understood that the independent equipment required to be controlled by each linkage management program can be specified by setting and modifying the communication mapping relation, so that the user can conveniently and flexibly control the linkage management program.
S13: and calling a control program corresponding to the first type of state information of the first type of independent equipment by using the first linkage management program to generate corresponding control information.
Specifically, after the first type state information of the first type independent device is obtained, a corresponding control program can be called, the first type state information is input into the control program, and under the condition that the first type state information is met, the control program generates corresponding control information according to the first type state information so as to control the first type independent device to work.
S14: and sending control information to the centralized control program by using the first linkage management program.
Specifically, after the control program in the first linkage management program generates the control information, the control information may be sent to the centralized control program, so that the centralized control program forwards the control information to each independent device as a transfer program.
S15: and sending control information to corresponding independent equipment and other corresponding linkage management programs by utilizing the centralized control program so as to control each equipment and synchronize the control information.
Specifically, since the control information between the linkage management programs can also be used as a trigger action, after the centralized control program receives the control information, the control information can be forwarded to the corresponding linkage management program, so that other linkage management programs can judge whether to execute corresponding linkage management according to the control information.
Specifically, the linkage management programs can be associated in advance, so that the centralized control program can forward control information generated by the current first linkage management program to other corresponding linkage management programs according to the pre-established association so as to realize intercommunication among the linkage management programs.
Specifically, in an actual application scenario, for example, the actions may be triggered according to that pm2.5>100, the air conditioning temperature >30, the conditions of opening the light in the living room and opening the curtain are all satisfied, for example, when the above 4 conditions are all satisfied, the actions of opening the air conditioning, closing the main sleeping light, closing the curtain and opening the fresh air are executed, and if the first linkage management program receives that pm2.5 is 200, but the conditions are not triggered when the temperature is found to be 20 degrees; in the above example, the independent equipment comprises a pm sensor, an air conditioner, a lamp and a curtain control device, a first communication mapping relation in a first linkage management program records that the first linkage management program needs to acquire first type state information uploaded by 4 independent equipment of pm values, air conditioner temperature, living room light states and curtain states, the first linkage management program judges whether conditions pm2.5>100, air conditioner temperature >30 and 4 conditions of living room light opening and curtain opening are met or not through the first type state information, if yes, a corresponding control program is called, control information for executing the 4 actions of opening the air conditioner, closing the main horizontal light, closing the curtain and opening fresh air is generated, and the control information is sent to each independent equipment through a centralized management program to realize linkage control.
The control information in the above example may include 4 sub-control information, which corresponds to 4 actions of executing actions to turn on an air conditioner, turn off a main horizontal light, turn off a curtain, and turn on fresh air, respectively, and the centralized management program sends the 4 sub-control information to the corresponding device.
Therefore, the embodiment of the invention utilizes the centralized control program to uniformly collect the state information of each independent device, realizes uniform information collection of the independent devices, and utilizes each pre-designed linkage management program to acquire the required state information, and each linkage management program calls the corresponding control program according to the state information, so as to realize the effect of carrying out linkage control on the plurality of independent devices according to the state information of the plurality of independent devices, and simultaneously realize control sharing among the linkage control programs.
The embodiment of the invention discloses a specific method, and compared with the previous embodiment, the technical scheme is further described and optimized. See fig. 2 for details:
s21: receiving state information uploaded by each independent device by utilizing a centralized control program;
s22: the first linkage management program loads a corresponding state information acquisition script by using a first communication mapping relation, and acquires first type state information uploaded by corresponding first type independent equipment from the centralized control program by using the state information acquisition script.
Specifically, according to the independent equipment required to be controlled by the first linkage management program designed in the first communication mapping relation, the first linkage management program acquires first type state information uploaded by the first type independent equipment required to be acquired and recorded in the first communication mapping relation through a script function.
Specifically, the independent equipment required to be controlled by the first linkage management program is set through the first communication mapping relation, so that the control range can be changed in the future.
Specifically, referring to fig. 3, the specific form of the first communication mapping relationship may be an address mapping table, and an address connection with a serial port capable of acquiring status information of an independent device through a centralized control program is established by using a corresponding logic function.
S23: the first linkage management program uses the first type state information of the first type independent equipment and the pre-generated information to control the mapping relation, and searches the control script function corresponding to the first type state information.
Specifically, corresponding preset control script functions are searched in the information control mapping relation according to the first type of state information, so that corresponding control information is generated by using the control script functions later, and the control script functions corresponding to different first type of state information are designed according to the information control mapping relation, so that the effect of independent control according to different states of independent equipment is achieved.
Specifically, referring to fig. 3, the first linkage management program starts a corresponding logic function according to the timer mapping table, starts a corresponding logic function loaded serial port mapping table in the address mapping table, that is, a logic function in the information control mapping relation, that is, a control script function at intervals of preset time, determines whether the serial port has data or not, and if so, generates corresponding control information as described in S24.
S24: the first linkage management program runs a control script function and generates corresponding control information according to the first type of state information.
S25: transmitting control information to the centralized control program by using the first linkage management program;
s26: and sending control information to corresponding independent equipment and other corresponding linkage management programs by utilizing the centralized control program so as to control each equipment and synchronize the control information.
Specifically, the logic framework of the embodiment of the invention is shown in fig. 4.
Specifically, referring to fig. 3 and fig. 4, the overall flow of the embodiment of the present invention includes that the linkage management program starts to load some basic functions into the script, then loads the script, analyzes the address/timer/serial port mapping table in the script, establishes the mapping from the address/timer id/serial port handle to the script trigger function in the memory, then the management program monitors the reporting of the device state all the time, the triggering of the timer and the data of the serial port end, if the corresponding data is received, searches the mapping table, finds the corresponding script function, and executes the corresponding script function.
When receiving the data of the device, the device stores the data into the memory, provides the queried function GETVAL, and can directly call the GETVAL (addr) in the script to acquire the data of the corresponding address of the device.
Wherein the timer is realized in the management program, the creation is created by calling a c++ interface in the script, and after triggering, the corresponding script function is directly called according to the id of the timer
And after the data of the serial port are received, the web is assembled into an array format of the script, and the array format is transmitted into the script and a callback function for receiving the data of the serial port is called. The script can directly process the business of the received data.
Specifically, the embodiment of the invention also discloses a specific script implementation method, which comprises the following steps:
the rules of the linkage script are as follows
Figure BDA0003121604430000081
Figure BDA0003121604430000091
Wherein, WISER_INIT is the function of initialization operation, and some initialization operations are executed and can be defaulted; ADDTIMER is the create timer, and id uart_open returned to the timer is the handle returned by the OPEN serial port.
Wherein gTimerFunc gUartFunc gFunc are 3 fixed variables for implementing the mapping, for example:
gTimerFunc [ timer ] =function 1- -the trigger function of the timer corresponding to timer is designated as function1
gUartFunc [ fd ] =function 2-designating the receive data processing function of the serial port whose open handle is fd as function2
gFunc [ addr1: addr2: addr3] = function3- -the trigger function of the device address addr1addr2 addr3 is designated function3 (receipt of data of addr1addr2 addr3 will trigger function 3)
Specifically, the above shows a rule for writing a simplest script, and the web end provides some script interface functions, which is specifically as follows:
SLEEP (seconds) delay time seconds
MSLEEP (mseconds) delayed milliseconds
READ (addr) device READ address addr value
READDRUP ({ addr }) to read the value of the batch address addrs by the device
SEND (addr, type, val) sets the value of the device address addr
SENDGROUP ({ addr, type, val }) sets the values of the device's multiple addresses addrs
PUSH (msg) message msg to mobile phone
UART_OPEN (dev, burst, databits, parity, STOBit) OPENs a serial port
UART_CLOSE (fd) CLOSEs serial port
UART_SCLOSE (dev) closes serial port
UART_SEND_STRING (handle, str) UART SEND STRING
UART_SEND_BYTES (handle, { data }) UART SENDs data
GETTYPE (addr) acquires the type of address
ADDDATETIMER (week, hor, min, sec) increases the time of week in minutes and seconds timer
ADDTIMER (msec) increasing millisecond timer
DELTIMER (timerid) delete timer
ADDR2INT (ADDR) "1/1/1" class address to INT
Modbus_rtu_open (dev, barude, databits, parity, STOP bits) OPENs MODBUS of serial port
Modbus_tcp_open (ip, port) turns on MODBUS of TCP
ModBUS_CLOSE (handle) turns off MODBUS
MODBUS_READ_BITS (handle, slave, addr, count, { data }) READs multiple BITS
MODBUS_READ_INPUT_BITS (handle, slave, addr, count, { addr: data }) READs multiple consecutive BITS
Modbus_read_ REGISTERS (handle, slave, addr, count, data) MODBUS READs values of multiple addresses
ModBUS_READ_INPUT_ REGISTERS (handle, slave, addr, count, { addr: data }) MODBUS READs multiple consecutive values of multiple registers
Modbus_write_bit (handle, slave, addr, data) MODBUS WRITEs to a single BIT
Modbus_write_bits (handle, slave, { data }) MODBUS WRITEs multiple bit values
Modbus_write_register (handle, slave, addr, data) MODBUS WRITEs a single REGISTER value
Modbus_write_ REGISTERS (handle, slave, { data }) MODBUS WRITEs multiple register values
GETVAL (addr) obtains the value of the device address
Check_time (CHECK { weeks }, firtime, section) CHECK TIME
Correspondingly, the embodiment of the invention also discloses a linkage control system of the Internet of things equipment, which is shown in fig. 5 and comprises the following steps:
a status information receiving module 11, configured to receive status information uploaded by each independent device by using a centralized control program;
the state information obtaining module 12 is configured to obtain, from the centralized control program, first type state information uploaded by the corresponding first type independent device by using the first linkage management program and the corresponding first communication mapping relationship;
a control information generating module 13, configured to invoke a control program corresponding to the first type of state information of the first type of independent device by using the first linkage management program, and generate corresponding control information;
a control information transmitting module 14 for transmitting control information to the centralized control program by using the first linkage management program;
and the control information synchronization module 15 is used for sending control information to corresponding independent equipment and other corresponding linkage management programs by utilizing the centralized control program so as to control each equipment and synchronize the control information.
Therefore, the embodiment of the invention utilizes the centralized control program to uniformly collect the state information of each independent device, realizes uniform information collection of the independent devices, and utilizes each pre-designed linkage management program to acquire the required state information, and each linkage management program calls the corresponding control program according to the state information, so as to realize the effect of carrying out linkage control on the plurality of independent devices according to the state information of the plurality of independent devices, and simultaneously realize control sharing among the linkage control programs.
Specifically, the above-mentioned status information obtaining module 12 is specifically configured to load a corresponding status information obtaining script by using a first communication mapping relationship by using a first linkage management program, and obtain, by using the status information obtaining script, first type status information uploaded by a corresponding first type independent device from a centralized control program.
Specifically, the control information generating module 13 includes:
the script searching unit is used for controlling the mapping relation by the first linkage management program by utilizing the first type state information of the first type independent equipment and the pre-generated information, and searching a control script function corresponding to the first type state information;
the script running unit is used for running and controlling script functions by the first linkage management program and generating corresponding control information according to the first type of state information.
In addition, the embodiment of the invention also discloses a linkage control device of the Internet of things equipment, which comprises the following components:
a memory for storing a computer program;
and the processor is used for executing the computer program to realize the linkage control method of the Internet of things equipment.
In addition, the embodiment of the invention also discloses a computer readable storage medium, wherein a computer program is stored on the computer readable storage medium, and the linkage control method of the Internet of things equipment is realized when the computer program is executed by a processor.
Finally, it is further noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative elements and steps are described above generally in terms of functionality in order to clearly illustrate the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The foregoing has outlined rather broadly the more detailed description of the invention in order that the detailed description of the invention that follows may be better understood, and in order that the present principles and embodiments may be better understood; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in accordance with the ideas of the present invention, the present description should not be construed as limiting the present invention in view of the above.

Claims (6)

1. The linkage control method for the equipment of the Internet of things is characterized by comprising the following steps of:
receiving state information uploaded by each independent device by utilizing a centralized control program;
acquiring first type state information uploaded by corresponding first type independent equipment from the centralized control program by using a first linkage management program and a corresponding first communication mapping relation;
calling a control program corresponding to the first type of state information of the first type of independent equipment by using the first linkage management program to generate corresponding control information;
transmitting the control information to the centralized control program by using the first linkage management program;
the centralized control program is utilized to send the control information to corresponding independent equipment and other corresponding linkage management programs so as to control each equipment and synchronize the control information;
the process of acquiring the first type of state information uploaded by the corresponding first type of independent equipment from the centralized control program by using the first linkage management program and the corresponding communication mapping relation comprises the following steps:
and the first linkage management program loads a corresponding state information acquisition script by using the first communication mapping relation, and acquires first type state information uploaded by corresponding first type independent equipment from the centralized control program by using the state information acquisition script.
2. The method for controlling the internet of things device according to claim 1, wherein the process of calling the control program corresponding to the first type of state information of the first type of independent device by using the first linkage management program to generate the corresponding control information includes:
the first linkage management program uses the first type state information of the first type independent equipment and the pre-generated information to control a mapping relation, and searches a control script function corresponding to the first type state information;
and the first linkage management program runs the control script function and generates corresponding control information according to the first type of state information.
3. The utility model provides an thing networking equipment coordinated control system which characterized in that includes:
the state information receiving module is used for receiving the state information uploaded by each independent device by utilizing the centralized control program;
the state information acquisition module is used for acquiring first type state information uploaded by corresponding first type independent equipment from the centralized control program by using a first linkage management program and a corresponding first communication mapping relation;
the control information generation module is used for calling a control program corresponding to the first type of state information of the first type of independent equipment by using the first linkage management program to generate corresponding control information;
the control information sending module is used for sending the control information to the centralized control program by utilizing the first linkage management program;
the control information synchronization module is used for sending the control information to corresponding independent equipment and other corresponding linkage management programs by utilizing the centralized control program so as to control each equipment and synchronize the control information;
the state information acquisition module is specifically configured to load a corresponding state information acquisition script by using the first communication mapping relationship by using the first linkage management program, and acquire first type state information uploaded by a corresponding first type independent device from the centralized control program by using the state information acquisition script.
4. The internet of things device linkage control system according to claim 3, wherein the control information generation module comprises:
the script searching unit is used for searching a control script function corresponding to the first type of state information by the first linkage management program according to the first type of state information of the first type of independent equipment and the pre-generated information control mapping relation;
and the script running unit is used for running the control script function by the first linkage management program and generating corresponding control information according to the first type of state information.
5. The utility model provides an thing networking equipment coordinated control device which characterized in that includes:
a memory for storing a computer program;
a processor for executing the computer program to implement the internet of things device linkage control method according to any one of claims 1 to 2.
6. A computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the method for controlling the internet of things device according to any one of claims 1 to 2 is implemented.
CN202110677941.9A 2021-06-18 2021-06-18 Internet of things equipment linkage control method, system, device and storage medium Active CN113406891B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110677941.9A CN113406891B (en) 2021-06-18 2021-06-18 Internet of things equipment linkage control method, system, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110677941.9A CN113406891B (en) 2021-06-18 2021-06-18 Internet of things equipment linkage control method, system, device and storage medium

Publications (2)

Publication Number Publication Date
CN113406891A CN113406891A (en) 2021-09-17
CN113406891B true CN113406891B (en) 2023-04-21

Family

ID=77681429

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110677941.9A Active CN113406891B (en) 2021-06-18 2021-06-18 Internet of things equipment linkage control method, system, device and storage medium

Country Status (1)

Country Link
CN (1) CN113406891B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114599097A (en) * 2022-02-24 2022-06-07 深圳市海洋王照明工程有限公司 Control method and device of terminal equipment, centralized controller and storage medium
CN115167325B (en) * 2022-08-23 2023-12-19 郑州华泰联合工业自动化有限公司 Intelligent processing control method, system, equipment and storage medium for cable

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002135266A (en) * 2000-10-24 2002-05-10 Mitsubishi Electric Corp Communication network system
JP2003150211A (en) * 2001-11-12 2003-05-23 Omron Corp Control system and slave, and control information collecting device and method
CN1662859A (en) * 2002-07-19 2005-08-31 松下电器产业株式会社 Device linkage control apparatus
JP2012227818A (en) * 2011-04-21 2012-11-15 Nippon Telegr & Teleph Corp <Ntt> Home appliance cooperative control device and home appliance cooperative control method
CN108092862A (en) * 2017-12-15 2018-05-29 四川爱联科技有限公司 WiFi ad hoc network control systems based on Internet of Things
CN109870915A (en) * 2017-12-03 2019-06-11 西安开元合众机电有限责任公司 A kind of smart home linked system based on Internet of Things
CN110535824A (en) * 2019-07-08 2019-12-03 湖南优创智能科技有限公司 Smart home interlock method, system, terminal device and storage medium
CN111614524A (en) * 2019-02-26 2020-09-01 华为技术有限公司 Multi-intelligent-device linkage control method, device and system

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008099307A1 (en) * 2007-02-12 2008-08-21 Philips Intellectual Property & Standards Gmbh Device for a networked control system
EP3376397B1 (en) * 2015-11-09 2020-04-29 Resonest Corporation Electronic device control device, electronic device control method, and electronic device control program
CN105549415A (en) * 2016-03-04 2016-05-04 橙朴(上海)智能科技有限公司 Decentralized intelligent home control system
CN105929705B (en) * 2016-06-29 2019-04-09 江西省聚云科技有限公司 Intelligent energy-saving control system
CN109428911A (en) * 2017-08-24 2019-03-05 阿里巴巴集团控股有限公司 Apparatus control method, device, terminal device and operating system
CN108073079A (en) * 2017-12-14 2018-05-25 上海斐讯数据通信技术有限公司 A kind of intelligent home furnishing control method and system based on linkage strategy
CN111830841A (en) * 2020-07-08 2020-10-27 珠海格力电器股份有限公司 Linkage control method, device, equipment and storage medium for intelligent equipment
CN112468595B (en) * 2020-11-30 2023-04-07 深圳创维-Rgb电子有限公司 Equipment control method, device and system based on gateway
CN112558575A (en) * 2020-12-22 2021-03-26 珠海格力电器股份有限公司 Equipment linkage control method and device, storage medium and equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002135266A (en) * 2000-10-24 2002-05-10 Mitsubishi Electric Corp Communication network system
JP2003150211A (en) * 2001-11-12 2003-05-23 Omron Corp Control system and slave, and control information collecting device and method
CN1662859A (en) * 2002-07-19 2005-08-31 松下电器产业株式会社 Device linkage control apparatus
JP2012227818A (en) * 2011-04-21 2012-11-15 Nippon Telegr & Teleph Corp <Ntt> Home appliance cooperative control device and home appliance cooperative control method
CN109870915A (en) * 2017-12-03 2019-06-11 西安开元合众机电有限责任公司 A kind of smart home linked system based on Internet of Things
CN108092862A (en) * 2017-12-15 2018-05-29 四川爱联科技有限公司 WiFi ad hoc network control systems based on Internet of Things
CN111614524A (en) * 2019-02-26 2020-09-01 华为技术有限公司 Multi-intelligent-device linkage control method, device and system
CN110535824A (en) * 2019-07-08 2019-12-03 湖南优创智能科技有限公司 Smart home interlock method, system, terminal device and storage medium

Also Published As

Publication number Publication date
CN113406891A (en) 2021-09-17

Similar Documents

Publication Publication Date Title
CN113406891B (en) Internet of things equipment linkage control method, system, device and storage medium
US20130086245A1 (en) Data server system and method
Jabbar et al. Implementation of smart home control by using low cost arduino & android design
WO2020168568A1 (en) Data processing method and apparatus, electronic device and readable storage medium
CN109151782B (en) WIFI signal relay method and system based on intelligent household equipment
CN110764453A (en) Intelligent household control system based on voice control
CN102437975A (en) Home intelligent gateway system based on advanced reduced instruction set computer (RISC) machines (ARM) 9 processor
CN114301940A (en) Internet of things equipment control method, device and system
CN108989162A (en) A kind of household intelligent robot steward system
Schiller et al. ScatterWeb: A wireless sensornet platform for research and teaching
CN114500179A (en) Credible visual thing allies oneself with management and control system based on block chain and cloud screen
Gao et al. A wireless sensor network environment monitoring system based on TinyOS
WO2023216995A1 (en) Device control method and apparatus, electronic device, and storage medium
CN112180753A (en) Intelligent home control method, system and server
CN116996546A (en) Control method, device and equipment of Internet of things equipment and storage medium
CN111445649A (en) Low-power-consumption wireless doorbell system and control method thereof
CN104243252B (en) A kind of intelligent domestic system for supporting IGRS agreements
CN214507101U (en) Intelligent household system
CN115016302A (en) Device control method, device and storage medium
CN112782989A (en) Intelligent home data storage system
Pensas et al. WSN middleware for existing smart homes
CN114518706A (en) Equipment control method, device and system, intelligent equipment and storage medium
CN112115855B (en) Intelligent household gesture control system and control method based on 5G
KR101810243B1 (en) System for controlling sensor
CN105553788B (en) The control method of node and triggering node work in family&#39;s sensing network

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