Terminal control method, device, equipment and medium based on Internet of Things rule engine

By adopting the terminal control method based on the IoT rule engine in the Internet of Things, the problem that cannot be linked between terminals cannot be linked, and the accuracy and security of data processing between terminals and data processing are realized.

CN113918361BActive Publication Date: 2025-01-28E SURFING IOT CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111175600.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-09
Publication Date
2025-01-28
Estimated Expiration
2041-10-09

AI Technical Summary

Technical Problem

The inability to link between terminals in the Internet of Things will lead to injury to personnel and economic losses in abnormal scenarios.

Method used

The terminal control method based on the IoT rules engine is adopted to obtain terminal data, analysis and enhanced data, application data processing and linkage rules, and using the Calcite framework and the Pulsar message queue to achieve the link between terminals.

Benefits of technology

The automatic linkage between the terminal is achieved, the accuracy and security of the data processing is improved, and the personnel and economic losses in the abnormal scenarios are reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113918361B_ABST
    Figure CN113918361B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of Internet of Things, and provides a terminal control method, device, equipment and medium based on an Internet of Things rule engine. The method can use a physical model to parse terminal data reported by a target terminal, obtain parsed data and store it in a pulsar message queue, realize plug-in expansion plug-ins and decoupling, perform data enhancement on parsed data, and thus effectively enhance the correlation between data, make the data attributes more comprehensive, and improve the accuracy of data processing. The enhanced data is processed by using a calcite framework data processing rule to obtain target data, and the ability of rule calculation is realized. The target data is formatted based on an interface of a linkage terminal determined by a linkage rule, so as to facilitate targeted calling of data, and linkage terminals are controlled to be linked according to terminal linkage rules and conversion data, and then linkage between terminals is realized according to a rule engine, so as to better control the joint operation of the terminals.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of Internet of Things, and in particular to a terminal control method, device, equipment and medium based on an Internet of Things rule engine. Background Art

[0002] In the Internet of Things (IoT), due to the huge amount of data, the business rules of each terminal may be diverse. Therefore, the rule setting needs to be simple and friendly to adapt to the diversity and changes of business rules.

