CN109360441A - A kind of parking data configuration method and equipment based on ad hoc network - Google Patents

A kind of parking data configuration method and equipment based on ad hoc network Download PDF

Info

Publication number
CN109360441A
CN109360441A CN201811229337.4A CN201811229337A CN109360441A CN 109360441 A CN109360441 A CN 109360441A CN 201811229337 A CN201811229337 A CN 201811229337A CN 109360441 A CN109360441 A CN 109360441A
Authority
CN
China
Prior art keywords
devices
outlet device
equipment
list
outlet
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811229337.4A
Other languages
Chinese (zh)
Inventor
何光磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chengdu Vision-Zenith Technology Development Co Ltd
Original Assignee
Chengdu Vision-Zenith Technology Development 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 Chengdu Vision-Zenith Technology Development Co Ltd filed Critical Chengdu Vision-Zenith Technology Development Co Ltd
Priority to CN201811229337.4A priority Critical patent/CN109360441A/en
Publication of CN109360441A publication Critical patent/CN109360441A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/14Traffic control systems for road vehicles indicating individual free spaces in parking areas
    • G08G1/145Traffic control systems for road vehicles indicating individual free spaces in parking areas where the indication depends on the parking areas
    • G08G1/148Management of a network of parking areas
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/14Traffic control systems for road vehicles indicating individual free spaces in parking areas
    • G08G1/149Traffic control systems for road vehicles indicating individual free spaces in parking areas coupled to means for restricting the access to the parking space, e.g. authorization, access barriers, indicative lights

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention discloses a kind of parking data configuration method and equipment based on ad hoc network, this method comprises: the outlet device of the access device of each entrance in parking lot and each outlet is communicatively coupled by the same networking, and the access device of the same entrance is formed into group, the outlet device of the same outlet is formed into group;Step S2: all access devices and outlet device establish list of devices, and list of devices includes IP address, sequence number, networking title, group title, device name and equipment network state;Step S3: all access devices and outlet device uninterruptedly broadcast the list of devices of itself in networking;Step S4: after any entry equipment or outlet device receive the list of devices of other access devices and outlet device, being updated according to list of devices of the list of devices of other access devices and outlet device to itself, completes synchronous configuration.The present invention can complete network configuration in the case where decentralization.

Description

