CN113612627B - Protocol adaptation processing method and system applied to intelligent lamp post - Google Patents
Protocol adaptation processing method and system applied to intelligent lamp post Download PDFInfo
- Publication number
- CN113612627B CN113612627B CN202110777166.4A CN202110777166A CN113612627B CN 113612627 B CN113612627 B CN 113612627B CN 202110777166 A CN202110777166 A CN 202110777166A CN 113612627 B CN113612627 B CN 113612627B
- Authority
- CN
- China
- Prior art keywords
- equipment
- protocol
- management
- sensing terminal
- terminal equipment
- 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
- 230000006978 adaptation Effects 0.000 title claims abstract description 70
- 238000003672 processing method Methods 0.000 title claims abstract description 21
- 230000002452 interceptive effect Effects 0.000 claims abstract description 27
- 238000004458 analytical method Methods 0.000 claims abstract description 10
- 230000003993 interaction Effects 0.000 claims description 54
- 230000008447 perception Effects 0.000 claims description 51
- 238000012545 processing Methods 0.000 claims description 23
- 238000000034 method Methods 0.000 claims description 10
- 230000009471 action Effects 0.000 claims description 3
- 238000007726 management method Methods 0.000 description 98
- 238000012423 maintenance Methods 0.000 description 5
- 238000007792 addition Methods 0.000 description 4
- 238000010276 construction Methods 0.000 description 3
- 238000012217 deletion Methods 0.000 description 3
- 230000037430 deletion Effects 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 230000004044 response Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F21—LIGHTING
- F21V—FUNCTIONAL FEATURES OR DETAILS OF LIGHTING DEVICES OR SYSTEMS THEREOF; STRUCTURAL COMBINATIONS OF LIGHTING DEVICES WITH OTHER ARTICLES, NOT OTHERWISE PROVIDED FOR
- F21V33/00—Structural combinations of lighting devices with other articles, not otherwise provided for
-
- 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
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/14—Network analysis or design
- H04L41/145—Network analysis or design involving simulating, designing, planning or modelling of a network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/06—Notations for structuring of protocol data, e.g. abstract syntax notation one [ASN.1]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/08—Protocols for interworking; Protocol conversion
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/22—Parsing or analysis of headers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/30—Definitions, standards or architectural aspects of layered protocol stacks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L2212/00—Encapsulation of packets
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- General Engineering & Computer Science (AREA)
- Computer And Data Communications (AREA)
- Selective Calling Equipment (AREA)
Abstract
The invention discloses a protocol adaptation processing method and a system applied to a smart lamp post, wherein the system comprises sensing terminal equipment, a smart lamp post intelligent gateway and a management and control platform, equipment identification information and an interactive protocol template of the sensing terminal equipment are preset in the smart lamp post intelligent gateway, a unified adaptation protocol stack is constructed between the intelligent lamp post intelligent gateway and the management and control platform, and the automatic identification, automatic protocol analysis and automatic protocol adaptation of the new access sensing terminal equipment of the smart lamp post are realized under the condition that the smart lamp post intelligent gateway and the management and control platform are not upgraded, so that the information acquisition, management and control of the equipment are completed.
Description
Technical Field
The application belongs to the technical field of intelligent lamp poles, and particularly relates to a protocol adaptation processing method and system applied to intelligent lamp poles.
Background
In the field of application of the internet of things, particularly to intelligent lamp posts, in order to improve the integration level, the types of the intelligent lamp posts are often made to be mounted or connected with various kinds of equipment, and the types of the commonly used access equipment are more than twenty kinds at present.
The smart lamp pole industry does not form a unified protocol standard at present, and particularly, the protocol of each manufacturer of each type of sensing terminal is a private protocol, so that when any new device is accessed in the smart lamp pole application, software upgrading of a lamp pole intelligent gateway and a cloud control platform is required, which not only increases resource investment, but also can bring about system problems caused by field upgrading.
The intelligent lamp post is generally provided with less equipment in the early construction, future service expansion is generally considered in terms of structure and service planning at the beginning of construction, and after construction, the new service is added in the operation and maintenance period, so that the equipment and the platform can be upgraded, and great operation and maintenance difficulties are increased for users. Therefore, in the application of the smart light pole, the industry only supports the private protocol compatibility problem of the known device at present, but the problem of device upgrading caused by new device access in the future is not solved.
Disclosure of Invention
The application aims to provide a protocol adaptation processing method and a system applied to a smart lamp pole, which realize the access to new perception terminal equipment on the premise of not upgrading the system.
In order to achieve the above purpose, the technical scheme adopted by the application is as follows:
The protocol adaptation processing method applied to the intelligent lamp post is used for the intelligent gateway of the intelligent lamp post and the management and control platform to access and manage and control the sensing terminal equipment without upgrading, and is implemented on the intelligent gateway side of the intelligent lamp post to finish accessing the sensing terminal equipment and comprises the following steps:
step S1, presetting equipment identification information of known perception terminal equipment;
s2, presetting a plurality of interactive protocol templates, and associating each interactive protocol template with the equipment type and equipment manufacturer of the corresponding known perception terminal equipment;
step S3, receiving equipment identification information sent by newly accessed sensing terminal equipment, identifying the newly accessed sensing terminal equipment according to preset equipment identification information, and executing step S4 if the newly accessed sensing terminal equipment is identified as known sensing terminal equipment; otherwise, executing the step S5;
Step S4, calling a corresponding interaction protocol template according to the identified or bound device type and device manufacturer corresponding to the known perception terminal device, automatically analyzing the device interaction information of the newly accessed perception terminal device based on the interaction protocol template, and executing step S7;
step S5, receiving input device binding information, if the device binding information contains device identification information of a designated sensing terminal device, binding unidentified newly accessed sensing terminal devices into known sensing terminal devices designated in the device binding information according to the device binding information, and turning to execute step S4; if the equipment binding information contains an illegal equipment mark, the step S6 is carried out;
s6, marking the newly accessed sensing terminal equipment as illegal equipment, closing an access port of the equipment or discarding data information from the equipment and ending;
And S7, according to a unified adaptation protocol stack between the intelligent gateway of the intelligent lamp post and the management and control platform, the analyzed equipment interaction information is packaged into interaction protocol data with a unified data format, and the packaged interaction protocol data is sent to the management and control platform to complete the access of the new perception terminal equipment.
The following provides several alternatives, but not as additional limitations to the above-described overall scheme, and only further additions or preferences, each of which may be individually combined for the above-described overall scheme, or may be combined among multiple alternatives, without technical or logical contradictions.
Preferably, the protocol adaptation processing method applied to the intelligent lamp post is implemented on the intelligent gateway side of the intelligent lamp post to complete management and control of the sensing terminal equipment, and comprises the following steps:
step T1, receiving management and control protocol data issued by a management and control platform; the management control protocol data is obtained by encapsulating management control information into a unified data format according to the unified adaptation protocol stack by a management control platform, wherein the management control information is information which is received by the management control platform and is input by a user and used for managing and controlling sensing terminal equipment;
Step T2, analyzing the received management and control protocol data according to the unified adaptation protocol stack to obtain management and control information;
step T3, calling a corresponding interaction protocol template according to the equipment type and equipment manufacturer of the perception terminal equipment corresponding to the management control information;
Step T4, according to the called interactive protocol template, the management control information obtained after analysis is converted into equipment management control information which can be identified by the sensing terminal equipment and is sent to the corresponding sensing terminal equipment; the device management and control information is used for configuring or acting according to the device management and control information by the corresponding perception terminal device.
Preferably, the device identification information includes: device type, device manufacturer, interface type, MAC address, initial IP address, DHCP Option, device ID.
Preferably, the content of the interaction protocol template includes: protocol type, protocol header, protocol length, content format type, protocol content, content padding.
Preferably, the content of the unified adaptation protocol stack includes: the method comprises the steps of equipment type, equipment manufacturer, equipment address, access online time, protocol length, parameter number, specific parameter name, parameter length, parameter format, parameter content and message filling.
The application also provides a protocol adaptation processing system applied to the intelligent lamp post, which comprises a sensing terminal device, an intelligent lamp post intelligent gateway and a management and control platform, wherein when the protocol adaptation processing system applied to the intelligent lamp post is operated to be accessed to the sensing terminal device, the following operations are executed:
step S100, the intelligent gateway of the intelligent lamp post receives and presets equipment identification information of the known perception terminal equipment and a plurality of interactive protocol templates, and associates each interactive protocol template with the equipment type and equipment manufacturer of the corresponding known perception terminal equipment;
Step 200, when the perception terminal equipment is accessed to the intelligent gateway of the intelligent lamp pole for the first time, equipment identification information is sent to the intelligent gateway of the intelligent lamp pole;
Step S300, the intelligent gateway of the intelligent lamp post receives equipment identification information sent by newly accessed sensing terminal equipment, the newly accessed sensing terminal equipment is identified according to preset equipment identification information, and if the sensing terminal equipment is identified as known sensing terminal equipment, the step S400 is executed; otherwise, executing the step S500;
Step S400, the intelligent gateway of the intelligent lamp post calls a corresponding interaction protocol template according to the identified or bound equipment type and equipment manufacturer corresponding to the known perception terminal equipment, automatically analyzes the equipment interaction information of the newly accessed perception terminal equipment based on the interaction protocol template, and executes the step S700;
Step S500, the intelligent gateway of the intelligent lamp post receives input device binding information, if the device binding information contains device identification information of a designated sensing terminal device, the unidentified newly accessed sensing terminal device is bound into a known sensing terminal device designated in the device binding information according to the device binding information, and the step S400 is executed; if the device binding information includes an illegal device flag, the step S600 is entered;
Step S600, the intelligent gateway of the intelligent lamp post marks the newly accessed sensing terminal equipment as illegal equipment, closes an access port of the equipment or discards data information from the equipment and ends;
step S700, the intelligent lamp pole intelligent gateway encapsulates the analyzed equipment interaction information into interaction protocol data with a unified data format according to a unified adaptation protocol stack between the intelligent lamp pole intelligent gateway and the management and control platform, and sends the encapsulated interaction protocol data to the management and control platform;
And step S800, the management and control platform receives and records the interactive protocol data sent by the intelligent gateway of the intelligent lamp post, and completes the access of the new perception terminal equipment.
Preferably, when the protocol adaptation processing system applied to the intelligent lamp post operates and controls the sensing terminal equipment, the following operations are executed:
Step T100, the management control platform receives management control information which is input by a user and used for managing and controlling the sensing terminal equipment; the management and control platform encapsulates the management and control information into management and control protocol data with a unified data format according to a unified adaptation protocol stack between the intelligent gateway of the intelligent lamp pole and the management and control platform, and sends the encapsulated management and control protocol data to the intelligent gateway of the intelligent lamp pole;
Step T200, the intelligent lamp post intelligent gateway receives and analyzes the management and control protocol data sent by the management and control platform, and calls a corresponding interactive protocol template according to the equipment type and equipment manufacturer of the sensing terminal equipment corresponding to the management and control information obtained by analysis, converts the analyzed data into equipment management and control information identifiable by the sensing terminal equipment according to the interactive protocol template, and sends the equipment management and control information to the corresponding sensing terminal equipment;
and step T300, the perception terminal equipment receives equipment management and control information issued by the intelligent gateway of the intelligent lamp post, and performs configuration or action according to the equipment management and control information.
Preferably, the device identification information includes: device type, device manufacturer, interface type, MAC address, initial IP address, DHCP Option, device ID.
Preferably, the content of the interaction protocol template includes: protocol type, protocol header, protocol length, content format type, protocol content, content padding.
Preferably, the content of the unified adaptation protocol stack includes: the method comprises the steps of equipment type, equipment manufacturer, equipment address, access online time, protocol length, parameter number, specific parameter name, parameter length, parameter format, parameter content and message filling.
According to the protocol adaptation processing method and system applied to the intelligent lamp pole, the equipment identification information and the interaction protocol template of the sensing terminal equipment are preset in the intelligent gateway of the intelligent lamp pole, a unified adaptation protocol stack is constructed between the intelligent gateway and the management and control platform, automatic identification, automatic protocol analysis and automatic protocol adaptation of the new access sensing terminal equipment of the intelligent lamp pole are realized under the condition that the intelligent gateway and the management and control platform are not upgraded, information acquisition, management and control of the equipment are completed, and the problems of operation and maintenance workload and system risks caused by the fact that the intelligent gateway and the management and control platform have to be upgraded after the new sensing terminal access and new service expansion are added in the later period in the current intelligent lamp pole field are effectively solved.
Drawings
FIG. 1 is a flow chart of the protocol adaptation processing method applied to a smart light pole of the present application implemented on the smart gateway side of the smart light pole to complete the access to the sensing terminal equipment;
FIG. 2 is a flow chart of the protocol adaptation processing method applied to the intelligent lamp post of the present application implemented on the intelligent gateway side of the intelligent lamp post to complete the management and control of the sensing terminal equipment;
FIG. 3 is a block diagram of a protocol adaptation processing system applied to a smart light pole according to the present application;
Fig. 4 is a flowchart of the protocol adaptation processing system for a smart light pole of the present application to operate and control a sensing terminal device.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein in the description of the application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application.
In one embodiment, a protocol adaptation processing method applied to a smart lamp pole is provided, and under a typical internet of things architecture, the access, identification, service configuration, management and control and the like of a new device mounted on the smart lamp pole are realized without upgrading a system, so that the problems of operation and maintenance workload and system risk caused by repeated and inefficient operation of upgrading a smart gateway and a management and control platform of the smart lamp pole due to new service or new device access are solved.
The protocol adaptation processing method applied to the intelligent lamp post in the embodiment comprises two parts of operation contents, namely an access sensing terminal equipment part and a management sensing terminal equipment part. The access sensing terminal equipment part and the control sensing terminal equipment part can be regarded as two independent parts, but the access sensing terminal equipment part is a precondition for the operation of the control sensing terminal equipment part for the same sensing terminal equipment.
Since the intelligent gateway of the intelligent lamp pole is an intermediate part between the management and control platform and the sensing terminal device, the protocol adaptation processing method of the embodiment is described in terms of the intelligent gateway of the intelligent lamp pole, wherein the protocol adaptation processing method applied to the intelligent lamp pole is implemented on the intelligent gateway side of the intelligent lamp pole to complete the access to the sensing terminal device, as shown in fig. 1, and comprises the following steps:
step S1, presetting equipment identification information of known perception terminal equipment.
The intelligent gateway of the intelligent lamp post completes the automatic identification access to the new access sensing terminal equipment by loading equipment identification information (namely a characteristic file). The Device identification information in the present embodiment includes a Device type, a Device manufacturer, an interface type, an identification manner (MAC address, initial IP address, DHCP Option, device ID).
It should be noted that, the device identification information provided in this embodiment includes the basic field, and in other embodiments, field addition and deletion may be performed according to actual requirements.
And S2, presetting a plurality of interactive protocol templates, and associating each interactive protocol template with the equipment type and equipment manufacturer of the corresponding known perception terminal equipment.
Because the perception terminal devices of different device types and device manufacturers have different private protocols, in order to adapt to different perception terminal devices, the embodiment loads the interaction protocol template in advance for standby. When new perception terminal equipment appears in the future, the equipment identification information and the interaction protocol template of the new perception terminal equipment are imported into the intelligent lamp pole intelligent gateway to realize the access to the new future equipment without the need of software upgrading of the intelligent lamp pole intelligent gateway and the management and control platform.
The content of the interaction protocol template in this embodiment includes: protocol type, protocol header, protocol length, content format type (not limited to TLV, jason, XML, YAML types, etc.), protocol content, content padding. After the intelligent gateway of the intelligent lamp post loads the interaction protocol template, automatic analysis, adaptation and the like of the interaction protocol can be automatically completed.
It should be noted that, the interaction protocol template provided in this embodiment includes the basic fields, in other embodiments, field addition and deletion may be performed according to actual requirements, and the execution of step S1 and step S2 may not have a certain order, and step S3 may be performed after the execution of the two steps.
Step S3, receiving equipment identification information sent by newly accessed sensing terminal equipment, identifying the newly accessed sensing terminal equipment according to preset equipment identification information, and executing step S4 if the newly accessed sensing terminal equipment is identified as known sensing terminal equipment; otherwise, step S5 is performed.
And S4, calling a corresponding interaction protocol template according to the identified or bound device type and device manufacturer corresponding to the known perception terminal device, automatically analyzing the device interaction information of the newly accessed perception terminal device based on the interaction protocol template, and executing the step S7. The device interaction information when accessing the new sensing terminal device is understood to be the registration information sent by the sensing terminal device for accessing the intelligent gateway of the intelligent lamp pole, and may be information including the same content as that in the interaction protocol template.
Step S5, receiving input device binding information, if the device binding information contains device identification information of a designated sensing terminal device, binding unidentified newly accessed sensing terminal devices into known sensing terminal devices designated in the device binding information according to the device binding information, and turning to execute step S4; if the device binding information includes an illegal device flag, the process proceeds to step S6.
And S6, marking the newly accessed sensing terminal equipment as illegal equipment, closing an access port of the equipment or discarding data information from the equipment and ending.
When the intelligent lamp pole intelligent gateway monitors unidentified sensing terminal equipment, equipment identification information of the equipment can be automatically transferred into an unidentified equipment list for storage, information sent by the equipment is not received in the process, the unidentified equipment list is sent to a management and control platform, and after equipment binding information of the equipment is manually set at the management and control platform and is transmitted and accessed to the intelligent lamp pole intelligent gateway, the intelligent lamp pole intelligent gateway performs identification processing according to the equipment binding information, and the unidentified equipment is processed.
And S7, according to a unified adaptation protocol stack between the intelligent gateway of the intelligent lamp post and the management and control platform, the analyzed equipment interaction information is packaged into interaction protocol data with a unified data format, and the packaged interaction protocol data is sent to the management and control platform to complete the access of the new perception terminal equipment.
Steps S6 and S7 are two different processing results for a newly accessed aware terminal device, only one of which is performed at a time of access.
Since the sensing terminal devices of different device types and device manufacturers have different private protocols, the private protocols of the devices need to be based when interacting with the sensing terminal devices. But in order to facilitate the management and control of the management and control platform to different perception terminal equipment, the processing pressure of the management and control platform is reduced simultaneously, the embodiment adopts a unified adaptation protocol stack between the intelligent lamp pole intelligent gateway and the management and control platform, and the interaction information of various perception terminal equipment is packaged into unified information and then is interacted between the intelligent lamp pole intelligent gateway and the management and control platform, so that the information display and management and control requirements under the condition of not upgrading the platform after a new perception terminal is added on site are met.
The unified adaptation protocol stack in this embodiment should transmit protocol message types including, but not limited to, a certain format, and the contents include: the device type, the device manufacturer, the device address (comprising the MAC address and the IP address, determined according to the address types used by different devices), the access online time, the protocol length, the number of parameters, the specific parameter name, the parameter length, the parameter format, the parameter content and the message filling.
It should be noted that, the unified adaptation protocol stack provided in this embodiment includes the basic fields, and in other embodiments, field addition and deletion may be performed according to actual requirements.
After the sensing terminal equipment is successfully accessed to the intelligent gateway of the intelligent lamp post, the sensing terminal equipment needs to be configured or periodically controlled to switch the working mode. The protocol adaptation processing method applied to the intelligent lamp pole of the embodiment is implemented on the intelligent gateway side of the intelligent lamp pole to complete management and control of the sensing terminal equipment, as shown in fig. 2, and comprises the following steps:
step T1, receiving management and control protocol data issued by a management and control platform; the management control protocol data is obtained by encapsulating management control information into a unified data format according to the unified adaptation protocol stack by a management control platform, wherein the management control information is information which is received by the management control platform and is input by a user and used for managing and controlling sensing terminal equipment;
Step T2, analyzing the received management and control protocol data according to the unified adaptation protocol stack to obtain management and control information;
step T3, calling a corresponding interaction protocol template according to the equipment type and equipment manufacturer of the perception terminal equipment corresponding to the management control information;
Step T4, according to the called interactive protocol template, the management control information obtained after analysis is converted into equipment management control information which can be identified by the sensing terminal equipment and is sent to the corresponding sensing terminal equipment; the device management and control information is used for configuring or acting according to the device management and control information by the corresponding perception terminal device.
The mechanism can complete automatic equipment identification, automatic protocol analysis and adaptation after new access of new types or new manufacturer perception terminal equipment is realized under the condition that an intelligent gateway and a management and control platform are not upgraded, and can conveniently expand functions of offline configuration and plug and play on the basis, thereby greatly reducing the workload of equipment on-site deployment and operation and maintenance.
It should be noted that, in the management and control stage after the access of the sensing terminal device, the data flow may not only include from the management and control platform to the sensing terminal device, but also include from the sensing terminal device to the management and control platform, so as to realize that the sensing terminal device feeds back relevant state data to the management and control platform periodically or according to the requirement. The flow process of the data from the sensing terminal equipment to the management and control platform is similar to that when the sensing terminal equipment is accessed to the intelligent lamp pole intelligent gateway, namely, the sensing terminal equipment sends equipment interaction information containing feedback data to the intelligent lamp pole intelligent gateway, and the intelligent lamp pole intelligent gateway analyzes the equipment interaction information according to an interaction protocol template, encapsulates the equipment interaction information according to a unified adaptation protocol stack and sends the equipment interaction information to the management and control platform.
In another embodiment, as shown in fig. 3, a protocol adaptation processing system applied to a smart light pole is provided, and the protocol adaptation processing system applied to the smart light pole includes a sensing terminal device 300, a smart light pole smart gateway 200 and a management platform 100.
The sensing terminal device 300 mainly comprises devices mounted on a smart lamp pole, the devices have different device types, device manufacturers and proprietary protocols, common devices comprise a camera, an information release screen, digital broadcasting, one-key alarming, weather monitoring, charging piles and other sensing devices mounted on the smart lamp pole according to service requirements in the future, and various sensing devices are accessed to the smart lamp pole intelligent gateway 200 through different proprietary protocols by different physical interfaces (such as Ethernet, serial ports (RS 232, RS285 and the like), AI/O, DI/O, wireless interfaces and the like). The management and control platform 100 mainly completes unified management and control protocol processing on the sensing terminal equipment 300 from the intelligent lamp pole intelligent gateway 200.
Specifically, when the protocol adaptation processing system applied to the intelligent lamp post runs the access sensing terminal equipment, the following operations are executed:
step S100, the intelligent gateway of the intelligent lamp post receives and presets equipment identification information of the known perception terminal equipment and a plurality of interactive protocol templates, and associates each interactive protocol template with the equipment type and equipment manufacturer of the corresponding known perception terminal equipment;
Step 200, when the perception terminal equipment is accessed to the intelligent gateway of the intelligent lamp pole for the first time, equipment identification information is sent to the intelligent gateway of the intelligent lamp pole;
Step S300, the intelligent gateway of the intelligent lamp post receives equipment identification information sent by newly accessed sensing terminal equipment, the newly accessed sensing terminal equipment is identified according to preset equipment identification information, and if the sensing terminal equipment is identified as known sensing terminal equipment, the step S400 is executed; otherwise, executing the step S500;
Step S400, the intelligent gateway of the intelligent lamp post calls a corresponding interaction protocol template according to the identified or bound equipment type and equipment manufacturer corresponding to the known perception terminal equipment, automatically analyzes the equipment interaction information of the newly accessed perception terminal equipment based on the interaction protocol template, and executes the step S700;
Step S500, the intelligent gateway of the intelligent lamp post receives input device binding information, if the device binding information contains device identification information of a designated sensing terminal device, the unidentified newly accessed sensing terminal device is bound into a known sensing terminal device designated in the device binding information according to the device binding information, and the step S400 is executed; if the device binding information includes an illegal device flag, the step S600 is entered;
Step S600, the intelligent gateway of the intelligent lamp post marks the newly accessed sensing terminal equipment as illegal equipment, closes an access port of the equipment or discards data information from the equipment and ends;
step S700, the intelligent lamp pole intelligent gateway encapsulates the analyzed equipment interaction information into interaction protocol data with a unified data format according to a unified adaptation protocol stack between the intelligent lamp pole intelligent gateway and the management and control platform, and sends the encapsulated interaction protocol data to the management and control platform;
And step S800, the management and control platform receives and records the interactive protocol data sent by the intelligent gateway of the intelligent lamp post, and completes the access of the new perception terminal equipment.
It is easy to understand that, because each sensing terminal device performs information interaction with the intelligent lamp pole intelligent gateway based on the physical interface, when the intelligent lamp pole intelligent gateway receives the data sent by the sensing terminal device, the intelligent lamp pole intelligent gateway needs to analyze the data according to the data format corresponding to the physical interface.
In another embodiment, as shown in fig. 4, when the protocol adaptation processing system applied to the smart light pole runs the control sensing terminal device, the following operations are performed:
Step T100, the management control platform receives management control information which is input by a user and used for managing and controlling the sensing terminal equipment; the management and control platform encapsulates the management and control information into management and control protocol data with a unified data format according to a unified adaptation protocol stack between the intelligent gateway of the intelligent lamp pole and the management and control platform, sends the encapsulated management and control protocol data to the intelligent gateway of the intelligent lamp pole, and receives response information from the intelligent gateway of the intelligent lamp pole;
Step T200, the intelligent lamp post intelligent gateway receives and analyzes the management and control protocol data sent by the management and control platform, and calls a corresponding interactive protocol template according to the equipment type and equipment manufacturer of the sensing terminal equipment corresponding to the management and control information obtained by analysis, converts the analyzed data into equipment management and control information identifiable by the sensing terminal equipment according to the interactive protocol template, and sends the equipment management and control information to the corresponding sensing terminal equipment;
and step T300, the perception terminal equipment receives equipment management and control information issued by the intelligent gateway of the intelligent lamp pole, configures or acts according to the equipment management and control information, and feeds back configuration or action response information to the intelligent gateway of the intelligent lamp pole.
Wherein the device identification information includes: device type, device manufacturer, interface type, MAC address, initial IP address, DHCP Option, device ID.
Wherein, the content of the interactive protocol template comprises: protocol type, protocol header, protocol length, content format type, protocol content, content padding.
The content of the unified adaptation protocol stack comprises: the method comprises the steps of equipment type, equipment manufacturer, equipment address, access online time, protocol length, parameter number, specific parameter name, parameter length, parameter format, parameter content and message filling.
For further limitation of the protocol adaptation processing system applied to the smart lamp pole, reference may be made to the above limitation of the protocol adaptation processing method applied to the smart lamp pole, and no further description is given here.
The technical features of the above-described embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above-described embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples illustrate only a few embodiments of the application, which are described in detail and are not to be construed as limiting the scope of the application. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the application, which are all within the scope of the application. Accordingly, the scope of protection of the present application is to be determined by the appended claims.
Claims (10)
1. The protocol adaptation processing method applied to the intelligent lamp post is used for the intelligent gateway of the intelligent lamp post and the management and control platform to access and manage and control the sensing terminal equipment without upgrading, and is characterized in that the protocol adaptation processing method applied to the intelligent lamp post is implemented on the intelligent gateway side of the intelligent lamp post to finish the access sensing terminal equipment, and comprises the following steps:
step S1, presetting equipment identification information of known perception terminal equipment;
s2, presetting a plurality of interactive protocol templates, and associating each interactive protocol template with the equipment type and equipment manufacturer of the corresponding known perception terminal equipment;
step S3, receiving equipment identification information sent by newly accessed sensing terminal equipment, identifying the newly accessed sensing terminal equipment according to preset equipment identification information, and executing step S4 if the newly accessed sensing terminal equipment is identified as known sensing terminal equipment; otherwise, executing the step S5;
Step S4, calling a corresponding interaction protocol template according to the identified or bound device type and device manufacturer corresponding to the known perception terminal device, automatically analyzing the device interaction information of the newly accessed perception terminal device based on the interaction protocol template, and executing step S7;
step S5, receiving input device binding information, if the device binding information contains device identification information of a designated sensing terminal device, binding unidentified newly accessed sensing terminal devices into known sensing terminal devices designated in the device binding information according to the device binding information, and turning to execute step S4; if the equipment binding information contains an illegal equipment mark, the step S6 is carried out;
s6, marking the newly accessed sensing terminal equipment as illegal equipment, closing an access port of the equipment or discarding data information from the equipment and ending;
And S7, according to a unified adaptation protocol stack between the intelligent gateway of the intelligent lamp post and the management and control platform, the analyzed equipment interaction information is packaged into interaction protocol data with a unified data format, and the packaged interaction protocol data is sent to the management and control platform to complete the access of the new perception terminal equipment.
2. The method for processing the protocol adaptation applied to the intelligent lamp post according to claim 1, wherein the method for processing the protocol adaptation applied to the intelligent lamp post is implemented on an intelligent gateway side of the intelligent lamp post to complete management and control of the sensing terminal equipment, and comprises the following steps:
step T1, receiving management and control protocol data issued by a management and control platform; the management control protocol data is obtained by encapsulating management control information into a unified data format according to the unified adaptation protocol stack by a management control platform, wherein the management control information is information which is received by the management control platform and is input by a user and used for managing and controlling sensing terminal equipment;
Step T2, analyzing the received management and control protocol data according to the unified adaptation protocol stack to obtain management and control information;
step T3, calling a corresponding interaction protocol template according to the equipment type and equipment manufacturer of the perception terminal equipment corresponding to the management control information;
Step T4, according to the called interactive protocol template, the management control information obtained after analysis is converted into equipment management control information which can be identified by the sensing terminal equipment and is sent to the corresponding sensing terminal equipment; the device management and control information is used for configuring or acting according to the device management and control information by the corresponding perception terminal device.
3. The protocol adaptation processing method applied to a smart light pole as claimed in claim 1, wherein the device identification information includes: device type, device manufacturer, interface type, MAC address, initial IP address, DHCP Option, device ID.
4. The protocol adaptation processing method applied to a smart light pole according to claim 1, wherein the content of the interaction protocol template comprises: protocol type, protocol header, protocol length, content format type, protocol content, content padding.
5. The protocol adaptation processing method applied to a smart lamp post according to claim 1, wherein the content of the unified adaptation protocol stack comprises: the method comprises the steps of equipment type, equipment manufacturer, equipment address, access online time, protocol length, parameter number, specific parameter name, parameter length, parameter format, parameter content and message filling.
6. The protocol adaptation processing system applied to the intelligent lamp pole is characterized by comprising a sensing terminal device, an intelligent lamp pole intelligent gateway and a management and control platform, wherein when the protocol adaptation processing system applied to the intelligent lamp pole is accessed to the sensing terminal device, the following operations are executed:
step S100, the intelligent gateway of the intelligent lamp post receives and presets equipment identification information of the known perception terminal equipment and a plurality of interactive protocol templates, and associates each interactive protocol template with the equipment type and equipment manufacturer of the corresponding known perception terminal equipment;
Step 200, when the perception terminal equipment is accessed to the intelligent gateway of the intelligent lamp pole for the first time, equipment identification information is sent to the intelligent gateway of the intelligent lamp pole;
Step S300, the intelligent gateway of the intelligent lamp post receives equipment identification information sent by newly accessed sensing terminal equipment, the newly accessed sensing terminal equipment is identified according to preset equipment identification information, and if the sensing terminal equipment is identified as known sensing terminal equipment, the step S400 is executed; otherwise, executing the step S500;
Step S400, the intelligent gateway of the intelligent lamp post calls a corresponding interaction protocol template according to the identified or bound equipment type and equipment manufacturer corresponding to the known perception terminal equipment, automatically analyzes the equipment interaction information of the newly accessed perception terminal equipment based on the interaction protocol template, and executes the step S700;
Step S500, the intelligent gateway of the intelligent lamp post receives input device binding information, if the device binding information contains device identification information of a designated sensing terminal device, the unidentified newly accessed sensing terminal device is bound into a known sensing terminal device designated in the device binding information according to the device binding information, and the step S400 is executed; if the device binding information includes an illegal device flag, the step S600 is entered;
Step S600, the intelligent gateway of the intelligent lamp post marks the newly accessed sensing terminal equipment as illegal equipment, closes an access port of the equipment or discards data information from the equipment and ends;
step S700, the intelligent lamp pole intelligent gateway encapsulates the analyzed equipment interaction information into interaction protocol data with a unified data format according to a unified adaptation protocol stack between the intelligent lamp pole intelligent gateway and the management and control platform, and sends the encapsulated interaction protocol data to the management and control platform;
And step S800, the management and control platform receives and records the interactive protocol data sent by the intelligent gateway of the intelligent lamp post, and completes the access of the new perception terminal equipment.
7. The protocol adaptation processing system applied to a smart light pole according to claim 6, wherein when the protocol adaptation processing system applied to the smart light pole operates the management sensing terminal device, the following operations are performed:
Step T100, the management control platform receives management control information which is input by a user and used for managing and controlling the sensing terminal equipment; according to a unified adaptation protocol stack between the intelligent gateway of the intelligent lamp post and the management and control platform, the management and control information is encapsulated into management and control protocol data with a unified data format, and the encapsulated management and control protocol data is sent to the intelligent gateway of the intelligent lamp post;
Step T200, the intelligent lamp post intelligent gateway receives and analyzes the management and control protocol data sent by the management and control platform, and calls a corresponding interactive protocol template according to the equipment type and equipment manufacturer of the sensing terminal equipment corresponding to the management and control information obtained by analysis, converts the analyzed data into equipment management and control information identifiable by the sensing terminal equipment according to the interactive protocol template, and sends the equipment management and control information to the corresponding sensing terminal equipment;
and step T300, the perception terminal equipment receives equipment management and control information issued by the intelligent gateway of the intelligent lamp post, and performs configuration or action according to the equipment management and control information.
8. The protocol adaptation processing system applied to a smart light pole as claimed in claim 6, wherein the device identification information includes: device type, device manufacturer, interface type, MAC address, initial IP address, DHCP Option, device ID.
9. The protocol adaptation processing system applied to a smart light pole as claimed in claim 6, wherein the contents of the interactive protocol template include: protocol type, protocol header, protocol length, content format type, protocol content, content padding.
10. The protocol adaptation processing system applied to a smart light pole as claimed in claim 6, wherein the content of the unified adaptation protocol stack comprises: the method comprises the steps of equipment type, equipment manufacturer, equipment address, access online time, protocol length, parameter number, specific parameter name, parameter length, parameter format, parameter content and message filling.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110777166.4A CN113612627B (en) | 2021-07-09 | 2021-07-09 | Protocol adaptation processing method and system applied to intelligent lamp post |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110777166.4A CN113612627B (en) | 2021-07-09 | 2021-07-09 | Protocol adaptation processing method and system applied to intelligent lamp post |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113612627A CN113612627A (en) | 2021-11-05 |
CN113612627B true CN113612627B (en) | 2024-05-28 |
Family
ID=78304302
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110777166.4A Active CN113612627B (en) | 2021-07-09 | 2021-07-09 | Protocol adaptation processing method and system applied to intelligent lamp post |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113612627B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115460299A (en) * | 2022-08-25 | 2022-12-09 | 京东科技信息技术有限公司 | Equipment access method, device, electronic equipment, system and storage medium |
CN116279198B (en) * | 2022-09-09 | 2024-03-19 | 广州汽车集团股份有限公司 | Service-based external equipment self-adaptation method and system |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103532963A (en) * | 2013-10-22 | 2014-01-22 | 中国联合网络通信集团有限公司 | IOT (Internet of Things) based equipment authentication method, device and system |
WO2017148158A1 (en) * | 2016-03-03 | 2017-09-08 | 烽火通信科技股份有限公司 | System for home gateway to recognize type of access device using cloud platform |
WO2018064843A1 (en) * | 2016-10-09 | 2018-04-12 | 深圳中兴力维技术有限公司 | System and method for managing infrastructure of data center |
CN109361594A (en) * | 2018-11-21 | 2019-02-19 | 深圳奇迹智慧网络有限公司 | The gateway system and Multifunctional rod of Multifunctional rod |
CN109412871A (en) * | 2018-12-20 | 2019-03-01 | 高新兴科技集团股份有限公司 | A kind of internet of things equipment access management system |
CN109995570A (en) * | 2018-01-02 | 2019-07-09 | 中国移动通信有限公司研究院 | Extend method and device, the equipment, storage medium of UNKNOWN TYPE terminal |
CN111901144A (en) * | 2020-06-19 | 2020-11-06 | 深圳奇迹智慧网络有限公司 | Interaction method and device for Internet of things equipment, computer equipment and storage medium |
CN111970386A (en) * | 2020-10-23 | 2020-11-20 | 杭州罗莱迪思科技股份有限公司 | Internet of things communication data processing method of intelligent lamp pole |
CN112104654A (en) * | 2020-09-16 | 2020-12-18 | 北京天地玛珂电液控制系统有限公司 | Multi-protocol automatic identification and conversion method and intelligent gateway |
US10944638B1 (en) * | 2019-09-26 | 2021-03-09 | Vmware, Inc. | Internet of things device discovery and configuration |
CN112968831A (en) * | 2021-02-23 | 2021-06-15 | 中电海康集团有限公司 | Method and device for remotely configuring edge gateway through heterogeneous network |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9661079B2 (en) * | 2013-06-03 | 2017-05-23 | Honeywell International Inc. | Apparatus and method for providing a common interface for multiple wireless communication protocols |
US11456915B2 (en) * | 2018-05-21 | 2022-09-27 | Microsoft Technology Licensing, Llc | Device model templates |
US12057959B2 (en) * | 2019-12-31 | 2024-08-06 | Mcafee, Llc | Device identification |
-
2021
- 2021-07-09 CN CN202110777166.4A patent/CN113612627B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103532963A (en) * | 2013-10-22 | 2014-01-22 | 中国联合网络通信集团有限公司 | IOT (Internet of Things) based equipment authentication method, device and system |
WO2017148158A1 (en) * | 2016-03-03 | 2017-09-08 | 烽火通信科技股份有限公司 | System for home gateway to recognize type of access device using cloud platform |
WO2018064843A1 (en) * | 2016-10-09 | 2018-04-12 | 深圳中兴力维技术有限公司 | System and method for managing infrastructure of data center |
CN109995570A (en) * | 2018-01-02 | 2019-07-09 | 中国移动通信有限公司研究院 | Extend method and device, the equipment, storage medium of UNKNOWN TYPE terminal |
CN109361594A (en) * | 2018-11-21 | 2019-02-19 | 深圳奇迹智慧网络有限公司 | The gateway system and Multifunctional rod of Multifunctional rod |
CN109412871A (en) * | 2018-12-20 | 2019-03-01 | 高新兴科技集团股份有限公司 | A kind of internet of things equipment access management system |
US10944638B1 (en) * | 2019-09-26 | 2021-03-09 | Vmware, Inc. | Internet of things device discovery and configuration |
CN111901144A (en) * | 2020-06-19 | 2020-11-06 | 深圳奇迹智慧网络有限公司 | Interaction method and device for Internet of things equipment, computer equipment and storage medium |
CN112104654A (en) * | 2020-09-16 | 2020-12-18 | 北京天地玛珂电液控制系统有限公司 | Multi-protocol automatic identification and conversion method and intelligent gateway |
CN111970386A (en) * | 2020-10-23 | 2020-11-20 | 杭州罗莱迪思科技股份有限公司 | Internet of things communication data processing method of intelligent lamp pole |
CN112968831A (en) * | 2021-02-23 | 2021-06-15 | 中电海康集团有限公司 | Method and device for remotely configuring edge gateway through heterogeneous network |
Non-Patent Citations (2)
Title |
---|
物联网应用化智能网关技术;唐鼎;秦小伟;;信息通信技术;20131215(06);全文 * |
白鹭 ; 陈壬贤 ; 李阳 ; .复合型路灯杆在城市照明中的应用.农村电气化.(08),全文. * |
Also Published As
Publication number | Publication date |
---|---|
CN113612627A (en) | 2021-11-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113612627B (en) | Protocol adaptation processing method and system applied to intelligent lamp post | |
CN111835786B (en) | System for data acquisition and equipment control of multi-protocol equipment | |
CN110912813B (en) | Gateway supporting multiple protocols, control method and event reporting method | |
CN105807617A (en) | Control method and control device for intelligent household devices | |
EP1384351B1 (en) | Graphical user interface for a transport multiplexer | |
CN102497630B (en) | Machine to machine (M2M) equipment, method for realizing service, intelligent card and communication module | |
CN100385855C (en) | System and its method for central remote automatic upgrading software | |
US9872128B2 (en) | Method of establishing stable Piconet and system of establishment of stable Piconet based on bluetooth | |
CN111865736A (en) | Equipment control method and device | |
CN101183972B (en) | Method for remote control startup of server | |
CN106452833B (en) | Data transmission method for RTU multi-protocol dynamic loading | |
CN112910884B (en) | Method for realizing interaction between APK and ACS through packaging TR069 message | |
CN113098851B (en) | Method, device, system, equipment and medium for implementing virtual firewall | |
CN107248981B (en) | Internet of things intelligent equipment protocol library | |
CN104125204B (en) | Communication means and its equipment are realized based on MBIM interfaces | |
CN108833565A (en) | A kind of method, apparatus of monitoring server, server and storage medium | |
CN107819657A (en) | A kind of method based on central controlled dynamic analysis Modbus agreements, things-internet gateway equipment and system | |
CN110430073A (en) | A kind of heterogeneous system automation O&M method based on abstract service atomic operation | |
CN115314565B (en) | Protocol configuration method, protocol conversion method and building control system | |
EP3059907B1 (en) | Network packet forwarding method and device | |
EP3902204A1 (en) | Message sampling method and unpacking method, node, system and storage medium | |
JP2012227818A (en) | Home appliance cooperative control device and home appliance cooperative control method | |
CN106130787B (en) | Service processing system based on software defined network | |
KR101619923B1 (en) | Gateway apparatus for supporting the connection of electric power devices | |
CN105162616A (en) | Integrated network management method compatible with SNMP and CORBA protocol |
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 |