Parking space detection method, device, computer equipment and storage medium

By combining the geomagnetic detector and millimeter-wave radar, the magnetic field value and foreign object information are used to determine the status of the parking space, which solves the problems of high power consumption and high misjudgment rate in the existing parking space detection technology, and realizes parking space with low energy consumption and high accuracy. detection.

CN117012050BActive Publication Date: 2024-09-10BYD CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210460130.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-28
Publication Date
2024-09-10
Estimated Expiration
2042-04-28

AI Technical Summary

Technical Problem

In existing parking space detection technology, geomagnetic detectors and distance detectors have high power consumption and misjudgment problems, leading to increased costs.

Method used

Using a combination method of geomagnetic detector and millimeter-wave radar, the magnetic field value of the parking space is obtained through the geomagnetic detector. If the magnetic field value is outside the detection range, the millimeter-wave radar is used to obtain foreign object information. The magnetic field value and foreign object information are combined to determine the status of the parking space and reduce energy. consume and improve detection accuracy.

Benefits of technology

It effectively reduces the energy consumption of parking space detection, reduces the misjudgment rate, improves the accuracy and service life of detection, and reduces installation complexity and cost.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117012050B
    Figure CN117012050B
Patent Text Reader

Abstract

The present invention relates to the field of parking space detection, and discloses a parking space detection method, device, computer equipment and storage medium, wherein the method comprises: obtaining the magnetic field value of the parking space through a geomagnetic detector; if the magnetic field value is outside the detection interval, the millimeter wave radar is enabled, and the foreign object information of the parking space is obtained through the millimeter wave radar; if the foreign object information includes the detection of a foreign object, and the distance of the foreign object is within a first preset distance range, it is determined whether the magnetic field value is less than the magnetic field boundary threshold; if the magnetic field value is less than the magnetic field boundary threshold, it is determined that the parking space is in an idle state. The present invention solves the problems of high misjudgment rate of parking space detection in existing parking lots and complex installation and wiring, and the overall solution has low energy consumption and long service life.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of parking space detection, and in particular to a parking space detection method, device, computer equipment and storage medium. Background Art

[0002] In the prior art, parking space detection often uses geomagnetic detectors and distance detectors, and the detection results of the distance detectors are mainly used, which has the problems of high power consumption and misjudgment. In order to ensure the normal use of parking space detection, it is necessary to use wiring power supply to supply power to the geomagnetic detector and the distance detector. This will increase the cost of parking space detection. Summary of the invention

[0003] Based on this, it is necessary to provide a parking space detection method, device, computer equipment and storage medium to address the above technical problems, so as to reduce the energy consumption during parking space detection and reduce the cost of parking space detection.

[0004] A parking space detection method, comprising:

[0005] Obtain the magnetic field value of the parking space through a geomagnetic detector;

[0006] If the magnetic field value is outside the detection range, the millimeter wave radar is activated to obtain foreign object information in the parking space through the millimeter wave radar;

[0007] If the foreign object information includes that a foreign object is detected and the distance of the foreign object is within a first preset distance range, determining whether the magnetic field value is less than a magnetic field boundary threshold;

[0008] If the magnetic field value is less than the magnetic field boundary threshold, it is determined that the parking space is in an idle state.

[0009] Optionally, obtaining the magnetic field value of the parking space by using a geomagnetic detector includes:

[0010] Acquire the environmental magnetic field value; detect the initial magnetic field value of the parking space by the geomagnetic detector;

[0011] The magnetic field value is determined according to the ambient magnetic field value and the initial magnetic field value.

[0012] Optionally, obtaining the environmental magnetic field value includes:

[0013] When a preset calibration period is reached, detecting a first working state of the parking space by the millimeter wave radar;

[0014] When the first working state is an idle state, detecting a first background magnetic field value of the parking space by the geomagnetic detector;

[0015] When the difference between the first background magnetic field value and the environmental magnetic field value before correction is less than a preset change threshold, the environmental magnetic field value is set according to the first background magnetic field value.

[0016] Optionally, obtaining the environmental magnetic field value includes:

[0017] After receiving the instruction to correct the magnetic field value, detecting the second working state of the parking space by the millimeter wave radar;

[0018] When the second working state is an idle state, detecting a second background magnetic field value of the parking space by the geomagnetic detector;

[0019] When the difference between the second background magnetic field value and the environmental magnetic field value before correction is less than a preset change threshold, the environmental magnetic field value is set according to the second background magnetic field value.

[0020] Optionally, also include:

[0021] When a preset interference detection period is reached, multiple frames of magnetic field values ​​are collected by the geomagnetic detector;