[0003] In addition, each terminal in the Internet of Things usually works independently and cannot be connected to each other. In some abnormal scenarios (such as: residents' water consumption exceeds the standard), the inability to link between terminals may also cause personal injury and economic losses. Summary of the invention

[0004] In view of the above, it is necessary to provide a terminal control method, device, equipment and medium based on the Internet of Things rule engine, aiming to solve the problem of terminal control in the Internet of Things.

[0005] A terminal control method based on an Internet of Things rule engine, the terminal control method based on an Internet of Things rule engine comprising:

[0006] When it is detected that a target terminal is connected to the Internet of Things platform, data reported by the target terminal to the Internet of Things platform is obtained as terminal data;

[0007] Parsing the terminal data using a pre-established object model to obtain parsed data, and storing the parsed data in a pulsar message queue;

[0008] Consume the parsed data in the pulsar message queue, and perform data enhancement on the parsed data to obtain enhanced data;

[0009] Reading data processing rules and terminal linkage rules corresponding to the target terminal from the Redis cache according to the terminal data;

[0010] The enhanced data is processed using the calcite framework and the data processing rules to obtain target data, and the target data is stored in the pulsar message queue;

[0011] Consume the target data in the pulsar message queue, and determine a linkage terminal based on the linkage rule, and determine an interface of the linkage terminal;

[0012] Performing format conversion on the target data based on the interface of the linkage terminal to obtain converted data;

[0013] The linkage terminals are controlled to perform linkage according to the terminal linkage rule and the conversion data.

[0014] According to a preferred embodiment of the present invention, the method further comprises:

[0015] When executing the terminal control method based on the Internet of Things rule engine, real-time stream processing is performed based on the flink framework.

[0016] According to a preferred embodiment of the present invention, parsing the terminal data using a pre-established object model to obtain parsed data, and storing the parsed data in a pulsar message queue includes:

[0017] Using the terminal data to query the object model, obtain the attribute field;

[0018] Combining the attribute fields to obtain the parsed data;

[0019] Obtain a source data storage queue pre-established in the pulsar message queue;

[0020] The parsed data is written into the source data storage queue.

[0021] According to a preferred embodiment of the present invention, performing data enhancement on the parsed data to obtain enhanced data includes:

[0022] Get device shadow;

[0023] Combining the device shadow with the parsed data to obtain the enhanced data;

[0024] Incrementally update the enhanced data into the device shadow.

[0025] According to a preferred embodiment of the present invention, before reading the data processing rules and terminal linkage rules corresponding to the target terminal from the Redis cache according to the terminal data, the method further includes:

[0026] Build a visual editing interface based on the D3 framework;

[0027] When data input is detected in the visual editing interface, the input data is collected;

[0028] Obtaining the terminal identification of each terminal and the rules corresponding to each terminal from the collected data;

[0029] Configure a rule ID for each rule corresponding to each terminal;

[0030] Generate rule data for each terminal according to the terminal identification of each terminal, the rule corresponding to each terminal, and the configuration ID of each rule;

[0031] The rule data is stored in the Redis cache.

[0032] According to a preferred embodiment of the present invention, the process of processing the enhanced data using the calcite framework and the data processing rules to obtain target data, and storing the target data in the pulsar message queue includes:

[0033] Acquire a statement identifier from the terminal data, and use the statement identifier to search for an SQL statement in the terminal data;

[0034] Using the calcite framework to verify the validity of the SQL statement;

[0035] When the legality of the SQL statement passes the verification, the table field information in the data processing rule is obtained by using the SQL statement;

[0036] Create a memory table according to the table field information;

[0037] Writing the enhanced data into the memory table;

[0038] Utilize the SQL statement to query the configuration fields and condition data in the memory table;

[0039] Filtering the enhanced data according to the configuration field to obtain filtered data;

[0040] Cleaning the screening data according to the condition data to obtain the target data;

[0041] Obtain the target data storage queue pre-established in the pulsar message queue;

[0042] The target data is written into the target data storage queue.

[0043] According to a preferred embodiment of the present invention, when controlling the linkage terminals to perform linkage according to the terminal linkage rule and the conversion data, the method further includes:

[0044] When it is detected that alarm information is generated, an alarm rule corresponding to the target terminal is read from the Redis cache according to the terminal data;

[0045] Obtain the alarm target and alarm method recorded in the alarm rule;

[0046] Sending the alarm information to the alarm target based on the alarm mode;

[0047] Reading a message flow rule corresponding to the target terminal from the Redis cache according to the terminal data;

[0048] Obtain the cloud storage address or northbound application address recorded in the message flow rule;

[0049] The target data is uploaded to the cloud storage address or the northbound application address.

[0050] A terminal control device based on an Internet of Things rule engine, the terminal control device based on the Internet of Things rule engine comprising:

[0051] an acquisition unit, configured to acquire data reported by the target terminal to the Internet of Things platform as terminal data when it is detected that a target terminal is connected to the Internet of Things platform;

[0052] A parsing unit, used for parsing the terminal data using a pre-established object model to obtain parsed data, and storing the parsed data in a pulsar message queue;

[0053] An enhancement unit, used for consuming the parsed data in the pulsar message queue and performing data enhancement on the parsed data to obtain enhanced data;

[0054] A reading unit, configured to read data processing rules and terminal linkage rules corresponding to the target terminal from the Redis cache according to the terminal data;

[0055] A processing unit, used for processing the enhanced data using the calcite framework and the data processing rules to obtain target data, and storing the target data in the pulsar message queue;

[0056] A determination unit, configured to consume the target data in the pulsar message queue, determine a linkage terminal based on the linkage rule, and determine an interface of the linkage terminal;

[0057] A conversion unit, configured to convert the target data into a format based on the interface of the linkage terminal to obtain converted data;

[0058] A control unit is used to control the linkage terminals to perform linkage according to the terminal linkage rules and the conversion data.

[0059] A computer device, comprising:

[0060] a memory storing at least one instruction; and

[0061] The processor executes the instructions stored in the memory to implement the terminal control method based on the Internet of Things rule engine.

[0062] A computer-readable storage medium stores at least one instruction, and the at least one instruction is executed by a processor in a computer device to implement the terminal control method based on an Internet of Things rule engine.

[0063] It can be seen from the above technical solutions that when the present invention detects that a target terminal is connected to the Internet of Things platform, the data reported by the target terminal to the Internet of Things platform can be obtained as terminal data, the terminal data can be parsed using a pre-established object model to obtain parsed data, and the parsed data can be stored in the pulsar message queue. The plug-in extension plug-in and decoupling are realized through the pulsar message middleware, the parsed data in the pulsar message queue is consumed, and the parsed data is enhanced to obtain enhanced data, thereby realizing data expansion and increasing the data volume. It can effectively enhance the correlation between data, make the data attributes more comprehensive, and thus improve the accuracy of data processing, and read the data corresponding to the target terminal from the Redis cache according to the terminal data. Processing rules and terminal linkage rules, using the calcite framework and the data processing rules to process the enhanced data to obtain target data, realizing the rule calculation capability through the calcite framework, and storing the target data in the pulsar message queue; consuming the target data in the pulsar message queue, and determining the linkage terminal based on the linkage rules, and determining the interface of the linkage terminal, formatting the target data based on the interface of the linkage terminal to obtain conversion data, packaging and converting the target data into a corresponding format for convenient targeted calling, controlling the linkage terminal to perform linkage according to the terminal linkage rules and the conversion data, and then realizing the linkage between terminals according to the rule engine, so as to better control the joint operation of the terminals. BRIEF DESCRIPTION OF THE DRAWINGS

[0064] Figure 1 It is a flow chart of a preferred embodiment of the terminal control method based on the Internet of Things rule engine of the present invention.

[0065] Figure 2 It is a functional module diagram of a preferred embodiment of the terminal control device based on the Internet of Things rule engine of the present invention.

[0066] Figure 3 It is a structural schematic diagram of a computer device of a preferred embodiment of the present invention to implement a terminal control method based on an Internet of Things rule engine. DETAILED DESCRIPTION

[0067] In order to make the purpose, technical solutions and advantages of the present invention more clear, the present invention is described in detail below with reference to the accompanying drawings and specific embodiments.

[0068] like Figure 1 FIG. 1 is a flow chart of a preferred embodiment of a terminal control method based on an Internet of Things rule engine of the present invention. According to different requirements, the order of the steps in the flow chart can be changed, and some steps can be omitted.

[0069] The terminal control method based on the Internet of Things rule engine is applied to one or more computer devices, and the computer device is a device that can automatically perform numerical calculations and / or information processing according to pre-set or stored instructions, and its hardware includes but is not limited to microprocessors, application specific integrated circuits (Application Specific Integrated Circuit, ASIC), programmable gate arrays (Field-Programmable Gate Array, FPGA), digital processors (Digital Signal Processor, DSP), embedded devices, etc.

[0070] The computer device may be any electronic product that can perform human-computer interaction with a user, such as a personal computer, a tablet computer, a smart phone, a personal digital assistant (PDA), a game console, an interactive network television (IPTV), a smart wearable device, etc.

[0071] The computer device may also include a network device and / or a user device, wherein the network device includes, but is not limited to, a single network server, a server group consisting of multiple network servers, or a cloud consisting of a large number of hosts or network servers based on cloud computing.

[0072] The server can be an independent server or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDN), as well as big data and artificial intelligence platforms.

[0073] Among them, Artificial Intelligence (AI) is the theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results.

[0074] AI basic technologies generally include sensors, dedicated AI chips, cloud computing, distributed storage, big data processing technology, operation / interaction systems, mechatronics, etc. AI software technologies mainly include computer vision technology, robotics technology, biometrics technology, speech processing technology, natural language processing technology, and machine learning / deep learning.

[0075] The network where the computer device is located includes but is not limited to the Internet, a wide area network, a metropolitan area network, a local area network, a virtual private network (VPN), etc.

[0076] S10, when it is detected that a target terminal is connected to the Internet of Things platform, data reported by the target terminal to the Internet of Things platform is obtained as terminal data.