A kind of parking data configuration method and equipment based on ad hoc network
Technical field
The present invention relates to technical field of information processing, especially a kind of parking data configuration method based on ad hoc network and Equipment.
Background technique
Managing system of car parking is to guide wagon flow in the discrepancy of parking lot vehicle, field, collect the net that parking fee is managed Network system is the tool of professional parking lot management company indispensability.It is realized by position in acquisition and recording vehicle discrepancy record, field Vehicle enters and leaves and the dynamic of vehicle in field and static integrated management.System can automatically record vehicles while passing information, pass through management Software is completed charging policy and is realized, financial management of charging, the functions such as lane equipment control.
Managing system of car parking is usually made of outlet device, access device and central server, and outlet device, entrance are set Standby equal central server, forms the hub-and-spoke configuration network centered on central server.But the system has the disadvantage in that
Core business processing data storage etc. can only all be handled by center, and center is impaired, then entire parking system Paralysis.And because being to configure all entrances, outlet device according to central server, and carry out business according to central server Processing;If central server is paralysed, the inlet port equipment configured can not all be configured and be used, subsequent to carry out at business Reason.
Summary of the invention
Goal of the invention of the invention is: in view of the above problems, providing a kind of parking number of fields based on ad hoc network According to configuration method and equipment, network configuration can be completed in the case where decentralization.
In order to solve the above technical problems, one technical scheme adopted by the invention is that: it provides and a kind of is stopped based on ad hoc network Parking lot data configuration method, the parking data configuration method is the following steps are included: step S1: by each entrance in parking lot Access device and the outlet device of each outlet are communicatively coupled by the same networking, and the entrance of the same entrance is set Standby composition group, forms group for the outlet device of the same outlet;Step S2: all access devices and outlet device foundation are set Standby list, the list of devices includes that IP address, sequence number, networking title, group title, device name and equipment group are netted State;Step S3: all access devices and outlet device uninterruptedly broadcast the list of devices of itself in networking;Step S4: any After access device or outlet device receive the list of devices of other access devices and outlet device, according to other access devices and The list of devices of outlet device is updated the list of devices of itself, completes synchronous configuration.
Preferably, the parking data configuration method further include: after current entry equipment or outlet device go offline, His access device and outlet device are not received by the current entry equipment or outlet device broadcast after predetermined hold-time When list of devices, current entry equipment or the corresponding group title of outlet device are automatically changed to undefined, equipment network state It is changed to down state.
Preferably, in the step S1: all access devices and outlet device are linked into together in a wired or wireless manner Local area network is formed on one interchanger, and networking is carried out after multicast is searched for successfully.
Preferably, the list of devices uses tree height of three;First layer is networking title, and the second layer is group name Claim, third layer is device name, IP address, sequence number.
Preferably, when networking is added in a new access device or outlet device, original access device and outlet device According to the equipment network state of the new access device or outlet device to determine whether being interconnected, wherein equipment group is netted State is related with group title, and when group title is entrance or outlet, then equipment network state is effective;When group title is When undefined, then equipment network state is unavailable.
It preferably, further include renewal time in the list of devices, renewal time is when being updated to list of devices Time;Renewal time initial value is 0, and expression does not update.
Preferably, parking data configuration method further includes time synchronization implementation process: all access devices and outlet are set Standby is all on the basis of the time of the smallest access device of sequence number and outlet device.
In order to solve the above technical problems, another technical solution used in the present invention is: providing a kind of based on ad hoc network Parking data configures equipment, and the parking data configuration equipment includes pocessor and storage media, and the storage medium is deposited A plurality of instruction is contained, described instruction is suitable for being loaded by the processor and being executed to realize aforementioned any parking data The step of configuration method.
In conclusion by adopting the above-described technical solution, the beneficial effects of the present invention are:
1. the access device and outlet device in parking lot can be searched automatically, and between each other can be automatic Connection;
2. between the equipment of connection, can shared data, outlet device can inquire vehicle on other access devices Enter record, and a best result can be generated and be sent to application layer;
3. networking can adapt to automatically and do dynamic tune when having access device or outlet device is added or goes offline It is whole, the stability of to maintain equipment networking;
4. organizing current entry equipment and outlet device off the net can monitor if there is access device or outlet device go offline The equipment to go offline, which has been for some time, does not have overseas broadcast data, just will be considered that this access device or outlet device go offline, Then this equipment is marked in list of devices.
Detailed description of the invention
Fig. 1 is the flow diagram of the parking data configuration method based on ad hoc network of the embodiment of the present invention.
Fig. 2 is the application scenarios schematic diagram of the parking data configuration method based on ad hoc network of the embodiment of the present invention.
Specific embodiment
All features disclosed in this specification or disclosed all methods or in the process the step of, in addition to mutually exclusive Feature and/or step other than, can combine in any way.
Any feature disclosed in this specification (including any accessory claim, abstract), unless specifically stated, It is replaced by other equivalent or with similar purpose alternative features.That is, unless specifically stated, each feature is a series of An example in equivalent or similar characteristics.
As shown in Figure 1, in embodiments of the present invention, the parking data configuration method based on ad hoc network includes following step It is rapid:
Step S1: by the access device of each entrance in parking lot and the outlet device of each outlet by the same networking into Row communication connection, and the access device of the same entrance is formed into group, the outlet device of the same outlet is formed into group.
In the present embodiment, in step S1: all access devices are linked into a wired or wireless manner with outlet device Local area network is formed on the same interchanger, and networking is carried out after multicast is searched for successfully.After networking, it can be incited somebody to action according to IP address The access device of the same entrance forms group, and the outlet device of the same outlet is formed group.
Step S2: all access devices and outlet device establish list of devices, list of devices include IP address, sequence number, Networking title, group title, device name and equipment network state.
Wherein, IP address is the IP address of equipment itself.
Sequence number never changes, this value can be used to mark and distinguish the uniqueness of equipment.
Device name is to may be for describing specifically some access device or outlet device, the initial value of device name One random value, but may also be obtained by interface from other access devices or outlet device or user can make by oneself Justice is configured, this device name will be stored in configuration file after setting, meeting when networking application program starts Directly read in configuration file.
Networking title is for describing entire networking.
Group title be for describing some specific entrance, group title only there are three types of: entrance, outlet and uncertain Justice.This information will be saved in configuration file, when access device or outlet device start each time, will all be read Take this information.In the case where initial, group is entitled undefined, and user should configure this letter when using first time Breath.
In above information, IP address and sequence number are can be obtained by interface from other access devices or outlet device It arrives, future will not be saved in configuration file.
In the present embodiment, list of devices uses tree height of three;First layer is networking title, and the second layer is group name Claim, third layer is device name, IP address, sequence number.
Step S3: all access devices and outlet device uninterruptedly broadcast the list of devices of itself in networking.
Wherein, after networking is added in an access device or outlet device, the equipment that itself will be broadcasted in networking List, other access devices and outlet device receive the presence that list of devices is just able to know that this equipment, then It judges whether to connect according to corresponding information.The multicast message of networking application program is independently of current entry equipment or outlet Equipment discovery feature inside equipment is also independent from the equipment discovery port of Onvif agreement, and this is done to keep networking to set The succinct degree of standby discovery procedure, at the same can also better to maintain equipment network stability
Step S4: any entry equipment or outlet device receive the list of devices of other access devices and outlet device Afterwards, it is updated according to list of devices of the list of devices of other access devices and outlet device to itself, completes synchronous configuration.
Wherein, networking relationship shows the incidence relation of each group title under networking title and networking title, group Gateway system is by user configuration.Each access device or outlet device have a device name, this device name is For the presence of marking arrangement.Equipment network function can close, although an access device or outlet device have equipment Networking function, but be to close under default situations, it is not that access device or outlet device search a new entrance and set Standby or outlet device equipment just has to connect at once.Therefore current entry equipment or outlet when equipment network multicast The equipment network state notifying of equipment gives the equipment searched to be very important.
Due to mutually shared device list, user can only be needed by one between every access device and outlet device Access device or outlet device setting are broadcasted in networking, so that other access devices and outlet device in networking arrange equipment Table is updated, and synchronous configuration is completed, so as to complete network configuration in the case where decentralization.
In the present embodiment, parking data configuration method further include: after current entry equipment or outlet device go offline, Other access devices and outlet device are not received by the current entry equipment or outlet device broadcast after predetermined hold-time Sequence number and when IP address, current entry equipment or the corresponding group title of outlet device are automatically changed to undefined, equipment Group net state is changed to down state.Wherein, equipment network state is used to indicate that the access device or outlet device whether can Networking is added, by this information, networking application program may determine that whether current device needs connection and synchronizing information.Group Title and equipment network state have certain correlation, if the group of current device is entitled undefined, equipment network The value of state will be ignored, and any equipment searches the entitled undefined equipment of group and will not all add it in networking , only when the entitled entrance of group or outlet, equipment network state can just be considered.
Further, when networking is added in a new access device or outlet device, original access device and outlet are set It is standby according to the equipment network state of the new access device or outlet device to determine whether being interconnected, wherein equipment network State is related with group title, and when group title is entrance or outlet, then equipment network state is effective;When group title When being undefined, then equipment network state is unavailable.Such as: new access device or outlet device IP address is 192.146.1.49, device name is * *, the entitled * * entrance of group, equipment network state are effectively, then other entrances are set Standby and outlet device searches this equipment and then first checks for the information for whether having had this equipment in list of devices, if Have, then carry out time comparison, then more new information.If it is not, this information is added to equipment
It further include renewal time in list of devices in the present embodiment in order to facilitate updating maintenance, renewal time is to setting Time when standby list is updated;Renewal time initial value is 0, and expression does not update.
In order to carry out time synchronization, in the present embodiment, parking data configuration method further includes time synchronization implementation mistake Journey: all access devices and outlet device are all on the basis of the time of the smallest access device of sequence number and outlet device.
Referring to fig. 2, be the present embodiment parking data configuration method a kind of application scenarios, which lives for certain Residence cell, it is assumed that the cell of the residential quarters is entitled " Dongguang cell ", and there are three entrances for the residential quarters, in which:
1) northeast door is entrance, there is the two kinds of functions in outlet and entrance, and in northeast, the outlet of door and entrance are mounted with respectively One outlet device and access device.
2) west gate is entrance, this entrance is a very big entrance, therefore two entrances are arranged in this entrance and set It is standby.
3) south gate is outlet, similar with west gate entrance, is a very big outlet, therefore be also provided with two in this outlet Platform outlet device.
In the application scenarios, the access device of each entrance and the outlet device of each outlet are passed through first same Networking is communicatively coupled, and the access device of the same entrance is formed group, and the outlet device of the same outlet is formed Group.
All access devices and outlet device establish list of devices, and list of devices includes IP address, sequence number, group user name Title, group title, device name and equipment network state.
After all access devices and outlet device are established and are broadcasted the list of devices of itself and receive other list of devices, After being updated to the list of devices of itself, obtained new list of devices is as shown in the table:
The present invention also provides a kind of, and the parking data based on ad hoc network configures equipment, and parking data configuration equipment includes Pocessor and storage media, storage medium is stored with a plurality of instruction, before instruction is suitable for being loaded by processor and being executed to realize The step of stating the parking data configuration method of embodiment.
Parking data configuration equipment the step of there is the parking data configuration method with previous embodiment identical skill Art feature, therefore repeat no more here.
By the above-mentioned means, the parking data configuration method and equipment of the invention based on ad hoc network is by knowing license plate Other equipment (can be outlet device or access device) and car license recognition equipment (can be outlet device or access device) It is connected by the same group-net communication, and networking relationship is configured, user only needs through an access device or outlet Equipment setting is broadcasted in networking, so that other access devices and outlet device in networking are updated list of devices, it is complete It is configured at synchronous, so as to complete network configuration in the case where decentralization.
The invention is not limited to specific embodiments above-mentioned.The present invention, which expands to, any in the present specification to be disclosed New feature or any new combination, and disclose any new method or process the step of or any new combination.

