CN112037534B - Car detection method and device integrating geomagnetic data and NB (nuclear magnetic resonance) signals - Google Patents

Car detection method and device integrating geomagnetic data and NB (nuclear magnetic resonance) signals Download PDF

Info

Publication number
CN112037534B
CN112037534B CN202010923037.7A CN202010923037A CN112037534B CN 112037534 B CN112037534 B CN 112037534B CN 202010923037 A CN202010923037 A CN 202010923037A CN 112037534 B CN112037534 B CN 112037534B
Authority
CN
China
Prior art keywords
geomagnetic
geomagnetic data
value
vehicle
data
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
CN202010923037.7A
Other languages
Chinese (zh)
Other versions
CN112037534A (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.)
Shenzhen Huaqiang Technology Co ltd
Original Assignee
Shenzhen Huaqiang Technology 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 Shenzhen Huaqiang Technology Co ltd filed Critical Shenzhen Huaqiang Technology Co ltd
Priority to CN202010923037.7A priority Critical patent/CN112037534B/en
Publication of CN112037534A publication Critical patent/CN112037534A/en
Application granted granted Critical
Publication of CN112037534B publication Critical patent/CN112037534B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/01Detecting movement of traffic to be counted or controlled
    • G08G1/042Detecting movement of traffic to be counted or controlled using inductive or magnetic detectors
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/01Detecting movement of traffic to be counted or controlled

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Traffic Control Systems (AREA)
  • Measuring Magnetic Variables (AREA)

Abstract

The invention provides a car detection method and a car detection device integrating geomagnetic data and NB signals, wherein the method comprises the steps of reading geomagnetic data of a parking space as a baseline tracking data source, and performing baseline tracking by adopting a mean value smoothing algorithm; judging whether the read geomagnetic data reaches a threshold value for triggering a geomagnetic vehicle detection algorithm; when the variation of the geomagnetic data reaches a threshold value for triggering a geomagnetic vehicle detection algorithm, triggering the geomagnetic vehicle detection algorithm, and switching the state machine state into a vehicle-presence state to be confirmed according to a gradient threshold value; judging whether the geomagnetic data is stable within a preset time; when the geomagnetic data is stable within a preset time, reading NB network signals of the single-mode geomagnetic equipment; and comparing the RSRP value of the NB network signal with the historical vehicle-in-process RSRP value, and if the RSRP value of the NB network signal is within the historical vehicle-in-process RSRP value range, judging that the parking space is parked in a parking space. The invention can solve the problem of false detection of single-mode geomagnetic equipment caused by baseline drift and adjacent vehicle interference.

Description