[0077] In at least one embodiment of the present invention, the target terminal may include any terminal device that requests access to the Internet of Things, such as a water consumption detection device, an intelligent water heater, and the like.

[0078] In at least one embodiment of the present invention, the terminal data may include, but is not limited to, one or more of the following combinations:

[0079] The terminal name of the target terminal, the terminal identification of the target terminal, and the owner of the target terminal.

[0080] In this embodiment, the terminal data may include device level, product level, and device group level.

[0081] Among them, by utilizing the device level and the device grouping level, a certain product can be defined by relying on a physical model, and then a device or a certain device group can be designated for linkage.

[0082] It should be noted that when executing the terminal control method based on the Internet of Things rule engine, the present invention performs real-time stream processing based on the flink framework.

[0083] S11, parsing the terminal data using a pre-established object model to obtain parsed data, and storing the parsed data in a pulsar message queue.

[0084] In at least one embodiment of the present invention, the physical model is equivalent to a dictionary, and the physical model stores mapping relationships between data.

[0085] Specifically, the method of parsing the terminal data using a pre-established object model to obtain parsed data, and storing the parsed data in a pulsar message queue includes:

[0086] Using the terminal data to query the object model, obtain the attribute field;

[0087] Combining the attribute fields to obtain the parsed data;

[0088] Obtain a source data storage queue pre-established in the pulsar message queue;

[0089] The parsed data is written into the source data storage queue.

[0090] The subject of the source data storage queue may be / ad.

[0091] It should be noted that compared with other types of message middleware, the pulsar message queue has stronger security, stricter characteristics, higher concurrent processing capacity, higher support and better performance.

[0092] In the above implementation, plug-in extensions and decoupling are implemented through the pulsar message middleware.

[0093] S12, consuming the parsed data in the pulsar message queue, and performing data enhancement on the parsed data to obtain enhanced data.

[0094] In at least one embodiment of the present invention, performing data enhancement on the parsed data to obtain enhanced data comprises:

[0095] Get device shadow;

[0096] Combining the device shadow with the parsed data to obtain the enhanced data;

[0097] Incrementally update the enhanced data into the device shadow.

[0098] Specifically, the device shadow refers to reported data information.

[0099] Through data enhancement, device shadows can be used to effectively enhance the correlation between data, making the data attributes more comprehensive, thereby improving the accuracy of data processing.

[0100] S13, reading data processing rules and terminal linkage rules corresponding to the target terminal from the Redis cache according to the terminal data.

[0101] In this embodiment, various rules are stored in the Redis cache.

[0102] Specifically, before reading the data processing rules and terminal linkage rules corresponding to the target terminal from the Redis cache according to the terminal data, the method further includes:

[0103] Build a visual editing interface based on the D3 framework;

[0104] When data input is detected in the visual editing interface, the input data is collected;

[0105] Obtaining the terminal identification of each terminal and the rules corresponding to each terminal from the collected data;

[0106] Configure a rule ID for each rule corresponding to each terminal;

[0107] Generate rule data for each terminal according to the terminal identification of each terminal, the rule corresponding to each terminal, and the configuration ID of each rule;

[0108] The rule data is stored in the Redis cache.

[0109] The visual editing interface may be a web interface, which is not limited in the present invention.

[0110] The rules corresponding to each terminal may include, but are not limited to, a combination of one or more of the following rules:

[0111] Data processing rules, terminal linkage rules, alarm rules and message flow rules.

[0112] Through the above implementation, combined with the D3 framework and object model, the visual editing rule capability is realized, which improves the user experience.

[0113] Further, the reading of the data processing rules and terminal linkage rules corresponding to the target terminal from the Redis cache according to the terminal data includes:

[0114] Acquire a terminal identifier of the target terminal from the terminal data;

[0115] Reading the rule data of the target terminal from the Redis cache according to the terminal identifier of the target terminal;

[0116] Obtaining a first rule ID corresponding to the data processing rule, and obtaining a second rule ID corresponding to the terminal linkage rule;

[0117] Using the first rule ID and the second rule ID to match in the rule data of the target terminal;

[0118] The matched rules are determined as data processing rules and terminal linkage rules corresponding to the target terminal.

[0119] S14, using the calcite framework and the data processing rules to process the enhanced data to obtain target data, and storing the target data in the pulsar message queue.

[0120] In this embodiment, the calcite framework is a dynamic data management framework.

[0121] Specifically, the process of processing the enhanced data using the calcite framework and the data processing rules to obtain target data, and storing the target data in the pulsar message queue includes:

[0122] Acquire a statement identifier from the terminal data, and use the statement identifier to search for a SQL (Structured Query Language) statement in the terminal data;

[0123] Using the calcite framework to verify the validity of the SQL statement;

[0124] When the legality of the SQL statement passes the verification, the table field information in the data processing rule is obtained by using the SQL statement;

[0125] Create a memory table according to the table field information;

[0126] Writing the enhanced data into the memory table;

[0127] Utilize the SQL statement to query the configuration fields and condition data in the memory table;

[0128] Filtering the enhanced data according to the configuration field to obtain filtered data;

[0129] Cleaning the screening data according to the condition data to obtain the target data;

[0130] Obtain the target data storage queue pre-established in the pulsar message queue;

[0131] The target data is written into the target data storage queue.

[0132] The statement identifier may be a product ID, a device ID, etc.

[0133] The target data storage queue may be / rule_engine_data_output.

[0134] In this embodiment, the use of the calcite framework to verify the legitimacy of the SQL statement includes:

[0135] Verify the syntax of the SQL statement;

[0136] When the syntax of the SQL statement is correct, determining that the legality of the SQL statement has passed the verification;

[0137] Or when the syntax of the SQL statement is wrong, it is determined that the legality of the SQL statement has failed to pass the verification.

[0138] In this embodiment, when it is determined that the legality of the SQL statement has not passed the verification, no operation is performed.

[0139] Through the above implementation, the data reported by the target terminal can be screened and cleaned based on the calcite framework, thereby improving the availability of the data and indirectly improving the storage utilization rate of the data.

