Sensor-based linkage control method, device, equipment and storage medium

CN116880292BActive Publication Date: 2026-09-18SHENZHEN JIATANG ELECTRONIC TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202310891139.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-07-19
Publication Date
2026-09-18
Estimated Expiration
2043-07-19

AI Technical Summary

Technical Problem

[0003]本发明的主要目的在于解决当传感器数量较多时,系统复杂性增加,管理和扩展困难的技术问题

Benefits of technology

[0032] In this embodiment of the invention, when data sent by a sensor is received, the data is abstracted into a first message and stored; an instruction is generated according to the first message and preset linkage rules; the instruction is abstracted into a second message; and the second message is sent to the linkage device corresponding to the instruction. When the linkage device receives the second message, it parses the second message to obtain the instruction and executes it. Sensor linkage control, by combining sensor data with preset linkage rules, can automatically generate instructions and messages and send them to the linkage device. This eliminates the need for manual intervention, making the entire process more efficient and automated. Data sent by the sensor can be received and processed instantly. Once data is received, it is immediately abstracted into a first message and stored, then an instruction is generated according to the rules and abstracted into a second message and sent to the linkage device. This enables real-time response and immediate execution of corresponding operations when needed. Preset linkage rules allow users to set different linkage methods and operations according to specific needs and scenarios. This flexibility allows the device to adapt to various application scenarios and be customized and adjusted as needed. By abstracting data into messages and instructions, the device can effectively process and transmit information. This efficiency ensures rapid data transmission and execution, reducing latency and time loss. The design and application of this sensor linkage control device helps improve the coordination and efficiency of sensor systems, enabling automated data processing and operation execution. When the number of sensors is large, it reduces system complexity, making management and expansion simpler.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116880292B_ABST
    Figure CN116880292B_ABST
Patent Text Reader

Abstract

The application relates to the field of digital control, and discloses a linkage control method, device and equipment based on sensors and a storage medium. The method comprises the following steps: when data sent by a sensor is received, the data is abstracted into a first message and stored; an instruction is generated according to the first message and a preset linkage rule; the instruction is abstracted into a second message; and the second message is sent to a linkage device corresponding to the instruction, wherein when the second message is received by the linkage device, the second message is parsed to obtain the instruction and the instruction is executed. When the number of sensors is large, the system complexity is reduced, and management and expansion are simpler.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of digital control, and in particular to a sensor-based linkage control method, apparatus, device, and storage medium. Background Technology

[0002] In traditional sensor linkage solutions, data and command transmission is typically predefined, making it difficult to flexibly adjust and expand according to different needs. Introducing new sensors or devices, or modifying the behavior of existing sensors, requires system reconstruction or upgrades, consuming time and resources. Point-to-point communication is usually used for data transmission and control command delivery. This approach requires establishing independent connections between each sensor and device, and necessitates additional management and maintenance. As the number of sensors increases, system complexity grows, making management and expansion difficult. Summary of the Invention

[0003] The main objective of this invention is to solve the technical problem that when the number of sensors is large, the system becomes more complex and difficult to manage and expand.

[0004] The first aspect of this invention provides a sensor-based linkage control method, the sensor-based linkage control method comprising:

[0005] Upon receiving data from the sensor, the data is abstracted into a first message and stored.

[0006] Generate instructions based on the first message and preset linkage rules;

[0007] The instruction is abstracted into a second message;

[0008] The second message is sent to the linkage device corresponding to the instruction. When the linkage device receives the second message, it parses the second message to obtain the instruction and executes it.

[0009] Optionally, in a first implementation of the first aspect of the present invention, the step of generating instructions based on the first message and preset linkage rules includes:

[0010] The linkage device is determined based on the type of the first message;

[0011] Generate the instruction corresponding to the linkage device.

[0012] Optionally, in a second implementation of the first aspect of the present invention, the step of generating instructions based on the first message and preset linkage rules includes:

[0013] Parse the first message to obtain the parsing result;

[0014] The instructions are generated based on preset linkage rules, logic, algorithms, and / or rule engines, and on the parsing results.

[0015] Optionally, in a third implementation of the first aspect of the present invention, the step of abstracting the data sent by the sensor into a first message and storing it upon receiving the data includes:

[0016] When data is received from multiple sensors, the data is abstracted into a first message and stored.

