CN112910651B - Automatic binding method and system for intelligent lamp pole and access equipment ID - Google Patents

Automatic binding method and system for intelligent lamp pole and access equipment ID Download PDF

Info

Publication number
CN112910651B
CN112910651B CN202110054621.8A CN202110054621A CN112910651B CN 112910651 B CN112910651 B CN 112910651B CN 202110054621 A CN202110054621 A CN 202110054621A CN 112910651 B CN112910651 B CN 112910651B
Authority
CN
China
Prior art keywords
hash value
lamp post
access
lamp
data packet
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
Application number
CN202110054621.8A
Other languages
Chinese (zh)
Other versions
CN112910651A (en
Inventor
鲍齐权
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fiberhome Telecommunication Technologies Co Ltd
Original Assignee
Fiberhome Telecommunication Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fiberhome Telecommunication Technologies Co Ltd filed Critical Fiberhome Telecommunication Technologies Co Ltd
Priority to CN202110054621.8A priority Critical patent/CN112910651B/en
Publication of CN112910651A publication Critical patent/CN112910651A/en
Application granted granted Critical
Publication of CN112910651B publication Critical patent/CN112910651B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3236Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using cryptographic hash functions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B3/00Line transmission systems
    • H04B3/54Systems for transmission via power distribution lines
    • H04B3/544Setting up communications; Call and signalling arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • Power Engineering (AREA)
  • Medical Informatics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Health & Medical Sciences (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Selective Calling Equipment (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

The application discloses automatic binding method and system of intelligent lamp pole and access equipment ID, which relates to the technical field of street lamp pole resource management and comprises the following steps: the lamp post management subsystem generates a lamp post object for the street lamp controller which does not generate the lamp post object according to the ID of the street lamp controller after receiving the ID of the street lamp controller; the access adapter transmits a communication data packet containing the ID of the access equipment to the lamp post management subsystem, calculates the hash value of the payload part of the communication data packet and reports the hash value to the lamp post management subsystem through the corresponding street lamp controller; and the lamp post management subsystem binds the lamp post object ID with the same hash value with the access equipment ID after calculating the hash value of the payload part of the received communication data packet. This application not only realizes the automatic discovery of new access device, still can bind new access device ID and the lamp pole object ID of its place is automatic to accelerate the speed of putting on the line of deployment of wisdom lamp pole system.

Description

Automatic binding method and system for intelligent lamp pole and access equipment ID
Technical Field
The application relates to the technical field of street lamp pole resource management, in particular to an automatic binding method and system for intelligent lamp poles and access equipment IDs.
Background
The design characteristics of wisdom lamp pole combine thing networking communication technology and traditional network communication technology on the lamp pole of traditional street lamp to realize the access of multiple different intelligent network equipment, and then realize the characteristics of many poles unifications, consequently, the quantity of the equipment that wisdom lamp pole accessed is more, and the type is also more. At present, after the construction of a smart lamp pole is completed, the ID of a new access device needs to be collected for each follow-up new access smart device, and the ID of the access device and the ID of a corresponding smart lamp pole facility are bound.
In the related technology, through installing a manually readable tag, an electronic tag or a two-dimensional code tag on a smart lamp pole, when new equipment is accessed, a constructor manually reads, scans or reads the electronic tag, respectively inputs an ID of the new access equipment and an ID of a lamp pole facility where the new access equipment is located into a mobile terminal, and reports the ID to a management system of the smart lamp pole, and the management system establishes an ID binding relationship between the lamp pole facility and the access equipment according to data reported by the mobile terminal.
However, the binding process is complex, and every new device needs to manually collect the ID of the device ID and the ID of the lamp pole facility where the device is located, so that the intelligent lamp pole is slowly deployed, and the labor intensity of workers is high.
Disclosure of Invention
One of the defects existing in the prior art is overcome, and the application aims to provide a method and a system for automatically binding an intelligent lamp pole and an access device ID so as to solve the problems that the intelligent lamp pole is slowly deployed and the labor intensity of workers is high in the related art.
The application first aspect provides a method for automatically binding an intelligent lamp pole and an access device ID, which comprises the following steps:
after receiving the self ID sent by the street lamp controller, the lamp post management subsystem generates a lamp post object for the street lamp controller which does not generate the lamp post object according to the ID of the street lamp controller;
the access adapter forwards a communication data packet which is sent by the access equipment and contains the ID of the access adapter to the lamp post management subsystem, calculates a hash value of a payload part of the communication data packet and reports the hash value to the lamp post management subsystem through a corresponding street lamp controller;
and after calculating the hash value of the payload part of the received communication data packet, the lamp post management subsystem binds the lamp post object ID with the same hash value with the access equipment ID.
In some embodiments, after receiving the communication data packet, the light pole management subsystem further includes:
and acquiring an access device ID from the communication data packet, judging whether the access device ID is bound with the lamp post object ID, and if not, calculating a hash value of a payload part of the communication data packet.
In some embodiments, after the light pole management subsystem calculates the hash value of the payload portion of the received communication data packet, the method further includes:
judging whether the lamp post object IDs with the same hash value are stored;
if so, binding the ID of the access equipment with the ID of the lamp post object, clearing the stored hash value and the corresponding ID of the lamp post object, and stopping the access adapter accessed by the ID of the access equipment from calculating the hash value of the communication data packet of the access equipment;
otherwise, binding the ID of the access equipment with the hash value obtained by calculation and caching.
In some embodiments, after binding and caching the ID of the access device and the calculated hash value, the method further includes:
setting a first timeout time, and deleting the binding data after the caching time of the binding data exceeds the first timeout time.
In some embodiments, after the lamp post management subsystem receives the hash value reported by the street lamp controller, the method further includes:
judging whether the access equipment IDs with the same hash value are stored;
if yes, binding the lamp post object ID with the access equipment ID, clearing the stored hash value and the corresponding access equipment ID, and stopping an access adapter accessed by the access equipment ID to calculate the hash value of a communication data packet of the access equipment;
otherwise, the lamp post object ID and the hash value reported by the street lamp controller are bound and cached.
In some embodiments, after the binding and caching the lamp post object ID and the hash value reported by the street lamp controller, the method further includes:
and setting a second timeout time, and deleting the binding data after the caching time of the binding data exceeds the second timeout time.
This application second aspect provides a system is bound with access device ID automation to wisdom lamp pole, and it includes:
the street lamp controller is used for reporting the ID of the street lamp controller to the lamp post management subsystem;
the access adapter is used for forwarding a communication data packet which contains the ID of the access adapter and is sent by the access equipment to the lamp post management subsystem; the communication data packet is also used for reporting the hash value of the payload part of the communication data packet to the lamp post management subsystem through the corresponding street lamp controller after the hash value of the payload part of the communication data packet is calculated;
the lamp post management subsystem is used for generating a lamp post object for the street lamp controller which does not generate the lamp post object according to the ID of the street lamp controller and calculating a hash value of a payload part of the received communication data packet; and the lamp post object ID with the same hash value is bound with the ID of the access equipment.
In some embodiments, the system further includes a plurality of signal blocking filters, each signal blocking filter has an input end connected to the upstream power supply line of the corresponding lamp post, and an output end connected to the downstream power supply line of the lamp post, and is configured to filter the carrier signal on the power line.
In some embodiments, the street lamp controller includes:
a control module for transmitting a street lamp controller ID;
the power line carrier communication module is used for receiving the hash value calculated by the access adapter;
and the NB-IoT communication module is used for forwarding the received street lamp controller ID and the hash value calculated by the access adapter to the lamp post management subsystem.
In some embodiments, the access adapter comprises:
the power adapter module is used for converting 220V alternating current on a power line in the lamp post into a direct current power supply required by the access equipment;
the data forwarding module is used for transparently forwarding the communication data packet of the access equipment to the lamp post management subsystem and calculating a hash value of a payload part of the forwarded communication data packet;
and the protocol conversion module is used for converting the hash value calculated by the data forwarding module into a power line carrier communication signal and coupling the power line carrier communication signal to a power line of the lamp post, and is also used for receiving the power line carrier communication signal sent by the street lamp controller and converting the power line carrier communication signal into a data format which can be identified by the data forwarding module.
The beneficial effect that technical scheme that this application provided brought includes:
according to the method and the system for automatically binding the intelligent lamp post and the access equipment ID, the street lamp controller can send the ID and the hash value obtained by calculation of the access adapter to the lamp post management subsystem, the access adapter can also forward the communication data sent by the access equipment to the lamp post management subsystem, and when the lamp post management subsystem calculates the hash value of the payload part of the received communication data packet and receives the hash value forwarded by the street lamp controller, the calculated hash value can be matched with the hash value sent by the street lamp controller, and the lamp post object ID with the same hash value is bound with the access equipment ID, so that automatic discovery of new access equipment can be realized, the new access equipment ID can be automatically bound with the lamp post object ID where the new access equipment ID is located, manual resource input is not needed, and the online deployment speed of the intelligent lamp post system is accelerated.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a first flowchart of an automatic binding method in an embodiment of the present application;
FIG. 2 is a second flowchart of an automatic binding method according to an embodiment of the present application;
FIG. 3 is a schematic diagram of an automatic binding system in an embodiment of the present application;
FIG. 4 is a schematic diagram of an access adapter in an embodiment of the present application;
fig. 5 is a flowchart illustrating the operation of the access adapter in the embodiment of the present application.
Reference numerals:
101. an IoT core network; 102. an NB-IoT base station; 103. the Internet;
201. a power supply loop; 202. a signal blocking filter; 203. an intra-pole power line; 204. accessing an adapter; 205. an intelligent gateway; 206. a video monitoring device; 207. an environmental monitoring device; 208. an information screen; 209. a street lamp controller; 210. a lamp post management subsystem; 211. an NB-IoT communication module; 212. a power line carrier communication module; 213. a protocol conversion module; 214. a data forwarding module; 215. a power supply adaptation module;
301. an RJ45 network access interface; 302. an RJ45 equipment access interface; 303. a DC output interface; 304. 220V alternating current input interface.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and 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. In addition, the technical features involved in the embodiments of the present invention described below may be combined with each other as long as they do not conflict with each other.
The embodiment of the application provides an automatic binding method and system for an intelligent lamp pole and an access device ID, and the method and system can solve the problems that the intelligent lamp pole is slow in deployment and high in labor intensity in the related technology.
As shown in fig. 1, the method for automatically binding an intelligent lamp pole and an access device ID in the embodiment of the present application includes the steps of:
s1, after receiving the self ID sent by the street lamp controller, the street lamp pole management subsystem generates a lamp pole object of the intelligent lamp pole facility for the street lamp controller which does not generate the lamp pole object according to the ID of the street lamp controller.
The lamp post object ID is the ID of the corresponding street lamp controller.
And S2, the access adapter forwards a communication data packet containing the ID of the access adapter to the lamp post management subsystem, calculates a hash value of a payload part of the communication data packet, and reports the hash value to the lamp post management subsystem through the corresponding street lamp controller.
And S3, the lamp post management subsystem calculates the hash value of the payload part of the received communication data packet and binds the lamp post object ID with the same hash value with the access equipment ID.
In the cache of the lamp pole management subsystem, the ID of the lamp pole object and the hash value forwarded by the street lamp controller on the lamp pole are bound and stored, and the ID of the access device and the hash value of the payload part of the communication data packet of the access device calculated by the lamp pole management subsystem are bound and stored.
According to the automatic binding method of the intelligent lamp pole and the access equipment ID, the street lamp controller can send the ID of the street lamp controller and the hash value calculated by the access adapter to the lamp pole management subsystem, the access adapter can also forward communication data sent by the access equipment to the lamp pole management subsystem, and when the lamp pole management subsystem calculates the hash value of the payload part of a received communication data packet and receives the hash value forwarded by the street lamp controller, the calculated hash value can be matched with the hash value sent by the street lamp controller, and the lamp pole object ID with the same hash value is bound with the access equipment ID.
On the basis of the foregoing embodiment, in this embodiment, after the lamp post management subsystem receives the communication data packet, the method further includes:
and the lamp post management subsystem analyzes and acquires the ID of the access equipment from the received communication data packet according to the equipment protocol, judges whether the ID of the access equipment is bound with the ID of the lamp post object, and calculates the hash value of the payload part of the communication data packet if the ID of the access equipment is not bound with the ID of the lamp post object.
Further, after the light pole management subsystem calculates the hash value of the payload portion of the received communication data packet, the method further includes:
firstly, the lamp post management subsystem judges whether a hash value which is the same as the calculated hash value and a lamp post object ID corresponding to the same hash value are stored in a cache. If so, binding the ID of the access equipment with the ID of the lamp post object, clearing the stored hash value and the corresponding ID of the lamp post object, and stopping the access adapter accessed by the ID of the access equipment from calculating the hash value of the communication data packet of the access equipment.
Otherwise, the lamp pole management subsystem binds the ID of the access equipment and the hash value obtained by calculation and caches the ID.
Specifically, after calculating the hash value of the payload portion of the received communication data packet, the lamp post management subsystem needs to first determine whether the hash value reported by a certain street lamp controller in the cache is the same as the hash value, and if so, can find the street lamp controller ID corresponding to the same hash value, and further determine the corresponding lamp post object ID, so as to bind the new access device ID with the found lamp post object ID.
In this embodiment, after the lamp pole management subsystem binds and caches the ID of the access device and the hash value obtained by calculation, the method further includes:
first, a first timeout time is set, and the cache time of the binding data is timed. And deleting the binding data when the caching time of the binding data exceeds a first timeout time. The binding data is the hash value which is obtained by calculating the ID of the access equipment and the lamp pole management subsystem and corresponds to the access equipment.
In this embodiment, the first timeout period is set to prevent the communication data between the street lamp controller and the lamp post management subsystem from being lost, so that the current cached ID of the access device and the calculated hash value may not have a chance to be matched again, and the current cached ID and the calculated hash value occupy the cache resource all the time.
On the basis of the foregoing embodiment, in this embodiment, after the lamp post management subsystem receives the hash value reported by the street lamp controller, the method further includes:
firstly, the lamp pole management subsystem judges whether a hash value identical to the received hash value and an access device ID corresponding to the same hash value are stored in a cache. If yes, binding the corresponding lamp post object ID with the access equipment ID, clearing the stored hash value and the corresponding access equipment ID, and stopping the access adapter accessed by the access equipment ID from calculating the hash value of the communication data packet of the access equipment.
Otherwise, the lamp post management subsystem binds and caches the ID of the lamp post object and the hash value reported by the street lamp controller.
Specifically, after the lamp post management subsystem receives the hash value reported by the street lamp controller, it needs to first determine whether the hash value of the payload portion of the communication data packet of a certain access device is the same as the hash value in the cache, and if so, the access device ID corresponding to the same hash value can be found, so as to bind the lamp post object ID corresponding to the street lamp controller with the found access device ID.
Further, after the lamp post management subsystem binds and caches the lamp post object ID and the hash value reported by the street lamp controller, the method further comprises the following steps:
first, setting a second timeout, and timing the cache time of the binding data. And when the caching time of the binding data exceeds a second overtime time, deleting the binding data. The binding data is the lamp post object ID and the hash value sent by the corresponding street lamp controller and received by the lamp post management subsystem.
In this embodiment, the second timeout period is set to prevent the loss of the communication data packet between the access device itself and the lamp post management subsystem, which may cause the hash value reported by the currently cached street lamp controller and the corresponding lamp post object ID to have no chance to be matched again, and thus the cache resource is always occupied.
Alternatively, the timeout time may be determined according to the average network communication delay time, which is generally a multiple of the average network communication delay time. In this embodiment, the first timeout time and the second timeout time are 3 times of the average network communication delay time.
As shown in fig. 2, the automatic binding method of this embodiment specifically includes:
A1. the lamp post management subsystem receives a street lamp controller ID sent by a street lamp controller and generates a lamp post object, wherein the lamp post object ID is the street lamp controller ID;
A2. the lamp post management subsystem receives a hash value calculated by an access adapter forwarded by the street lamp controller;
A3. the lamp pole management subsystem judges whether a hash value identical to the hash value forwarded by the street lamp controller and an access device ID corresponding to the same hash value exist in the cache, if yes, the street lamp pole management subsystem turns to A4, and if not, the street lamp pole management subsystem turns to A7.
A4. Binding the lamp post object ID with the same hash value with the access equipment ID;
A5. clearing the bound hash value and the corresponding ID in the cache;
A6. and informing the access adapter accessed by the bound access equipment to stop calculating the hash value of the communication data packet of the access equipment, and ending.
A7. And binding and caching the lamp post object ID corresponding to the street lamp controller with the hash value reported by the street lamp controller, deleting the cached data when the cached time exceeds the first overtime, and turning to A1.
A8. The lamp post management subsystem receives a communication data packet of the access equipment forwarded by the access adapter and acquires an ID of the access equipment;
A9. and judging whether the ID of the access equipment is bound with the ID of the lamp post object, if so, turning to A8, and otherwise, turning to A10.
A10. The lamp post management subsystem calculates a hash value of a payload part of the communication data packet;
A11. and the lamp post management subsystem judges whether a hash value which is the same as the calculated hash value and a lamp post object ID corresponding to the same hash value exist in the cache, if so, the system turns to A4, and otherwise, the system turns to A12.
A12. And binding the calculated hash value and the ID of the access equipment, caching, deleting the cached data when the caching time exceeds the first timeout time, and turning to A8.
As shown in fig. 3, the intelligent light pole and access device ID automatic binding system in the embodiment of the present application includes a street light controller, an access adapter, and a light pole management subsystem. Wherein, all be equipped with a street lamp controller and at least one access adapter on every lamp pole. In this embodiment, all be equipped with two access adapters on every lamp pole.
The street lamp controller is used for reporting the ID of the street lamp controller to the lamp pole management subsystem.
The access adapter is used for forwarding a communication data packet which is sent by the access equipment and contains the ID of the access adapter to the lamp post management subsystem; the access adapter is also used for reporting the hash value of the payload part of the communication data packet to the lamp post management subsystem through the corresponding street lamp controller after the hash value of the payload part of the communication data packet is calculated.
The lamp post management subsystem is used for generating a lamp post object for the street lamp controller which does not generate the lamp post object according to the ID of the street lamp controller and calculating a hash value of a payload part of the received communication data packet; the lamp post management subsystem is also used for binding the ID of the lamp post object with the same hash value with the ID of the access equipment.
On the basis of the above embodiment, in this embodiment, the system further includes a plurality of signal blocking filters, that is, each lamp post is correspondingly provided with one signal blocking filter. The input end of each signal blocking filter is connected with the upstream power supply circuit of the corresponding lamp pole, and the output end of each signal blocking filter is connected with the downstream power supply circuit of the corresponding lamp pole and used for filtering carrier signals on the power line. That is, the signal blocking filter 202 is installed at the junction of the in-pole power line 203 and the power supply loop 201 to prevent the power line carrier signal on the in-pole power line from being coupled into other smart poles through the in-pole power line 203.
Further, the street lamp controller 209 includes a control module, a power line carrier communication module 212, and an NB-IoT communication module 211.
The control module is used for sending the street lamp controller ID to the NB-IoT communication module.
The power line carrier communication module 212 is configured to provide a power line carrier communication channel between the access adapter and the control module, and specifically, is configured to receive a hash value calculated by the access adapter from a power line and send the hash value to the NB-IoT communication module.
The NB-IoT communication module 211 is configured to provide a low-cost narrowband internet of things communication channel between the control module and the lamp post management subsystem, and is specifically configured to forward the received street lamp controller ID and the hash value calculated by the access adapter to the lamp post management subsystem.
The light pole management subsystem 210 is in communication connection with the NB-IoT communication module 211 of the street lamp controller 209 through the IoT core network 101 and the NB-IoT base station 102, and the light pole management subsystem 210 is connected with the access adapter 204 through the Internet 103.
In other embodiments, the communication channel between the street lamp controller 209 and the lamp post management subsystem may be replaced by other communication modes, such as 4G, 5G, wired broadband access, Zigbee communication, Lora communication, and the like.
As shown in fig. 4, the access adapter 204 preferably includes a power adapter module 215, a data forwarding module 214, and a protocol conversion module 213.
The power adapter module 215 is used to convert 220V ac power on the power line in the light pole into dc power required by the access device, so as to provide power input for the access device.
The data forwarding module 214 is configured to transparently forward the communication data packet of the access device to the light pole management subsystem, so as to provide a network communication channel for the access device. Meanwhile, the data forwarding module 214 is further configured to calculate a hash value of a payload portion of the forwarded communication data packet, and send the hash value to the lamp post management subsystem 210 through the street lamp controller 209.
The protocol conversion module 213 is configured to convert the hash value calculated by the data forwarding module 214 into a power line carrier communication signal and couple the power line carrier communication signal to the power line of the light pole, and is further configured to receive the power line carrier communication signal sent by the street lamp controller and convert the power line carrier communication signal into a data format recognizable by the data forwarding module. In this embodiment, the protocol conversion module may receive a stop signal issued by the lamp post management subsystem through the street lamp controller to stop the data forwarding module from calculating the hash value in the subsequent process of forwarding the communication data packet.
In this embodiment, the external interfaces of the access adapter 204 include a 220V ac input interface 304, a dc output interface 303, an RJ45 network access interface 301, and an RJ45 device access interface 302.
The 220V ac input interface 304 is used for connecting a 220V ac power supply line in the light pole, i.e. the light pole internal power line 203.
The dc output interface 303 is used for providing dc power output for an access device that needs to be accessed to the smart light pole, and the dc power output specification can be adjusted according to the power supply needs of the access device, such as voltage, current, power, and the like.
The RJ45 device access interface 302 is used to connect to a network communication interface on an access device to provide a network communication channel for the access device.
The RJ45 network access interface 301 is used to connect network devices in the smart light pole, such as routers, switches, or ONT devices in the light pole, which can provide wide network access capability for the smart light pole. The RJ45 network access interface 301 may also forward network packets sent by the light pole management subsystem to the RJ45 device access interface 302.
In this embodiment, the data forwarding module 214 mainly implements a transparent forwarding function of a communication data packet between the RJ45 device access interface 302 and the RJ45 network access interface 301.
As shown in fig. 5, the work flow of the access adapter specifically includes:
the RJ45 equipment access interface sends a communication data packet sent by the access equipment to the data forwarding module;
B2. and the data forwarding module judges whether the hash value of the payload of the communication data packet needs to be calculated, if so, the process goes to B3, and if not, the process goes to B6.
B3. Calculating a hash value of a payload part of a communication data packet;
B4. transmitting the calculated hash value to a protocol conversion module;
B5. the protocol conversion module converts the received hash value into a power line carrier communication signal and couples the power line carrier communication signal to a power line in the lamp post through a 220V alternating current input interface;
B6. the communication data packets are forwarded to the RJ45 network access interface.
In this embodiment, the data forwarding module 214 does not process or change the data of the communication data packet, only reads the payload portion in the data packet, and then outputs the data packet to the RJ45 network access interface 301 after calculating the hash value for the payload portion, that is, the data forwarding module 214 is transparent and invisible to the access device connected to the RJ45 device access interface 302. Similarly, when the RJ45 network access interface 301 sends data to the connected light pole management subsystem, the data forwarding module 214 is also transparent to the light pole management subsystem.
In this embodiment, can assemble multiple access to equipment on the wisdom lamp pole, like intelligent gateway, information screen, broadcasting equipment, video monitoring equipment, environmental monitoring equipment, a key distress call equipment, fill electric pile equipment etc. to the scene of multi-rod unification has been realized.
Optionally, the information screen 208, the broadcasting device, the intelligent gateway 205, and the like are access devices that can directly communicate with the light pole management subsystem 210 through the data forwarding module; the video monitoring equipment 206, the environment monitoring equipment 207, other sensor equipment and the like are access equipment which are required to be accessed to the intelligent gateway 205 and then are communicated with the lamp post management subsystem 210 through the data forwarding module by the intelligent gateway 205; the one-key distress call device, the charging pile device and the like can be directly communicated with the lamp post management subsystem 210 through the data forwarding module, and can also be accessed into the intelligent gateway 205, and then the intelligent gateway 205 is communicated with the lamp post management subsystem 210 through the data forwarding module. Therefore, the present embodiment can be widely adapted to the access scenes of various access devices of the smart light pole.
The control system of the embodiment is suitable for the control methods, and under the condition that the power supply structure of the inner wall of the existing lamp pole is not influenced, a communication channel does not need to be established independently to obtain the ID of the new access equipment, and the ID can be obtained only through the power supply circuit inside the lamp pole.
The present invention is not limited to the above-described embodiments, and it will be apparent to those skilled in the art that various modifications and improvements can be made without departing from the principle of the present invention, and such modifications and improvements are also considered to be within the scope of the present invention. Those not described in detail in this specification are within the skill of the art.

Claims (10)

1. An automatic binding method of an intelligent lamp pole and an ID of an access device is characterized by comprising the following steps:
the method comprises the steps that after a lamp post management subsystem receives an ID sent by a street lamp controller, a lamp post object is generated for the street lamp controller which does not generate the lamp post object according to the ID of the street lamp controller;
the access adapter forwards a communication data packet which is sent by the access equipment and contains the ID of the access equipment to the lamp post management subsystem, calculates a hash value of a payload part of the communication data packet and reports the hash value to the lamp post management subsystem through a corresponding street lamp controller;
and after the lamp post management subsystem calculates the hash value of the payload part of the received communication data packet, binding and storing the lamp post object ID and the hash value forwarded by the street lamp controller on the lamp post, binding and storing the access equipment ID and the hash value of the payload part of the communication data packet of the access equipment calculated by the lamp post management subsystem, and binding the lamp post object ID and the access equipment ID with the same hash value.
2. The intelligent light pole and access device ID automatic binding method of claim 1, wherein after the light pole management subsystem receives the communication data packet, further comprising:
and acquiring an access device ID from the communication data packet, judging whether the access device ID is bound with the lamp post object ID, and if not, calculating a hash value of a payload part of the communication data packet.
3. The method as claimed in claim 1, wherein after the lamp post management subsystem calculates a hash value of a payload portion of the received communication data packet, the method further comprises:
judging whether the lamp post object IDs with the same hash value are stored;
if so, binding the ID of the access equipment with the ID of the lamp post object, clearing the stored hash value and the corresponding ID of the lamp post object, and stopping an access adapter accessed by the ID of the access equipment from calculating the hash value of a communication data packet of the access equipment;
otherwise, binding the ID of the access equipment with the hash value obtained by calculation and caching.
4. The method as claimed in claim 3, wherein after the binding and caching of the ID of the access device and the hash value obtained by calculation, the method further comprises:
setting a first timeout time, and deleting the binding data after the caching time of the binding data exceeds the first timeout time.
5. The method as claimed in claim 1, wherein after receiving the hash value reported by the street light controller, the intelligent light pole and access device ID automatic binding method further comprises:
judging whether the access equipment IDs with the same hash value are stored;
if yes, binding the lamp post object ID with the access equipment ID, clearing the stored hash value and the corresponding access equipment ID, and stopping an access adapter accessed by the access equipment ID to calculate the hash value of a communication data packet of the access equipment;
and otherwise, binding the ID of the lamp post object with the hash value reported by the street lamp controller and caching the ID.
6. The method as claimed in claim 5, wherein after binding and caching the lamp post object ID and the hash value reported by the street lamp controller, the method further comprises:
and setting a second timeout time, and deleting the binding data after the caching time of the binding data exceeds the second timeout time.
7. The utility model provides a system is bound with access device ID automatically to wisdom lamp pole, its characterized in that, it includes:
the street lamp controller is used for reporting the ID of the street lamp controller to the lamp post management subsystem;
the access adapter is used for forwarding a communication data packet which is sent by the access equipment and contains the ID of the access equipment to the lamp post management subsystem; the communication data packet is also used for reporting the hash value of the payload part of the communication data packet to the lamp post management subsystem through the corresponding street lamp controller;
the lamp post management subsystem is used for generating a lamp post object for the street lamp controller which does not generate the lamp post object according to the ID of the street lamp controller and calculating a hash value of a payload part of the received communication data packet; the system is also used for binding and storing the ID of the lamp post object and the hash value forwarded by the street lamp controller on the lamp post, binding and storing the ID of the access equipment and the hash value of the payload part of the communication data packet of the access equipment calculated by the lamp post management subsystem, and binding the ID of the lamp post object with the same hash value and the ID of the access equipment.
8. The intelligent light pole and access device ID automatic binding system of claim 7, wherein: the system also comprises a plurality of signal blocking filters, wherein the input end of each signal blocking filter is connected with the upstream power supply circuit of the corresponding lamp post, and the output end of each signal blocking filter is connected with the downstream power supply circuit of the corresponding lamp post and used for filtering carrier signals on the power line.
9. The intelligent light pole and access device ID automatic binding system of claim 7, wherein the street light controller comprises:
a control module for transmitting a street lamp controller ID;
the power line carrier communication module is used for receiving the hash value calculated by the access adapter;
and the NB-IoT communication module is used for forwarding the received street lamp controller ID and the hash value calculated by the access adapter to the lamp post management subsystem.
10. The intelligent light pole and access device ID automatic binding system of claim 7, wherein the access adapter comprises:
the power supply adaptation module is used for converting 220V alternating current on a power line in the lamp post into a direct current power supply required by the access equipment;
the data forwarding module is used for transparently forwarding the communication data packet of the access equipment to the lamp post management subsystem and calculating a hash value of a payload part of the forwarded communication data packet;
and the protocol conversion module is used for converting the hash value calculated by the data forwarding module into a power line carrier communication signal and coupling the power line carrier communication signal to a power line of the lamp post, and is also used for receiving the power line carrier communication signal sent by the street lamp controller and converting the power line carrier communication signal into a data format which can be identified by the data forwarding module.
CN202110054621.8A 2021-01-15 2021-01-15 Automatic binding method and system for intelligent lamp pole and access equipment ID Active CN112910651B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110054621.8A CN112910651B (en) 2021-01-15 2021-01-15 Automatic binding method and system for intelligent lamp pole and access equipment ID

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110054621.8A CN112910651B (en) 2021-01-15 2021-01-15 Automatic binding method and system for intelligent lamp pole and access equipment ID

Publications (2)

Publication Number Publication Date
CN112910651A CN112910651A (en) 2021-06-04
CN112910651B true CN112910651B (en) 2022-07-01

Family

ID=76113348

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110054621.8A Active CN112910651B (en) 2021-01-15 2021-01-15 Automatic binding method and system for intelligent lamp pole and access equipment ID

Country Status (1)

Country Link
CN (1) CN112910651B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107920335A (en) * 2017-10-30 2018-04-17 湘潭大学 A kind of networking of wisdom street lamp and communication means
EP3410334A1 (en) * 2017-06-02 2018-12-05 Nxp B.V. Method for authenticating an intergrated circuit device
CN110501988A (en) * 2019-09-25 2019-11-26 北京金茂绿建科技有限公司 A kind of realization internet of things equipment fused controlling method and device thereof
CN110730079A (en) * 2019-10-16 2020-01-24 北京仁信证科技有限公司 Embedded system safe starting and credibility measuring system based on credible computing module
CN111163181A (en) * 2020-04-01 2020-05-15 金陵科技学院 Lightweight intelligent agricultural heterogeneous Internet of things management system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3410334A1 (en) * 2017-06-02 2018-12-05 Nxp B.V. Method for authenticating an intergrated circuit device
CN107920335A (en) * 2017-10-30 2018-04-17 湘潭大学 A kind of networking of wisdom street lamp and communication means
CN110501988A (en) * 2019-09-25 2019-11-26 北京金茂绿建科技有限公司 A kind of realization internet of things equipment fused controlling method and device thereof
CN110730079A (en) * 2019-10-16 2020-01-24 北京仁信证科技有限公司 Embedded system safe starting and credibility measuring system based on credible computing module
CN111163181A (en) * 2020-04-01 2020-05-15 金陵科技学院 Lightweight intelligent agricultural heterogeneous Internet of things management system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于ZigBee网络的港口照明灯无线监控系统研究;许晓毅;《科技视界》;20160415;全文 *

Also Published As

Publication number Publication date
CN112910651A (en) 2021-06-04

Similar Documents

Publication Publication Date Title
CN101853563B (en) Terminal and method for acquiring power utilization information
AU2012253078B2 (en) Data acquisition concentrator and data acquisition method
CN112671638B (en) Gateway structure for multi-protocol conversion
CN111586120B (en) Internet of things gateway equipment, data transmission method, storage medium and installation method
CN211043537U (en) Substation equipment state monitoring system based on ubiquitous power internet of things
CN103415001A (en) Device, system and method for message forwarding
CN113692019B (en) Wireless networking method and terminal of electric power Internet of things
CN109347861B (en) Communication method of real-time dynamic monitoring system
CN204833683U (en) Long -range collection system of electric energy meter data
CN112133074A (en) Data acquisition method, equipment, server and system of multiple metering sensors
CN209344479U (en) A kind of socket and jack system
CN103298152B (en) Based on bus type many illumination collector of wireless telecommunications
CN112910651B (en) Automatic binding method and system for intelligent lamp pole and access equipment ID
CN206865482U (en) A kind of 86 type things-internet gateways and internet of things networking system based on WiFi
CN109120063B (en) Plug-and-play sensor monitoring method, system and acquisition unit thereof
Yan Design of smart home gateway based on ZigBee technology
CN214205565U (en) Intelligent gateway equipment fusing LoRa and NB-IOT wireless communication technology
CN109922159B (en) Cloud bidirectional virtual connection method between Internet of things devices
CN209785240U (en) Power consumption information acquisition system
CN108667723A (en) A kind of 86 type things-internet gateways and internet of things networking system based on WiFi
CN106922040B (en) Novel wireless public network repeater and data transmission method thereof
CN111049815B (en) Micro-grid communication system, communication device and control method thereof
CN213877028U (en) Data acquisition system of multiple metering sensors
CN219041799U (en) Protocol conversion gateway
CN212992322U (en) Intelligent building control device integrating elevator detection function

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