The utility model content
The utility model provides a kind of parking space management system, has solved existing calibration value treatment scheme complexity, inefficient problem.
A kind of parking space management system, comprise gateway device and at least one place the parking stall and with parking stall geomagnetic sensor one to one, described geomagnetic sensor has unique node number.
Preferably, described gateway device comprises RF transceiver and processor:
Described RF transceiver is collected current parking stall status data by described geomagnetic sensor, and described parking stall status data comprises node number and the ground magnetic value of the geomagnetic sensor that described parking stall is corresponding;
Described RF transceiver is sent to processor with the parking stall status data of collecting, described processor judges that whether the absolute difference of calibration value on described parking stall status data and this parking stall is less than the parking threshold values that presets, and in described absolute difference during greater than described parking position value, judging that described parking stall is current has car to berth.
Preferably, described gateway device also comprises register;
Described RF transceiver is collected at least twice described parking stall without the parking stall status data under the car parked state and transfer to described processor by described geomagnetic sensor, described processor in the initial alignment value that generates described parking stall without the parking stall status data under the car parked state, is stored to described register with described initial alignment value according to this at least twice described parking stall.
Preferably, described RF transceiver is collected at least twice described parking stall without the parking stall status data under the car parked state and transfer to described processor by described geomagnetic sensor, described processor is judging whether without the parking stall status data under the car parked state that according to this at least twice described parking stall needs upgrade calibration value, and when needs upgrade calibration value the alternative former calibration value of new calibration value is stored to described register.
Preferably, described gateway device also comprises buffer area;
Described RF transceiver is collected at least twice described parking stall without the parking stall status data under the car parked state and transfer to described processor by described geomagnetic sensor, and described processor is being stored to described buffer area with described at least twice described parking stall without the parking stall status data under the car parked state.
Preferably, described RF transceiver is specially the CC1101 chip.
The utility model provides a kind of parking space management system, comprise gateway device and at least one place the parking stall and with parking stall geomagnetic sensor one to one, described geomagnetic sensor has unique node number, gateway is collected current parking stall status data by described geomagnetic sensor, described parking stall status data comprises node number and the ground magnetic value of the geomagnetic sensor that described parking stall is corresponding, described node number unique identification one parking stall and corresponding geomagnetic sensor thereof, judge that whether the absolute difference of calibration value on described parking stall status data and this parking stall is less than the parking threshold values that presets, in described absolute difference during greater than described parking position value, judging that described parking stall is current has car to berth, finish the collection of parking stall status data and the judgement of dead ship condition by gateway, judge dead ship condition by the ground magnetic value, saved the procedure links of judging the parking stall parking state, improve judgement efficient and accuracy, solved existing calibration value treatment scheme complicated, inefficient problem.
Embodiment
Existing gateway is directly all node datas directly to be sent to background server, increased on the one hand unnecessary data transmission, in addition on the one hand because number of nodes is very large, all nodes are carried out data analysis, the work calculated amount that calibration value is followed the trail of renewal is very large, and is very high to the requirement of background server.Embodiment of the present utility model provides a kind of parking space management system, algorithm with data analysis and calibration value tracking, be put on the gateway device, the data volume that can effectively reduce to transmit (only sending the information of stopping), effectively alleviate the calculating pressure (because the node of each gateway management can be not too many, generally being no more than 100) of server.
Hereinafter in connection with accompanying drawing embodiment of the present utility model is elaborated.Need to prove, in the situation that do not conflict, the embodiment among the application and the feature among the embodiment be combination in any mutually.
At first by reference to the accompanying drawings, embodiment one of the present utility model is described.
The utility model embodiment provides a kind of parking space management system, the structure of this system as shown in Figure 1, comprise gateway device 101 and at least one place the parking stall and with parking stall geomagnetic sensor 102 one to one, described geomagnetic sensor 102 has unique node number.
Preferably, described gateway device 101 comprises:
RF transceiver 1011 is collected current parking stall status data by described geomagnetic sensor 102, and described parking stall status data comprises node number and the ground magnetic value of geomagnetic sensor corresponding to described parking stall 102;
Described RF transceiver 1011 is sent to processor 1012 with the parking stall status data of collecting, described processor 1012 judges that whether the absolute difference of calibration value on described parking stall status data and this parking stall is less than the parking threshold values that presets, and in described absolute difference during greater than described parking position value, judging that described parking stall is current has car to berth.
Preferably, described gateway device 101 also comprises register 1013;
Described RF transceiver 1011 is collected at least twice described parking stall without the parking stall status data under the car parked state and transfer to described processor 1012 by described geomagnetic sensor 102, described processor 1012 in the initial alignment value that generates described parking stall without the parking stall status data under the car parked state, is stored to described register 1013 with described initial alignment value according to this at least twice described parking stall.
Preferably, described RF transceiver 1011 is collected at least twice described parking stall without the parking stall status data under the car parked state and transfer to described processor 1012 by described geomagnetic sensor 102, described processor 1012 is judging whether without the parking stall status data under the car parked state that according to this at least twice described parking stall needs upgrade calibration value, and when needs upgrade calibration value the alternative former calibration value of new calibration value is stored to described register 1013.
Preferably, described gateway device 101 also comprises buffer area 1014;
Described RF transceiver 1011 is collected at least twice described parking stall without the parking stall status data under the car parked state and transfer to described processor 1012 by described geomagnetic sensor 102, and described processor 1012 is being stored to described buffer area 1014 with described at least twice described parking stall without the parking stall status data under the car parked state.
Preferably, described RF transceiver 1011 is specially the CC1101 chip.
Preferably, described register 1013 and described buffer area 1013 are the part of the memory field of described gateway device 101.
Below in conjunction with accompanying drawing, embodiment two of the present utility model is described.
The utility model embodiment provides a kind of parking stall management method, in conjunction with parking space management system shown in Figure 1, uses the flow process of the method affirmation parking stall state as shown in Figure 2, comprising:
Step 201, gateway are collected current parking stall status data by described geomagnetic sensor;
In this step, gateway receives the parking stall status data that geomagnetic sensor is collected.Described parking stall status data comprises node number and ground magnetic value, described node number unique identification one parking stall and the corresponding geomagnetic sensor thereof of the geomagnetic sensor that described parking stall is corresponding.
Generally speaking, the every 10s of geomagnetic sensor once gathers, and the node number of the ground magnetic value that will collect and this geomagnetic sensor composition parking stall status data is sent to gateway
Step 202, judge that whether the absolute difference of calibration value on described parking stall status data and this parking stall is less than the parking threshold values that presets;
In this step, at first from the standard value formation of presetting, find out the calibration value on this parking stall according to the node number in the state token of parking stall, the size of the parking threshold values of the ground magnetic value in the dead ship condition data and this calibration value being done poor, poor absolute value and presetting.Described parking threshold values is a difference that presets (difference of sensing data and its calibration value) reference value.Reduce the threshold values that stops, can increase system rate of false alarm (such as, close on the impact of stopping on this parking stall the parking stall and become large); Increase the parking threshold value, can make the sensitivity (impact of magnetic value is less over the ground such as, some car, and threshold value is larger if stop this moment, then can not produce parking information) of system.Can according to actual needs, such as parking stall size, geomagnetism detecting device susceptibility etc., set suitable parking threshold values.
When being, enter step 204 in judged result, when the determination result is NO, enter step 203.
Step 203, in described absolute difference during greater than described parking position value, judging that described parking stall is current has car to berth.
Step 204, when described absolute difference is less than or equal to described parking position value, judge that described parking stall is current to berth without car.
Among the utility model embodiment, need to safeguard a standard value, as the reference that judges whether parking, at first, and initialization one primary standard value in the time of need to starting in system, this flow process comprises as shown in Figure 3:
Step 301, collect at least twice described parking stall without the parking stall status data under the car parked state by geomagnetic sensor;
Preferably, in this step gateway can be by the geomagnetic sensor collection repeatedly without the parking stall status data under the car parked state as sample, the parking stall status data of collecting can be temporary in the buffer area, with as the foundation of calculating the primary standard value.The parking stall status data of each geomagnetic sensor is preserved separately, and is preferred, can preserve 20 up-to-date parking stall status datas.
Step 302, ask described at least twice described parking stall in without the parking stall status data under the car parked state the mean value of magnetic value, with the initial alignment value of described mean value as described parking stall;
The node number of step 303, the described initial alignment value of storage and correspondence thereof is to the calibration value formation.
When detecting dead ship condition, can collect without the dead ship condition data under the car parked state, according to these dead ship condition data standard value is upgraded, idiographic flow comprises as shown in Figure 4:
Step 401, gather at least twice described parking stall without the parking stall status data under the car parked state, ask in the status data of described parking stall the mean value of magnetic value;
Preferably, as sample, the parking stall status data of collecting can be temporary in the buffer area, so that subsequent calls is calculated standard value without the parking stall status data under the car parked state for gateway can gather geomagnetic sensor in this step ten times or 20 times.
Step 402, according to the node number on described parking stall, in described calibration value formation, obtain the current calibration value on described parking stall;
The absolute value of step 403, the current demarcation value difference of more described mean value and described parking stall and the renewal calibration value threshold values that presets;
Upgrading the calibration value threshold values is the foundation that judges whether to need to upgrade calibration value.Upgrade fixed the getting of demarcation threshold values and increase, can make the sensitivity of system; Upgrade to demarcate threshold values and reduce, can increase system rate of false alarm (such as, close on the impact of stopping on this parking stall the parking stall and become large).Can according to actual needs, such as parking stall size, geomagnetism detecting device susceptibility etc., set suitable parking threshold values.
Step 404, at described absolute value during greater than described renewal calibration value threshold values, judging needs to upgrade calibration value, with the alternative described current calibration value of described mean value, as the new calibration value on described parking stall.
Step 405, when described absolute value is less than or equal to described renewal calibration value threshold values, judging does not need to upgrade calibration value, keeps current calibration value.
Need to prove, it is a lasting long-term process that calibration value upgrades, and need to follow the tracks of the geomagnetic sensor uploading data always, therefrom tells without the parking stall status data under the car parked state, just can judge whether to upgrade.The data of single can not affect calibration value.Certain is larger or less value once, when processing, is considered to burr one time, can ignore.
The each time parking stall status data of a geomagnetic sensor collection all is the reference value of calculating this parking stall calibration value, judges whether to upgrade according to these reference values.Preferably, when having new parking stall status data to be uploaded to gateway device, all need to do the judgement of once whether upgrading calibration value at every turn.
In step 301 and step 401, need to be according to calculating calibration value without the parking stall status data under the car parked state, the parking stall management method that the utility model embodiment provides, can also be in numerous parking stall status datas, filter out the parking stall status data when berthing without car, as the effective sample that calculates calibration value, its flow process comprises as shown in Figure 5:
The absolute value of the difference of step 501, double parking stall, the parking stall status data of seeking common ground;
Step 502, more described absolute value and the base state threshold values that presets are interval;
This step is whether to stop to there being dead ship condition to change from nothing because occured for the variation of judging double parking stall status data, surpass a normal scope when changing, be that the absolute value of difference can not drop on the base state threshold values when interval, namely think to have burr, the parking stall status data need to be abandoned.Otherwise think that the parking stall status data is effective, can act on without the parking stall status data reservation under the car parked state.
Step 503, within described absolute value drops on described base state threshold values interval the time, keep described parking stall status data as described parking stall without the parking stall status data under the car parked state, described parking stall status data is saved to buffer area corresponding to described parking stall.
Step 504, outside described absolute value drops on described base state threshold values interval the time, abandon described dead ship condition data.
Embodiment of the present utility model provides a kind of parking stall management method and system, comprise gateway device and at least one place the parking stall and with parking stall geomagnetic sensor one to one, described geomagnetic sensor has unique node number gateway and collects current parking stall status data by described geomagnetic sensor, described parking stall status data comprises node number and the ground magnetic value of the geomagnetic sensor that described parking stall is corresponding, described node number unique identification one parking stall and corresponding geomagnetic sensor thereof, judge that whether the absolute difference of calibration value on described parking stall status data and this parking stall is less than the parking threshold values that presets, in described absolute difference during greater than described parking position value, judging that described parking stall is current has car to berth, finish the collection of parking stall status data and the judgement of dead ship condition by gateway, judge dead ship condition by the ground magnetic value, saved the procedure links of judging the parking stall parking state, improve judgement efficient and accuracy, solved existing calibration value treatment scheme complicated, inefficient problem.
The all or part of step that one of ordinary skill in the art will appreciate that above-described embodiment can realize with the computer program flow process, described computer program can be stored in the computer-readable recording medium, described computer program (such as system, unit, device etc.) on corresponding hardware platform is carried out, when carrying out, comprise step of embodiment of the method one or a combination set of.
Alternatively, all or part of step of above-described embodiment also can realize with integrated circuit, and these steps can be made into respectively one by one integrated circuit modules, perhaps a plurality of modules in them or step is made into the single integrated circuit module and realizes.Like this, the utility model is not restricted to any specific hardware and software combination.
Each device/functional module/functional unit in above-described embodiment can adopt general calculation element to realize, they can concentrate on the single calculation element, also can be distributed on the network that a plurality of calculation elements form.
Each device/functional module/functional unit in above-described embodiment is realized with the form of software function module and during as independently production marketing or use, can be stored in the computer read/write memory medium.The above-mentioned computer read/write memory medium of mentioning can be ROM (read-only memory), disk or CD etc.
Anyly be familiar with those skilled in the art in the technical scope that the utility model discloses, can expect easily changing or replacing, all should be encompassed within the protection domain of the present utility model.Therefore, protection domain of the present utility model should be as the criterion with the described protection domain of claim.