[0017] Optionally, in a fourth implementation of the first aspect of the present invention, the step of abstracting the data into a first message and storing it when receiving data from multiple sensors includes:

[0018] When receiving sensor data from multiple sensors, the sensor data is comprehensively analyzed to obtain integrated data;

[0019] The data is abstracted into the first message and stored.

[0020] Optionally, in a fifth implementation of the first aspect of the present invention, the step of sending the second message to the linkage device corresponding to the instruction includes:

[0021] The second message is sent to multiple linked devices corresponding to the instruction.

[0022] Optionally, in a sixth implementation of the first aspect of the present invention, before the step of abstracting the data sent by the sensor into a first message and storing it upon receipt, the method further includes:

[0023] Generate the preset linkage rules;

[0024] When a rule update request is detected, the preset linkage rule is updated according to the rule update request.

[0025] A second aspect of the present invention provides a sensor-based linkage control device, comprising:

[0026] The first abstraction module is used to abstract the data sent by the sensor into a first message and store it when it receives the data;

[0027] The generation module is used to generate instructions based on the first message and preset linkage rules;

[0028] The second abstraction module is used to abstract the instruction into a second message;

[0029] The output module is used to send the second message to the linkage device corresponding to the instruction, wherein when the linkage device receives the second message, it parses the second message to obtain the instruction and executes it.

[0030] A third aspect of the present invention provides a sensor-based linkage control device, comprising: a memory and at least one processor, wherein the memory stores instructions, and the memory and the at least one processor are interconnected via a circuit; the at least one processor invokes the instructions in the memory to cause the sensor-based linkage control device to execute the aforementioned sensor-based linkage control method.

[0031] A fourth aspect of the present invention provides a computer-readable storage medium storing instructions that, when executed on a computer, cause the computer to perform the sensor-based linkage control method described above.

[0032] In this embodiment of the invention, when data sent by a sensor is received, the data is abstracted into a first message and stored; an instruction is generated according to the first message and preset linkage rules; the instruction is abstracted into a second message; and the second message is sent to the linkage device corresponding to the instruction. When the linkage device receives the second message, it parses the second message to obtain the instruction and executes it. Sensor linkage control, by combining sensor data with preset linkage rules, can automatically generate instructions and messages and send them to the linkage device. This eliminates the need for manual intervention, making the entire process more efficient and automated. Data sent by the sensor can be received and processed instantly. Once data is received, it is immediately abstracted into a first message and stored, then an instruction is generated according to the rules and abstracted into a second message and sent to the linkage device. This enables real-time response and immediate execution of corresponding operations when needed. Preset linkage rules allow users to set different linkage methods and operations according to specific needs and scenarios. This flexibility allows the device to adapt to various application scenarios and be customized and adjusted as needed. By abstracting data into messages and instructions, the device can effectively process and transmit information. This efficiency ensures rapid data transmission and execution, reducing latency and time loss. The design and application of this sensor linkage control device helps improve the coordination and efficiency of sensor systems, enabling automated data processing and operation execution. When the number of sensors is large, it reduces system complexity, making management and expansion simpler. Attached Figure Description

[0033] Figure 1 This is a schematic diagram of one embodiment of the sensor-based linkage control method in this invention.

[0034] Figure 2This is a reference diagram of an embodiment of the sensor-based linkage control method of the present invention;

[0035] Figure 3 This is a schematic diagram of one embodiment of the sensor-based linkage control device in this invention.

[0036] Figure 4 This is a schematic diagram of one embodiment of the sensor-based linkage control device in this invention. Detailed Implementation

[0037] This invention provides a sensor-based linkage control method, device, equipment, and storage medium.

[0038] The terms “first,” “second,” “third,” “fourth,” etc. (if present) in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms “comprising” or “having,” and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0039] For ease of understanding, the specific process of the embodiments of the present invention is described below. Please refer to [link / reference]. Figure 1 One embodiment of the sensor-based linkage control method in this invention includes:

[0040] 101. Upon receiving data from the sensor, the data is abstracted into a first message and stored;

[0041] Specifically, when data is received from the sensor, the sensor's linkage control device processes and abstracts this data to form a first message, which is then stored.

[0042] Data abstraction is the process of transforming concrete sensor data into a higher-level information representation. This process can include operations such as data parsing, processing, and extracting key features. Through abstraction, raw sensor data is transformed into a form that can be better understood and applied.