[0140] S15, consuming the target data in the pulsar message queue, and determining a linkage terminal based on the linkage rule, and determining an interface of the linkage terminal.

[0141] In this embodiment, the linkage rule stores each linkage terminal that needs to be linked and the interface corresponding to each linkage terminal.

[0142] S16, converting the format of the target data based on the interface of the linkage terminal to obtain converted data.

[0143] Specifically, the format conversion of the target data based on the interface of the linkage terminal to obtain the converted data includes:

[0144] Get the data format of the interface of each linkage terminal;

[0145] The target data is converted into a format corresponding to the data format of the interface of each linkage terminal to obtain the converted data.

[0146] By converting the format of the target data, the converted data can be recognized and processed by the corresponding interface.

[0147] S17, controlling the linkage terminals to perform linkage according to the terminal linkage rule and the conversion data.

[0148] For example, a property company monitors whether the water usage of a homeowner is normal. When it detects that the amount of data reported by the water meter exceeds the threshold and no one is at home, since the water meter data, detection of whether there is someone at home, and closing the water gate are terminal devices that are not interconnected, the rules defined in the rule engine can be used to determine whether the water usage has reached the threshold and whether there is someone at home. Then, by adding alarm rules and terminal linkage rules, the water gate can be closed and the alarm notification can be sent to the owner.

[0149] This embodiment can support the linkage of multiple terminal devices across products through the terminal linkage rule, and can also realize the linkage of some terminal devices under a certain product by grouping and identifying the terminal devices.

[0150] Through the above implementation, automatic linkage between terminal devices can be achieved through the rule engine, and cross-product and cross-device linkage can realize the association relationship between multiple terminal devices without the need to concentrate all functions on one terminal device. It can also reduce the probability of personal injury and economic losses in some abnormal scenarios.

[0151] In at least one embodiment of the present invention, when controlling the linkage terminal to perform linkage according to the terminal linkage rule and the conversion data, the method further includes:

[0152] When it is detected that alarm information is generated, an alarm rule corresponding to the target terminal is read from the Redis cache according to the terminal data;

[0153] Obtain the alarm target and alarm method recorded in the alarm rule;

[0154] Sending the alarm information to the alarm target based on the alarm mode;

[0155] Reading a message flow rule corresponding to the target terminal from the Redis cache according to the terminal data;

[0156] Obtain the cloud storage address or northbound application address recorded in the message flow rule;

[0157] The target data is uploaded to the cloud storage address or the northbound application address.

[0158] Among them, the alarm information can be generated by an abnormal terminal device, for example, the alarm information can be used to prompt that the water consumption exceeds the standard.

[0159] The warning target includes the user to whom the warning needs to be issued.

[0160] The warning method may include, but is not limited to, one or a combination of the following methods: text message, email, in-site message, etc.

[0161] In the above implementation, the alarm rules can be used to provide timely alarms for abnormalities, improve the efficiency of abnormality processing, and avoid causing significant losses.

[0162] At the same time, by pushing data to cloud storage and / or applications, storage space usage is reduced.

[0163] Furthermore, the method further comprises:

[0164] When a new storage method is added, a message flow rule corresponding to the new storage method is added.

[0165] Of course, the data processing rules corresponding to the newly added storage method and the corresponding plug-in may also be configured at the same time, and the present invention is not limited thereto.

[0166] It can be seen from the above technical solutions that when the present invention detects that a target terminal is connected to the Internet of Things platform, the data reported by the target terminal to the Internet of Things platform can be obtained as terminal data, the terminal data can be parsed using a pre-established object model to obtain parsed data, and the parsed data can be stored in the pulsar message queue. The plug-in extension plug-in and decoupling are realized through the pulsar message middleware, the parsed data in the pulsar message queue is consumed, and the parsed data is enhanced to obtain enhanced data, thereby realizing data expansion and increasing the data volume. It can effectively enhance the correlation between data, make the data attributes more comprehensive, and thus improve the accuracy of data processing, and read the data corresponding to the target terminal from the Redis cache according to the terminal data. Processing rules and terminal linkage rules, using the calcite framework and the data processing rules to process the enhanced data to obtain target data, realizing the rule calculation capability through the calcite framework, and storing the target data in the pulsar message queue; consuming the target data in the pulsar message queue, and determining the linkage terminal based on the linkage rules, and determining the interface of the linkage terminal, formatting the target data based on the interface of the linkage terminal to obtain conversion data, packaging and converting the target data into a corresponding format for convenient targeted calling, controlling the linkage terminal to perform linkage according to the terminal linkage rules and the conversion data, and then realizing the linkage between terminals according to the rule engine, so as to better control the joint operation of the terminals.

[0167] like Figure 2 As shown, it is a functional module diagram of a preferred embodiment of the terminal control device based on the Internet of Things rule engine of the present invention. The terminal control device 11 based on the Internet of Things rule engine includes an acquisition unit 110, a parsing unit 111, an enhancement unit 112, a reading unit 113, a processing unit 114, a determination unit 115, a conversion unit 116 and a control unit 117. The module / unit referred to in the present invention refers to a series of computer program segments that can be executed by the processor 13 and can complete fixed functions, which are stored in the memory 12. In this embodiment, the functions of each module / unit will be described in detail in subsequent embodiments.

[0168] When it is detected that a target terminal is connected to the Internet of Things platform, the acquisition unit 110 acquires data reported by the target terminal to the Internet of Things platform as terminal data.

[0169] In at least one embodiment of the present invention, the target terminal may include any terminal device that requests access to the Internet of Things, such as a water consumption detection device, an intelligent water heater, and the like.

[0170] In at least one embodiment of the present invention, the terminal data may include, but is not limited to, one or more of the following combinations:

[0171] The terminal name of the target terminal, the terminal identification of the target terminal, and the owner of the target terminal.

[0172] In this embodiment, the terminal data may include device level, product level, and device group level.

[0173] Among them, by utilizing the device level and the device grouping level, a certain product can be defined by relying on a physical model, and then a device or a certain device group can be designated for linkage.

[0174] It should be noted that when executing the terminal control method based on the Internet of Things rule engine, the present invention performs real-time stream processing based on the flink framework.