Car detection method and device integrating geomagnetic data and NB (nuclear magnetic resonance) signals
Technical Field
The invention relates to a car detection method and a car detection device, in particular to a car detection method and a car detection device integrating geomagnetic data and NB signals.
Background
The intelligent traffic is a hotspot research direction of the current internet of things, and the intelligent parking is an important subset of the intelligent traffic, and is mainly used for solving the problems of urban traffic jam and parking difficulty. The intelligent parking covers a parking lot with camera monitoring and also comprises a roadside planned parking space. The method is characterized in that the installation, monitoring and construction cost is high for managing roadside parking spaces, currently, geomagnetic vehicle detection equipment is mainly installed, whether a vehicle is parked or not is judged according to the change of geomagnetic intensity, and the parking state is reported to a platform through a local area network (such as an RFID + router) or an operator network (such as NBIOT/Cat1), so that data support is provided for managers and users. Along with the coverage of the NB network, the geomagnetic vehicle detection equipment based on the NB has the advantages of convenience in construction, low power consumption and low cost, and is an important scheme for constructing intelligent traffic.
The geomagnetic vehicle inspection equipment has two product forms of dual-mode geomagnetic detection and single-mode geomagnetic detection. The dual-mode geomagnetic equipment generally comprises two sensors, namely geomagnetic and radar, wherein the geomagnetic is used for triggering detection and the radar is used for judging the vehicle, and the vehicle detection accuracy rate of the products is high, but the cost is high; the single-mode geomagnetic equipment uses the geomagnetic sensor as the only basis for judging the car, the cost is low, but the existing problems are that geomagnetic baseline drift and false detection caused by interference of adjacent parking spaces exist, and the maintenance cost of the equipment is high during operation.
Disclosure of Invention
The technical problem to be solved by the invention is as follows: the utility model provides a car detection method and a device which integrate geomagnetic data and NB signals, aiming at solving the problems of geomagnetic drift and adjacent car interference of single-mode geomagnetic equipment.
In order to solve the technical problems, the invention adopts the technical scheme that: a car inspection method integrating geomagnetic data and NB signals comprises the following steps,
s10, reading the geomagnetic data of the parking space, taking the read geomagnetic data as a baseline tracking data source, and performing baseline tracking by adopting a mean value smoothing algorithm;
s20, judging whether the read geomagnetic data reaches a threshold value for triggering a geomagnetic vehicle detection algorithm;
s30, when the variation of the geomagnetic data reaches a threshold value for triggering a geomagnetic vehicle detection algorithm, triggering the geomagnetic vehicle detection algorithm, and switching the state machine state into a vehicle-presence state to be confirmed according to a gradient threshold value;
s40, judging whether the geomagnetic data is stable within a preset time;
s50, when the geomagnetic data are stable in a preset time, reading NB network signals of the single-mode geomagnetic equipment;
s60, comparing the RSRP value of the NB network signal with the historical vehicle-in-process RSRP value, if the RSRP value of the NB network signal is within the historical vehicle-in-process RSRP value range, judging that the vehicle is parked in the parking space, and if not, judging that no vehicle is parked.
Further, step S30 specifically includes,
s31, when the variation of the geomagnetic data reaches a triggering first threshold, triggering a geomagnetic vehicle detection algorithm, stopping baseline tracking and continuously comparing the geomagnetic data;
and S32, when the variation of the geomagnetic data is stabilized at the second threshold for a period of time, the state machine transitions to a state of having a vehicle to be confirmed.
Further, the variation of the geomagnetic data is a variation of a three-axis magnetic field.
Further, in step S40, a sliding window algorithm is used to determine whether the geomagnetic data is stable within a preset time.
Further, step S40 specifically includes,
s41, recording the maximum value, the minimum value and the average value of geomagnetic data in a preset time window;
s42, calculating the variance of the maximum value and the minimum value of the geomagnetic data;
s43, respectively determining whether the variance of the maximum value and the minimum value of the geomagnetic data is within a preset range, and determining that the geomagnetic data is stable when the variance of the maximum value and the minimum value of the geomagnetic data is within the preset range.
The invention also provides a car inspection device for integrating geomagnetic data and NB signals, which comprises,
the base line tracking module is used for reading geomagnetic data of the parking space, using the read geomagnetic data as a base line tracking data source, and adopting a mean value smoothing algorithm to perform base line tracking;
the threshold judging module is used for judging whether the read geomagnetic data reaches a threshold for triggering a geomagnetic vehicle detection algorithm;
the state switching module is used for triggering the geomagnetic vehicle detection algorithm when the variable quantity of the geomagnetic data reaches a threshold value for triggering the geomagnetic vehicle detection algorithm, and switching the state of the state machine into a vehicle-existing state to be confirmed according to a gradient threshold value;
the stability judging module is used for judging whether the geomagnetic data is stable within a preset time;
the NB network signal reading module is used for reading the NB network signal of the single-mode geomagnetic equipment when the geomagnetic data is stable within the preset time;
and the parking space state judging module is used for comparing the RSRP value of the NB network signal with the historical vehicle-in RSRP value, judging that the vehicle is parked in the parking space if the RSRP value of the NB network signal is within the historical vehicle-in RSRP value range, and otherwise judging that no vehicle is parked in the parking space.
Further, the state switching module comprises,
the first triggering unit is used for triggering the geomagnetic vehicle detection algorithm after the variable quantity of the geomagnetic data reaches a triggering first threshold value, stopping baseline tracking and continuously comparing the geomagnetic data;
and the second trigger unit is used for shifting the state machine to a state with a vehicle to be confirmed after the variable quantity of the geomagnetic data is stabilized at the second threshold value for a period of time.
Further, the variation of the geomagnetic data is a variation of a three-axis magnetic field.
Further, the stability judging module is configured to judge whether the geomagnetic data is stable within a preset time by using a sliding window algorithm.
Further, the smoothness judgment module comprises,
the geomagnetic data recording unit is used for recording the maximum value, the minimum value and the average value of geomagnetic data of a preset time window;
a variance calculating unit for calculating the variance of the maximum value and the minimum value of the geomagnetic data;
and the geomagnetic data comparison unit is used for respectively judging whether the variance of the maximum value and the minimum value of the geomagnetic data is within a preset range, and judging that the geomagnetic data is stable when the variance of the maximum value and the minimum value of the geomagnetic data is within the preset range.
The invention has the beneficial effects that: the method comprises the steps of reading geomagnetic data of a parking space, using the read geomagnetic data as a baseline tracking data source, adopting a mean value smoothing algorithm to track a baseline, and using the read geomagnetic data only as a trigger condition, so that the geomagnetic baseline can track whether vehicles exist in the parking space or not all the time, comparing an RSRP value of an NB network signal with a historical vehicle-existing RSRP value, judging whether vehicles exist in the parking space to park if the RSRP value of the NB network signal falls within the historical vehicle-existing RSRP value range, and judging whether vehicles exist in the parking space or not otherwise, thereby avoiding the problems of baseline drift and adjacent vehicle interference of single-mode geomagnetic equipment.
Drawings
The following detailed description of the invention refers to the accompanying drawings.
Fig. 1 is a flowchart of a car inspection method for integrating geomagnetic data and NB signals according to an embodiment of the present invention;
fig. 2 is a block diagram of a car inspection apparatus that integrates geomagnetic data and NB signals according to an embodiment of the present invention;
FIG. 3 is a schematic block diagram of a computer device in accordance with a specific embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the specification of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As shown in fig. 1, the first embodiment of the present invention is: a car inspection method integrating geomagnetic data and NB signals comprises the following steps,
s10, reading the geomagnetic data of the parking space, taking the read geomagnetic data as a baseline tracking data source, and performing baseline tracking by adopting a mean value smoothing algorithm;
in this step, the geomagnetic data is read by a geomagnetic sensor, and is tracked by a mean value smoothing algorithm, that is, b (i) [ [ H (1) + H (2) +. ] to. + H (n) ]/n, wherein the magnetic field strength of a certain axis is collected as H (i), and reference lines bx (i), by (i), and bz (i) of three axes are respectively calculated.
S20, judging whether the read geomagnetic data reaches a threshold value for triggering a geomagnetic vehicle detection algorithm;
s30, when the variation of the geomagnetic data reaches a threshold value for triggering a geomagnetic vehicle detection algorithm, triggering the geomagnetic vehicle detection algorithm, and switching the state machine state into a vehicle-presence state to be confirmed according to a gradient threshold value; the variation of the geomagnetic data is the variation of the three-axis magnetic field.
The step S30 specifically includes the steps of,
s31, when the variation of the geomagnetic data reaches a triggering first threshold, triggering a geomagnetic vehicle detection algorithm, stopping baseline tracking and continuously comparing the geomagnetic data;
and S32, when the variation of the geomagnetic data is stabilized at the second threshold for a period of time, the state machine transitions to a state of having a vehicle to be confirmed.
Wherein, the change amount Δ h (i) of the geomagnetic baseline: Δ h (i) ═ h (i) — b (i) |, and further three-axis magnetic field variations Δ hx (i), Δhy (i), and Δ hz (i) are calculated. The total change of three axes is used for judging, and the monitoring sensitivity can be improved. The total variation Δ m (i) ═ Δ hx (i) +Δ hy (i) +Δ hz (i), and when Δ m (i) > = therhold, that is, a preset threshold, the state switching is performed while satisfying the trigger condition of the gradient threshold.
S40, judging whether the geomagnetic data is stable within a preset time by adopting a sliding window algorithm;
the step S40 specifically includes the steps of,
s41, recording the maximum value, the minimum value and the average value of geomagnetic data in a preset time window;
s42, calculating the variance of the maximum value and the minimum value of the geomagnetic data;
s43, respectively determining whether the variance of the maximum value and the minimum value of the geomagnetic data is within a preset range, and determining that the geomagnetic data is stable when the variance of the maximum value and the minimum value of the geomagnetic data is within the preset range.
Specifically, in the geomagnetic state stability judgment process, a sliding window method is adopted to judge whether the geomagnetic data in the window of 40 seconds is finally stable. The stability judgment algorithm comprises the following steps: recording the maximum value smoothMax, the minimum value smoothMin and the average value smoothAvg of the geomagnetic data in a window in a data structure, calculating the variance of the maximum value and the minimum value, and when the conditions of (smoothMax-smoothAvg) < delta1& (smoothAvg-smoothMin) < delta2 are met, considering that the geomagnetic environment is stable at present, namely the movement of the vehicle entering and exiting the parking space is completed.
S50, when the geomagnetic data are stable in a preset time, reading NB network signals of the single-mode geomagnetic equipment;
s60, comparing the RSRP value of the NB network signal with the historical vehicle-in-process RSRP value, if the RSRP value of the NB network signal is within the historical vehicle-in-process RSRP value range, judging that the vehicle is parked in the parking space, and if not, judging that no vehicle is parked.
In this step, NB network signal's reading, because the network injection district of the environment that equipment is located can change (district ID switches), and there is the difference in the intensity value of every district, so single mode earth magnetism equipment need keep the parking stall corresponding value data (design for 30 groups) of district ID and RSRP (reference signal received power), and the parameter data structure design is: the method comprises the steps of a vehicle intensity reference value rsrp _ park, a vehicle-free intensity reference value rsrp _ empty, a cell index ID and a counting statistic count. The single-mode geomagnetic equipment performs weighted updating (updating frequency is 1 hour) on the data reference value according to the parking state during operation and performs counting statistics, and when a cell list is full, a cell with a small counting value is preferentially deleted for updating (the reference meaning of the cell of the accidental network is not large). Comparing the read signal intensity value with a reference value of the ID corresponding to the history, and if the signal intensity value is in the rsrp _ park range, determining that the vehicle is parked, otherwise, determining that the vehicle is not parked; if the cell ID never appears, firstly, a waiting attempt is made to judge whether the cell is switched to a known cell in the list, if the time is out, the signal strength judgment is abandoned and the judgment is made by the difference value after the earth magnetism is stabilized, and the signal data of the cell is recorded into the cell list. If the rsrp _ park of the same cell is found to be close to the rsrp _ empty update value last, the group of records is considered invalid, and the cell record is deleted. After a car judgment result is given, the geomagnetic baseline data can immediately start to track, and the car judgment algorithm enters the next cycle.
The technical effects of the embodiment are as follows: on the premise of no additional hardware cost, geomagnetic data and NB signal strength are integrated to make vehicle detection judgment, and the problem of misjudgment of single-mode geomagnetic equipment is solved.
Geomagnetic baseline drift problem: the tracking of the single geomagnetic baseline can only be carried out when no vehicle exists, the tracking cannot be carried out continuously after the vehicle exists, and the change of the surrounding environment can cause the deviation of the geomagnetic baseline. The final vehicle judgment of the invention gives a result according to the change of the signal intensity, and the geomagnetic data is only used as a trigger condition, so that the geomagnetic baseline can be always tracked no matter whether vehicles exist or not, and the problem of baseline drift is avoided.
The adjacent vehicle interference problem: according to the invention, the values of the approaching and covering values are greatly different according to the network signal intensity of the single-mode geomagnetic equipment, so that whether a vehicle exists in the parking space or not is judged, and the interference of adjacent vehicles is avoided.
Equipment abnormity self-checking: the invention updates the intensity reference value of the signal with vehicle and the intensity reference value of the signal without vehicle, judges the validity of the two groups of values, judges the signal intensity of the group to be abnormal and invalid when the two groups of values are close to each other, deletes the cell in the signal list and can further carry out abnormal error correction processing.
A second embodiment of the present invention shown in fig. 2 is a car inspection apparatus that integrates geomagnetic data and NB signals, including,
the base line tracking module 10 is configured to read geomagnetic data of the parking space, use the read geomagnetic data as a base line tracking data source, and perform base line tracking by using a mean value smoothing algorithm;
a threshold judgment module 20, configured to judge whether the read geomagnetic data reaches a threshold for triggering a geomagnetic vehicle inspection algorithm;
the state switching module 30 is configured to, when the variation of the geomagnetic data reaches a threshold for triggering the geomagnetic vehicle detection algorithm, trigger the geomagnetic vehicle detection algorithm, and switch the state of the state machine to a vehicle-presence to-be-confirmed state according to a gradient threshold;
further, the state switching module 30 includes,
the first triggering unit is used for triggering the geomagnetic vehicle detection algorithm after the variable quantity of the geomagnetic data reaches a triggering first threshold value, stopping baseline tracking and continuously comparing the geomagnetic data;
and the second trigger unit is used for shifting the state machine to a state with a vehicle to be confirmed after the variable quantity of the geomagnetic data is stabilized at the second threshold value for a period of time.
Further, the variation of the geomagnetic data is a variation of a three-axis magnetic field.
A stationarity determining module 40, configured to determine whether geomagnetic data is stationary within a preset time;
further, the stability determining module 40 is configured to determine whether the geomagnetic data is stable within a preset time by using a sliding window algorithm.
Further, the smoothness judging module 40 includes,
the geomagnetic data recording unit is used for recording the maximum value, the minimum value and the average value of geomagnetic data of a preset time window;
a variance calculating unit for calculating the variance of the maximum value and the minimum value of the geomagnetic data;
and the geomagnetic data comparison unit is used for respectively judging whether the variance of the maximum value and the minimum value of the geomagnetic data is within a preset range, and judging that the geomagnetic data is stable when the variance of the maximum value and the minimum value of the geomagnetic data is within the preset range.
An NB network signal reading module 50, configured to read an NB network signal of the single-mode geomagnetic device when geomagnetic data is stable within a preset time;
and the parking space state judgment module 60 is configured to compare the RSRP value of the NB network signal with the historical RSRP value when the vehicle is parked, and judge that the vehicle is parked in the parking space if the RSRP value of the NB network signal falls within the historical RSRP value range when the vehicle is parked, otherwise judge that the vehicle is not parked.
It should be noted that, as can be clearly understood by those skilled in the art, the detailed implementation process of the car inspection device and each unit that synthesize the geomagnetic data and the NB signal may refer to the corresponding description in the foregoing method embodiment, and for convenience and brevity of description, no further description is provided herein.
The car inspection apparatus that integrates geomagnetic data and NB signals as described above may be implemented in the form of a computer program that can be run on a computer device as shown in fig. 3.
Referring to fig. 3, fig. 3 is a schematic block diagram of a computer device according to an embodiment of the present application. The computer device 500 may be a terminal or a server, where the terminal may be an electronic device with a communication function, such as a smart phone, a tablet computer, a notebook computer, a desktop computer, a personal digital assistant, and a wearable device. The server may be an independent server or a server cluster composed of a plurality of servers.
Referring to fig. 3, the computer device 500 includes a processor 502, memory, and a network interface 505 connected by a system bus 501, where the memory may include a non-volatile storage medium 503 and an internal memory 504.
The non-volatile storage medium 503 may store an operating system 5031 and a computer program 5032. The computer program 5032 includes program instructions that, when executed, cause the processor 502 to perform a car inspection method that integrates geomagnetic data and NB signals.
The processor 502 is used to provide computing and control capabilities to support the operation of the overall computer device 500.
The internal memory 504 provides an environment for running the computer program 5032 in the non-volatile storage medium 503, and when the computer program 5032 is executed by the processor 502, the processor 502 may be enabled to execute a car detection method combining geomagnetic data and NB signals.
The network interface 505 is used for network communication with other devices. Those skilled in the art will appreciate that the configuration shown in fig. 3 is a block diagram of only a portion of the configuration associated with the present application and does not constitute a limitation of the computer device 500 to which the present application may be applied, and that a particular computer device 500 may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
The processor 502 is configured to run the computer program 5032 stored in the memory to implement the car inspection method of integrating geomagnetic data and NB signals as described above.
It should be understood that in the embodiment of the present Application, the Processor 502 may be a Central Processing Unit (CPU), and the Processor 502 may also be other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, and the like. Wherein a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
It will be understood by those skilled in the art that all or part of the flow of the method implementing the above embodiments may be implemented by a computer program instructing associated hardware. The computer program includes program instructions, and the computer program may be stored in a storage medium, which is a computer-readable storage medium. The program instructions are executed by at least one processor in the computer system to implement the flow steps of the embodiments of the method described above.
Accordingly, the present invention also provides a storage medium. The storage medium may be a computer-readable storage medium. The storage medium stores a computer program, wherein the computer program comprises program instructions. The program instructions, when executed by the processor, cause the processor to execute the car inspection method of integrating geomagnetic data and NB signals as described above.
The storage medium may be a usb disk, a removable hard disk, a Read-Only Memory (ROM), a magnetic disk, or an optical disk, which can store various computer readable storage media.
Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be embodied in electronic hardware, computer software, or combinations of both, and that the components and steps of the examples have been described in a functional general in the foregoing description for the purpose of illustrating clearly the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative. For example, the division of each unit is only one logic function division, and there may be another division manner in actual implementation. For example, various elements or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented.
The steps in the method of the embodiment of the invention can be sequentially adjusted, combined and deleted according to actual needs. The units in the device of the embodiment of the invention can be merged, divided and deleted according to actual needs. In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a storage medium. Based on such understanding, the technical solution of the present invention essentially or partially contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a terminal, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention.
While the invention has been described with reference to specific embodiments, the invention is not limited thereto, and various equivalent modifications and substitutions can be easily made by those skilled in the art within the technical scope of the invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (6)