Claims (8)

1. a kind of parking data configuration method based on ad hoc network, which is characterized in that the parking data configuration method packet Include following steps:
Step S1: the outlet device of the access device of each entrance in parking lot and each outlet is led to by the same networking Letter connection, and the access device of the same entrance is formed into group, the outlet device of the same outlet is formed into group;
Step S2: all access devices and outlet device establish list of devices, the list of devices include IP address, sequence number, Networking title, group title, device name and equipment network state;
Step S3: all access devices and outlet device uninterruptedly broadcast the list of devices of itself in networking;
Step S4: after any entry equipment or outlet device receive the list of devices of other access devices and outlet device, root It is updated according to list of devices of the list of devices of other access devices and outlet device to itself, completes synchronous configuration.
2. parking data configuration method according to claim 1, which is characterized in that the parking data configuration method Further include:
After current entry equipment or outlet device go offline, other access devices and outlet device do not have after predetermined hold-time Receive the current entry equipment or outlet device broadcast list of devices when, current entry equipment or outlet device is corresponding Group title is automatically changed to undefined, and equipment network state is changed to down state.
3. parking data configuration method according to claim 1, which is characterized in that in the step S1:
All access devices and outlet device, which are linked into a wired or wireless manner on the same interchanger, forms local area network, and Networking is carried out after multicast is searched for successfully.
4. parking data configuration method according to claim 1, which is characterized in that the list of devices is using three layers of tree Shape structure;First layer is networking title, and the second layer is group title, and third layer is device name, IP address, sequence number.
5. parking data configuration method according to any one of claims 1 to 4, which is characterized in that new enter when one When networking is added in jaws equipment or outlet device, original access device and outlet device are according to the new access device or outlet device Equipment network state to determine whether being interconnected, wherein equipment network state is related with group title, when group title is When entrance or outlet, then equipment network state is effective;When group title is undefined, then equipment network state be can not With.
6. parking data configuration method according to claim 5, which is characterized in that further include more in the list of devices New time, renewal time are time when being updated to list of devices;Renewal time initial value is 0, and expression does not update.
7. parking data configuration method according to claim 6, which is characterized in that parking data configuration method is also wrapped Include time synchronization implementation process: all access devices and outlet device are all with the smallest access device of sequence number and outlet device Time on the basis of.
8. a kind of parking data based on ad hoc network configures equipment, which is characterized in that the parking data configures equipment packet Pocessor and storage media is included, the storage medium is stored with a plurality of instruction, and described instruction is suitable for being loaded by the processor And the step of executing to realize parking data configuration method as described in any one of claim 1 to 7.
CN201811229337.4A 2018-10-22 2018-10-22 A kind of parking data configuration method and equipment based on ad hoc network Pending CN109360441A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811229337.4A CN109360441A (en) 2018-10-22 2018-10-22 A kind of parking data configuration method and equipment based on ad hoc network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811229337.4A CN109360441A (en) 2018-10-22 2018-10-22 A kind of parking data configuration method and equipment based on ad hoc network

