CN116155905A - Internet of things platform data processing method and equipment based on protocol and signature - Google Patents

Internet of things platform data processing method and equipment based on protocol and signature Download PDF

Info

Publication number
CN116155905A
CN116155905A CN202211378556.5A CN202211378556A CN116155905A CN 116155905 A CN116155905 A CN 116155905A CN 202211378556 A CN202211378556 A CN 202211378556A CN 116155905 A CN116155905 A CN 116155905A
Authority
CN
China
Prior art keywords
rule
message
signature
data
internet
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211378556.5A
Other languages
Chinese (zh)
Inventor
仇正豪
张青野
赵中瑞
张鹏程
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inesa R&d Center
Original Assignee
Inesa R&d Center
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inesa R&d Center filed Critical Inesa R&d Center
Priority to CN202211378556.5A priority Critical patent/CN116155905A/en
Publication of CN116155905A publication Critical patent/CN116155905A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1031Controlling of the operation of servers by a load balancer, e.g. adding or removing servers that serve requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/06Notations for structuring of protocol data, e.g. abstract syntax notation one [ASN.1]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3247Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving digital signatures

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention relates to a data processing method of an internet of things platform based on a message protocol and a signature, which comprises the following steps: the method comprises the steps of obtaining analysis information matched with a preset message protocol format, wherein the analysis information comprises original message data, circulation rule data and a signature, and matching one or more rule adaptation nodes by adopting a load balancing strategy according to the circulation rule data and preset rule adaptation node information; and sending the analysis information to the matched one or more rule adaptation nodes, performing data processing matched with the original message data after verifying the signature, and submitting the downstream application. Compared with the prior art, the invention can realize the large concurrent data processing work of the Internet of things platform by the cooperative cooperation of the message protocol, the upstream application and the adapter under the conditions of saving a large amount of configuration maintenance work, greatly reducing the read-write consumption of the database and greatly reducing the system failure rate.

Description