1. The utility model provides a car inspection method of synthesizing earth magnetism data and NB signal which characterized in that: comprises the following steps of (a) carrying out,
s10, reading the geomagnetic data of the parking space, taking the read geomagnetic data as a baseline tracking data source, and performing baseline tracking by adopting a mean value smoothing algorithm;
s20, judging whether the read geomagnetic data reaches a threshold value for triggering a geomagnetic vehicle detection algorithm;
s30, when the variation of the geomagnetic data reaches a threshold value for triggering a geomagnetic vehicle detection algorithm, triggering the geomagnetic vehicle detection algorithm, and switching the state machine state into a vehicle-presence state to be confirmed according to a gradient threshold value;
s40, judging whether the geomagnetic data is stable within a preset time by adopting a sliding window algorithm;
s50, when the geomagnetic data are stable in a preset time, reading NB network signals of the single-mode geomagnetic equipment;
s60, comparing the RSRP value of the NB network signal with the historical vehicle-in-process RSRP value, if the RSRP value of the NB network signal is within the historical vehicle-in-process RSRP value range, judging that the vehicle is parked in the parking space, and if not, judging that no vehicle is parked;
the step S40 specifically includes the steps of,
s41, recording the maximum value, the minimum value and the average value of geomagnetic data in a preset time window;
s42, calculating the variance of the maximum value and the minimum value of the geomagnetic data;
s43, respectively determining whether the variance of the maximum value and the minimum value of the geomagnetic data is within a preset range, and determining that the geomagnetic data is stable when the variance of the maximum value and the minimum value of the geomagnetic data is within the preset range.
2. The car inspection method of integrating geomagnetic data and NB signals according to claim 1, wherein: the step S30 specifically includes the steps of,
s31, when the variation of the geomagnetic data reaches a triggering first threshold, triggering a geomagnetic vehicle detection algorithm, stopping baseline tracking and continuously comparing the geomagnetic data;
and S32, when the variation of the geomagnetic data is stabilized at the second threshold for a period of time, the state machine transitions to a state of having a vehicle to be confirmed.
3. The car inspection method of integrating geomagnetic data and NB signals according to claim 2, wherein: the variation of the geomagnetic data is the variation of a triaxial magnetic field.
4. The utility model provides a synthesize car device of examining of earth magnetism data and NB signal which characterized in that: comprises the steps of (a) preparing a mixture of a plurality of raw materials,
the base line tracking module is used for reading geomagnetic data of the parking space, using the read geomagnetic data as a base line tracking data source, and adopting a mean value smoothing algorithm to perform base line tracking;
the threshold judging module is used for judging whether the read geomagnetic data reaches a threshold for triggering a geomagnetic vehicle detection algorithm;
the state switching module is used for triggering the geomagnetic vehicle detection algorithm when the variable quantity of the geomagnetic data reaches a threshold value for triggering the geomagnetic vehicle detection algorithm, and switching the state of the state machine into a vehicle-existing state to be confirmed according to a gradient threshold value;
the stability judging module is used for judging whether the geomagnetic data is stable within a preset time by adopting a sliding window algorithm;
the NB network signal reading module is used for reading the NB network signal of the single-mode geomagnetic equipment when the geomagnetic data is stable within the preset time;
the parking space state judging module is used for comparing the RSRP value of the NB network signal with the historical vehicle-in RSRP value, judging that a vehicle is parked in the parking space if the RSRP value of the NB network signal is within the historical vehicle-in RSRP value range, and otherwise judging that no vehicle is parked;
the smoothness judging module comprises a smoothness judging module,
the geomagnetic data recording unit is used for recording the maximum value, the minimum value and the average value of geomagnetic data of a preset time window;
a variance calculating unit for calculating the variance of the maximum value and the minimum value of the geomagnetic data;
and the geomagnetic data comparison unit is used for respectively judging whether the variance of the maximum value and the minimum value of the geomagnetic data is within a preset range, and judging that the geomagnetic data is stable when the variance of the maximum value and the minimum value of the geomagnetic data is within the preset range.
5. The car inspection apparatus that synthesizes earth magnetism data and NB signal as claimed in claim 4, characterized in that: the state switching module comprises a state switching module and a state switching module,
the first triggering unit is used for triggering the geomagnetic vehicle detection algorithm after the variable quantity of the geomagnetic data reaches a triggering first threshold value, stopping baseline tracking and continuously comparing the geomagnetic data;
and the second trigger unit is used for shifting the state machine to a state with a vehicle to be confirmed after the variable quantity of the geomagnetic data is stabilized at the second threshold value for a period of time.
6. The car inspection apparatus for integrating geomagnetic data and NB signals according to claim 5, wherein: the variation of the geomagnetic data is the variation of a triaxial magnetic field.
CN202010923037.7A 2020-09-04 2020-09-04 Car detection method and device integrating geomagnetic data and NB (nuclear magnetic resonance) signals Active CN112037534B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010923037.7A CN112037534B (en) 2020-09-04 2020-09-04 Car detection method and device integrating geomagnetic data and NB (nuclear magnetic resonance) signals

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010923037.7A CN112037534B (en) 2020-09-04 2020-09-04 Car detection method and device integrating geomagnetic data and NB (nuclear magnetic resonance) signals