Publications (1)

Publication Number Publication Date
CN109360441A true CN109360441A (en) 2019-02-19

Family

ID=65346125

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811229337.4A Pending CN109360441A (en) 2018-10-22 2018-10-22 A kind of parking data configuration method and equipment based on ad hoc network

Country Status (1)

Country Link
CN (1) CN109360441A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114125990A (en) * 2021-12-09 2022-03-01 思必驰科技股份有限公司 Networking method and system for equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102129356A (en) * 2010-01-15 2011-07-20 佳能株式会社 Printing apparatus, printing system, and control method
KR20120003056A (en) * 2010-07-02 2012-01-10 윤형관 System and method for ignitiong car number based on ip-usn
CN102571888A (en) * 2010-12-22 2012-07-11 江苏联优信息科技有限公司 Method for discovering wireless sensor access multiplexing equipment in centralized control type wireless sensor network
CN103903322A (en) * 2014-04-04 2014-07-02 深圳市道尔智控科技股份有限公司 Management system and method for auto-networking and pre-configuring one-card system
CN107067478A (en) * 2017-03-29 2017-08-18 广州群安电子科技有限公司 A kind of parking charging method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102129356A (en) * 2010-01-15 2011-07-20 佳能株式会社 Printing apparatus, printing system, and control method
KR20120003056A (en) * 2010-07-02 2012-01-10 윤형관 System and method for ignitiong car number based on ip-usn
CN102571888A (en) * 2010-12-22 2012-07-11 江苏联优信息科技有限公司 Method for discovering wireless sensor access multiplexing equipment in centralized control type wireless sensor network
CN103903322A (en) * 2014-04-04 2014-07-02 深圳市道尔智控科技股份有限公司 Management system and method for auto-networking and pre-configuring one-card system
CN107067478A (en) * 2017-03-29 2017-08-18 广州群安电子科技有限公司 A kind of parking charging method and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114125990A (en) * 2021-12-09 2022-03-01 思必驰科技股份有限公司 Networking method and system for equipment
CN114125990B (en) * 2021-12-09 2023-12-22 思必驰科技股份有限公司 Networking method and system for equipment