[0043] The first message is an information unit formed from abstracted data. It may contain sensor identification information, measurement values, timestamps, and other information related to linkage control. The form and structure of the first message are usually designed according to the requirements of the specific system and application.

[0044] After receiving and abstracting sensor data, the linkage control device stores the resulting initial message. This storage can be done by storing the message in memory, in a database, or using other suitable methods. The purpose of storing the initial message is for subsequent processing and use, including generating instructions, analyzing trends, and recording historical data.

[0045] By abstracting data into first messages and storing them, the sensor linkage control device can better manage and utilize sensor data, providing a basis for subsequent operations and decisions.

[0046] Optionally, when data is received from multiple sensors, the data is abstracted into a first message and stored.

[0047] Optionally, when receiving sensor data from multiple sensors, the sensor data is comprehensively analyzed to obtain integrated data; the data is then abstracted into the first message and stored.

[0048] 102. Generate instructions based on the first message and preset linkage rules;

[0049] Specifically, the sensor's linkage control device needs to parse the first message and extract key information such as sensor identifier, measurement value, and timestamp. By parsing the first message, the system can understand the meaning and context of the sensor data.

[0050] Then, the sensor's linkage control device matches the data according to preset linkage rules. These rules define what operations and behaviors should be performed under specific conditions. These rules may include logical judgments, conditional statements, event triggers, etc., used to determine the conditions and methods for generating instructions. Once a match is successful with the linkage rules, the sensor's linkage control device generates the corresponding instruction based on the matching result. The instruction can be a command to perform a specific operation, a request to send control information to other devices, or a signal to trigger other events.

[0051] The process of generating instructions takes into account the data and context information in the first message, as well as the conditions and logic in the linkage rules. Through comprehensive analysis and judgment, the sensor's linkage control device can generate instructions that meet the requirements, thereby achieving the goal of linkage control.

[0052] Optionally, the linkage device is determined based on the type of the first message; the corresponding instruction for the linkage device is generated. Specifically, the sensor's linkage control device detects the type of the first message to determine the operation to be performed or the event to be triggered. The type of the first message can be determined based on the sensor's output, user input, or other system triggering conditions. Based on the type of the first message, the sensor's linkage control device identifies and determines the devices that need to participate in the linkage. This can be achieved through predefined rules, configuration files, or information in a database. For example, if the first message is an alarm indicating that the temperature exceeds a threshold, the linkage devices may include air conditioning systems, ventilation systems, etc. Once the linkage devices are determined, the sensor's linkage control device generates corresponding instructions to send execution signals to these devices. The generation of instructions can be defined based on the characteristics of the linkage devices and the required operation. For example, for an air conditioning system, instructions may include setting a target temperature, adjusting the fan speed, etc. The generated instructions are sent to the corresponding linkage devices to trigger execution. This can be achieved through network communication, wireless transmission, or other appropriate methods.

[0053] Optionally, the first message is parsed to obtain a parsing result; the instruction is generated based on the parsing result and preset linkage rules, logic, algorithms and / or rule engines.

[0054] Optionally, the preset linkage rules are generated; when a rule update request is detected, the preset linkage rules are updated according to the rule update request. The sensor linkage control device can generate preset linkage rules, which define the association and linkage behavior between sensors. Once these rules are generated, they can be used for automated linkage control based on sensor input. When a rule update request is detected, the sensor linkage control device updates the rules. The sensor linkage control device continuously monitors for the arrival of rule update requests. These requests may be submitted by administrators or system users to update the preset linkage rules. Once a rule update request is detected, the sensor linkage control device parses the content of the request. This may involve decoding, parsing, and verifying the request to ensure its validity and correctness. Based on the content of the rule update request, the sensor linkage control device performs corresponding update operations on the preset linkage rules. This may include adding new linkage rules, modifying existing rules, or deleting rules that are no longer needed. The updated preset linkage rules take effect immediately and are used for subsequent linkage control operations. Sensor inputs will be processed according to the updated rules to achieve the corresponding control logic and linkage behavior.

[0055] By detecting rule update requests and updating preset linkage rules according to the requests, the sensor linkage control device can flexibly adapt to changing needs and achieve more accurate and customizable linkage control functions.

[0056] 103. Abstract the instruction into a second message;

[0057] Specifically, the sensor's linkage control device will appropriately convert and format the generated commands. This may involve converting the specific content and parameters of the commands into a specific data format or protocol to ensure ease of transmission and processing.