[0175] The parsing unit 111 parses the terminal data using a pre-established object model to obtain parsed data, and stores the parsed data in a pulsar message queue.

[0176] In at least one embodiment of the present invention, the physical model is equivalent to a dictionary, and the physical model stores mapping relationships between data.

[0177] Specifically, the parsing unit 111 parses the terminal data using a pre-established object model to obtain parsed data, and stores the parsed data in a pulsar message queue, including:

[0178] Using the terminal data to query the object model, obtain the attribute field;

[0179] Combining the attribute fields to obtain the parsed data;

[0180] Obtain a source data storage queue pre-established in the pulsar message queue;

[0181] The parsed data is written into the source data storage queue.

[0182] The subject of the source data storage queue may be / ad.

[0183] It should be noted that compared with other types of message middleware, the pulsar message queue has stronger security, stricter characteristics, higher concurrent processing capacity, higher support and better performance.

[0184] In the above implementation, plug-in extensions and decoupling are implemented through the pulsar message middleware.

[0185] The enhancement unit 112 consumes the parsed data in the pulsar message queue, and performs data enhancement on the parsed data to obtain enhanced data.

[0186] In at least one embodiment of the present invention, the enhancing unit 112 performs data enhancement on the parsed data to obtain enhanced data including:

[0187] Get device shadow;

[0188] Combining the device shadow with the parsed data to obtain the enhanced data;

[0189] Incrementally update the enhanced data into the device shadow.

[0190] Specifically, the device shadow refers to reported data information.

[0191] Through data enhancement, device shadows can be used to effectively enhance the correlation between data, making the data attributes more comprehensive, thereby improving the accuracy of data processing.

[0192] The reading unit 113 reads the data processing rules and terminal linkage rules corresponding to the target terminal from the Redis cache according to the terminal data.

[0193] In this embodiment, various rules are stored in the Redis cache.

[0194] Specifically, before reading the data processing rules and terminal linkage rules corresponding to the target terminal from the Redis cache according to the terminal data, a visual editing interface is constructed based on the D3 framework;

[0195] When data input is detected in the visual editing interface, the input data is collected;

[0196] Obtaining the terminal identification of each terminal and the rules corresponding to each terminal from the collected data;

[0197] Configure a rule ID for each rule corresponding to each terminal;

[0198] Generate rule data for each terminal according to the terminal identification of each terminal, the rule corresponding to each terminal, and the configuration ID of each rule;

[0199] The rule data is stored in the Redis cache.

[0200] The visual editing interface may be a web interface, which is not limited in the present invention.

[0201] The rules corresponding to each terminal may include, but are not limited to, a combination of one or more of the following rules:

[0202] Data processing rules, terminal linkage rules, alarm rules and message flow rules.

[0203] Through the above implementation, combined with the D3 framework and object model, the visual editing rule capability is realized, which improves the user experience.

[0204] Further, the reading unit 113 reads the data processing rules and terminal linkage rules corresponding to the target terminal from the Redis cache according to the terminal data, including:

[0205] Acquire a terminal identifier of the target terminal from the terminal data;

[0206] Reading the rule data of the target terminal from the Redis cache according to the terminal identifier of the target terminal;

[0207] Obtaining a first rule ID corresponding to the data processing rule, and obtaining a second rule ID corresponding to the terminal linkage rule;

[0208] Using the first rule ID and the second rule ID to match in the rule data of the target terminal;

[0209] The matched rules are determined as data processing rules and terminal linkage rules corresponding to the target terminal.

[0210] The processing unit 114 processes the enhanced data using the calcite framework and the data processing rules to obtain target data, and stores the target data in the pulsar message queue.

[0211] In this embodiment, the calcite framework is a dynamic data management framework.

[0212] Specifically, the processing unit 114 processes the enhanced data using the calcite framework and the data processing rules to obtain target data, and stores the target data in the pulsar message queue, including:

[0213] Acquire a statement identifier from the terminal data, and use the statement identifier to search for a SQL (Structured Query Language) statement in the terminal data;

[0214] Using the calcite framework to verify the validity of the SQL statement;

[0215] When the legality of the SQL statement passes the verification, the table field information in the data processing rule is obtained by using the SQL statement;

[0216] Create a memory table according to the table field information;

[0217] Writing the enhanced data into the memory table;

[0218] Utilize the SQL statement to query the configuration fields and condition data in the memory table;

[0219] Filtering the enhanced data according to the configuration field to obtain filtered data;

[0220] Cleaning the screening data according to the condition data to obtain the target data;

[0221] Obtain the target data storage queue pre-established in the pulsar message queue;

[0222] The target data is written into the target data storage queue.

[0223] The statement identifier may be a product ID, a device ID, etc.

[0224] The target data storage queue may be / rule_engine_data_output.

[0225] In this embodiment, the use of the calcite framework to verify the legitimacy of the SQL statement includes:

[0226] Verify the syntax of the SQL statement;

[0227] When the syntax of the SQL statement is correct, determining that the legality of the SQL statement has passed the verification;

[0228] Or when the syntax of the SQL statement is wrong, it is determined that the legality of the SQL statement has failed to pass the verification.

[0229] In this embodiment, when it is determined that the legality of the SQL statement has not passed the verification, no operation is performed.

[0230] Through the above implementation, the data reported by the target terminal can be screened and cleaned based on the calcite framework, thereby improving the availability of the data and indirectly improving the storage utilization rate of the data.

[0231] The determination unit 115 consumes the target data in the pulsar message queue, determines a linkage terminal based on the linkage rule, and determines an interface of the linkage terminal.

[0232] In this embodiment, the linkage rule stores each linkage terminal that needs to be linked and the interface corresponding to each linkage terminal.

[0233] The conversion unit 116 performs format conversion on the target data based on the interface of the linkage terminal to obtain converted data.

[0234] Specifically, the conversion unit 116 performs format conversion on the target data based on the interface of the linkage terminal, and the obtained converted data includes:

[0235] Get the data format of the interface of each linkage terminal;