[0022] Determining whether the multiple frames of magnetic field values ​​meet the magnetic field disturbance condition;

[0023] If the multiple frames of magnetic field values ​​meet the magnetic field disturbance condition, a magnetic field disturbance event is generated.

[0024] Optionally, determining whether the multiple frames of magnetic field values ​​meet the magnetic field disturbance condition includes:

[0025] Determining the magnetic field fluctuation rate within a specified time period according to the multiple frames of magnetic field values;

[0026] If the magnetic field fluctuation rate is greater than a preset fluctuation threshold, it is determined that the multiple frames of magnetic field values ​​meet the magnetic field disturbance condition.

[0027] Optionally, the detection interval includes an idle state interval and a parking state interval;

[0028] After detecting the magnetic field value of the parking space by the geomagnetic detector, the method further includes:

[0029] If the magnetic field value is in the idle state interval, it is determined that the parking space is in an idle state;

[0030] If the magnetic field value is in the parking state interval, it is determined that the parking space is in the parking state.

[0031] Optionally, after acquiring the foreign object information of the parking space by the millimeter wave radar, the method further includes:

[0032] If the foreign object information includes that no foreign object is detected, determining that the parking space is in an idle state;

[0033] If the foreign object information includes that a foreign object is detected and the distance of the foreign object is within a second preset distance range, it is determined that the parking space is in a parking state; and the lowest value of the second preset distance range is greater than the highest value of the first preset distance range.

[0034] Optionally, the NB module is connected to the geomagnetic detector and the millimeter wave radar respectively;

[0035] The method of obtaining the magnetic field value of the parking space by using a geomagnetic detector includes:

[0036] Detecting the magnetic field value of the parking space by a geomagnetic detector, and sending the magnetic field value to the NB module by the geomagnetic detector;

[0037] The NB module receives the magnetic field value, and the NB module sends the magnetic field value to a service end;

[0038] The acquiring the foreign object information of the parking space by using the millimeter wave radar includes:

[0039] The parking space is scanned by the millimeter wave radar to obtain foreign object information, and the millimeter wave radar sends the foreign object information to the NB module;

[0040] The foreign object information is received by the NB module, and the foreign object information is sent to the service end by the NB module.

[0041] A parking space detection device, comprising:

[0042] A geomagnetic detection module is used to obtain the magnetic field value of the parking space through a geomagnetic detector;

[0043] A millimeter wave radar detection module, configured to enable the millimeter wave radar if the magnetic field value is outside the detection interval, and obtain foreign object information in the parking space through the millimeter wave radar;

[0044] a geomagnetic secondary judgment module, configured to judge whether the magnetic field value is less than a magnetic field boundary threshold value if the foreign object information includes that a foreign object is detected and the distance of the foreign object is within a first preset distance range;

[0045] The parking space state determination module is used to determine that the parking space is in an idle state if the magnetic field value is less than the magnetic field boundary threshold.

[0046] A computer device comprises a memory, a processor and computer-readable instructions stored in the memory and executable on the processor, wherein the processor implements the above-mentioned parking space detection method when executing the computer-readable instructions.

[0047] One or more readable storage media storing computer-readable instructions, wherein when the computer-readable instructions are executed by one or more processors, the one or more processors execute the parking space detection method as described above.

[0048] The above-mentioned parking space detection method, device, computer equipment and storage medium solve the problems of high misjudgment rate and complex installation and wiring in existing parking lots through the combined use of geomagnetic detectors and millimeter wave radars. The overall solution has low energy consumption and long service life. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.

[0050] Figure 1 is a schematic diagram of an application environment of a parking space detection method according to an embodiment of the present invention;

[0051] Figure 2 is a flow chart of a parking space detection method in one embodiment of the present invention;

[0052] Figure 3 is a structural schematic diagram of a parking space detection device in one embodiment of the present invention;

[0053] Figure 4 is a schematic diagram of a computer device in one embodiment of the present invention. DETAILED DESCRIPTION

[0054] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0055] The parking space detection method provided in this embodiment can be applied to Figure 1In the application environment, the geomagnetic detector and the millimeter-wave radar communicate with the server through the NB module. The NB module refers to the NarrowBand Internet of Things (NB-IoT) module. The NB module has the advantages of long standby time and low power consumption. The server can be implemented with an independent server or a server cluster consisting of multiple servers. The server can be a component of the Internet of Things platform to collect the status data of the parking space. Here, the status data includes the magnetic field value collected by the geomagnetic detector and / or the foreign object information collected by the millimeter-wave radar.