[0058] Then, the sensor's linkage control device encapsulates the converted instructions along with relevant metadata into a second message. This metadata may include information such as the source of the instructions, the target device, and timestamps to provide a more comprehensive context and reference.

[0059] After encapsulation, the second message can be stored or transmitted to a designated device or system. Storage can be done locally for later retrieval and analysis. Transmission can be carried out via a network or other communication channels to send instructions to the device or system that needs to execute them. By abstracting instructions into a second message, sensor-based linkage control devices can better manage and transmit instruction information. The abstract form of the second message can be designed and defined according to actual needs to meet the requirements of different application scenarios. Simultaneously, abstraction can also provide a certain degree of security and scalability to adapt to diverse linkage control requirements.

[0060] 104. The second message is sent to the linkage device corresponding to the instruction, wherein when the linkage device receives the second message, it parses the second message to obtain the instruction and executes it.

[0061] Specifically, the sensor's linkage control device sends a second message to the designated linkage device. Once the linkage device receives the second message, it parses and processes it to obtain the instructions and execute the corresponding operation. This process typically includes the following steps:

[0062] Receiving the second message: The linked device receives a second message from the linkage control unit via some communication method (such as a network). This can be real-time transmission or offline batch transmission, depending on the system design and application requirements.

[0063] Parsing the second message: The linked device will parse the received second message to extract the instruction content and related metadata. The parsing process may involve specific data format parsing, protocol decoding, and other operations to obtain complete instruction information.

[0064] Command execution: Once the command is successfully parsed, the linked device will execute the corresponding operation according to the content and requirements of the command. This may include controlling the device's state, performing specific tasks, triggering relevant events, etc., to achieve the goal of linkage control.

[0065] The parsing and execution process of the linkage device needs to consider the system architecture and functional requirements. It may depend on the device's interfaces and capabilities, as well as the communication protocols and specifications between the linkage control device and the device. By accurately parsing the second message and executing the instructions, the linkage device can achieve effective collaborative work with the sensor's linkage control device.

[0066] Optionally, the second message may be sent to multiple linked devices corresponding to the instruction.

[0067] Optionally, the architecture of the sensor linkage control device can be referenced. Figure 2 This includes sensors, linkage devices, and linkage logic. The "message service module" is a common module, and open-source code or libraries are available. Following this "framework evolution" process, the modules will ultimately be fully decoupled, i.e., independent. The system's interaction link—the message (topic)—needs to be designed based on the "message service."

[0068] Regarding the settings in the sensor linkage control device:

[0069] 1. Topic Design: Given relatively defined system requirements, the system's topic is defined at the architectural level, and this definition is followed in subsequent module development to ensure "zero dependency" between modules. Before designing related linkage logic, the relevant sensors and linkage devices must be known. That is, for any linkage logic, n sensors and m linkage devices are required. The following topic is designed:

[0070] (1) sensor / <type-0> [ / <id-0>],...,sensor / <type-n-1> [ / <id-n-1>];

[0071] (2)、actuator / <type-0> [ / <id-0>],...,actuator / <type-n-1> [ / <id-n-1>];

[0072] 2. Sensor Setup: `data = sensor()`. Typically, `data` is periodically retrieved, and then, according to a given topic (or topic generation rules), `(topic, payload)` is obtained and published. This process ensures the independence of this module. Treating the "message service" as a system functional module means that this sensor module only depends on the system itself. The system can be considered deterministic, thus providing greater freedom in the design and development of the sensor module, and subsequent optimizations and updates will not affect any other parts.

[0073] 3. Interlocking Logic Design: Actuator-topic = Control(sensor-topic). Interlocking logic is simply rule-driven logic. Essentially, it doesn't need to verify the data source or concern itself with the actual execution result. That is, it only needs to ensure that the expected input is obtained given the given input. This pure logic module, in its development and design, is separated from the hardware environment, making it easier to optimize, maintain, and even replace.

[0074] 4. Decoupled Design and Development: Breaking down the entire system into smaller parts simplifies the actual workload, reducing development and testing difficulty, lowering software failure rates, and making the system more reliable. Each component can be independently deployed and operate normally, avoiding development schedule dependencies. Any newly added module (all modules, including sensors, linkage devices, and linkage rules) can be seamlessly extended and integrated into the existing system without requiring any changes to the existing system. In summary: highly efficient decoupling and scalability.