Publications (2)

Publication Number Publication Date
CN112037534A CN112037534A (en) 2020-12-04
CN112037534B true CN112037534B (en) 2022-02-18

Family

ID=73590730

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010923037.7A Active CN112037534B (en) 2020-09-04 2020-09-04 Car detection method and device integrating geomagnetic data and NB (nuclear magnetic resonance) signals

Country Status (1)

Country Link
CN (1) CN112037534B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111653104B (en) * 2020-07-13 2022-04-19 深圳华强技术有限公司 Magnetic field baseline self-maintenance method and device, computer equipment and storage medium
CN113066293B (en) * 2021-03-15 2022-10-11 四川长虹网络科技有限责任公司 Detection optimization method of geomagnetic vehicle detector and geomagnetic vehicle detector

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202816156U (en) * 2011-12-31 2013-03-20 北京时代凌宇科技有限公司 Parking space detection node apparatus

Family Cites Families (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103632569B (en) * 2013-11-13 2016-11-23 雷振山 A kind of two-axis geomagnetic method for detecting parking stalls and device
CN103794052A (en) * 2014-03-05 2014-05-14 武汉慧联无限科技有限公司 Intelligent traffic detecting system based on wireless sensor network
CN103794058B (en) * 2014-03-05 2016-04-13 武汉慧联无限科技有限公司 Based on vehicle checking method and the device of state machine
CN105157699B (en) * 2015-06-18 2018-03-16 南京邮电大学 A kind of parking garage air navigation aid based on WiFi and Sensor Network technological incorporation
WO2018031300A1 (en) * 2016-08-11 2018-02-15 Intel IP Corporation Systems and method for selecting carrier resources for narowband physical random access channel procedures
KR101911713B1 (en) * 2016-09-13 2018-12-28 (주)미래엔씨티 Apparatus and method for detecting parked vehicle using electromagnetic wave
CN107610481B (en) * 2017-08-31 2019-09-17 深圳先进技术研究院 Stop detection method, device and terminal device and computer readable storage medium
CN108428362A (en) * 2018-03-19 2018-08-21 上海畅停信息科技有限公司 Intelligent sharing berth lock based on NB-IoT cloud platforms and double wireless communications
CN110319830B (en) * 2018-03-30 2021-09-28 北京百度网讯科技有限公司 Positioning processing method, device and equipment based on geomagnetic data
CN108831188A (en) * 2018-08-13 2018-11-16 桂林航天工业学院 Wireless geomagnetism parking space intelligent awareness apparatus and method based on narrowband Internet of Things
CN109754506A (en) * 2018-12-25 2019-05-14 江苏万帮德和新能源科技股份有限公司 A kind of intelligent car position management method for charging pile
CN109637156B (en) * 2018-12-28 2021-12-03 张明荣 Vehicle on-site detection method and system
CN109945865B (en) * 2019-02-25 2023-02-28 天津大学 Indoor positioning method based on WiFi and geomagnetic fusion
CN209765744U (en) * 2019-02-25 2019-12-10 上海创感传感技术有限公司 Wireless parking stall detector based on earth magnetism sensor and Lora technique
CN110164139B (en) * 2019-05-30 2021-08-03 浙江大学 System and method for detecting and identifying side parking
CN110660227B (en) * 2019-10-11 2020-11-03 杭州立方控股股份有限公司 Vehicle detection method and vehicle detection system
CN111583664B (en) * 2020-05-07 2023-03-31 迈锐数据(无锡)有限公司 Parking space detection method, system and terminal adopting geomagnetism and radar

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202816156U (en) * 2011-12-31 2013-03-20 北京时代凌宇科技有限公司 Parking space detection node apparatus

Also Published As

Publication number Publication date
CN112037534A (en) 2020-12-04

Similar Documents

Publication Publication Date Title
US11127285B2 (en) Method, apparatus and computer program product for estimation of road traffic condition using traffic signal data
CN112037534B (en) Car detection method and device integrating geomagnetic data and NB (nuclear magnetic resonance) signals
CN111856541B (en) Fixed line vehicle track monitoring system and method
CN103544848B (en) A kind of parking space state decision method based on many parking stalls geomagnetism detecting and device
CN105718750B (en) A kind of prediction technique and system of vehicle driving trace
CN105046960B (en) A kind of method and device detected to congestion in road state analysis and illegal parking
CN102169182B (en) Mobile navigation device
CN103794058B (en) Based on vehicle checking method and the device of state machine
CN111026081B (en) Error calculation method, device, equipment and storage medium
CN104574954A (en) Vehicle checking method and system based on free flow system as well as control equipment
CN109784254A (en) A kind of method, apparatus and electronic equipment of rule-breaking vehicle event detection
CN108198460A (en) A kind of Vehicular intelligent lane change method and vehicle
CN113139410B (en) Pavement detection method, device, equipment and storage medium
CN115762139A (en) Method, device and equipment for filtering predicted track of intersection and storage medium
CN113960633A (en) Vehicle position correction method and device and server
CN105049913B (en) Vehicular video data download storage method in a kind of locomotive
CN109920253A (en) Parking charge method and system based on vehicle regular visit
CN115687249B (en) Image gathering method and device, terminal and computer readable storage medium
CN110779522A (en) Positioning drift processing method and vehicle-mounted positioning terminal
CN109446437B (en) Information mining method, device, server and storage medium
CN112130180B (en) Method, device and server for detecting faults of satellite positioning equipment of shared equipment
CN101082500A (en) Navigation system and program product
CN111653104B (en) Magnetic field baseline self-maintenance method and device, computer equipment and storage medium
CN112950957A (en) Composite vehicle detection algorithm
CN206594822U (en) A kind of intelligent traffic flow forecasting system

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