[0056] In one embodiment, if Figure 2 As shown, a parking space detection method is provided, and the method is applied in Figure 1 The server in is taken as an example to illustrate, including the following steps S10-S40.

[0057] S10, obtaining the magnetic field value of the parking space through a geomagnetic detector.

[0058] Understandably, the geomagnetic detector, also known as the geomagnetic sensor, can be used to detect the presence of a vehicle and identify the vehicle model. The geomagnetic detector has the advantages of easy installation and maintenance and low power consumption. It has been calculated that the geomagnetic detector powered by a 19Ah battery has a service life of up to three years. The geomagnetic sensor can detect the changes in the magnetic field of the parking space and generate a magnetic field value. Here, a timer can be used to wake up the geomagnetic detector at regular intervals to obtain the corresponding magnetic field value. In some examples, the magnetic field value can be a measured value after background calibration.

[0059] S20: If the magnetic field value is outside the detection range, the millimeter wave radar is activated to obtain foreign object information in the parking space through the millimeter wave radar.

[0060] Understandably, the detection interval refers to the magnetic field value interval used to determine whether a parking space is parked. In some examples, the detection interval can be divided into an idle state interval and a parking state interval. When the magnetic field value is in the idle state interval, it is determined that there is no vehicle parked in the parking space, that is, the parking space is in an idle state. When the magnetic field value is in the parking state interval, it is determined that there is a vehicle parked in the parking space, that is, the parking space is in a parked state.

[0061] If the magnetic field value is neither in the idle state range nor in the parking state range, it means that the geomagnetic detector may have strong magnetic interference or detect abnormal events. For example, the metal content of the chassis of some models is low, and the magnetic field does not change significantly when the vehicle enters or exits, resulting in the magnetic field value not falling into the parking state range.

[0062] At this time, the millimeter-wave radar can be enabled to determine whether there is a car parked in the parking space through the foreign object information collected by the millimeter-wave radar. Millimeter-wave radar is a radar that works in the millimeter wave band (millimeter wave) for detection. Millimeter-wave radar has the advantages of high resolution and high precision. Although the power consumption of millimeter-wave radar is relatively large, it can greatly save the energy consumption of millimeter-wave radar by only enabling it when the magnetic field value is outside the detection range. Moreover, the foreign object information collected by the millimeter-wave radar can be used to determine whether there is a car parked in the parking space, which can ensure the availability of parking space detection under strong magnetic interference.

[0063] S30. If the foreign object information includes that a foreign object is detected and the distance of the foreign object is within a first preset distance range, determine whether the magnetic field value is less than a magnetic field boundary threshold.

[0064] Understandably, millimeter-wave radar has strong penetration ability, can penetrate plastic casings, has low signal attenuation, and can accurately measure the distance of foreign objects. Here, foreign objects refer to vehicles or other obstacles.

[0065] The first preset distance range can be set according to actual needs, such as 15mm to 40mm. When the foreign object distance is within the first preset distance range, it means that there is foreign object covering the current millimeter-wave radar, such as metal covering, water immersion, sand and stone burial, etc. At this time, the measurement of the millimeter-wave radar is disturbed and accurate parking space detection results cannot be obtained.

[0066] In this case, the magnetic field value can be used again to determine whether there is a vehicle parked in the parking space. The magnetic field boundary threshold can be a dividing value between two detection intervals, and the value is an empirical value.

[0067] S40: If the magnetic field value is less than the magnetic field boundary threshold, it is determined that the parking space is in an idle state.

[0068] Understandably, if the magnetic field value is less than the magnetic field boundary threshold, it is considered that there is no vehicle parked in the parking space, and the parking space is determined to be in an idle state. If the magnetic field value is greater than or equal to the magnetic field boundary threshold, it is considered that there is a vehicle parked in the parking space, and the parking space is determined to be in a parked state.

[0069] In this embodiment, the combined use of the geomagnetic detector and the millimeter wave radar solves the problems of high misjudgment rate of parking space detection and complex installation and wiring in existing parking lots, and the overall solution has low energy consumption and long service life.

[0070] Optionally, step S10, i.e., obtaining the magnetic field value of the parking space by using a geomagnetic detector, includes:

[0071] S101, obtaining an environmental magnetic field value; detecting an initial magnetic field value of the parking space by using the geomagnetic detector;

[0072] S102: Determine the magnetic field value according to the ambient magnetic field value and the initial magnetic field value.

[0073] Understandably, the ambient magnetic field value refers to the background magnetic field value measured when there is no vehicle in the parking space. Here, the ambient magnetic field value can be updated regularly. The update frequency can be set according to actual needs, such as one month.