Internet of things platform data processing method and equipment based on protocol and signature
Technical Field
The invention relates to the technical field of data processing, in particular to a data processing method of an internet of things platform based on a message protocol and a signature.
Background
Along with development of informatization technology and continuous optimization of internet network conditions, the number of the terminal devices of the internet of things which are accessed in the scenes of industry, medical treatment, communities and the like is rapidly increased, data acquired and generated by the devices of the internet of things are unprecedented in volume and dimension, and complexity of downstream application of the data is also a great challenge for an internet of things platform.
In order to gather, clean, forward, calculate and store massive messages (i.e. data sent by a terminal device) at the cloud, an internet of things platform often realizes a set of data processing services (i.e. rule engines) through a distributed architecture, and performs various processes on the messages according to configured rules. The rule engine which is easy to configure, high in operation efficiency, good in safety mechanism and capable of achieving various data processing functions can bring great improvement to the data processing capacity of the Internet of things platform.
In general, a rule engine of the internet of things platform needs to develop a commonly used data calling program according to the service requirement, perform chained configuration on the circulation rules of the upstream and downstream messages, store the configurations in a database in a specific form, and write an interpreter to analyze the circulation rule chains. In an actual scene, when a rule engine of the internet of things platform is online or makes service change each time, the rule engine needs to be matched with upstream and downstream applications, reconfigures the message flow rule in the database, and performs three-party debugging with upstream and downstream. Furthermore, each time a message is received, a reading of the rule database, authentication of the source (device) of the message, and invocation of the rule interpreter must be performed. These steps have adverse effects on the overall efficiency and load pressure of the internet of things platform.
The Chinese patent application number CN201911402164.6 discloses a data processing method and system of an Internet of things platform based on a rule engine, wherein the method comprises the following steps: step 1, data analysis: analyzing the signal data of the platform of the Internet of things into plaintext data; step 2, rule configuration: configuring rules which need to be acted on the plaintext data based on the plaintext data of the platform of the Internet of things in the step 1; step 3, data processing: and (3) filtering and/or converting and/or executing and/or storing the plaintext data of the Internet of things platform based on the rule configured in the step (2). By the preprocessing and configuration method based on the rule engine, certain equipment or data is dynamically processed by the engine drive according to a preset rule, so that the problem of continuously adding codes to solve special data types is avoided, and the problem that the stability of the original project is influenced due to the introduction of a new project in the Internet of things platform is avoided. However, during the application running process, the rule engine is strongly dependent on the database, single-point failure of the database may cause unavailability of the platform of the internet of things, and in addition, a signature mechanism is not set between the upstream application and the rule engine, and the rule engine is strongly coupled with upstream and downstream services.
In summary, the current implementation method of the rule engine has the following disadvantages:
(1) When a rule engine of the Internet of things platform is online or changes in service each time, an upstream application and a downstream application are required to be matched, message flow rules in a database are reconfigured, and three-party debugging is performed on the upstream and downstream applications, the rule engine is required to be configured and debugged before application deployment, strong dependence exists on the database during application operation, the rule engine is required to be configured in a complex manner and frequently inquired the database, and a traditional analyzer cannot cope with slightly complex logic under most conditions and is extremely difficult to be tried out by a user;
(2) After the internet of things platform receives the message, the rule database reading, the message source (equipment) authentication and the rule interpreter invoking are required to be carried out each time, and the steps have negative effects on the overall efficiency and load pressure of the internet of things platform, so that the performance cost of the rule engine for reading and writing the database and invoking the interpreter is increased.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provide the data processing method and the data processing equipment for the internet of things platform based on the protocol and the signature, which realize decoupling of a rule engine and a rule database so as to avoid complex configuration and frequent database query.
The aim of the invention can be achieved by the following technical scheme:
the invention provides a protocol and signature-based data processing method of an internet of things platform, which is applied to the internet of things platform, wherein the internet of things platform comprises a rule engine and one or more rule adaptation nodes, and the message protocol and signature-based data processing method of the internet of things platform comprises the following steps: the method comprises the steps of obtaining analysis information matched with a preset message protocol format, wherein the analysis information comprises original message data, circulation rule data and a signature, and matching one or more rule adaptation nodes by adopting a load balancing strategy according to the circulation rule data and preset rule adaptation node information; and sending the analysis information to the matched one or more rule adaptation nodes, performing data processing matched with the original message data after verifying the signature, and submitting a downstream application.
As a preferred technical solution, the circulation rule data includes: the system comprises a circulation rule identifier and circulation rule parameters, wherein the rule identifier comprises one or more of upstream platform information, application information, downstream application type, signature algorithm type and circulation rule identification code.
As a preferable technical scheme, the signature generation algorithm is any one of MD5, SHA and DSS.
As a preferred solution, the parsing information is from an upstream application or one or more message adaptation nodes for converting the original data message into a unified message protocol format, which message adaptation nodes have been associated with the rule adaptation nodes in advance.
As a preferred technical solution, when the parsing information comes from the message adaptation node, the process of obtaining the parsing information including the original message data, the circulation rule data and the signature includes the following steps: and acquiring analysis information from the message adaptation nodes subjected to the same load balancing strategy matching, wherein the analysis information comprises original message data, circulation rule data matched according to the original message data and preset rules, and a signature associated with the rule adaptation nodes matched with the circulation rules.
As a preferred technical solution, the load balancing policy is: and calculating the load index of the cluster to which the current message adaptation node belongs, and correspondingly increasing/decreasing the message adaptation node which is the same as the current message adaptation node when the load index exceeds/falls below a preset threshold value.
As an optimal technical scheme, the load index is calculated according to one or more parameters of the load, the flow trend and the rule calling rate of the current message adaptation node.
As a preferable technical solution, the load calculation formula of the load index is:
v=Ceil[k*CurrentCost*Trend*(w i *Utilization)]
wherein v is the load index, k is a constant, trend is a flow Trend, w i The method is characterized in that the weight is characterized in that the Utilization is a rule calling rate, the Ceil is an upward rounding function, the CurrentCost is a current load, and the calculation mode is as follows:
Figure SMS_1
wherein w is i And N is the number of the message adaptation nodes in the cluster, and X is an index of resources occupied by the current message adaptation nodes.
As a preferable technical scheme, the index of occupying resources includes one or more of CPU occupancy rate of the current message adaptation node and memory occupancy rate of the current message adaptation node.
In another aspect of the present invention, an electronic device is provided, including one or more processors and a memory, where the memory stores one or more programs, and the one or more programs include instructions for executing the above-mentioned internet of things platform data processing method based on a message protocol and a signature.
Compared with the prior art, the invention has the following advantages:
(1) The rule engine does not need to inquire all applicable rules according to the identifier of the equipment or the upstream application, but the inquiry work is carried out by the upstream application, and the message received by the rule engine accords with a preset message protocol format and contains applicable rule information, so that the rule engine is liberated from complicated data analysis work, and data preprocessing is not needed for each rule and original data;
(2) In order to adapt to the traditional upstream application, a cluster comprising a plurality of message adaptation nodes is provided, original information is preprocessed, and the original information is converted into a preset message protocol format which can be identified by a rule engine;
(3) In order to ensure the security of the decoupled message platform, the analyzed information received by the rule engine needs to contain the signature of the rule adapter corresponding to the streaming rule, and the rule adapter verifies the signature after the rule engine forwards the message to the rule adapter, so that the security of the decoupled message platform is ensured;
(4) The load balancing mode of the upstream and downstream flow of the rule engine is optimized, and the adapters are elastically deployed through the flow monitoring and self-adaptive algorithm, so that the effect of improving the load capacity and the resource utilization rate is achieved;
(5) The method and the system have the advantages that the message circulation efficiency of the Internet of things platform is improved, the decoupled rule engine becomes an extensible low-coupling service, the adaptability of the rule engine to a micro-service architecture and a high-availability message middleware is greatly enhanced, and the characteristics of light weight and high efficiency of the rule engine can be well exerted in various scales of Internet of things platforms, so that the rule engine is adapted to a distributed system and various network protocols, such as HTTP, coAP, MQTT, and the like, can be widely applied to improve the data processing capacity of various scales of Internet of things platforms, meanwhile, the three-party debugging of circulation rules is simplified to the two-party debugging, the configuration management of high coupling degree is reduced, and the logic of service realization is richer.
Drawings
FIG. 1 is a flowchart of a method for processing Internet of things platform data based on a protocol and a signature in an embodiment;
FIG. 2 is a flow chart illustrating operation of a rules engine in an embodiment;
FIG. 3 is a flow chart of data preprocessing for a message adapter in an embodiment;
FIG. 4 is a flow diagram of the processing of a message by a rule adapter in an embodiment;
FIG. 5 is a flow chart of a data processing method in an embodiment;
fig. 6 is a schematic diagram of load balancing algorithm invocation of a message adapter cluster in an embodiment.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
Example 1
As shown in fig. 1, the embodiment provides a method for processing internet of things platform data based on a protocol and a signature, which includes the following steps:
in step S1, the original data is received from the upstream application, and in this embodiment, the original data is not matched with the rule engine, and needs to be preprocessed.
And S2, the message adapter acquires the original data, performs preprocessing, analyzes the original data to perform rule matching after signing by applying the authorization acquired from the rule adapter, so as to acquire circulation rule information, and finally assembles the information according to a preset format shown in the following table to acquire analysis information.
Figure SMS_2
Under this protocol, the upstream application running on the terminal device or its message adapter defines which streaming rules each piece of data is to be applied to, and extracts the parts applied to these rules from the source data, guaranteeing itself to have the rights to invoke these rules in the form of a signature. The rule identifier needs to be corresponding to the rule adapter, and parameters such as specific character strings used by the data signature are issued by the rule adapter, so that the data in the message can be encrypted by being agreed with the rule adapter to ensure the data security.
In addition, the format of the data identifier is: the platform.app.type.signtype.id mainly comprises platform information, application information, downstream application type, signature algorithm type, unique code of rules and the like. The data is ciphertext, and is added into the data field of the protocol after preprocessing.
And S3, the rule engine reads the preprocessed analysis information conforming to the message protocol format, judges whether the protocol is legal, if so, continues to execute the subsequent steps, and if not, ends.
And S4, the rule engine sends the analysis information to the corresponding rule adapter according to the circulation rule information.
S5-S6, extracting circulation rule information in the analysis information by the rule adapter, verifying the signature, executing preset processing logic if the verification is passed, and otherwise, entering into the step S7;
step S7, submitting the data to a downstream application.
A flowchart illustrating the operation of the rule engine in this embodiment is shown in fig. 2. In a high concurrency scenario, the rule engine proposed by the method avoids the overhead of frequently reading the rule database. With any highly available publish-subscribe middleware, the rules engine service can split and publish each item contained in the content list of the message to the rules adapter while guaranteeing the final consistency of the message. The nature of the message protocol ensures for the rules engine the following: 1. the rules engine does not need to query all applicable rules based on the identifier of the device or upstream application, which results in much more overhead than adding content to the message in terms of data size and data query efficiency. 2. The rule engine does not need to preprocess data for each rule and original data, so that the rule engine is prevented from realizing a data parser without universal standards, and the traditional parser cannot cope with slightly complex logic under most conditions and is extremely difficult to try out by users. 3. The rule engine becomes an extensible low-coupling service, the suitability of the rule engine for a micro-service architecture and a high-availability message middleware is greatly enhanced, and the characteristics of light weight and high efficiency of the rule engine can be well exerted in various-scale Internet of things platforms.
Fig. 3 is a schematic flow chart of the message adapter in this embodiment. In most business scenes, the processing flow and the destination of data are generally clear in the process of developing upstream applications, so that a data flow rule is initiated by a message protocol, is routed through a rule engine and finally is verified and processed by a rule adapter, and in the actual scene, the method is obviously more reasonable than the method that all the rule engines are submitted to complex configuration and frequent database inquiry.
The message adapter, as a pre-service for the rules engine, can be generated in the form of factory patterns or can be developed to add additional data processing logic. The purpose is to provide an extensible interface to further decouple the rule engine from upstream applications, improve compatibility, and facilitate development and configuration of common json or xml data. In addition, the message adapter in the embodiment can be used as a first-stage load balancing inlet of the rule engine, preprocesses and flow agents are carried out on the messages in a high concurrency scene, and the message adapter and the rule adapter are elastically switched through analysis of a message protocol and an adaptive algorithm.
As shown in fig. 6, which is a schematic diagram of a call flow of the load balancing algorithm in this embodiment, when parameters such as a current load, a flow trend, a rule call rate, etc. of the adapter are calculated to be higher than a capacity expansion threshold or smaller than a reduction threshold, the cluster management tool will automatically deploy or migrate the message adapter and the rule adapter.
The rule adapter adaptively deploys a computational formula:
v=Ceil[k*CurrentCost*Trend*(w i *Utilization)]
wherein v is the load index, k is a constant, trend is a flow Trend, and is obtained by recent flow rising or falling rate, for each rule adapter, the computing resource consumption of the rule adapter affects the weight, and the rule calling rate is obtained by analyzing the message circulation rule in the message adapter, and w i The method is characterized in that the weight is characterized in that the Utilization is a rule calling rate, the Ceil is an upward rounding function, the CurrentCost is a current load, and the calculation mode is as follows:
Figure SMS_3
wherein w is i N is the weight, X is the index of the current message adaptation node occupation resource, and in the method is the CPU occupation rate and the memory occupation rate used by the adapter instance.
And the v value is obtained through the formula and is compared with the threshold value in the case of full load and low load, so that the system elastically stretches and contracts for the examples of all rule adapters.
Fig. 4 is a schematic flow chart of the rule adapter in this embodiment. The rule adapter is mainly used for finally executing the data processing tasks distributed by the rule engine and issuing rule rights to upstream applications or message adapters of data sources. In the cluster architecture of the internet of things platform, the rule adapter exists in the form of a subscriber as a service waiting to be called, and has the characteristics of easy development, easy multiplexing, high availability and the like.
The configuration flow of the internet of things platform before use in this embodiment is:
(1) The rule engine dynamically analyzes the rule identifier in the protocol and binds the rule identifier to the message middleware according to the rule specified by the message protocol.
(2) The internet of things platform develops a rule adapter capable of issuing and checking labels according to a message protocol, and subscribes a rule engine through a message middleware.
(3) And developing an upstream application or a message adapter by a developer of the terminal equipment or the platform of the Internet of things according to service requirements, and adapting a message protocol to the service data.
(4) The message adapter is associated with a rule adapter enabling load monitoring and traffic prediction.
(5) And debugging a circulation rule link between adapters to realize circulation of data.
(6) When the rule is additionally added, a rule adapter is developed and issued to an upstream application or message adapter, and the message is updated in the upstream application or message adapter.
In the method proposed in this embodiment, the rule adapter assumes the responsibility of verifying and issuing the data signature to authenticate the forwarding rule. According to the security requirement and efficiency value of the signature algorithm, three signature algorithms of MD5, SHA and DSS are generally applied, and the signature rules are as follows: when the rule adapter is deployed, a signature specific character string consisting of irregular random character strings is generated, and when a message protocol is verified, signature verification is performed by inserting salt into message data and calling a signature algorithm once or a plurality of times. The signature verification mode can verify whether the data and rules provided by the upstream are legal or not and verify the integrity of the data. Similarly, the encryption and decryption modes of the data can be agreed between the message adapter and the rule adapter, and the rule adapter can improve the security guarantee for the data with higher confidentiality level by storing asymmetric private keys.
In addition, after simple configuration, an administrator of the internet of things platform can generate rule adapters through a factory mode and automatically deploy the rule adapters, the rule adapters can develop data processing logic at any time and still guarantee data consistency with the help of message middleware, and after the rule adapters are associated to an adaptive algorithm of the message adapters, the rule adapters can be flexibly deployed. Similarly, for a common user of the internet of things platform, the rule adapter can be developed according to the signing and issuing logic of the message protocol and used in association with the rule engine of the internet of things platform.
In summary, the invention has the following innovative points:
(1) The method has the advantages that the work of formulating the data flow rules and analyzing the data is transferred to various adapters for processing and transmitting along with the information through the agreed message protocol, the redundant work of the rule engine in terms of configuration and debugging before application deployment is avoided, the strong dependence of the rule engine on a database during application operation is avoided, and the performance cost of the rule engine for reading and writing the database and calling an interpreter is greatly reduced. After the method is used, the rule engine becomes a 'stateless' service, and in the distributed architecture, the load capacity of the rule engine can be increased flexibly through redundant deployment, so that the rule engine cannot be unavailable due to single-point faults of the database.
(2) By means of a data signature mechanism in the message protocol, a security mechanism is formed among an upstream application (a message adapter), a rule engine and the rule adapter, and only data authorized by the rule adapter can be forwarded to a downstream application by the rule engine for data processing or storage. When the circulation rule is added, the rule engine and the upstream service are decoupled safely in a mode that the rule adapter issues authorization, upstream application or a message adapter binds a new rule identifier, so that the whole Internet of things platform is easy to maintain.
(3) When the upstream and downstream applications do not support secondary development or the message protocol described by the method is not supported originally, the message and rule adapter can enable the data of the applications to conform to the operation logic of a rule engine, and the adapter is extremely lightweight in development and deployment, and can rapidly convert and process common data formats such as json or xml. The rule engine takes the message adapter as a message inlet, and can play roles of flow monitoring and load balancing while customizing the message flow rule. Meanwhile, various adapters are flexibly deployed in a similar mode, and computing and storage resources of all the adapters are flexibly switched through a monitoring and self-adaptive algorithm, so that the load capacity and the resource utilization rate are improved.
Example 2
The present embodiment provides an electronic device, including one or more processors and a memory, where the memory stores one or more programs, and the one or more programs include instructions for executing the internet of things platform data processing method based on a message protocol and a signature as described in embodiment 1.
While the invention has been described with reference to certain preferred embodiments, it will be understood by those skilled in the art that various changes and substitutions of equivalents may be made and equivalents will be apparent to those skilled in the art without departing from the scope of the invention. Therefore, the protection scope of the invention is subject to the protection scope of the claims.