Similar Documents

Publication Publication Date Title
CN107251614A (en) Access point is turned to
CN103826322B (en) mobile terminal packet connection
US20210337463A1 (en) Systems and methods for prioritizing service set identifiers on a wireless access point
CN108521656A (en) A kind of Lora communication means and system
CN105635066B (en) A kind of management method and device of client application
CN107800565A (en) Method for inspecting, device, system, computer equipment and storage medium
CN108710681A (en) File acquisition method, device, equipment and storage medium
DE112005001833B4 (en) System and method for establishing the secure use of networks
CN107862757A (en) A kind of movable attendance checking method and system based on Wi Fi fingerprints
DE102020204187A1 (en) PERFORMANCE-EFFICIENT OPERATION AT MAJOR LOCATIONS
CN105636016A (en) Method, apparatus, and system for network connection
CN109756382A (en) fault locating method and device
CN105591967B (en) A kind of data transmission method and device
CN109360441A (en) A kind of parking data configuration method and equipment based on ad hoc network
CN107454046A (en) The authentication method and device of striding equipment
CN110401716A (en) Communication means and system between fringe node
EP2472785B1 (en) Service linkage control system and method
CN109511153A (en) A kind of base station connection control method, device, medium, computer equipment and system
CN106612300A (en) Message push method and push server
CN112333711A (en) Wireless network providing method, device and storage medium
CN109587121B (en) Security policy control method and device
CN109831825A (en) Sub-gateway and network access method thereof, gateway cluster and communication method thereof
CN106453123A (en) Cross-region business processing method and apparatus
CN106330899A (en) Private cloud device account management method and system, electronic device and server
CN107005424A (en) The distributed of the network development process of network element in being disposed for cloud is followed the trail of

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190219