[0236] The target data is converted into a format corresponding to the data format of the interface of each linkage terminal to obtain the converted data.

[0237] By converting the format of the target data, the converted data can be recognized and processed by the corresponding interface.

[0238] The control unit 117 controls the linkage terminals to perform linkage according to the terminal linkage rule and the conversion data.

[0239] For example, a property company monitors whether the water usage of a homeowner is normal. When it detects that the amount of data reported by the water meter exceeds the threshold and no one is at home, since the water meter data, detection of whether there is someone at home, and closing the water gate are terminal devices that are not interconnected, the rules defined in the rule engine can be used to determine whether the water usage has reached the threshold and whether there is someone at home. Then, by adding alarm rules and terminal linkage rules, the water gate can be closed and the alarm notification can be sent to the owner.

[0240] This embodiment can support the linkage of multiple terminal devices across products through the terminal linkage rule, and can also realize the linkage of some terminal devices under a certain product by grouping and identifying the terminal devices.

[0241] Through the above implementation, automatic linkage between terminal devices can be achieved through the rule engine, and cross-product and cross-device linkage can realize the association relationship between multiple terminal devices without the need to concentrate all functions on one terminal device. It can also reduce the probability of personal injury and economic losses in some abnormal scenarios.

[0242] In at least one embodiment of the present invention, when controlling the linkage terminal to be linked according to the terminal linkage rule and the conversion data, when it is detected that alarm information is generated, the alarm rule corresponding to the target terminal is read from the Redis cache according to the terminal data;

[0243] Obtain the alarm target and alarm method recorded in the alarm rule;

[0244] Sending the alarm information to the alarm target based on the alarm mode;

[0245] Reading a message flow rule corresponding to the target terminal from the Redis cache according to the terminal data;

[0246] Obtain the cloud storage address or northbound application address recorded in the message flow rule;

[0247] The target data is uploaded to the cloud storage address or the northbound application address.

[0248] Among them, the alarm information can be generated by an abnormal terminal device, for example, the alarm information can be used to prompt that the water consumption exceeds the standard.

[0249] The warning target includes the user to whom the warning needs to be issued.

[0250] The warning method may include, but is not limited to, one or a combination of the following methods: text message, email, in-site message, etc.

[0251] In the above implementation, the alarm rules can be used to provide timely alarms for abnormalities, improve the efficiency of abnormality processing, and avoid causing significant losses.

[0252] At the same time, by pushing data to cloud storage and / or applications, storage space usage is reduced.

[0253] Furthermore, when a new storage method is added, a message flow rule corresponding to the new storage method is added.

[0254] Of course, the data processing rules corresponding to the newly added storage method and the corresponding plug-in may also be configured at the same time, and the present invention is not limited thereto.

[0255] It can be seen from the above technical solutions that when the present invention detects that a target terminal is connected to the Internet of Things platform, the data reported by the target terminal to the Internet of Things platform can be obtained as terminal data, the terminal data can be parsed using a pre-established object model to obtain parsed data, and the parsed data can be stored in the pulsar message queue. The plug-in extension plug-in and decoupling are realized through the pulsar message middleware, the parsed data in the pulsar message queue is consumed, and the parsed data is enhanced to obtain enhanced data, thereby realizing data expansion and increasing the data volume. It can effectively enhance the correlation between data, make the data attributes more comprehensive, and thus improve the accuracy of data processing, and read the data corresponding to the target terminal from the Redis cache according to the terminal data. Processing rules and terminal linkage rules, using the calcite framework and the data processing rules to process the enhanced data to obtain target data, realizing the rule calculation capability through the calcite framework, and storing the target data in the pulsar message queue; consuming the target data in the pulsar message queue, and determining the linkage terminal based on the linkage rules, and determining the interface of the linkage terminal, formatting the target data based on the interface of the linkage terminal to obtain conversion data, packaging and converting the target data into a corresponding format for convenient targeted calling, controlling the linkage terminal to perform linkage according to the terminal linkage rules and the conversion data, and then realizing the linkage between terminals according to the rule engine, so as to better control the joint operation of the terminals.

[0256] like Figure 3 , which is a schematic diagram of the structure of a computer device of a preferred embodiment of the present invention to implement a terminal control method based on an Internet of Things rule engine.

[0257] The computer device 1 may include a memory 12, a processor 13 and a bus, and may also include a computer program stored in the memory 12 and executable on the processor 13, such as a terminal control program based on an Internet of Things rule engine.

[0258] Those skilled in the art will appreciate that the schematic diagram is merely an example of the computer device 1 and does not constitute a limitation on the computer device 1. The computer device 1 may be a bus-type structure or a star-type structure. The computer device 1 may also include more or less other hardware or software than shown in the diagram, or a different arrangement of components. For example, the computer device 1 may also include input and output devices, network access devices, etc.

[0259] It should be noted that the computer device 1 is only an example, and other existing or future electronic products that are suitable for the present invention should also be included in the protection scope of the present invention and included here by reference.

[0260] Among them, the memory 12 includes at least one type of readable storage medium, and the readable storage medium includes flash memory, mobile hard disk, multimedia card, card-type memory (for example: SD or DX memory, etc.), magnetic memory, disk, optical disk, etc. In some embodiments, the memory 12 can be an internal storage unit of the computer device 1, such as a mobile hard disk of the computer device 1. In other embodiments, the memory 12 can also be an external storage device of the computer device 1, such as a plug-in mobile hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (SecureDigital, SD) card, a flash card (Flash Card), etc. equipped on the computer device 1. Further, the memory 12 can also include both an internal storage unit of the computer device 1 and an external storage device. The memory 12 can not only be used to store application software and various types of data installed in the computer device 1, such as the code of the terminal control program based on the Internet of Things rule engine, but also can be used to temporarily store data that has been output or is to be output.

[0261] In some embodiments, the processor 13 may be composed of an integrated circuit, for example, a single packaged integrated circuit, or a plurality of packaged integrated circuits with the same or different functions, including one or more central processing units (CPUs), microprocessors, digital processing chips, graphics processors, and combinations of various control chips. The processor 13 is the control core (Control Unit) of the computer device 1, and uses various interfaces and lines to connect the various components of the entire computer device 1, and executes or executes programs or modules stored in the memory 12 (for example, executing a terminal control program based on an Internet of Things rule engine, etc.), and calls data stored in the memory 12 to execute various functions of the computer device 1 and process data.

