An Internet of Things data routing configuration method, terminal, and storage medium
By automatically configuring the Internet of Things data routing configuration method of processing nodes, the problems of high implementation difficulty and high development and management costs in the existing technology are solved, and the simplified routing rule creation process and reduced learning threshold are realized.
Patent Information
- Application Number
- CN202211728612.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-29
- Publication Date
- 2025-05-27
- Estimated Expiration
- 2042-12-29
AI Technical Summary
The existing IoT data routing methods have problems such as high implementation difficulty, high development cost, high operational learning cost and high management cost.
Provides an IoT data routing configuration method, which simplifies the routing rule creation process by obtaining product application information, determining processing nodes and generating configuration parameters.
It lowers the learning threshold, reduces the chance of misoperation, simplifies the routing rule creation process, and reduces development and management costs.
Smart Images

Figure CN115987781B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of Internet of Things data routing, and specifically relates to an Internet of Things data routing configuration method, a terminal, and a storage medium. Background Art
[0002] At present, there are two main methods for implementing Internet of Things data routing. One is to implement Internet of Things data routing by writing code independently. From data access to data routing, all are independently developed. This method has a high degree of freedom, and all links can be independently controlled, with strong controllability. The second is to directly use mature products such as NIFI for Internet of Things data routing. This method can greatly save development costs and only requires a small amount of development of process rules. Moreover, mature products have high stability, cover more scenarios, and are more powerful.
[0003] In the process of conceiving and implementing the present application, the inventors found that if the method of independent development is adopted, there are problems such as relatively high implementation difficulty, large amount of code development, and lack of long-term verification, which may result in incomplete scenario coverage and low operating efficiency. When changing routing rules or adding or replacing device products, multiple iterative developments may be required, with high development costs and long iterative cycles. If the method of directly using mature products such as NIFI for data routing is adopted, there are often their own operation interfaces, high professionalism, high operation learning costs, and an increased possibility of misoperation. In addition, there are multiple sets of user authentication systems, with high management costs. Most of these products have weak permission control and require secondary development for permission control.
[0004] The foregoing description is for providing general background information and does not necessarily constitute prior art. Summary of the Invention
[0005] To alleviate the above problems, the present application provides an Internet of Things data routing configuration method, a terminal, and a storage medium.
[0006] In one aspect, the present application provides an Internet of Things data routing configuration method, specifically including:
[0007] In response to a newly added rule link, obtain the input product application information;
[0008] According to the product application information, determine the processing nodes and generate configuration parameters for the processing nodes;
[0009] According to the configuration parameters, configure each processing node correspondingly.
[0010] Optionally, when the Internet of Things data routing configuration method executes the step of determining the processing nodes according to the product application information and generating configuration parameters for the processing nodes, it includes:
[0011] Determine the processing node according to the API documentation of the NIFI framework and the product application information described above;
[0012] Calculate the configuration parameters of the processing node according to the preset threshold and the service configuration corresponding to the product application information, so as to generate the configuration parameters of the processing node.
[0013] Optionally, when the Internet of Things data routing configuration method executes the step of obtaining the input product application information in response to the newly added rule link, it includes:
[0014] Generate an interactive interface based on the newly added rule link, and obtain the input product application information, where the product application information includes a transmission protocol, a product name, an adapted device, a forwarded data content, and a forwarding address.
[0015] Optionally, the configuration parameter includes a data access parameter; when the Internet of Things data routing configuration method executes the steps of determining the processing node according to the product application information and generating the configuration parameters of the processing node, it includes:
[0016] Determine the data access node according to the transmission protocol and the product name, and generate the data access parameter.
[0017] Optionally, the configuration parameter includes a data parsing parameter; when the Internet of Things data routing configuration method executes the steps of determining the processing node according to the product application information and generating the configuration parameters of the processing node, it includes:
[0018] Determine the data parsing node according to the product name and the adapted device, and generate the data parsing parameter.
[0019] Optionally, the configuration parameter includes a data routing rule; when the Internet of Things data routing configuration method executes the steps of determining the processing node according to the product application information and generating the configuration parameters of the processing node, it includes:
[0020] Match the data parsed by the data parsing node with the configured product application information and the adapted device to determine the data routing rule.
[0021] Optionally, the configuration parameter includes a service sub-process data processing parameter and a data routing outflow parameter; when the Internet of Things data routing configuration method executes the steps of determining the processing node according to the product application information and generating the configuration parameters of the processing node, it includes:
[0022] Determine the data processing outflow node of the service sub-process according to the forwarded data content, and generate the service sub-process data processing parameter;
[0023] Determine the data outflow node after the data is routed according to the forwarding address, and generate the data routing outflow parameter.
[0024] Optionally, after the step of configuring each processing node according to the configuration parameters in the Internet of Things data routing configuration method, the following steps are included:
[0025] Read the monitoring data of the current rule link;
[0026] When the monitoring data meets the first preset condition, add a new rule link;
[0027] When the monitoring data meets the second preset condition, create a subprocess according to the current rule link.
[0028] On the other hand, the present application provides an Internet of Things data routing configuration terminal. Specifically, the Internet of Things data routing configuration terminal includes a processor and a memory;
[0029] The memory stores a computer program, and when the computer program is executed by the processor, the steps of the Internet of Things data routing configuration method described above are implemented.
[0030] On the other hand, the present application provides a storage medium. Specifically, a computer program is stored on the storage medium, and when the computer program is executed by a processor, the steps of the Internet of Things data routing configuration method described above are implemented.
[0031] As described above, the Internet of Things data routing configuration method, terminal, and storage medium provided by the present application simplify the process of creating routing rules. Users only need to fill in some key information to complete the automatic creation of the entire rule link, reducing the learning threshold and the probability of misoperation. Description of the Drawings
[0032] The drawings here are incorporated into the specification and form a part of this specification, showing the embodiments that conform to the present application, and are used together with the specification to explain the principles of the present application. In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, for those of ordinary skill in the art, other drawings can also be obtained based on these drawings without creative efforts.
[0033] Figure 1 It is a flowchart of the Internet of Things data routing configuration method according to an embodiment of the present application.
[0034] Figure 2 It is a flowchart of step S30 in the Internet of Things data routing configuration method according to an embodiment of the present application.
[0035] The realization, functional features, and advantages of the present application will be further described in conjunction with embodiments with reference to the accompanying drawings. Through the above-mentioned accompanying drawings, specific embodiments of the present application have been shown, and there will be more detailed descriptions hereinafter. These drawings and written descriptions are not intended to limit the scope of the concept of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. Detailed Embodiments
[0036] Here, exemplary embodiments will be described in detail, and examples are shown in the accompanying drawings. When the following description refers to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0037] It should be noted that in this article, the terms "include", "comprise", or any other variant thereof are intended to cover non-exclusive inclusion, so that a process, method, article, or device including a series of elements not only includes those elements but also includes other elements not expressly listed, or also includes elements inherent to such process, method, article, or device. Without further limitation, an element defined by the statement "including one..." does not exclude the existence of additional identical elements in the process, method, article, or device including that element. In addition, components, features, and elements with the same name in different embodiments of the present application may have the same meaning or different meanings, and their specific meanings need to be determined by their explanations in the specific embodiments or further in combination with the context in the specific embodiments.
[0038] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0039] First Embodiment
[0040] In one aspect, the present application provides an Internet of Things data routing configuration method. Figure 1 It is a flowchart of the Internet of Things data routing configuration method according to an embodiment of the present application.
[0041] Please refer to Figure 1 , in an embodiment, the Internet of Things data routing configuration method includes:
[0042] S10: In response to a newly added rule link, obtain the input product application information.
[0043] In a data communication network, a telecommunications facility that connects two or more data stations according to the technical requirements of a link protocol is called a data link, or simply a data chain for short. In addition to the physical line, a data link must also have a communication protocol to control the transmission of these data. If the hardware and software that implement these protocols are added to the link, a data link is formed. When data packets travel from the source to the destination, the process of determining the network scope of the end-to-end path can be called routing. Routing is a data packet forwarding device that works at the third layer of the OSI reference model - the network layer. A router realizes network interconnection by forwarding data packets. A router usually connects two or more logical ports identified by IP subnets or point-to-point protocols and has at least one physical port. Based on the network layer address in the received data packet and the routing table maintained inside the router, the router determines the output port and the next-hop address, and rewrites the data link layer data packet header to forward the data packet. The router maintains the routing table to reflect the current network topology and can maintain the routing table by exchanging routing and link information with other routers on the network. Exemplarily, an operation of adding a new rule link can be directly performed in the Internet of Things system.
[0044] S20: Determine the processing nodes according to the product application information and generate the configuration parameters of the processing nodes.
[0045] Exemplarily, the processing nodes may include data access nodes, data parsing and processing nodes, data routing nodes, service sub-process processing nodes, and final data output nodes. These nodes are connected end to end to form a complete rule link. The telecommunications facilities of multiple data stations need to be parameter-configured to make them uniformly connected according to the technical requirements of the link protocol.
[0046] S30: Configure each processing node correspondingly according to the configuration parameters.
[0047] Exemplarily, the configuration parameters include basic parameter configuration, scheduling information configuration, and attribute configuration. By configuring the parameters of multiple processing nodes, it is possible to make them uniformly connect the telecommunications facilities of multiple data stations according to the technical requirements of the link protocol, thereby forming a data link.
[0048] In this embodiment, the Internet of Things data routing configuration method simplifies the process of creating routing rules. The user only needs to fill in some key information to complete the automatic creation of the entire rule link, reducing the learning threshold and also reducing the probability of incorrect operations.
[0049] In one embodiment, the steps of the Internet of Things data routing configuration method in executing S20: Determine the processing nodes according to the product application information and generate the configuration parameters of the processing nodes include:
[0050] S21: Determine the processing nodes according to the API documentation of the NIFI framework and the product application information.
[0051] NiFi is an easy-to-use, powerful, and reliable data ingestion, data processing, and distribution system for automating the management of data flow between systems. It supports highly configurable data routing, transformation, and system mediation logic in flow diagrams and enables dynamic data ingestion from multiple data sources. NiFi works in a web-based manner and is scheduled on a server in the background. Optionally, users can define a process for data processing and then process it. The background has components such as a data processing engine and task scheduler. Exemplarily, based on the NIFI streaming framework, the corresponding management interface of the NIFI API is called to determine the processing nodes.
[0052] S22: Calculate the configuration parameters of the processing node according to the preset threshold and the service configuration corresponding to the product application information, so as to generate the configuration parameters of the processing node.
[0053] Exemplarily, there are a large number of configuration parameters required for the processing node. The product application information can provide the type of the data node, and the type of the node determines the specific logic executed by the processing node. The node processing logic can be the processing nodes provided by the NIFI framework, such as data access nodes, data parsing and processing nodes, data routing nodes, etc. Such nodes can be selected, and there are also user-defined nodes, such as the nodes in the business sub-process. It is also necessary to configure the connection information between the processing nodes: access nodes, outgoing nodes, load thresholds of the connections, load balancing strategies, etc.
[0054] In one embodiment, the step of the Internet of Things data routing configuration method for executing S10: responding to the newly added rule link and obtaining the input product application information includes:
[0055] S11: Generate an interactive interface based on the newly added rule link, and obtain the input product application information, where the product application information includes a transmission protocol, a product name, an adapted device, a forwarded data content, and a forwarding address.
[0056] In this embodiment, by receiving the user input product application information on the production interactive interface, the basic information for creating the data routing rule can be confirmed.
[0057] In one embodiment, the configuration parameters include data access parameters; the step of the Internet of Things data routing configuration method for executing S20: determining the processing node according to the product application information and generating the configuration parameters of the processing node includes:
[0058] S23: Determine the data access node according to the transmission protocol and the product name, and generate the data access parameters.
[0059] After the product name and transmission protocol are determined, the data sources, data formats, data parsing, and processing nodes to be accessed can be determined. Exemplarily, if it is product A and the transmission protocol is MQTT, when configuring the data access parameters, product A is used as the data access node, and the MQTT protocol is used as the data communication specification for the data access node to route the data accessed through the MQTT protocol of product A.
[0060] In one embodiment, the configuration parameters include data parsing parameters; the steps of the Internet of Things data routing configuration method in executing S20: determining the processing node according to the product application information and generating the configuration parameters of the processing node include:
[0061] S24: Determine the data parsing node according to the product name and the adapted device, and generate data parsing parameters.
[0062] The product name and the adapted device can determine the data type for filtering the data routing node. Optionally, the configuration parameters of the node can be automatically filled, and the filling parameters are mainly empirical parameters and business rules at present. For example, the concurrency configuration value in the call configuration of the node is a parameter summarized through experiments, and the type parameter of the business sub-process node is mapped according to the incoming product and transmission protocol through business rules. Exemplarily, if it is selected to access device B under product A, the data encoding characteristics of device B can be determined. According to the data encoding characteristics, the corresponding parsing device is determined as the data parsing node, and thus its data parsing parameters are determined, and the parsing device is configured with parameters. The data encoding characteristics are such as JSON format, custom binary stream type, etc.
[0063] In one embodiment, the configuration parameters include data routing rules; the steps of the Internet of Things data routing configuration method in executing S20: determining the processing node according to the product application information and generating the configuration parameters of the processing node include:
[0064] S25: Match the data parsed by the data parsing node with the configured product application information and the adapted device to determine the data routing rules.
[0065] Exemplarily, the product code M and the device code N are obtained by parsing the data content, and it is checked whether the product code M matches the product name in the configuration, and it is checked whether the device code N matches the adapted device in the configuration. If the match is successful, the data routing rule is determined to allow the data to flow into the subsequent node, otherwise the data routing rule is determined to prohibit the data from flowing into the subsequent node, that is, the data content is not processed.
[0066] In one embodiment, the configuration parameters include business sub-process data processing parameters and data routing outflow parameters; the steps of the Internet of Things data routing configuration method in executing S20: determining the processing node according to the product application information and generating the configuration parameters of the processing node include:
[0067] S26: Determine the data processing out - flow node of the service sub - process according to the forwarded data content, and generate service sub - process data processing parameters.
[0068] Optionally, the forwarded data content determines how the original input data will be processed by the service sub - process node, which node will process it, and then forward it in the corresponding data format. Exemplarily, if the forwarded data content is backup production data collected from the production line, then the backup production data will be imported into the database by the cloud server. Therefore, the data processing out - flow node of the service sub - process needs to perform data cleaning pre - processing on the backup production data. Thus, it can be determined that the data processing out - flow node of the service sub - process is the device port of the data cleaning device. For this device port, corresponding service sub - process data processing parameters are generated to configure this device port.
[0069] S27: Determine the data out - flow node after the data routing is completed according to the forwarding address, and generate data routing out - flow parameters.
[0070] Optionally, if the original data forwarding is selected for the forwarded data content, the service sub - process node will not perform any processing. Exemplarily, forwarding the communication information obtained through the instant messaging system does not require any processing, and the original data can be packaged and forwarded. At this time, according to the destination terminal of the instant messaging recipient of the communication, it can be determined that the data out - flow node is the device port corresponding to this destination terminal. For this device port, corresponding port configuration parameters are generated as data routing out - flow parameters to configure this device port. If the forwarded data content selects certain attributes or certain events, the service sub - process will select specific attributes and events in the data to flow into the subsequent nodes, and then generate a data output node according to the forwarding address, and forward the data to the topic corresponding to this address, which is the data out - flow node after the data routing is completed. The forwarding address can be XXX.XXX.XXX.XXX:XXXXX, and the Topic is XXXX.
[0071] In the above embodiments, data access, data parsing and processing, data routing, service sub - process nodes, and data output nodes can all be created through product application information, while the connection configuration information is automatically generated through empirical data. The Internet of Things data routing configuration method has completed the integration of NIFI and the Internet of Things system based on the API call principle, and simplified the creation process of NIFI, reducing the learning cost of users and the probability of misoperation.
[0072] In one embodiment, after the Internet of Things data routing configuration method executes S30: Correspondingly configure each processing node according to the configuration parameters, it includes:
[0073] S31: Read the monitoring data of the current rule link.
[0074] Exemplarily, in order to ensure the correct execution of data routing and obtain the running status of NIFI in a timely manner, a timer can be added to monitor NIFI at regular intervals. Currently, the monitored status information mainly monitors the nodes and connections in NIFI, and the main attributes of the monitored data are: the running status of the nodes, the inflow and outflow data volumes of the connections, the size of the data queue waiting to be processed in the connections, the error information of node data processing failures, etc.
[0075] S32: When the monitored data meets the first preset condition, a new rule link is added.
[0076] Exemplarily, the first preset condition can be selected from: the sub-process of the existing rule link has reached the threshold, the load is too high, the inflow and outflow volumes of the nodes in the existing rule link have been continuously at a high level, or the data volume in the data processing queue of the node connection has continuously exceeded the threshold. When the monitored data meets the above first preset condition, a new rule link is added to achieve the scalability of the routing rules and improve the overall performance of the system.
[0077] S33: When the monitored data meets the second preset condition, a sub-process is created based on the current rule link.
[0078] Exemplarily, the second preset condition can be selected from: not meeting the first preset condition, the number of sub-processes has not reached the threshold, or the load of the selected process does not exceed the preset threshold. When the monitored data meets the above second preset condition, a sub-process is created based on the current rule link to achieve the dynamic allocation of NIFI resources, improve the resource utilization efficiency and the overall throughput of the system.
[0079] Optionally, alarms can be generated corresponding to the monitored data: node operation exception alarm, node inflow and outflow high-level alarm, connection processing data queue too large alarm, node data processing exception alarm, etc. The alarms are used to notify the management personnel for handling to achieve the timely handling of problems.
[0080] Figure 2 It is the flowchart of step S30 in the Internet of Things data routing configuration method according to an embodiment of the present application.
[0081] Please refer to Figure 2 , exemplarily, when creating a routing rule chain, the Internet of Things data routing configuration method determines whether a new rule link needs to be added according to the configured threshold and the runtime data load. The sub-process threshold is obtained through analysis and experience summary, while the load information of the data is dynamically obtained by the status listener. Dynamically creating a rule link can not only greatly avoid the performance bottleneck caused by too many sub-processes under certain links, but also prevent the management difficulty increase and resource waste caused by too few sub-processes under the rule link and too many overall rule links, improving the overall resource utilization rate of the system.
[0082] In this embodiment, the Internet of Things data routing configuration method not only realizes the monitoring of the NIFI status, but also records the NIFI status, analyzes it, generates early warnings, and also realizes the dynamic shunting of rule creation. Moreover, it combines status monitoring to make adaptive adjustments to the creation of rules, reducing the probability of a single-node performance bottleneck and improving the overall performance of the system.
[0083] Second Embodiment
[0084] On the other hand, the present application provides an Internet of Things data routing configuration terminal. Specifically, the Internet of Things data routing configuration terminal includes a processor and a memory;
[0085] The memory stores a computer program, and when the computer program is executed by the processor, the steps of the Internet of Things data routing configuration method described above are realized.
[0086] On the other hand, the present application provides a storage medium. Specifically, a computer program is stored on the storage medium, and when the computer program is executed by the processor, the steps of the Internet of Things data routing configuration method described above are realized.
[0087] As described above, the Internet of Things data routing configuration method, terminal, and storage medium provided by the present application make full use of the advantages of the streaming framework of NIFI for data routing in the Internet of Things, realizing the dynamic management and hot deployment of routing rules, reducing a large amount of code development. At the same time, compared with simply using NIFI, it has completed the integration with the Internet of Things system, realized the unified management of operation permissions, simplified the NIFI creation process, reduced the learning threshold, and also reduced the probability of incorrect operations. It has added a monitoring mechanism for the NIFI process status and generates early warnings for abnormal statuses, which helps operation and maintenance personnel to discover, locate, and handle problems in a timely manner. For the creation of routing rules, it realizes the dynamic shunting of rule links. When the number of sub-processes in a rule link reaches a certain number, the system will add a new rule link. At the same time, if it is found through status monitoring that the load of a certain link exceeds a certain threshold, the system will no longer assign sub-processes to it, realizing the dynamic shunting of gateway access data and improving the utilization efficiency of rule links.
[0088] It should be noted that in the present application, step codes such as S10 and S20 are adopted. The purpose is to more clearly and briefly express the corresponding content and do not constitute a substantial limitation in terms of sequence. Those skilled in the art may execute S20 first and then S10 during specific implementation, etc., but these should all be within the protection scope of the present application.
[0089] In the embodiments of the Internet of Things data routing configuration terminal and storage medium provided in this application, all the technical features of any of the above method embodiments may be included. The extended and explanatory content of the specification is basically the same as that of the above method embodiments, and will not be elaborated here.
[0090] The embodiments of this application also provide a computer program product. The computer program product includes computer program code. When the computer program code runs on a computer, the computer is caused to execute the methods in the above various possible implementation manners.
[0091] The embodiments of this application also provide a chip, including a memory and a processor. The memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that the device equipped with the chip executes the methods in the above various possible implementation manners.
[0092] It can be understood that the above scenarios are only examples and do not constitute a limitation on the application scenarios of the technical solutions provided in the embodiments of this application. The technical solutions of this application can also be applied to other scenarios. For example, as is known to those of ordinary skill in the art, with the evolution of the system architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of this application are equally applicable to similar technical problems.
[0093] The serial numbers of the above embodiments of this application are only for description and do not represent the advantages or disadvantages of the embodiments.
[0094] The steps in the method embodiments of this application can be adjusted, combined, and deleted according to actual needs.
[0095] The units in the device embodiments of this application can be combined, divided, and deleted according to actual needs.
[0096] In this application, for the description of the same or similar term concepts, technical solutions, and / or application scenarios, generally only the first occurrence is described in detail. When it appears repeatedly later, for the sake of brevity, it is generally not elaborated again. When understanding the technical solutions and other contents of this application, for the same or similar term concepts, technical solutions, and / or application scenarios that are not described in detail later, reference can be made to their previous relevant detailed descriptions.
[0097] In this application, the descriptions of the various embodiments each have their own emphases. For the parts not elaborated or recorded in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0098] The technical features of the technical solutions of this application can be combined arbitrarily. For the sake of concise description, not all possible combinations of the technical features in the above embodiments are described. However, as long as the combinations of these technical features do not conflict, they should all be considered as the scope recorded in this application.
[0099] The above are only the preferred embodiments of the present application, and do not limit the patent scope of the present application accordingly. Any equivalent structure or equivalent process transformation made by using the content of the specification and drawings of the present application, or directly or indirectly applied in other related technical fields, shall be equally included in the patent protection scope of the present application.
Claims
1. An Internet of Things data routing configuration method, characterized in that, it is used for automatically managing the data flow between systems; including: Responding to a newly added rule link, obtaining the input product application information; According to the product application information, determining a processing node and generating configuration parameters for the processing node; According to the configuration parameters, configuring each processing node correspondingly, and the node processing logic of the processing node is a processing node provided by the NiFi framework or a user-defined node; The step of determining a processing node according to the product application information and generating configuration parameters for the processing node includes: Determining the processing node according to the API document of the NIFI framework and the product application information; The configuration parameters include data access parameters; the step of determining a processing node according to the product application information and generating configuration parameters for the processing node includes: Determining a data access node according to the transmission protocol and product name, determining the data source and data format to be accessed, and generating the data access parameters; The configuration parameters include data parsing parameters; the step of determining a processing node according to the product application information and generating configuration parameters for the processing node includes: Determining a data parsing node according to the product name and the adapted device, and generating the data parsing parameters.
2. The Internet of Things data routing configuration method according to claim 1, characterized in that, The step of determining a processing node according to the product application information and generating configuration parameters for the processing node includes: Calculating the configuration parameters of the processing node according to a preset threshold and the service configuration corresponding to the product application information to generate the configuration parameters of the processing node.
3. The Internet of Things data routing configuration method according to claim 2, characterized in that, The step of responding to a newly added rule link and obtaining the input product application information includes: Generating an interactive interface based on the newly added rule link, and obtaining the input product application information, where the product application information includes a transmission protocol, a product name, an adapted device, forwarded data content, and a forwarding address.
4. The Internet of Things data routing configuration method according to claim 3, characterized in that, The configuration parameters include data routing rules; the step of determining a processing node according to the product application information and generating configuration parameters for the processing node includes: Matching the data parsed by the data parsing node with the configured product application information and the adapted device to determine the data routing rules.
5. The Internet of Things data routing configuration method according to claim 4, characterized in that, The configuration parameters include service sub-process data processing parameters and data routing outflow parameters; the step of determining a processing node according to the product application information and generating configuration parameters for the processing node includes: Determining the data processing outflow node of the service sub-process according to the forwarded data content, and generating the service sub-process data processing parameters; Determining the data outflow node after the data is routed according to the forwarding address, and generating the data routing outflow parameters.
6. The method for configuring IoT data routing according to any one of claims 1-5, characterized in that, after the step of correspondingly configuring each processing node according to the configuration parameters, it includes: reading the monitoring data of the current rule link; when the monitoring data meets the first preset condition, adding a new rule link; when the monitoring data meets the second preset condition, creating a subprocess according to the current rule link.
7. An IoT data routing configuration terminal, characterized in that, the IoT data routing configuration terminal includes a processor and a memory; the memory stores a computer program, and when the computer program is executed by the processor, the steps of the method for configuring IoT data routing according to any one of claims 1-6 are implemented.
8. A storage medium, characterized in that, the storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method for configuring IoT data routing according to any one of claims 1-6 are implemented.
Citation Information
Patent Citations
Routing control method and apparatus
CN106302167A
Load balancing method of container cluster, computer equipment and storage medium
CN113986475A
New Internet of Things equipment configuration method and device based on industrial Internet identification system
CN115442391A