Claims (10)

1. The data processing method of the internet of things platform based on the message protocol and the signature is characterized by being applied to the internet of things platform, wherein the internet of things platform comprises a rule engine and one or more rule adaptation nodes, and the data processing method of the internet of things platform based on the message protocol and the signature comprises the following steps:
the method comprises the steps of obtaining analysis information matched with a preset message protocol format, wherein the analysis information comprises original message data, circulation rule data and a signature, and matching one or more rule adaptation nodes by adopting a load balancing strategy according to the circulation rule data and preset rule adaptation node information;
and sending the analysis information to the matched one or more rule adaptation nodes, performing data processing matched with the original message data after verifying the signature, and submitting a downstream application.
2. The internet of things platform data processing method based on the message protocol and the signature as set forth in claim 1, wherein the circulation rule data includes: the system comprises a circulation rule identifier and circulation rule parameters, wherein the rule identifier comprises one or more of upstream platform information, application information, downstream application type, signature algorithm type and circulation rule identification code.
3. The internet of things platform data processing method based on the message protocol and the signature as claimed in claim 1, wherein the signature generation algorithm is any one of MD5, SHA and DSS.
4. The internet of things platform data processing method according to claim 1, wherein the parsing information is from an upstream application or one or more message adaptation nodes for converting an original data message into a unified format of the message protocol, and the message adaptation nodes have been associated with the rule adaptation nodes in advance.
5. The internet of things platform data processing method based on a message protocol and a signature as claimed in claim 4, wherein when the parsing information is from the message adaptation node, the process of obtaining the parsing information including the original message data, the circulation rule data and the signature includes the following steps:
and acquiring analysis information from the message adaptation nodes subjected to the same load balancing strategy matching, wherein the analysis information comprises original message data, circulation rule data matched according to the original message data and preset rules, and a signature associated with the rule adaptation nodes matched with the circulation rules.
6. The method for processing platform data of internet of things based on message protocol and signature as set forth in claim 5, wherein the load balancing policy is:
and calculating the load index of the cluster to which the current message adaptation node belongs, and correspondingly increasing/decreasing the message adaptation node which is the same as the current message adaptation node when the load index exceeds/falls below a preset threshold value.
7. The internet of things platform data processing method based on the message protocol and the signature as set forth in claim 6, wherein the load index is calculated according to one or more parameters of a load, a traffic trend, and a rule calling rate of the current message adaptation node.
8. The internet of things platform data processing method based on the message protocol and the signature as set forth in claim 6, wherein the load calculation formula of the load index is:
v=Ceil[k*CurrentCost*Trend*(w i *Utilization)]
wherein v is the load index, k is a constant, trend is a flow Trend, w i The method is characterized in that the weight is characterized in that the Utilization is a rule calling rate, the Ceil is an upward rounding function, the CurrentCost is a current load, and the calculation mode is as follows:
Figure FDA0003927370810000021
wherein w is i And N is the number of the message adaptation nodes in the cluster, and X is an index of resources occupied by the current message adaptation nodes.
9. The method for processing platform data of internet of things based on message protocol and signature as set forth in claim 8, wherein the index of occupied resources includes one or more of CPU occupancy rate of the current message adaptation node and memory occupancy rate of the current message adaptation node.
10. An electronic device comprising one or more processors and a memory, the memory having stored therein one or more programs, the one or more programs comprising instructions for performing the internet of things platform data processing method based on a message protocol and a signature as claimed in any one of claims 1-9.
CN202211378556.5A 2022-11-04 2022-11-04 Internet of things platform data processing method and equipment based on protocol and signature Pending CN116155905A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211378556.5A CN116155905A (en) 2022-11-04 2022-11-04 Internet of things platform data processing method and equipment based on protocol and signature

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211378556.5A CN116155905A (en) 2022-11-04 2022-11-04 Internet of things platform data processing method and equipment based on protocol and signature