[0262] The processor 13 executes the operating system of the computer device 1 and various installed applications. The processor 13 executes the applications to implement the steps in the above-mentioned terminal control method embodiments based on the Internet of Things rule engine, for example Figure 1 Steps shown.

[0263] Exemplarily, the computer program may be divided into one or more modules / units, which are stored in the memory 12 and executed by the processor 13 to complete the present invention. The one or more modules / units may be a series of computer-readable instruction segments capable of completing specific functions, which are used to describe the execution process of the computer program in the computer device 1. For example, the computer program may be divided into an acquisition unit 110, a parsing unit 111, an enhancement unit 112, a reading unit 113, a processing unit 114, a determination unit 115, a conversion unit 116, and a control unit 117.

[0264] The above-mentioned integrated unit implemented in the form of a software function module can be stored in a computer-readable storage medium. The above-mentioned software function module is stored in a storage medium, and includes a number of instructions for enabling a computer device (which can be a personal computer, a computer device, or a network device, etc.) or a processor to execute the part of the terminal control method based on the Internet of Things rule engine described in each embodiment of the present invention.

[0265] If the module / unit integrated in the computer device 1 is implemented in the form of 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 present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware devices through a computer program. The computer program can be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of each of the above-mentioned method embodiments can be implemented.

[0266] The computer program includes computer program code, which may be in source code form, object code form, executable file or some intermediate form, etc. The computer readable medium may include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory, etc.

[0267] Furthermore, the computer-readable storage medium may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function, etc.; the data storage area may store data created according to the use of the blockchain node, etc.

[0268] The blockchain referred to in this invention is a new application mode of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanism, encryption algorithm, etc. Blockchain is essentially a decentralized database, a string of data blocks generated by cryptographic methods. Each data block contains a batch of network transaction information, which is used to verify the validity of its information (anti-counterfeiting) and generate the next block. Blockchain can include the underlying blockchain platform, platform product service layer, and application service layer.

[0269] The bus can be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 3 The bus is represented by only one straight line, but it does not mean that there is only one bus or one type of bus. The bus is configured to realize the connection and communication between the memory 12 and at least one processor 13, etc.

[0270] Although not shown, the computer device 1 may also include a power source (such as a battery) for supplying power to each component. Preferably, the power source may be logically connected to the at least one processor 13 through a power management device, so that the power management device can realize functions such as charging management, discharging management, and power consumption management. The power source may also include any components such as one or more DC or AC power sources, recharging devices, power failure detection circuits, power converters or inverters, power status indicators, etc. The computer device 1 may also include a variety of sensors, Bluetooth modules, Wi-Fi modules, etc., which will not be repeated here.

[0271] Furthermore, the computer device 1 may also include a network interface. Optionally, the network interface may include a wired interface and / or a wireless interface (such as a WI-FI interface, a Bluetooth interface, etc.), which is usually used to establish a communication connection between the computer device 1 and other computer devices.

[0272] Optionally, the computer device 1 may further include a user interface, which may be a display, an input unit (such as a keyboard), or a standard wired interface or a wireless interface. Optionally, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, or an OLED (Organic Light-Emitting Diode) touch device. The display may also be appropriately referred to as a display screen or a display unit, which is used to display information processed in the computer device 1 and to display a visual user interface.

[0273] It should be understood that the embodiment is for illustration only and the scope of the patent application is not limited to this structure.

[0274] Figure 3 Only the computer device 1 having components 12-13 is shown, and it can be understood by those skilled in the art that Figure 3 The structure shown does not constitute a limitation on the computer device 1, and may include fewer or more components than shown in the figure, or combine certain components, or arrange the components differently.

[0275] Combination Figure 1 , the memory 12 in the computer device 1 stores a plurality of instructions to implement a terminal control method based on an Internet of Things rule engine, and the processor 13 can execute the plurality of instructions to implement:

[0276] When it is detected that a target terminal is connected to the Internet of Things platform, data reported by the target terminal to the Internet of Things platform is obtained as terminal data;

[0277] Parsing the terminal data using a pre-established object model to obtain parsed data, and storing the parsed data in a pulsar message queue;

[0278] Consume the parsed data in the pulsar message queue, and perform data enhancement on the parsed data to obtain enhanced data;

[0279] Reading data processing rules and terminal linkage rules corresponding to the target terminal from the Redis cache according to the terminal data;

[0280] The enhanced data is processed using the calcite framework and the data processing rules to obtain target data, and the target data is stored in the pulsar message queue;

[0281] Consume the target data in the pulsar message queue, and determine a linkage terminal based on the linkage rule, and determine an interface of the linkage terminal;

[0282] Performing format conversion on the target data based on the interface of the linkage terminal to obtain converted data;

[0283] The linkage terminals are controlled to perform linkage according to the terminal linkage rule and the conversion data.

[0284] Specifically, the specific implementation method of the processor 13 for the above instructions can refer to Figure 1 The description of the relevant steps in the corresponding embodiments will not be repeated here.

[0285] In the several embodiments provided by the present invention, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only illustrative, for example, the division of the modules is only a logical function division, and there may be other division methods in actual implementation.

[0286] The present invention can be used in many general or special computer system environments or configurations. For example: personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronic devices, network PCs, minicomputers, mainframe computers, distributed computing environments including any of the above systems or devices, etc. The present invention can be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present invention can also be practiced in distributed computing environments, in which tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media including storage devices.

[0287] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0288] In addition, each functional module in each embodiment of the present invention may be integrated into one processing unit, each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional modules.

[0289] It is obvious to those skilled in the art that the present invention is not limited to the details of the above exemplary embodiments, and that the present invention can be implemented in other specific forms without departing from the spirit or essential characteristics of the present invention.