[0075] In this embodiment of the invention, when data sent by a sensor is received, the data is abstracted into a first message and stored; an instruction is generated according to the first message and preset linkage rules; the instruction is abstracted into a second message; and the second message is sent to the linkage device corresponding to the instruction. When the linkage device receives the second message, it parses the second message to obtain the instruction and executes it. Sensor linkage control, by combining sensor data with preset linkage rules, can automatically generate instructions and messages and send them to the linkage device. This eliminates the need for manual intervention, making the entire process more efficient and automated. Data sent by the sensor can be received and processed instantly. Once data is received, it is immediately abstracted into a first message and stored, then an instruction is generated according to the rules and abstracted into a second message and sent to the linkage device. This enables real-time response and immediate execution of corresponding operations when needed. Preset linkage rules allow users to set different linkage methods and operations according to specific needs and scenarios. This flexibility allows the device to adapt to various application scenarios and be customized and adjusted as needed. By abstracting data into messages and instructions, the device can effectively process and transmit information. This efficiency ensures rapid data transmission and execution, reducing latency and time loss. The design and application of this sensor linkage control device helps improve the coordination and efficiency of sensor systems, enabling automated data processing and operation execution. When the number of sensors is large, it reduces system complexity, making management and expansion simpler.

[0076] The above describes the intelligent sensing lock and switch method in the embodiments of the present invention. The following describes the intelligent sensing lock and switch device in the embodiments of the present invention. Please refer to [link / reference]. Figure 3 One embodiment of the intelligent sensing switch lock device in this invention includes:

[0077] The first abstraction module 301 is used to abstract the data sent by the sensor into a first message and store it when it receives the data;

[0078] The generation module 302 is used to generate instructions based on the first message and preset linkage rules;

[0079] The second abstraction module 303 is used to abstract the instruction into a second message;

[0080] The output module 304 is used to send the second message to the linkage device corresponding to the instruction, wherein when the linkage device receives the second message, it parses the second message to obtain the instruction and executes it.

[0081] Optionally, the generation module 302 can also be specifically used for:

[0082] The linkage device is determined based on the type of the first message;

[0083] Generate the instruction corresponding to the linkage device.

[0084] Optionally, the generation module 302 can also be specifically used for:

[0085] Parse the first message to obtain the parsing result;

[0086] The instructions are generated based on preset linkage rules, logic, algorithms, and / or rule engines, and on the parsing results.

[0087] Optionally, the first abstract module 301 can also be specifically used for:

[0088] When data is received from multiple sensors, the data is abstracted into a first message and stored.

[0089] Optionally, the first abstract module 301 can also be specifically used for:

[0090] When receiving sensor data from multiple sensors, the sensor data is comprehensively analyzed to obtain integrated data;

[0091] The data is abstracted into the first message and stored.

[0092] Optionally, the output module 304 can also be specifically used for:

[0093] The second message is sent to multiple linked devices corresponding to the instruction.

[0094] Optionally, the first abstract module 301 can also be specifically used for:

[0095] Generate the preset linkage rules;

[0096] When a rule update request is detected, the preset linkage rule is updated according to the rule update request.

[0097] above Figure 3 The sensor-based linkage control device in the embodiments of the present invention will be described in detail from the perspective of modular functional entities. The sensor-based linkage control device in the embodiments of the present invention will be described in detail from the perspective of hardware processing.

[0098] Figure 4 This is a schematic diagram of a sensor-based linkage control device 500 provided in an embodiment of the present invention. The sensor-based linkage control device 500 can vary significantly due to different configurations or performance characteristics. It may include one or more central processing units (CPUs) 510 (e.g., one or more processors) and a memory 520, and one or more storage media 530 (e.g., one or more mass storage devices) for storing application programs 533 or data 532. The memory 520 and storage media 530 can be temporary or persistent storage. The program stored in the storage media 530 may include one or more modules (not shown in the diagram), each module including a series of instruction operations on the sensor-based linkage control device 500. Furthermore, the processor 510 may be configured to communicate with the storage media 530 and execute the series of instruction operations in the storage media 530 on the sensor-based linkage control device 500.