[0074] The initial magnetic field value refers to the magnetic field data directly measured by the geomagnetic detector. The magnetic field value obtained by the server can be the value obtained by subtracting the ambient magnetic field value from the initial magnetic field value.

[0075] In this embodiment, by determining whether there is a vehicle parked in a parking space based on the magnetic field value after deducting the ambient magnetic field value, interference from the ambient magnetic field can be eliminated, making the detection of the parking space more accurate.

[0076] Optionally, step S101, namely, obtaining the environmental magnetic field value, includes:

[0077] S1011. When a preset calibration period is reached, detecting a first working state of the parking space by the millimeter wave radar;

[0078] S1012: When the first working state is an idle state, detecting a first background magnetic field value of the parking space by the geomagnetic detector;

[0079] S1013. When the difference between the first background magnetic field value and the environmental magnetic field value before correction is less than a preset change threshold, set the environmental magnetic field value according to the first background magnetic field value.

[0080] Understandably, the preset calibration cycle can be set according to actual needs, such as the 3rd of each month. When the preset calibration cycle is reached, the first working state of the parking space can be detected by the millimeter wave radar to determine whether there is a vehicle parked in the parking space.

[0081] If the first working state is an idle state, the first background magnetic field value of the parking space can be detected by a geomagnetic detector, and then the first background magnetic field value is compared with the environmental magnetic field value before correction. If the difference between them is less than the preset change threshold, the first background magnetic field value is considered to be available. At this time, the first background magnetic field value can be set to a new environmental magnetic field value (compared to the environmental magnetic field value before correction). If the difference between them is greater than or equal to the preset change threshold, it is considered that there is a magnetic field anomaly. At this time, the first background magnetic field value is not available and needs to be remeasured. Here, the preset change threshold is an empirical value, which varies depending on the location.

[0082] If the first working state is the parking state, it is necessary to set a delayed correction, and then calibrate the ambient magnetic field value when the parking space is in an idle state.

[0083] This embodiment can obtain an environmental magnetic field value with better stability, thereby improving the accuracy of parking space detection.

[0084] Optionally, step S101, namely, obtaining the environmental magnetic field value, includes:

[0085] S1014, after receiving the instruction to calibrate the magnetic field value, detecting the second working state of the parking space by the millimeter wave radar;

[0086] S1015. When the second working state is an idle state, detecting a second background magnetic field value of the parking space by the geomagnetic detector;

[0087] S1016. When the difference between the second background magnetic field value and the environmental magnetic field value before correction is less than a preset change threshold, set the environmental magnetic field value according to the second background magnetic field value.

[0088] Understandably, the magnetic field correction instruction may be a correction instruction triggered by manual operation. In some cases, regular correction cannot meet the actual application requirements. In this case, a more accurate environmental magnetic field value may be obtained by manual correction.

[0089] Except for the different triggering conditions, the specific implementation of steps S1014 to S1016 may refer to steps S1011 to S1013 and will not be described in detail here.

[0090] Similarly, this embodiment can obtain an environmental magnetic field value with better stability, thereby improving the accuracy of parking space detection.

[0091] Optionally, also include:

[0092] S11, when a preset interference detection period is reached, collecting multiple frames of magnetic field values ​​through the geomagnetic detector;

[0093] S12, determining whether the multiple frames of magnetic field values ​​meet the magnetic field disturbance condition;

[0094] S13. If the multiple frames of magnetic field values ​​meet the magnetic field disturbance condition, a magnetic field disturbance event is generated.

[0095] Understandably, the preset interference detection period can be set according to actual needs, such as 2 months. Multi-frame magnetic field values ​​can refer to multiple magnetic field values ​​measured continuously. The magnetic field disturbance condition can be set according to actual needs. The magnetic field disturbance condition is used to determine whether the current magnetic field has a large amplitude jitter. If the multi-frame magnetic field values ​​meet the magnetic field disturbance condition, it means that the current magnetic field has a large amplitude jitter. At this time, a magnetic field disturbance event is generated. For example, next to large electric motor equipment and large metal enclosed areas, the magnetic field is severely disturbed. At this time, a geomagnetic detector should not be set in the parking space, but a sensor that is not disturbed by the magnetic field should be used. If the multi-frame magnetic field values ​​do not meet the magnetic field disturbance condition, it means that the current magnetic field has not experienced a large amplitude jitter, and a geomagnetic detector can be used.

[0096] After a magnetic field disturbance event occurs, staff can go to the parking space to check whether the source of the magnetic field disturbance can be eliminated. If it can be eliminated, the interference source needs to be eliminated as soon as possible to avoid normal detection of the parking space status.

[0097] Optionally, step S12, i.e., determining whether the multiple frames of magnetic field values ​​meet the magnetic field disturbance condition, includes:

[0098] S121, determining the magnetic field fluctuation rate within a specified time period according to the multiple frames of magnetic field values;

[0099] S122: If the magnetic field fluctuation rate is greater than a preset fluctuation threshold, it is determined that the multiple frames of magnetic field values ​​meet the magnetic field disturbance condition.

[0100] Understandably, the specified time period can be set according to actual needs, such as 3 seconds or more. The magnetic field fluctuation rate can be defined according to actual needs, such as the ratio between the maximum fluctuation difference and the average magnetic field value. The preset fluctuation threshold is an empirical value and can be set according to actual needs. If the magnetic field fluctuation rate is greater than the preset fluctuation threshold, it is determined that the multi-frame magnetic field value meets the magnetic field disturbance condition. If the magnetic field fluctuation rate is less than or equal to the preset fluctuation threshold, it is determined that the multi-frame magnetic field value does not meet the magnetic field disturbance condition.

[0101] Optionally, the detection interval includes an idle state interval and a parking state interval;

[0102] After step S10, that is, after the magnetic field value of the parking space is detected by the geomagnetic detector, the method further includes:

[0103] S14, if the magnetic field value is in the idle state interval, determining that the parking space is in an idle state;

[0104] S15: If the magnetic field value is in the parking state interval, it is determined that the parking space is in the parking state.

[0105] Understandably, the idle state interval and the parking state interval can be set according to actual needs. If the magnetic field value is in the idle state interval, it is determined that the parking space is in an idle state. The idle state means that there is no vehicle parked in the parking space. If the magnetic field value is in the parking state interval, it is determined that the parking space is in a parking state. The parking state means that there is a vehicle parked in the parking space.

[0106] In this embodiment, two state intervals are set, corresponding to the idle state and the parking state respectively. The working state of the parking space can be quickly determined based on the state interval where the magnetic field value is located.

[0107] Optionally, step S20, i.e., after obtaining the foreign object information of the parking space by the millimeter wave radar, further includes:

[0108] S21, if the foreign object information includes that no foreign object is detected, determining that the parking space is in an idle state;

[0109] S22. If the foreign object information includes that a foreign object is detected and the distance of the foreign object is within a second preset distance range, it is determined that the parking space is in a parking state; and the lowest value of the second preset distance range is greater than the highest value of the first preset distance range.

[0110] Understandably, foreign matter refers to any obstacle detected by the millimeter-wave radar, such as a metal obstacle. If the foreign object information includes that no foreign object is detected, it means that there is no vehicle parked in the parking space, and the parking space is determined to be in an idle state. If the foreign object information includes that a foreign object is detected and the distance of the foreign object is within a second preset distance range, the parking space is determined to be in a parked state. The second preset distance range is set based on the height of the vehicle chassis, such as 100mm to 500mm. In some examples, the lowest value (100mm) of the second preset distance range is greater than the highest value (40mm) of the first preset distance range.

[0111] This embodiment uses the foreign object information collected by the millimeter wave radar, and can judge the working status of the parking space according to the foreign object information.

[0112] Optionally, the NB module is connected to the geomagnetic detector and the millimeter wave radar respectively;

[0113] Step S10, i.e., obtaining the magnetic field value of the parking space by using a geomagnetic detector, comprises:

[0114] S103, detecting the magnetic field value of the parking space by a geomagnetic detector, and sending the magnetic field value to the NB module by the geomagnetic detector;

[0115] S104, receiving the magnetic field value through the NB module, and sending the magnetic field value to the service end by the NB module;

[0116] Step S20, i.e., obtaining the foreign object information of the parking space by using the millimeter wave radar, includes:

[0117] S201, scanning the parking space by the millimeter wave radar to obtain foreign object information, and sending the foreign object information to the NB module by the millimeter wave radar;

[0118] S202: Receive the foreign object information through the NB module, and send the foreign object information to the server by the NB module.

[0119] Understandably, if Figure 1 As shown, the NB module is connected to the geomagnetic detector and the millimeter wave radar respectively. The NB module acts as the main controller to control the geomagnetic detector and the millimeter wave radar. The NB module can adopt the openCPU solution and support secondary programming. The NB module is a low-power module with a sleep current as low as 5μA (3v).

[0120] The magnetic field value collected by the geomagnetic detector is sent to the server through the NB module. The foreign object information collected by the millimeter wave radar is sent to the server through the NB module. The communication between the NB module and the server can use the MQTT protocol (MessageQueue Telemetry Transport). The transmitted data uses the JSON format. All transmitted data is confirmed to be successfully delivered in the form of a response.

[0121] It should be understood that the order of execution of the steps in the above embodiment does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present invention.

[0122] In one embodiment, a parking space detection device is provided, and the parking space detection device corresponds to the parking space detection method in the above embodiment. Figure 3 As shown, the parking space detection device includes a geomagnetic detection module 10, a millimeter wave radar detection module 20, a geomagnetic secondary judgment module 30 and a parking space status judgment module 40.

[0123] The detailed description of each functional module is as follows:

[0124] The geomagnetic detection module 10 is used to obtain the magnetic field value of the parking space through a geomagnetic detector;

[0125] A millimeter wave radar detection module 20 is used to enable the millimeter wave radar if the magnetic field value is outside the detection interval, and obtain the foreign object information of the parking space through the millimeter wave radar;

[0126] The geomagnetic secondary judgment module 30 is used to judge whether the magnetic field value is less than the magnetic field boundary threshold if the foreign object information includes that a foreign object is detected and the distance of the foreign object is within a first preset distance range;

[0127] The parking space state determination module 40 is configured to determine that the parking space is in an idle state if the magnetic field value is less than a magnetic field boundary threshold.

[0128] Optionally, the geomagnetic detection module 10 includes:

[0129] An initial value acquisition unit, used to acquire an environmental magnetic field value; and detect the initial magnetic field value of the parking space through the geomagnetic detector;

[0130] The magnetic field value determining unit is used to determine the magnetic field value according to the ambient magnetic field value and the initial magnetic field value.

[0131] Optionally, the initial value acquisition unit includes:

[0132] A parking space status calibration and inspection unit, configured to detect a first working state of the parking space through the millimeter wave radar when a preset calibration cycle is reached;

[0133] a first background value acquisition unit, configured to detect a first background magnetic field value of the parking space by using the geomagnetic detector when the first working state is an idle state;

[0134] The first setting unit is used to set the environmental magnetic field value according to the first background magnetic field value when the difference between the first background magnetic field value and the environmental magnetic field value before correction is less than a preset change threshold.

[0135] Optionally, obtaining the environmental magnetic field value includes:

[0136] A manual parking space status checking unit, configured to detect the second working state of the parking space through the millimeter wave radar after receiving an instruction to correct the magnetic field value;

[0137] a second background value acquisition unit, configured to detect a second background magnetic field value of the parking space by using the geomagnetic detector when the second working state is an idle state;

[0138] The second setting unit is used to set the environmental magnetic field value according to the second background magnetic field value when the difference between the second background magnetic field value and the environmental magnetic field value before correction is less than a preset change threshold.

[0139] Optionally, the parking space detection device further includes a disturbance monitoring module, and the disturbance monitoring module includes:

[0140] A multi-frame acquisition unit, used for acquiring multi-frame magnetic field values ​​through the geomagnetic detector when a preset interference detection period is reached;

[0141] A disturbance determination unit, used to determine whether the multiple frames of magnetic field values ​​meet the magnetic field disturbance condition;

[0142] The disturbance event generating unit is used to generate a magnetic field disturbance event if the multiple frames of magnetic field values ​​meet the magnetic field disturbance condition.

[0143] Optionally, the disturbance judgment unit includes:

[0144] A magnetic field fluctuation rate calculation unit, used to determine the magnetic field fluctuation rate within a specified time period according to the multiple frames of magnetic field values;

[0145] The disturbance condition meeting unit is used to determine that the multiple frames of magnetic field values ​​meet the magnetic field disturbance condition if the magnetic field fluctuation rate is greater than a preset fluctuation threshold.

[0146] Optionally, the detection interval includes an idle state interval and a parking state interval;

[0147] The parking space status determination module 40 further includes:

[0148] a magnetic field value idle determination unit, configured to determine that the parking space is in an idle state if the magnetic field value is in the idle state interval;

[0149] The magnetic field value parking determination unit is used to determine that the parking space is in a parking state if the magnetic field value is in the parking state interval.

[0150] Optionally, the parking space status determination module 40 further includes:

[0151] a foreign object information idle determination unit, configured to determine that the parking space is idle if the foreign object information includes that no foreign object is detected;

[0152] A foreign object information parking determination unit is used to determine that the parking space is in a parking state if the foreign object information includes the detection of a foreign object and the distance of the foreign object is within a second preset distance range; the lowest value of the second preset distance range is greater than the highest value of the first preset distance range.

[0153] Optionally, the NB module is connected to the geomagnetic detector and the millimeter wave radar respectively;

[0154] The geomagnetic detection module 10 comprises:

[0155] a geomagnetic value detection unit, configured to detect the magnetic field value of the parking space through a geomagnetic detector, and the geomagnetic detector sends the magnetic field value to the NB module;

[0156] A geomagnetic value transmission unit, configured to receive the magnetic field value through the NB module, and send the magnetic field value to a service end by the NB module;

[0157] The millimeter wave radar detection module 20 includes:

[0158] A radar scanning unit, configured to scan the parking space by means of the millimeter-wave radar to obtain foreign object information, and send the foreign object information to the NB module by means of the millimeter-wave radar;

[0159] The foreign object information transmission unit is used to receive the foreign object information through the NB module, and the NB module sends the foreign object information to the service end.

[0160] For the specific definition of the parking space detection device, please refer to the definition of the parking space detection method above, which will not be repeated here. Each module in the above parking space detection device can be implemented in whole or in part by software, hardware and a combination thereof. The above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0161] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 4 As shown. The computer device includes a processor, a memory, a network interface and a database connected via a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a readable storage medium and an internal memory. The readable storage medium stores an operating system, computer-readable instructions and a database. The internal memory provides an environment for the operation of the operating system and computer-readable instructions in the readable storage medium. The database of the computer device is used to store data involved in the parking space detection method. The network interface of the computer device is used to communicate with an external terminal via a network connection. When the computer-readable instructions are executed by the processor, a parking space detection method is implemented. The readable storage medium provided in this embodiment includes a non-volatile readable storage medium and a volatile readable storage medium.

[0162] In one embodiment, a computer device is provided, including a memory, a processor, and computer-readable instructions stored in the memory and executable on the processor, wherein the processor executes the computer-readable instructions to implement the following steps:

[0163] Obtain the magnetic field value of the parking space through a geomagnetic detector;

[0164] If the magnetic field value is outside the detection range, the millimeter wave radar is activated to obtain foreign object information in the parking space through the millimeter wave radar;

[0165] If the foreign object information includes that a foreign object is detected and the distance of the foreign object is within a first preset distance range, determining whether the magnetic field value is less than a magnetic field boundary threshold;

[0166] If the magnetic field value is less than the magnetic field boundary threshold, it is determined that the parking space is in an idle state.

[0167] In one embodiment, one or more computer-readable storage media storing computer-readable instructions are provided. The readable storage media provided in this embodiment include non-volatile readable storage media and volatile readable storage media. The readable storage media store computer-readable instructions, and when the computer-readable instructions are executed by one or more processors, the following steps are implemented:

[0168] Obtain the magnetic field value of the parking space through a geomagnetic detector;

[0169] If the magnetic field value is outside the detection range, the millimeter wave radar is activated to obtain foreign object information in the parking space through the millimeter wave radar;

[0170] If the foreign object information includes that a foreign object is detected and the distance of the foreign object is within a first preset distance range, determining whether the magnetic field value is less than a magnetic field boundary threshold;

[0171] If the magnetic field value is less than the magnetic field boundary threshold, it is determined that the parking space is in an idle state.

[0172] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing related hardware through computer-readable instructions, and the computer-readable instructions can be stored in a non-volatile readable storage medium or a volatile readable storage medium. When the computer-readable instructions are executed, they may include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

[0173] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.

[0174] The embodiments described above are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included in the protection scope of the present invention.

Claims

1. A parking space detection method, characterized in that: include: Obtain the magnetic field value of the parking space through a geomagnetic detector; If the magnetic field value is outside the detection interval, the millimeter wave radar is activated to obtain foreign object information of the parking space through the millimeter wave radar; the detection interval refers to the magnetic field value interval used to determine whether the car is parked in the parking space; If the foreign object information includes that a foreign object is detected and the distance of the foreign object is within a first preset distance range, it is determined whether the magnetic field value is less than the magnetic field boundary threshold; when the distance of the foreign object is within the first preset distance range, it indicates that there is a foreign object covering the current millimeter-wave radar; the magnetic field boundary threshold is the boundary value between the idle state interval and the parking state interval; If the magnetic field value is less than the magnetic field boundary threshold, it is determined that the parking space is in an idle state.

2. The parking space detection method according to claim 1, characterized in that: The method of obtaining the magnetic field value of the parking space by using the geomagnetic detector includes: Acquire the environmental magnetic field value; detect the initial magnetic field value of the parking space by the geomagnetic detector; The magnetic field value is determined according to the ambient magnetic field value and the initial magnetic field value.

3. The parking space detection method according to claim 2, characterized in that: The obtaining of the environmental magnetic field value comprises: When a preset calibration period is reached, detecting a first working state of the parking space by the millimeter wave radar; When the first working state is an idle state, detecting a first background magnetic field value of the parking space by the geomagnetic detector; When the difference between the first background magnetic field value and the environmental magnetic field value before correction is less than a preset change threshold, the environmental magnetic field value is set according to the first background magnetic field value.

4. The parking space detection method according to claim 2, characterized in that: The obtaining of the environmental magnetic field value comprises: After receiving the instruction to correct the magnetic field value, detecting the second working state of the parking space by the millimeter wave radar; When the second working state is an idle state, detecting a second background magnetic field value of the parking space by the geomagnetic detector; When the difference between the second background magnetic field value and the environmental magnetic field value before correction is less than a preset change threshold, the environmental magnetic field value is set according to the second background magnetic field value.

5. The parking space detection method according to claim 1, characterized in that: Also includes: When a preset interference detection period is reached, multiple frames of magnetic field values ​​are collected by the geomagnetic detector; Determining whether the multiple frames of magnetic field values ​​meet the magnetic field disturbance condition; If the multiple frames of magnetic field values ​​meet the magnetic field disturbance condition, a magnetic field disturbance event is generated.

6. The parking space detection method according to claim 5, characterized in that: The determining whether the multiple frames of magnetic field values ​​meet the magnetic field disturbance condition includes: Determining the magnetic field fluctuation rate within a specified time period according to the multiple frames of magnetic field values; If the magnetic field fluctuation rate is greater than a preset fluctuation threshold, it is determined that the multiple frames of magnetic field values ​​meet the magnetic field disturbance condition.

7. The parking space detection method according to claim 1, characterized in that: The detection interval includes an idle state interval and a parking state interval; After detecting the magnetic field value of the parking space by the geomagnetic detector, the method further includes: If the magnetic field value is in the idle state interval, it is determined that the parking space is in an idle state; If the magnetic field value is in the parking state interval, it is determined that the parking space is in the parking state.

8. The parking space detection method according to claim 1, characterized in that: After obtaining the foreign object information of the parking space by the millimeter wave radar, the method further includes: If the foreign object information includes that no foreign object is detected, determining that the parking space is in an idle state; If the foreign object information includes that a foreign object is detected and the distance of the foreign object is within a second preset distance range, it is determined that the parking space is in a parking state; and the lowest value of the second preset distance range is greater than the highest value of the first preset distance range.

9. The parking space detection method according to claim 1, characterized in that: The NB module is connected to the geomagnetic detector and the millimeter wave radar respectively; The method of obtaining the magnetic field value of the parking space by using a geomagnetic detector includes: Detecting the magnetic field value of the parking space by a geomagnetic detector, and sending the magnetic field value to the NB module by the geomagnetic detector; The NB module receives the magnetic field value, and the NB module sends the magnetic field value to a service end; The acquiring the foreign object information of the parking space by using the millimeter wave radar includes: The parking space is scanned by the millimeter wave radar to obtain foreign object information, and the millimeter wave radar sends the foreign object information to the NB module; The foreign object information is received by the NB module, and the foreign object information is sent to the service end by the NB module.

10. A parking space detection device, characterized in that: include: A geomagnetic detection module is used to obtain the magnetic field value of the parking space through a geomagnetic detector; a millimeter-wave radar detection module, configured to enable the millimeter-wave radar if the magnetic field value is outside a detection interval, and obtain foreign object information in the parking space through the millimeter-wave radar; the detection interval refers to a magnetic field value interval used to determine whether a car is parked in the parking space; A geomagnetic secondary judgment module, for judging whether the magnetic field value is less than a magnetic field boundary threshold if the foreign object information includes that a foreign object is detected and the distance of the foreign object is within a first preset distance range; when the distance of the foreign object is within the first preset distance range, it indicates that there is a foreign object covering the current millimeter-wave radar; the magnetic field boundary threshold is a dividing value between an idle state interval and a parking state interval; The parking space state determination module is used to determine that the parking space is in an idle state if the magnetic field value is less than the magnetic field boundary threshold.

11. A computer device comprising a memory, a processor, and computer-readable instructions stored in the memory and executable on the processor, characterized in that: When the processor executes the computer-readable instructions, the parking space detection method according to any one of claims 1 to 9 is implemented.

12. One or more readable storage media storing computer-readable instructions, wherein when the computer-readable instructions are executed by one or more processors, the one or more processors execute the parking space detection method according to any one of claims 1 to 9.