[0290] Therefore, no matter from which point of view, the embodiments should be regarded as illustrative and non-restrictive, and the scope of the present invention is limited by the appended claims rather than the above description, so it is intended that all changes falling within the meaning and scope of the equivalent elements of the claims are included in the present invention. Any attached figure mark in the claims should not be regarded as limiting the claims involved.

[0291] In addition, it is clear that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. Multiple units or devices stated in the present invention can also be implemented by one unit or device through software or hardware. The words first, second, etc. are used to indicate names, and do not indicate any particular order.

[0292] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solution of the present invention can be modified or replaced by equivalents without departing from the spirit and scope of the technical solution of the present invention.

Claims

1. A terminal control method based on an Internet of Things rule engine, characterized in that: The terminal control method based on the Internet of Things rule engine includes: When it is detected that a target terminal is connected to the Internet of Things platform, data reported by the target terminal to the Internet of Things platform is obtained as terminal data; Parsing the terminal data using a pre-established object model to obtain parsed data, and storing the parsed data in a pulsar message queue; Consume the parsed data in the pulsar message queue, and perform data enhancement on the parsed data to obtain enhanced data; Reading data processing rules and terminal linkage rules corresponding to the target terminal from the Redis cache according to the terminal data; The enhanced data is processed using the calcite framework and the data processing rules to obtain target data, and the target data is stored in the pulsar message queue; Consume the target data in the pulsar message queue, and determine a linkage terminal based on the linkage rule, and determine an interface of the linkage terminal; Performing format conversion on the target data based on the interface of the linkage terminal to obtain converted data; The linkage terminals are controlled to perform linkage according to the terminal linkage rule and the conversion data.

2. The terminal control method based on the Internet of Things rule engine according to claim 1, characterized in that: The method further comprises: When executing the terminal control method based on the Internet of Things rule engine, real-time stream processing is performed based on the flink framework.

3. The terminal control method based on the Internet of Things rule engine according to claim 1, characterized in that: The method of parsing the terminal data by using a pre-established object model to obtain parsed data and storing the parsed data in a pulsar message queue comprises: Using the terminal data to query the object model, obtain the attribute field; Combining the attribute fields to obtain the parsed data; Obtain a source data storage queue pre-established in the pulsar message queue; The parsed data is written into the source data storage queue.

4. The terminal control method based on the Internet of Things rule engine according to claim 1, characterized in that: The performing data enhancement on the parsed data to obtain enhanced data comprises: Get device shadow; Combining the device shadow with the parsed data to obtain the enhanced data; Incrementally update the enhanced data into the device shadow.

5. The terminal control method based on the Internet of Things rule engine according to claim 1, characterized in that: Before reading the data processing rules and terminal linkage rules corresponding to the target terminal from the Redis cache according to the terminal data, the method further includes: Build a visual editing interface based on the D3 framework; When data input is detected in the visual editing interface, the input data is collected; Obtaining the terminal identification of each terminal and the rules corresponding to each terminal from the collected data; Configure a rule ID for each rule corresponding to each terminal; Generate rule data for each terminal according to the terminal identification of each terminal, the rule corresponding to each terminal, and the configuration ID of each rule; The rule data is stored in the Redis cache.

6. The terminal control method based on the Internet of Things rule engine according to claim 1, characterized in that: The adopting of the calcite framework and the data processing rules to process the enhanced data to obtain target data, and storing the target data in the pulsar message queue comprises: Acquire a statement identifier from the terminal data, and use the statement identifier to search for an SQL statement in the terminal data; Using the calcite framework to verify the validity of the SQL statement; When the legality of the SQL statement passes the verification, the table field information in the data processing rule is obtained by using the SQL statement; Create a memory table according to the table field information; Writing the enhanced data into the memory table; Utilize the SQL statement to query the configuration fields and condition data in the memory table; Filtering the enhanced data according to the configuration field to obtain filtered data; Cleaning the screening data according to the condition data to obtain the target data; Obtain the target data storage queue pre-established in the pulsar message queue; The target data is written into the target data storage queue.

7. The terminal control method based on the Internet of Things rule engine according to claim 1, characterized in that: When controlling the linkage terminal to be linked according to the terminal linkage rule and the conversion data, the method further includes: When it is detected that alarm information is generated, an alarm rule corresponding to the target terminal is read from the Redis cache according to the terminal data; Obtain the alarm target and alarm method recorded in the alarm rule; Sending the alarm information to the alarm target based on the alarm mode; Reading a message flow rule corresponding to the target terminal from the Redis cache according to the terminal data; Obtain the cloud storage address or northbound application address recorded in the message flow rule; The target data is uploaded to the cloud storage address or the northbound application address.

8. A terminal control device based on an Internet of Things rule engine, characterized in that: The terminal control device based on the Internet of Things rule engine includes: an acquisition unit, configured to acquire data reported by the target terminal to the Internet of Things platform as terminal data when it is detected that a target terminal is connected to the Internet of Things platform; A parsing unit, used for parsing the terminal data using a pre-established object model to obtain parsed data, and storing the parsed data in a pulsar message queue; An enhancement unit, used for consuming the parsed data in the pulsar message queue and performing data enhancement on the parsed data to obtain enhanced data; A reading unit, configured to read data processing rules and terminal linkage rules corresponding to the target terminal from the Redis cache according to the terminal data; A processing unit, used for processing the enhanced data using the calcite framework and the data processing rules to obtain target data, and storing the target data in the pulsar message queue; A determination unit, configured to consume the target data in the pulsar message queue, determine a linkage terminal based on the linkage rule, and determine an interface of the linkage terminal; A conversion unit, configured to convert the target data into a format based on the interface of the linkage terminal to obtain converted data; A control unit is used to control the linkage terminals to perform linkage according to the terminal linkage rules and the conversion data.

9. A computer device, characterized in that: The computer device comprises: a memory storing at least one instruction; and A processor executes instructions stored in the memory to implement the terminal control method based on the Internet of Things rule engine as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores at least one instruction, and the at least one instruction is executed by a processor in a computer device to implement the terminal control method based on the Internet of Things rule engine as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Internet of Things acquired data processing device, method and system

    CN110995846A

  • Internet-of-Things device data analysis method and device and electronic device

    CN112235326A