[0099] The sensor-based linkage control device 500 may also include one or more power supplies 540, one or more wired or wireless network interfaces 550, one or more input / output interfaces 560, and / or one or more operating systems 531, such as Windows Server, Mac OS X, Unix, Linux, FreeBSD, etc. Those skilled in the art will understand that... Figure 4 The sensor-based linkage control device structure shown does not constitute a limitation on sensor-based linkage control devices. It may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0100] The present invention also provides a computer-readable storage medium, which can be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium, wherein the computer-readable storage medium stores instructions that, when the instructions are executed on a computer, cause the computer to perform the steps of the sensor-based linkage control method.

[0101] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working process of the system, device, or unit described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.

[0102] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0103] The above-described embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention. < / type-n-1> < / type-0> < / type-n-1> < / type-0>

Claims

1. A sensor-based linkage control method, characterized in that, The sensor-based linkage control method includes: Upon receiving data from the sensor, the data is abstracted into a first message and stored. Generate instructions based on the first message and preset linkage rules; The instruction is abstracted into a second message; The second message is sent to the linkage device corresponding to the instruction, wherein when the linkage device receives the second message, it parses the second message to obtain the instruction and executes it; The step of generating instructions based on the first message and preset linkage rules includes: The linkage device is determined based on the type of the first message; Generate the instruction corresponding to the linkage device; The step of generating instructions based on the first message and preset linkage rules includes: Parse the first message to obtain the parsing result; The instructions are generated based on preset linkage rules, logic, algorithms and / or rule engines and the parsing results. The step of abstracting the data sent by the sensor into a first message and storing it upon receiving the data includes: When data is received from multiple sensors, the data is abstracted into a first message and stored. When receiving data from multiple sensors, the step of abstracting the data into a first message and storing it includes: When receiving sensor data from multiple sensors, the sensor data is comprehensively analyzed to obtain integrated data; The data is abstracted into the first message and stored; The step of sending the second message to the linkage device corresponding to the instruction includes: The second message is sent to multiple linked devices corresponding to the instruction; Before the step of abstracting the data sent by the sensor into a first message and storing it upon receiving the data, the method further includes: Generate the preset linkage rules; When a rule update request is detected, the preset linkage rule is updated according to the rule update request; The sensors, linkage logic, and linkage devices interact through message topics based on a message service module. The message service module is a common module, and the modules are fully decoupled and have zero dependencies. Furthermore, the linkage logic is configured not to confirm the data source and not to care about the actual execution result.

2. A sensor-based linkage control device, characterized in that, The sensor-based linkage control device includes: The first abstraction module is used to abstract the data sent by the sensor into a first message and store it when it receives the data; The generation module is used to generate instructions based on the first message and preset linkage rules; The second abstraction module is used to abstract the instruction into a second message; The output module is used to send the second message to the linkage device corresponding to the instruction, wherein when the linkage device receives the second message, it parses the second message to obtain the instruction and executes it; The generation module can also be specifically used to: determine the linkage device based on the type of the first message; and generate the instruction corresponding to the linkage device. The generation module can also be specifically used to: parse the first message to obtain the parsing result; generate the instruction based on the parsing result according to preset linkage rules, logic, algorithms and / or rule engines; The first abstraction module can also be specifically used to: when receiving data sent by multiple sensors, abstract the data into a first message and store it; The first abstraction module can also be specifically used for: when receiving sensor data sent by multiple sensors, performing comprehensive analysis on the sensor data to obtain integrated data; abstracting the data into the first message and storing it; The output module can also be specifically used to: send the second message to multiple linked devices corresponding to the instruction; The first abstract module can also be specifically used for: generating the preset linkage rules; and updating the preset linkage rules according to the rule update request when a rule update request is detected. The sensors, linkage logic, and linkage devices interact through message topics based on a message service module. The message service module is a common module, and the modules are fully decoupled and have zero dependencies. Furthermore, the linkage logic is configured not to confirm the data source and not to care about the actual execution result.

3. A sensor-based linkage control device, characterized in that, The sensor-based linkage control device includes: a memory and at least one processor, wherein the memory stores instructions, and the memory and the at least one processor are interconnected via a circuit; The at least one processor invokes the instructions in the memory to cause the sensor-based linkage control device to execute the sensor-based linkage control method as described in claim 1.

4. A computer-readable storage medium storing a computer program thereon, characterized in that, When the computer program is executed by the processor, it implements the sensor-based linkage control method as described in claim 1.

Citation Information

Patent Citations

  • Equipment linkage method, device and system

    CN104932306A