Publications (1)

Publication Number Publication Date
CN116155905A true CN116155905A (en) 2023-05-23

Family

ID=86355148

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211378556.5A Pending CN116155905A (en) 2022-11-04 2022-11-04 Internet of things platform data processing method and equipment based on protocol and signature

Country Status (1)

Country Link
CN (1) CN116155905A (en)

Similar Documents

Publication Publication Date Title
US7730138B2 (en) Policy processing model
CN110191063B (en) Service request processing method, device, equipment and storage medium
US11356282B2 (en) Sending cross-chain authenticatable messages
US7606832B2 (en) System and method for orchestrating composite web services in constrained data flow environments
Tekli et al. SOAP processing performance and enhancement
US7986707B2 (en) Method and system for rules based workflow of media services
CN111309374A (en) Micro-service system and service calling method in micro-service system
US11544125B2 (en) Method and system for processing a stream of incoming messages sent from a specific input message source and validating each incoming message of that stream before sending them to a specific target system
US7881304B2 (en) Using distributed aspects to reorder online application workflows
CN101366238A (en) Systems and methods for improved network based content inspection
CN110661853A (en) Data proxy method, device, computer equipment and readable storage medium
CN113556359A (en) Communication protocol conversion method, device, system and gateway device
CN116346948A (en) Multi-protocol conversion method and system based on micro-service
US20080228873A1 (en) Method and system for generic application liveliness monitoring for business resiliency
CN116457759A (en) Service orchestration within a distributed container group based system
CN116094651B (en) Message retry method, system, electronic device and storage medium
CN114595219A (en) Data storage method, device and system
CN114428661A (en) Mirror image management method and device
CN116155905A (en) Internet of things platform data processing method and equipment based on protocol and signature
CN110930253A (en) Intelligent contract internal main key generation method and device, computer equipment and storage medium
WO2021042745A1 (en) Method and device for building software installation package, computer device, and storage medium
CN114567678A (en) Resource calling method and device of cloud security service and electronic equipment
CN112333262A (en) Data updating prompting method and device, computer equipment and readable storage medium
US12001898B2 (en) Method and system for processing a stream of incoming messages sent from a specific input message source and validating each incoming message of that stream before sending them to a specific target system
CN115225342B (en) Vulnerability scanning method, device, system, electronic device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination