CN114189532B - Mass connection control strategy and instruction distribution method - Google Patents
Mass connection control strategy and instruction distribution method Download PDFInfo
- Publication number
- CN114189532B CN114189532B CN202111180853.4A CN202111180853A CN114189532B CN 114189532 B CN114189532 B CN 114189532B CN 202111180853 A CN202111180853 A CN 202111180853A CN 114189532 B CN114189532 B CN 114189532B
- Authority
- CN
- China
- Prior art keywords
- control
- instruction
- command
- equipment
- module
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/546—Message passing systems or structures, e.g. queues
-
- G—PHYSICS
- G16—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
- G16Y—INFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
- G16Y40/00—IoT characterised by the purpose of the information processing
- G16Y40/30—Control
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/66—Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/04—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
- H04L63/0428—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2209/00—Indexing scheme relating to G06F9/00
- G06F2209/54—Indexing scheme relating to G06F9/54
- G06F2209/547—Messaging middleware
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2209/00—Indexing scheme relating to G06F9/00
- G06F2209/54—Indexing scheme relating to G06F9/54
- G06F2209/548—Queue
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention belongs to the technical field of flow control, cross-domain information and differentiated system data sharing of the Internet of things, and discloses a massive connection control strategy and instruction distribution method. Firstly, generating detailed control information corresponding to a control instruction inquired by an instruction distribution module by a control strategy, and generating a control path with a uniform data format according to a specific rule; determining an instruction issuing mechanism by a control path confirmation module; and finally, encrypting the instruction data through the control instruction controllable safe transmission module, and sending the encrypted instruction data to the Internet of things heterogeneous resource exchange gateway or the distributed message queue middleware. The method has the functions of controllable safe transmission of control instructions, massive connection state management, control path confirmation, control strategy generation, instruction distribution and the like, and the response time of issuing a disposal command is less than =10ms.
Description
Technical Field
The invention belongs to the technical field of flow control, cross-domain information of the Internet of things and data sharing of differentiated systems, and particularly relates to a massive connection control strategy and an instruction distribution method.
Background
At present, a key technical subject (topic number: 2018YFB 2100403) of modeling and exchanging heterogeneous object resources aims at the characteristics of complex business scene, heterogeneous object resources, various service capacities and the like of the Internet of things, researches on the Internet of things middleware technology facing intelligent open service are carried out around a guide, the unified modeling of heterogeneous object resources, the optimization of middleware adapting to a micro-service architecture, the cross-domain collection and control of Internet of things information, a data sharing and intercommunication mechanism of a differentiated system and the like are carried out, and a unified open access model of heterogeneous object resources, a service-driven multi-domain efficient data aggregation model and a cross-domain controlled resource exchange mechanism are provided; the key technologies of heterogeneous object resource dynamic adaptation, middleware cluster telescopic capacity optimization, a data fusion sharing mechanism based on resource normalization description and the like are broken through. 1 device needs to be developed, 8 kinds of software needs to be developed, and the large-scale heterogeneous object resources can be supported to be used without difference.
The southbound control middleware module of the Internet of things is one of 8 kinds of software developed according to the requirements of a subject. The method is characterized in that the southbound control middleware of the Internet of things provides a basic southbound programmable interface and a standardized service model, has the functions of controllable safe transmission of control instructions, massive connection state management, control path confirmation, control strategy generation, instruction distribution and the like, and has the response time of issuing a disposal command of < =10ms.
Through the above analysis, the problems and defects of the prior art are as follows: the method comprises the key technologies of heterogeneous object resource dynamic adaptation, middleware cluster telescopic capacity optimization, a data fusion sharing mechanism based on resource normalization description and the like.
The difficulty in solving the above problems and defects is: the heterogeneous object resource control span is large, and the comprehensive problems of protocol mismatching, cross-domain and the like are highlighted. Due to the lack of standard normalization description of a large number of heterogeneous resources, extensible heterogeneous adaptation of lower-layer resources is difficult to realize, and the middleware is difficult to extend and contract.
The significance of solving the problems and the defects is as follows: the invention provides a data fusion sharing mechanism based on resource normalization description, which can realize the uniform management of massive connection heterogeneous resources, realize the high-efficiency control command distribution and provide a new method for a control strategy facing the situation of heterogeneous object resource exchange.
Disclosure of Invention
Aiming at the problems in the prior art, the invention provides a massive connection control strategy and an instruction distribution method.
The invention is realized in this way, a method for distributing mass connection control strategies and instructions, the method for distributing mass connection control strategies and instructions comprises:
after a control instruction sent by an upper layer service reaches a southbound control middleware, firstly generating detailed control information corresponding to the control instruction inquired by an instruction distribution module by a control strategy, and generating a control path with a uniform data format according to a specific rule;
determining an instruction issuing mechanism by a control path confirmation module;
and encrypting the instruction data through the control instruction controllable security transmission module, and sending the encrypted instruction data to the Internet of things heterogeneous resource exchange gateway or the distributed message queue middleware.
And further, preprocessing the control instruction to be transmitted during transmission to generate a security transmission link based on a TLS protocol.
Further, the control information sent by the upper layer service is judged, a specific control instruction is formed through the control path generation module, and the issuing mechanism of the control instruction is judged.
Further, managing the state of mass devices of the system; acquiring equipment connected to the gateway according to a network interface provided by the internet of things heterogeneous resource exchange gateway, and monitoring the state of the equipment in real time; and judging whether the command can be issued according to the control command to the equipment and the equipment state information.
And further, receiving control information sent by the upper layer service, analyzing a specific control instruction through the control path searching module, and generating the specific control instruction through the control path generating module.
It is a further object of the invention to provide a computer arrangement comprising a memory and a processor, the memory storing a computer program which, when executed by the processor, causes the processor to perform the steps of the mass connection control strategy and instruction distribution method.
Another object of the present invention is to provide an information data processing terminal of internet of things, where the information data processing terminal is configured to implement the steps of the massive connection control strategy and the instruction distribution method.
Another object of the present invention is to provide a mass connection control strategy and instruction distribution system for implementing the mass connection control strategy and instruction distribution method, wherein the mass connection control strategy and instruction distribution system comprises:
the control instruction security transmission module is used for providing a lightweight encryption mechanism for instruction security transmission and ensuring that the instruction can safely reach the gateway by using an SSL/TLS protocol; processing a control instruction to be transmitted, generating a security transmission link based on a TLS protocol, and ensuring the security transmission of the instruction from a south-bound middleware to a heterogeneous resource exchange gateway;
the system comprises a mass connection state management module, a non-relational database Redis and a mass heterogeneous device, wherein the mass connection state management module is used for providing a state management function of mass equipment, acquiring the state information of the equipment in real time by calling an interface provided by a gateway, storing the state information of the mass heterogeneous equipment by the non-relational database Redis and providing support for instruction issuing; managing the state of the mass devices of the system. The mass connection state management module acquires equipment connected to the gateway according to a network interface provided by the internet of things heterogeneous resource exchange gateway and monitors the state of the equipment in real time; judging whether the command can be issued according to the control command to the equipment and the equipment state information;
the control path generation module is provided with a control path for searching and generating a response when the control request reaches the south middleware; obtaining a generation mechanism of a control path according to the online state of the equipment, and if the equipment uses a network interface provided by a gateway online to issue a control instruction; if the equipment is in the off-line state, the occupied state and the like, the distributed message queue middleware is used for realizing the caching of the control instruction, the instruction is taken out from the message queue when the equipment is on-line or idle, and the instruction is issued according to the gateway interface; receiving control information sent by an upper layer service, analyzing a specific control instruction through a control path searching module, and generating the specific control instruction through a control path generating module;
the control path confirmation module is used for providing support for the control path confirmation module and knowing whether the control request is issued through a direct command or a cache; and judging control information sent by the service of the upper layer, forming a specific control instruction through the control path generation module, and judging a sending mechanism of the control instruction.
Further, the control instruction controllable security transmission module receives a control instruction generated by the southward middleware, establishes TLS communication with the heterogeneous resource exchange gateway according to a TLS protocol, and acquires a Session key of a server to encrypt the instruction;
the method comprises the following steps that a mass connection state management module acquires state information of equipment connected to an Internet of things heterogeneous resource exchange gateway according to a network interface provided by the Internet of things heterogeneous resource exchange gateway, so that the real-time monitoring of the equipment state is realized, and the state information of the equipment is displayed on a middleware interface;
receiving control information sent by an upper layer service, controlling a path service center, calling a control command for inquiring the control information by using an interface, obtaining a specific and complete control command by a control path generating module, and confirming a command issuing mechanism by a control path confirming module;
the control path confirmation module issues a mechanism according to a specific control instruction and control information; if the command is issued immediately, the mass equipment connection state management module is called to issue the command; if the command is cached and issued, calling the distributed message queue middleware to cache the command, and taking out the cache command to issue the command when the equipment is on line or idle.
The invention also aims to provide application of the mass connection control strategy and the instruction distribution method in data sharing and intercommunication of the Internet of things.
By combining all the technical schemes, the invention has the advantages and positive effects that: the invention preprocesses the control instruction to be transmitted during transmission, generates a safe transmission link based on TLS protocol, and ensures the safe transmission of the instruction from the south-oriented middleware to the heterogeneous resource exchange gateway. The invention provides a basic southbound programmable interface and a standardized service model, which have the functions of controllable safe transmission of control instructions, massive connection state management, control path confirmation, control strategy generation, instruction distribution and the like, and the response time of issuing a disposal command is < =10ms. The project is one of software developed by key technical subject requirements of modeling and exchanging heterogeneous object resources, and is approved by relevant departments at present.
Drawings
Fig. 1 is a flowchart of a method for controlling a policy and instruction distribution for a mass connection according to an embodiment of the present invention.
Fig. 2 is a processing flow diagram of southbound control middleware of the internet of things provided by the embodiment of the invention.
Fig. 3 is a general architecture diagram of southbound control middleware of the internet of things according to the embodiment of the present invention.
Fig. 4 is a diagram of an encryption process of the TLS/SSL protocol according to an embodiment of the present invention.
Fig. 5 is a diagram of a process for invoking massive connection management according to an embodiment of the present invention.
Fig. 6 is a control path generation and confirmation call diagram provided by the embodiment of the present invention.
Fig. 7 is a flow chart of a controllable secure transmission of a control command according to an embodiment of the present invention.
Fig. 8 is a flowchart of managing a massive connection state according to an embodiment of the present invention.
Fig. 9 is a flowchart of a control policy generation and finger distribution module according to an embodiment of the present invention.
Fig. 10 is a flow chart of a control path validation module according to an embodiment of the present invention.
Fig. 11 and 12 are information diagrams before TLS joining according to an embodiment of the present invention.
Fig. 13 is a diagram of information provided by an embodiment of the present invention after joining a TLS.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail with reference to the following embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Aiming at the problems in the prior art, the invention provides a mass connection control strategy and an instruction distribution method, and the invention is described in detail below with reference to the accompanying drawings.
The invention discloses a mass connection control strategy and an instruction distribution method, which are called south-oriented middleware in the invention. The southbound middleware mainly comprises a control strategy generation and instruction distribution module, a control path confirmation module, a massive connection state management module and a control instruction controllable safety transmission module.
As shown in fig. 1, the method for distributing the mass connection control policy and the instruction provided by the present invention includes the following steps:
s101: after a control instruction sent by an upper layer service reaches a southbound control middleware, detailed control information corresponding to the control instruction is generated by a control strategy and inquired by an instruction distribution module, and a control path with a uniform data format is generated according to a specific rule;
s102: determining an instruction issuing mechanism by a control path confirmation module;
s103: and encrypting the instruction data through the control instruction controllable security transmission module, and sending the encrypted instruction data to the Internet of things heterogeneous resource exchange gateway or the distributed message queue middleware.
Those skilled in the art can also implement the method of mass connection control policy and instruction distribution provided by the present invention by using other steps, and the method of mass connection control policy and instruction distribution provided by the present invention in fig. 1 is only a specific embodiment.
The southbound control middleware of the Internet of things uses Java language, and a JavaWeb system developed based on frames such as Spring Cloud, spring Boot and the like, the whole design scheme adopts an object-oriented design method, and the software uses frames and tools such as Spring Boot 2.1.9RELESE, redis, intelliJ IDEA, maven and the like. The system mainly comprises a control instruction controllable security transmission module, a massive connection state management module, a control path confirmation module and a control strategy generation and instruction distribution module. As shown in fig. 2.
As shown in fig. 3, the system for distributing the mass connection control policy and the instruction provided by the present invention includes: the system comprises a control instruction controllable security transmission module, a massive connection state management module, a control path confirmation module and a control strategy generation and instruction distribution module.
And the control instruction security transmission module provides a lightweight encryption mechanism for instruction security transmission, and an SSL/TLS protocol is used for ensuring that the instruction can safely reach the gateway. As shown in fig. 4. The main function processes the control instruction to be transmitted, generates a safe transmission link based on the TLS protocol, and ensures the safe transmission of the instruction from the south-bound middleware to the heterogeneous resource exchange gateway.
The control instruction controllable security transmission module receives a control instruction (namely an instruction to be encrypted) generated by the southbound middleware, establishes TLS communication with the heterogeneous resource exchange gateway according to a TLS protocol, and acquires a Session key of a server to encrypt the instruction. As shown in fig. 7.
The method comprises the steps of managing mass connection states, providing a state management function of mass equipment, obtaining state information of the equipment in real time by calling an interface provided by a gateway, storing the state information (online, offline, idle and occupied) of the mass heterogeneous equipment through a non-relational database Redis, and providing support for instruction issuing. As shown in fig. 5. The main function is to manage the state of the mass devices of the system. The mass connection state management module acquires equipment connected to the gateway according to a network interface provided by the internet of things heterogeneous resource exchange gateway, and monitors the state of the equipment in real time. And judging whether the command can be issued according to the control command to the equipment and the equipment state information.
The mass connection state management module acquires the state information of the equipment connected to the gateway according to a network interface provided by the internet of things heterogeneous resource exchange gateway, so that the real-time monitoring of the equipment state is realized, and the state information of the equipment is displayed on a middleware interface. As shown in fig. 8.
And the control path generation module is provided with a control path for searching and generating a response when the control request reaches the south middleware. Obtaining a generation mechanism of a control path according to the online state of the equipment, and if the equipment uses a network interface provided by a gateway to issue a control instruction online; if the equipment is in an off-line state, an occupied state and the like, the buffer memory of the control instruction is realized by using a distributed message queue middleware, the instruction is taken out from the message queue when the equipment is on-line or idle, and the instruction is issued according to a gateway interface. As shown in fig. 6. The main function is to receive control information sent by an upper layer service, analyze a specific control instruction through a control path searching module, and generate the specific control instruction through a control path generating module.
Receiving control information sent by an upper layer service, controlling a path service center, calling a control command for inquiring the control information by using an interface, obtaining a specific and complete control command by a control path generating module, and confirming a command issuing mechanism by a control path confirming module. The flow chart is shown in fig. 9.
And the control path confirmation module provides support for the control path confirmation module, and can know whether the control request is issued through a direct command or a cache. As shown in fig. 6. The main functions are to judge the control information sent by the upper layer service, form a specific control instruction through the control path generation module, and judge the issuing mechanism (i.e. immediate issuing, cache issuing) of the control instruction.
And the control path confirmation module issues a mechanism according to a specific control instruction and control information. If the command is issued immediately, the mass equipment connection state management module is called to issue the command; if the command is the cache issue, calling the distributed message queue middleware to perform command caching, and taking out the cache command to perform command issue when the equipment is on line or idle. As shown in fig. 10.
Control instruction receiving interface
Interface description: and receiving control instructions sent by other services, inquiring a corresponding instruction of the equipment according to cmdKey when the variable of cmdStr is equal to 'cmdStr', and directly issuing a cmdStr character string as the instruction when the variable of cmdStr is not equal to 'cmdStr'.
Interface version: v1
Interface address:
/southControl/v1/CommandserviceID=SmartPark&deviceID=SN1620451&cmdStr=CMD1&cmdKey=2b0b4580&cmdSync=0
the request method comprises the following steps: GET (GET tool)
Request parameters:
returning data:
connection status query interface
And (3) interface description: and inquiring the equipment connection state information, and returning all online services and online equipment lists when the serviceID and the deviceID are empty.
Interface version: v1
Interface address: (SouthControl/v 1/queryStatussuserceID =123456 and deviceID =123
The request method comprises the following steps: GET (GET tool)
Request parameters:
parameter name | Location of parameter | Data type | Whether or not it is necessary to | Description of parameters |
serviceID | body | string | Whether or not | Service ID |
deviceID | body | string | Whether or not | Device ID |
And returning data:
control path generation interface
Interface description: generating a control instruction issuing path, inputting equipment id and returning to the service of the equipment and the instruction list owned by the equipment
Interface version: v1
Interface name: (Southcontrol/v 1/controlPathdeviceID = 123)
Request parameters:
parameter name | Type of data | Whether or not it is necessary to | Description of parameters |
deviceID | string | Is that | Device ID |
Returning data:
key points of logic structure design
Service standardized request data format
Parameters carried by the upper layer service need to adhere to the following data structure so as to facilitate data analysis of the subsequent process.
Service standardized return data structure
The southbound middleware session data structure is as follows:
service internal component request data structure
The service internal request generation related command shows:
service internal component return data structure
The service internal return generation related command shows that:
key points of physical structure design
Service standardized request data format
Service standardized return data structure
Parameter name | Data type | Whether or not it is necessary to | Description of parameters |
code | string | Is that | Return code |
msg | string | Is that | Returning description information |
data | object | Is that | Return data encapsulation |
Service internal component return data structure
Parameter name | Data type | Whether or not it is necessary to | Description of parameters |
code | string | Is that | Return code |
msg | string | Is that | Returning description information |
data | object | Is that | Return data encapsulation |
Service data lightweight encryption request data structure
Parameter name | Data type | Whether or not it is necessary to | Description of parameters |
serviceID | string | Is that | Service ID |
deviceID | string | Is that | Device ID |
cmd | string | Is that | Pending instruction |
Relationships of data structures to modules
Demonstration section (concrete examples/experiments/simulation/positive experimental data capable of demonstrating the inventive aspects of the invention, etc.)
TLS test:
information before adding TLS is shown in figures 11 and 12, and as can be seen from the figures, package contents such as queryStatus and response contents can be read intuitively before adding TLS.
As shown in fig. 13, the information after TLS addition is encrypted by using TLS, and as can be seen from the figure, the packet contents are all encrypted and cannot be read out.
It should be noted that the embodiments of the present invention can be realized by hardware, software, or a combination of software and hardware. The hardware portion may be implemented using dedicated logic; the software portions may be stored in a memory and executed by a suitable instruction execution system, such as a microprocessor or specially designed hardware. Those skilled in the art will appreciate that the apparatus and methods described above may be implemented using computer executable instructions and/or embodied in processor control code, such code being provided on a carrier medium such as a disk, CD-or DVD-ROM, programmable memory such as read only memory (firmware), or a data carrier such as an optical or electronic signal carrier, for example. The apparatus of the present invention and its modules may be implemented by hardware circuits such as very large scale integrated circuits or gate arrays, semiconductors such as logic chips, transistors, or programmable hardware devices such as field programmable gate arrays, programmable logic devices, or software executed by various types of processors, or a combination of hardware circuits and software, e.g., firmware.
The above description is only for the purpose of illustrating the present invention and the appended claims are not to be construed as limiting the scope of the invention, which is intended to cover all modifications, equivalents and improvements that are within the spirit and scope of the invention as defined by the appended claims.
Claims (10)
1. A mass connection control strategy and instruction distribution method is a high-efficiency high-availability southbound middleware, realizes a control strategy facing mass link and heterogeneous resources based on resource normalization description and submodules, controls safe transmission based on a TLS protocol, and realizes high-efficiency distribution of instructions, and is characterized in that the mass connection control strategy and instruction distribution method comprises the following steps:
after a control instruction sent by an upper layer service reaches a southbound control middleware, firstly generating detailed control information corresponding to the control instruction inquired by an instruction distribution module by a control strategy, and generating a control path with a uniform data format according to a specific rule; the control path confirmation module issues a mechanism according to a specific control instruction and control information; if the command is issued immediately, the mass equipment connection state management module is called to issue the command; if the command is cached and issued, calling the distributed message queue middleware to cache the command, and taking out the cache command to issue the command when the equipment is on line or idle;
determining an instruction issuing mechanism by a control path confirmation module;
and encrypting the instruction data through the control instruction controllable safe transmission module, and sending the instruction data to the Internet of things heterogeneous resource exchange gateway or the distributed message queue middleware.
2. The method for controlling the distribution of the mass connection policies and instructions according to claim 1, wherein the control instructions to be transmitted are preprocessed during the transmission to generate a secure transmission link based on a TLS protocol.
3. The method as claimed in claim 1, wherein the method comprises determining the control information sent by the upper layer service, forming a specific control command through the control path generation module, and determining the issuing mechanism of the control command.
4. The mass connection control strategy and instruction distribution method of claim 1, wherein the state of mass devices of the system is managed; acquiring equipment connected to the gateway according to a network interface provided by the internet of things heterogeneous resource exchange gateway, and monitoring the state of the equipment in real time; and judging whether the command can be issued according to the control command to the equipment and the equipment state information.
5. The mass connection control strategy and instruction distribution method of claim 1, wherein the control information sent by the upper layer service is received, the specific control instruction is analyzed by the control path searching module, and the specific control instruction is generated by the control path generating module.
6. A computer arrangement, characterized in that the computer arrangement comprises a memory and a processor, the memory storing a computer program which, when executed by the processor, causes the processor to carry out the steps of the mass connection control strategy and instruction distribution method of any one of claims 1 to 5.
7. An information data processing terminal of the internet of things is characterized in that the information data processing terminal is used for realizing the steps of the mass connection control strategy and the instruction distribution method of any one of claims 1 to 5.
8. A mass connection control strategy and instruction distribution system for implementing the mass connection control strategy and instruction distribution method of any one of claims 1 to 5, wherein the mass connection control strategy and instruction distribution system comprises:
the control instruction security transmission module is used for providing a lightweight encryption mechanism for instruction security transmission and ensuring that the instruction can safely reach the gateway by using an SSL/TLS protocol; processing a control instruction to be transmitted, generating a security transmission link based on a TLS protocol, and ensuring the security transmission of the instruction from the south-oriented middleware to the heterogeneous resource exchange gateway;
the system comprises a mass connection state management module, a non-relational database Redis and a mass heterogeneous device, wherein the mass connection state management module is used for providing a state management function of mass equipment, acquiring the state information of the equipment in real time by calling an interface provided by a gateway, storing the state information of the mass heterogeneous equipment by the non-relational database Redis and providing support for instruction issuing; managing the state of mass devices of the system; the mass connection state management module acquires equipment connected to the gateway according to a network interface provided by the internet of things heterogeneous resource exchange gateway and monitors the state of the equipment in real time; judging whether the command can be issued according to the control command to the equipment and the equipment state information;
the control path generation module is provided with a control path for searching and generating a response when the control request reaches the south middleware; obtaining a generation mechanism of a control path according to the online state of the equipment, and if the equipment uses a network interface provided by a gateway online to issue a control instruction; if the equipment is in an off-line state, an occupied state and the like, a distributed message queue middleware is used for realizing the caching of a control instruction, the instruction is taken out from a message queue when the equipment is on-line or idle, and the instruction is issued according to a gateway interface; receiving control information sent by an upper layer service, analyzing a specific control instruction through a control path searching module, and generating the specific control instruction through a control path generating module;
the control path confirmation module is used for providing support for the control path confirmation module and knowing whether the control request is issued through a direct command or a cache; and judging control information sent by the service of the upper layer, forming a specific control instruction through the control path generation module, and judging a sending mechanism of the control instruction.
9. The mass connection control strategy and instruction distribution system according to claim 8, wherein the control instruction controllable security transmission module receives a control instruction generated by the southward middleware, establishes TLS communication with a heterogeneous resource exchange gateway according to a TLS protocol, and obtains a server session to encrypt the instruction;
the method comprises the following steps that a mass connection state management module acquires state information of equipment connected to a gateway according to a network interface provided by an internet of things heterogeneous resource exchange gateway, so that the real-time monitoring of the equipment state is realized, and the state information of the equipment is displayed on a middleware interface;
receiving control information sent by an upper layer service, controlling a path service center, calling a control command for inquiring the control information by using an interface, obtaining a specific and complete control command by a control path generating module, and confirming a command issuing mechanism by a control path confirming module;
the control path confirmation module issues a mechanism according to a specific control instruction and control information; if the command is issued immediately, the mass equipment connection state management module is called to issue the command; if the command is cached and issued, calling the distributed message queue middleware to cache the command, and taking out the cache command to issue the command when the equipment is on line or idle.
10. An application of the mass connection control strategy and the instruction distribution method according to any one of claims 1 to 5 in data sharing and intercommunication of the internet of things.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111180853.4A CN114189532B (en) | 2021-10-11 | 2021-10-11 | Mass connection control strategy and instruction distribution method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111180853.4A CN114189532B (en) | 2021-10-11 | 2021-10-11 | Mass connection control strategy and instruction distribution method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114189532A CN114189532A (en) | 2022-03-15 |
CN114189532B true CN114189532B (en) | 2023-02-03 |
Family
ID=80601095
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111180853.4A Active CN114189532B (en) | 2021-10-11 | 2021-10-11 | Mass connection control strategy and instruction distribution method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114189532B (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105493525A (en) * | 2013-07-25 | 2016-04-13 | 康维达无线有限责任公司 | Service layer southbound interface and quality of service |
CN105791065A (en) * | 2016-04-25 | 2016-07-20 | 西北工业大学 | Heterogeneous home appliance control system and method based on resource model |
CN108521457A (en) * | 2018-03-30 | 2018-09-11 | 三盟科技股份有限公司 | A kind of tracking and system of equipment control command |
CN109525566A (en) * | 2018-11-01 | 2019-03-26 | 北京北信智云科技有限公司 | A kind of LoRaWan method for interchanging data based on enhanced MQTT message mechanism |
US10673617B1 (en) * | 2018-04-24 | 2020-06-02 | George Antoniou | Methods, system and point-to-point encryption device microchip for AES-sea 512-bit key using identity access management utilizing blockchain ecosystem to improve cybersecurity |
CN111580985A (en) * | 2020-03-31 | 2020-08-25 | 西安电子科技大学 | Internet of things middleware data processing method and system, storage medium and terminal |
CN112637058A (en) * | 2021-03-09 | 2021-04-09 | 北京航空航天大学 | Network interconnection transmission method and device for cross-heterogeneous subnet communication |
EP3863260A1 (en) * | 2019-11-18 | 2021-08-11 | Beijing Xiaomi Mobile Software Co., Ltd. | Method and apparatus for constructing novel device |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016141037A1 (en) * | 2015-03-02 | 2016-09-09 | Convida Wireless, Llc | Network and application management using service layer capabilities |
CN111586137A (en) * | 2020-04-30 | 2020-08-25 | 湖南苏科智能科技有限公司 | Internet of things middleware system based on intelligent port and Internet of things system |
CN113206763B (en) * | 2021-05-26 | 2022-09-06 | 国网山东省电力公司电力科学研究院 | Simulation test system and method suitable for Internet of things management platform |
-
2021
- 2021-10-11 CN CN202111180853.4A patent/CN114189532B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105493525A (en) * | 2013-07-25 | 2016-04-13 | 康维达无线有限责任公司 | Service layer southbound interface and quality of service |
CN105791065A (en) * | 2016-04-25 | 2016-07-20 | 西北工业大学 | Heterogeneous home appliance control system and method based on resource model |
CN108521457A (en) * | 2018-03-30 | 2018-09-11 | 三盟科技股份有限公司 | A kind of tracking and system of equipment control command |
US10673617B1 (en) * | 2018-04-24 | 2020-06-02 | George Antoniou | Methods, system and point-to-point encryption device microchip for AES-sea 512-bit key using identity access management utilizing blockchain ecosystem to improve cybersecurity |
CN109525566A (en) * | 2018-11-01 | 2019-03-26 | 北京北信智云科技有限公司 | A kind of LoRaWan method for interchanging data based on enhanced MQTT message mechanism |
EP3863260A1 (en) * | 2019-11-18 | 2021-08-11 | Beijing Xiaomi Mobile Software Co., Ltd. | Method and apparatus for constructing novel device |
CN111580985A (en) * | 2020-03-31 | 2020-08-25 | 西安电子科技大学 | Internet of things middleware data processing method and system, storage medium and terminal |
CN112637058A (en) * | 2021-03-09 | 2021-04-09 | 北京航空航天大学 | Network interconnection transmission method and device for cross-heterogeneous subnet communication |
Non-Patent Citations (3)
Title |
---|
IOT Middleware:A Survey on Issues and enabling Technologies;Anne H.Ngu,Mario Gutierrez,Vangelis Metsis,Surya Nepal,Quan Z.Sh;《IEEE》;20161004;全文 * |
物联网通信中间件的设计与实现;杨慧慧,岳峻,贾世祥,李振波,李文升;《鲁东大学学报(自然科学版)》;20190128;全文 * |
网络管理系统XOH规范的南向中间件设计与实现;李小晓;《中国优秀硕士学位论文全文数据库信息科技辑》;20120630;全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN114189532A (en) | 2022-03-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109559258B (en) | Educational resource public service system | |
EP2378741B1 (en) | Systems and Methods for Conducting Communications Among Components of Multidomain Industrial Automation System | |
US9684791B2 (en) | Method and system for providing a secure secrets proxy and distributing secrets | |
US8468541B2 (en) | Event driven sendfile | |
CN101069169B (en) | Caching content and state data at a network element | |
US7949788B2 (en) | Apparatus, systems and methods for transformation services | |
CN113868081A (en) | Edge computing frame for power grid internet of things management platform and working method thereof | |
EP2378740B1 (en) | Method for conducting communications among components of multidomain industrial automation system | |
EP2378716B1 (en) | Systems for conducting communications among components of multidomain industrial automation system | |
US20130339949A1 (en) | Provisioning of a Virtual Machine by Using a Secured Zone of a Cloud Environment | |
JP6766895B2 (en) | How to communicate securely and industrial computing equipment | |
CN112788031B (en) | Micro-service interface authentication system, method and device based on Envoy architecture | |
CN101404630B (en) | Method and system for implementing internet service access gate | |
CN1930847A (en) | Method and apparatus for providing transaction-level security | |
CN112613024A (en) | Data interaction method, device and system and storage medium | |
CN108256068B (en) | Medical institution intelligent access system with bidirectional calling function | |
CN110011875A (en) | Dial testing method, device, equipment and computer readable storage medium | |
AlShahwan et al. | Security framework for RESTful mobile cloud computing Web services | |
CN112333105A (en) | Communication method and device of cloud robot | |
CN114237853A (en) | Task execution method, device, equipment, medium and program product applied to heterogeneous system | |
CN114189532B (en) | Mass connection control strategy and instruction distribution method | |
JP2005521931A (en) | Exchange infrastructure system and method | |
CN111970253A (en) | PEP configuration method and device, electronic equipment and storage medium | |
US11140001B2 (en) | Method for providing data packets from a CAN bus, control device and system having a CAN bus | |
CN112702415B (en) | Method for converting Kafka long connection consumption into service |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |