CN110599778B - Working mode switching method and device and ground sensing type vehicle detector - Google Patents

Working mode switching method and device and ground sensing type vehicle detector Download PDF

Info

Publication number
CN110599778B
CN110599778B CN201910935640.4A CN201910935640A CN110599778B CN 110599778 B CN110599778 B CN 110599778B CN 201910935640 A CN201910935640 A CN 201910935640A CN 110599778 B CN110599778 B CN 110599778B
Authority
CN
China
Prior art keywords
vehicle detector
mode
frequency
switching
ground sensing
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
CN201910935640.4A
Other languages
Chinese (zh)
Other versions
CN110599778A (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 Jieshun Science and Technology Industry Co Ltd
Original Assignee
Shenzhen Jieshun Science and Technology Industry 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 Jieshun Science and Technology Industry Co Ltd filed Critical Shenzhen Jieshun Science and Technology Industry Co Ltd
Priority to CN201910935640.4A priority Critical patent/CN110599778B/en
Publication of CN110599778A publication Critical patent/CN110599778A/en
Application granted granted Critical
Publication of CN110599778B publication Critical patent/CN110599778B/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/14Traffic control systems for road vehicles indicating individual free spaces in parking areas
    • G08G1/141Traffic control systems for road vehicles indicating individual free spaces in parking areas with means giving the indication of available parking spaces

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Traffic Control Systems (AREA)

Abstract

The application is applicable to the technical field of communication, and provides a working mode switching method, a working mode switching device and a ground sensing type vehicle detector, wherein the method comprises the following steps: monitoring an oscillation frequency of the ground sensing vehicle detector when the ground sensing vehicle detector is in a detection mode; if the monitored oscillation frequency meets a preset vehicle-free state condition, switching the working mode of the ground sensing type vehicle detector to a sleep mode; the sleep mode is a working mode that the ground sensing type vehicle detector is in a power-off state, and the detection mode is a working mode that the ground sensing type vehicle detector is in a power-on state. By the method, the power consumption of the ground sensing type vehicle detector can be effectively reduced.

Description

Working mode switching method and device and ground sensing type vehicle detector
Technical Field
The present application belongs to the field of communications technologies, and in particular, to a method and an apparatus for switching operating modes, and a ground-sensing vehicle detector.
Background
With the increase of the automobile holding quantity, the demand of parking spaces is increased. The automatic detection technology of the vehicle on the parking space is the key for guaranteeing timely and accurate charging. The existing vehicle automatic detection technology comprises video detection, geomagnetic detection, ground induction coil detection and the like. The ground induction coil detection is a mainstream vehicle automatic detection mode in the current market due to the fact that the material cost is low and the detection rate is high.
However, the ground induction coil detector (i.e. ground induction type vehicle detector) usually needs to perform real-time detection, and has high power consumption, so that the working time is short, and further, timely and accurate charging cannot be guaranteed.
Disclosure of Invention
The embodiment of the application provides a switching method and a switching device of a working mode and a ground sensing type vehicle detector, and can solve the problem that the power consumption of the ground sensing type vehicle detector is high.
In a first aspect, an embodiment of the present application provides a method for switching an operating mode, where the method includes:
monitoring an oscillation frequency of the ground sensing vehicle detector when the ground sensing vehicle detector is in a detection mode;
if the monitored oscillation frequency meets a preset vehicle-free state condition, switching the working mode of the ground sensing type vehicle detector to a sleep mode;
the sleep mode is a working mode that the ground sensing type vehicle detector is in a power-off state, and the detection mode is a working mode that the ground sensing type vehicle detector is in a power-on state.
In a possible implementation manner of the first aspect, the method further includes:
when the work mode of the ground sensing type vehicle detector is switched to the sleep mode, starting a timer;
and when the timing time of the timer reaches the preset time, switching the working mode of the ground sensing type vehicle detector to a detection mode.
In one possible implementation manner of the first aspect, the switching the operation mode of the ground-sensing vehicle detector to the sleep mode includes:
and performing power-off processing on the ground sensing type vehicle detector.
In one possible implementation manner of the first aspect, the switching the operation mode of the ground-sensing vehicle detector to the detection mode includes:
and carrying out power-on processing on the ground sensing type vehicle detector.
In one possible implementation manner of the first aspect, after monitoring the oscillation frequency of the ground-sensing vehicle detector, the method further includes:
if the monitored oscillation frequency does not meet the preset vehicle-free state condition, vehicle detection is carried out according to the monitored oscillation frequency;
and uploading the result of the vehicle detection to a preset server.
In a possible implementation manner of the first aspect, the preset vehicle-free state condition is:
and M continuous frequency values exist in the monitored oscillation frequency, wherein the M is a natural number, and the oscillation frequency is a preset reference frequency.
In a second aspect, an embodiment of the present application provides an apparatus for switching an operating mode, including:
a frequency monitoring unit for monitoring an oscillation frequency of the ground-sensing vehicle detector when the ground-sensing vehicle detector is in a detection mode;
the first switching unit is used for switching the working mode of the ground sensing type vehicle detector to a sleep mode if the monitored oscillation frequency meets a preset vehicle-free state condition;
the sleep mode is a working mode that the ground sensing type vehicle detector is in a power-off state, and the detection mode is a working mode that the ground sensing type vehicle detector is in a power-on state.
In a third aspect, an embodiment of the present application provides a ground sensing vehicle detector, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the computer program, implements the method for switching the operating mode according to any one of the first aspect.
In a fourth aspect, the present application provides a computer-readable storage medium, where a computer program is stored, where the computer program is executed by a processor to implement the method for switching the operating mode according to any one of the foregoing first aspects.
In a fifth aspect, an embodiment of the present application provides a computer program product, which, when running on a terminal device, causes the terminal device to execute the method for switching the operating mode according to any one of the above first aspects.
It is understood that the beneficial effects of the second aspect to the fifth aspect can be referred to the related description of the first aspect, and are not described herein again.
Compared with the prior art, the embodiment of the application has the advantages that:
according to the embodiment of the application, when the ground sensing type vehicle detector is in a detection mode, the oscillation frequency of the ground sensing type vehicle detector is monitored, and in the detection mode, the ground sensing type vehicle detector is in a power supply state and carries out real-time detection; if the monitored oscillation frequency meets the preset vehicle-free state condition, switching the working mode of the ground sensing type vehicle detector to a sleep mode, and under the sleep mode, keeping the ground sensing type vehicle detector in a power-off state; by the method, the ground sensing type vehicle detector can be switched from the detection mode to the sleep mode when the vehicle is in a non-vehicle state, so that the ground sensing type vehicle detector does not need to carry out real-time detection for a long time, and the power consumption of the ground sensing type vehicle detector can be reduced while timely and accurately carrying out vehicle detection.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
FIG. 1 is a schematic circuit diagram of a ground-sensing vehicle detector according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of a method for switching operating modes according to an embodiment of the present application;
fig. 3 is a schematic flowchart of a method for switching operating modes according to another embodiment of the present application;
fig. 4 is a schematic flowchart of a method for switching operating modes according to another embodiment of the present application;
FIG. 5 is a schematic structural diagram of a switching device for providing an operating mode according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a ground-sensing vehicle detector according to an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
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 should also be 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 used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to" determining "or" in response to detecting ". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
Furthermore, in the description of the present application and the appended claims, the terms "first," "second," "third," and the like are used for distinguishing between descriptions and not necessarily for describing or implying relative importance.
Reference throughout this specification to "one embodiment" or "some embodiments," or the like, means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," or the like, in various places throughout this specification are not necessarily all referring to the same embodiment, but rather "one or more but not all embodiments" unless specifically stated otherwise.
Before describing the method for switching the operation modes in the embodiment of the present application, a ground-sensing vehicle detector suitable for the method in the embodiment of the present application will be described first. Referring to fig. 1, a schematic circuit structure diagram of a ground sensing type vehicle detector according to an embodiment of the present application is provided. As shown in fig. 1, the ground-sensing vehicle detector may include an oscillation circuit, a main chip, and a communication module, wherein the main chip may include an acquisition module, a timer, and a control circuit therein.
The ground induction coil and the capacitor form an oscillation circuit. The ground induction coil is buried under the road surface of the parking space and used for inducing the change of the magnetic field when a vehicle passes through. When the magnetic field is induced to change, the oscillation circuit can generate stable and reliable oscillation signals, and the acquisition module in the main chip can acquire the oscillation signals and transmit the oscillation signals to the control circuit through conversion; the control circuit measures the oscillation frequency of the oscillation circuit according to the received converted oscillation signal, judges whether a vehicle stops at the parking space according to the oscillation frequency, and can calculate traffic parameters such as the speed and the time occupancy of the vehicle according to the oscillation frequency; and finally, the control circuit uploads the detection result to a central control system such as a management platform through a communication module.
In the embodiment of the application, a timer is added in the main chip and is used for recording the time when the ground sensing type vehicle detector is in the sleep mode. Of course, the timer may be a third-party timer, and may be disposed outside the ground-sensing vehicle detector.
The ground sensing type vehicle detector can be in communication connection with a management platform (such as a preset server in the following method embodiment) through a communication module, and is used for uploading a detection result to the management platform through the communication module, so that the management platform records or displays the detection result and generates fare information according to the detection result, and a user of the management platform can also know the parking condition of the vehicle through the management platform. The communication means may be wired or wireless.
The switching method of the operation mode in the following embodiments may be stored in a main chip, and the switching method of the operation mode is executed by the main chip (for example, a control circuit in the main chip) of the ground-sensing vehicle detector.
In the embodiment of the present application, the operation mode of the ground-sensing vehicle detector is divided into a detection mode and a sleep mode. The detection mode is a working mode that the ground sensing type vehicle detector is in a power supply state. When the parking space detection device is in a detection mode, an oscillation circuit of the ground sensing type vehicle detector generates oscillation signals according to geomagnetic variation sensed by the ground sensing coil, an acquisition module acquires the oscillation signals, converts the oscillation signals and sends the converted oscillation signals to a control circuit, and the control circuit measures oscillation frequency of the oscillation circuit according to the oscillation signals and detects the state of the parking space according to the oscillation frequency, including detecting whether the parking space has a vehicle or not and the parking condition of the vehicle when the vehicle has the vehicle, such as parking time.
The sleep mode is an operating mode in which the ground-sensing vehicle detector is in a power-off state. When the parking space is in the sleep mode, the oscillation circuit of the ground sensing type vehicle detector is powered off, the state detection of the parking space is not carried out, and meanwhile, the acquisition module stops acquiring oscillation signals. The power-off state refers to the power-off of the oscillating circuit and the power-off of the acquisition module, and at the moment, the control circuit in the main chip keeps a power supply state.
Referring to fig. 2, a schematic flow chart of a method for switching an operating mode according to an embodiment of the present application mainly relates to an operating mode switching flow of a ground sensing vehicle detector in a detection mode. As shown in fig. 2, the method may include:
s201, when the ground sensing type vehicle detector is in a detection mode, the oscillation frequency of the ground sensing type vehicle detector is monitored.
The oscillation frequency can be obtained by measuring the oscillation signal acquired by the acquisition module through a control circuit in the main chip.
The acquisition module acquires signals at a certain acquisition frequency, and the acquisition frequency can be preset based on actual engineering requirements.
S202, if the monitored oscillation frequency meets the preset vehicle-free state condition, switching the working mode of the ground sensing type vehicle detector to the sleep mode.
The monitored oscillation frequency meets the preset vehicle-free state condition, namely, the condition that no vehicle exists in the parking space at the moment is indicated.
In one embodiment of the present application, the preset no-vehicle condition is:
and M continuous oscillation frequencies with frequency values as preset reference frequencies exist in the monitored oscillation frequencies, wherein M is a natural number.
The preset reference frequency may be a frequency value preset according to an actual device parameter, or may be a frequency value of an oscillation frequency in a no-vehicle state or a frequency value range.
For example, suppose that the oscillation frequency of the 1 st s is monitored to be 10Hz, the oscillation frequency of the 2 nd s is 10Hz, the oscillation frequency of the 3 rd s is 10Hz, and the oscillation frequency of the 4 th s is monitored to be 20 Hz. And the preset reference frequency is assumed to be 10 Hz.
When M is 2, when 2s is monitored, 2 continuous oscillation frequencies with the frequency value of 10Hz exist in the monitored oscillation frequencies, and the working mode of the ground sensing type vehicle detector can be switched to the sleep mode at 2 s.
When M is 4, there are no consecutive 4 oscillation frequencies having a frequency value of 10Hz among the monitored 4 oscillation frequencies, and thus at the 4 th time, the monitored oscillation frequency does not satisfy the preset no-vehicle condition, at which time the operation in step S401 may be performed.
It should be noted that the default acquisition frequency of the acquisition module in the above example is 1 time/s, which is only for convenience of description, and in practical application, the acquisition frequency, the value of M, the preset reference frequency, and the like are not specifically limited.
In one embodiment, switching the operation mode of the ground-sensing vehicle detector to the sleep mode includes:
and performing power-off processing on the ground sensing type vehicle detector.
In the embodiment of the application, the power-off processing of the ground sensing type vehicle detector means that the oscillating circuit and the acquisition module are powered off, and the control circuit in the main chip keeps a power supply state.
According to the embodiment of the application, when the ground sensing type vehicle detector is in a detection mode, the oscillation frequency of the ground sensing type vehicle detector is monitored, and in the detection mode, the ground sensing type vehicle detector is in a power supply state and carries out real-time detection; if the monitored oscillation frequency meets the preset vehicle-free state condition, switching the working mode of the ground sensing type vehicle detector to a sleep mode, and under the sleep mode, keeping the ground sensing type vehicle detector in a power-off state; by the method, the ground sensing type vehicle detector can be switched from the detection mode to the sleep mode when the vehicle is in a non-vehicle state, so that the ground sensing type vehicle detector does not need to carry out real-time detection for a long time, and the power consumption of the ground sensing type vehicle detector can be reduced while timely and accurately carrying out vehicle detection.
Referring to fig. 3, a flow chart of a method for switching an operating mode according to another embodiment of the present application is shown, and mainly relates to an operating mode switching flow of a ground sensing vehicle detector in a sleep mode. As shown in fig. 3, the method may include:
and S301, starting a timer when the work mode of the locality sensitive vehicle detector is switched to the sleep mode.
And S302, when the timing time of the timer reaches the preset time, switching the working mode of the ground sensing type vehicle detector to the detection mode.
The preset time can be preset manually according to actual conditions.
In one embodiment, switching the operation mode of the ground-sensing vehicle detector to the detection mode includes:
and carrying out power-on processing on the ground sensing type vehicle detector.
The power-on processing refers to the power-on of the acquisition modules in the oscillation circuit and the main chip respectively.
When the working mode of the ground sensing type vehicle detector is switched to the sleep mode, the timer is started, and the time of the ground sensing type vehicle detector in the sleep mode is controlled through the timer; and when the timing time of the timer reaches the preset time, switching the working mode of the ground sensing type vehicle detector to the detection mode. By the method, the ground sensing type vehicle detector can be switched to the detection mode at regular time, so that the working mode is periodically switched, and the ground sensing type vehicle detector is prevented from being in a dormant state all the time.
Referring to fig. 4, a schematic flow chart of a method for switching operating modes according to another embodiment of the present application is provided. The above step S202 describes a method for detecting that there is no vehicle, and when there is a vehicle, the method may further include a method as shown in fig. 4, including:
s401, if the monitored oscillation frequency does not meet the preset vehicle-free state condition, vehicle detection is carried out according to the monitored oscillation frequency.
And if the monitored oscillation frequency does not meet the preset vehicle-free state condition, indicating that a vehicle is in the parking space at the moment.
S402, uploading the result of the vehicle detection to a preset server.
The preset server may be a server in communication connection with the ground sensing type vehicle detector, and configured to receive a detection result of the ground sensing type vehicle detector.
In one embodiment, the step S401 of detecting the vehicle according to the monitored oscillation frequency may include the following steps:
A. if continuous N target frequencies exist in the monitored oscillation frequencies, recording the time corresponding to the first target frequency in the N target frequencies as an initial time, wherein the target frequency is the oscillation frequency of which the frequency value is within a preset range, and N is a natural number.
In practical applications, when the vehicle is parked in a parking space, the oscillation frequency should be higher than the preset reference frequency. Therefore, the preset range in the embodiment of the present application refers to a range of frequency values higher than the preset reference frequency, which can be preset according to parameters of actual equipment.
For example, suppose that the oscillation frequency of the 1 st s is 10Hz, the oscillation frequency of the 2 nd s is 20Hz, the oscillation frequency of the 3 rd s is 20Hz, the oscillation frequency of the 4 th s is 20Hz, the oscillation frequency of the 5 th s is 10Hz, and the oscillation frequency of the 6 th s is 10 Hz. And assuming that the preset reference frequency is 10Hz and the preset range is 15-25 Hz.
When N is 2, when the 3 rd frequency is monitored, 3 oscillation frequencies are monitored, and 2 continuous target frequencies exist, and at this time, the time (i.e., the 2 nd frequency) corresponding to the first target frequency in the 2 target frequencies is regarded as the starting time.
When N is 3, 4 oscillation frequencies are monitored in 4s, and 3 continuous target frequencies exist, and at this time, the time (i.e., 2s) corresponding to the first target frequency of the 3 target frequencies is regarded as the starting time.
It can be seen from the above example that the vehicle should enter the space at time 2 s.
It should be noted that the default acquisition frequency of the acquisition module in the above example is 1 time/s, which is only for convenience of description, and in practical application, the acquisition frequency, the value of N, the preset reference frequency, the preset range, and the like are not specifically limited.
B. And after the starting time, when the non-target frequency is monitored, recording the time corresponding to the non-target frequency as a cut-off time, wherein the non-target frequency is an oscillation frequency of which the frequency value is not in a preset range.
Continuing with the assumption of the example in step a, the 2 nd time is confirmed as the starting time, and after the 2 nd time, the non-target frequency is monitored at the 5 th time, and then the 5 th time is recorded as the cutoff time.
In practical applications, the non-target frequency may be a preset reference frequency, or may be a frequency other than the preset reference frequency (e.g., when the oscillation circuit is open, the non-target frequency may be 0 Hz; when the oscillation circuit is short-circuited, the non-target frequency may be greater than a maximum value within a preset range).
C. And calculating the parking time according to the starting time and the ending time, and taking the parking time as a result of vehicle detection.
In practical applications, the start time and the stop time may be the acquisition time set by the acquisition module (i.e. relative time, such as the 2 nd acquisition time), or may be the converted actual time (e.g. 10 o 10 min 10 sec).
When the starting time and the ending time are relative times and the parking time is calculated, the acquisition frequency of the acquisition module needs to be considered after the difference value between the starting time and the ending time is calculated.
For example, assuming that the start time is the 2 nd acquisition time, the end time is the 10 th acquisition time, and the acquisition frequency is 5 min/time, the parking time is (10-2) × 5 ═ 40 (min).
When the starting time and the ending time are actual times, only the difference value between the starting time and the ending time needs to be calculated. For example, assuming the start time is 10:10:10 and the stop time is 10:40:10, the parking time is 30 min.
According to the method, the preset server can record or display the detection result through the display equipment connected with the preset server and generate the fare information according to the detection result, and a user of the preset server can know the parking condition of the vehicle through the display equipment, so that the unified management of a plurality of parking spaces is facilitated; and the parking condition of the vehicle is not required to be monitored manually, so that the labor cost is saved, and the efficiency of parking monitoring is improved.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
Fig. 5 shows a block diagram of a switching device of an operation mode according to an embodiment of the present application, and for convenience of description, only a part related to the embodiment of the present application is shown.
Referring to fig. 5, the apparatus 5 includes:
and a frequency monitoring unit 51 for monitoring the oscillation frequency of the ground-sensing vehicle detector when the ground-sensing vehicle detector is in the detection mode.
The first switching unit 52 is configured to switch the working mode of the ground sensing type vehicle detector to the sleep mode if the monitored oscillation frequency meets a preset vehicle-free state condition.
The sleep mode is a working mode that the ground sensing type vehicle detector is in a power-off state, and the detection mode is a working mode that the ground sensing type vehicle detector is in a power-supply state.
Optionally, the apparatus 5 further includes:
and a starting unit 53 for starting the timer when the operation mode of the locality sensitive vehicle detector is switched to the sleep mode.
And a second switching unit 54 for switching the operation mode of the ground-sensing vehicle detector to the detection mode when the timing time of the timer reaches a preset time.
Optionally, the first switching unit 52 includes:
and the power-off module is used for performing power-off processing on the ground sensing type vehicle detector.
Optionally, the second switching unit 54 includes:
and the power-on module is used for carrying out power-on processing on the ground sensing type vehicle detector.
Optionally, the apparatus 5 further includes:
and a vehicle detection unit 55, configured to, after monitoring the oscillation frequency of the ground-sensing vehicle detector, perform vehicle detection according to the monitored oscillation frequency if the monitored oscillation frequency does not satisfy a preset vehicle-free state condition.
And a result uploading unit 56 for uploading the result of the vehicle detection to a preset server.
Optionally, the preset vehicle-free state condition is as follows:
and M continuous frequency values are oscillation frequencies of a preset reference frequency in the monitored oscillation frequencies, wherein M is a natural number.
It should be noted that, for the information interaction, execution process, and other contents between the above-mentioned devices/units, the specific functions and technical effects thereof are based on the same concept as those of the embodiment of the method of the present application, and specific reference may be made to the part of the embodiment of the method, which is not described herein again.
The operation mode switching device shown in fig. 5 may be a software unit, a hardware unit, or a combination of software and hardware unit built in the existing terminal device, may be integrated into the terminal device as a separate pendant, or may exist as a separate terminal device.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
Fig. 6 is a schematic structural diagram of a ground-sensing vehicle detector according to an embodiment of the present application. As shown in fig. 6, the ground-sensing vehicle detector 6 of this embodiment includes: at least one processor 60 (only one is shown in fig. 6), a memory 61, and a computer program 62 stored in the memory 61 and executable on the at least one processor 60, wherein the processor 60 executes the computer program 62 to implement the steps in any of the above-mentioned embodiments of the method for switching the operation modes.
The ground sensing vehicle detector may include, but is not limited to, a processor, a memory. Those skilled in the art will appreciate that fig. 6 is merely an example of the ground-sensing vehicle detector 6, and does not constitute a limitation of the ground-sensing vehicle detector 6, and may include more or less components than those shown, or some components in combination, or different components, such as input-output devices, network access devices, etc.
The Processor 60 may be a Central Processing Unit (CPU), and the Processor 60 may be other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 61 may be an internal storage unit of the ground-sensing vehicle detector 6 in some embodiments, such as a hard disk or a memory of the ground-sensing vehicle detector 6. The memory 61 may also be an external storage device of the ground sensing vehicle detector 6 in other embodiments, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the ground sensing vehicle detector 6. Further, the memory 61 may also include both an internal storage unit and an external storage device of the ground-sensing vehicle detector 6. The memory 61 is used for storing an operating system, an application program, a BootLoader (BootLoader), data, and other programs, such as program codes of the computer program. The memory 61 may also be used to temporarily store data that has been output or is to be output.
The embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the computer program implements the steps in the above-mentioned method embodiments.
The embodiments of the present application provide a computer program product, which when running on a mobile terminal, enables the mobile terminal to implement the steps in the above method embodiments when executed.
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 computer readable storage medium. Based on such understanding, all or part of the processes in the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium and can implement the steps of the embodiments of the methods described above when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer readable medium may include at least: any entity or device capable of carrying computer program code to a photographing device/ground-sensing vehicle detector, a recording medium, a computer Memory, a Read-Only Memory (ROM), a Random Access Memory (RAM), an electrical carrier wave signal, a telecommunications signal, and a software distribution medium. Such as a usb-disk, a removable hard disk, a magnetic or optical disk, etc. In certain jurisdictions, computer-readable media may not be an electrical carrier signal or a telecommunications signal in accordance with legislative and patent practice.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. 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 application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/network device and method may be implemented in other ways. For example, the above-described apparatus/network device embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implementing, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (9)

1. A method for switching operating modes, the method comprising:
monitoring an oscillation frequency of a ground sensing vehicle detector when the ground sensing vehicle detector is in a detection mode;
if the monitored oscillation frequency meets a preset vehicle-free state condition, switching the working mode of the ground sensing type vehicle detector to a sleep mode, wherein the sleep mode is the working mode that the ground sensing type vehicle detector is in a power-off state, and the detection mode is the working mode that the ground sensing type vehicle detector is in a power-supply state;
if the monitored oscillation frequency does not meet the preset vehicle-free state condition, vehicle detection is carried out according to the monitored oscillation frequency, and the vehicle detection result is uploaded to a preset server;
the detecting of the vehicle according to the monitored oscillation frequency comprises:
if N continuous target frequencies exist in the monitored oscillation frequencies, recording the moment corresponding to the first target frequency in the N target frequencies as an initial moment, wherein the target frequency is the oscillation frequency of which the frequency value is within a preset range, and N is a natural number;
after the starting time, when a non-target frequency is monitored, recording the time corresponding to the non-target frequency as a cut-off time, wherein the non-target frequency is an oscillation frequency of which the frequency value is not in the preset range;
and calculating parking time according to the starting time and the ending time, and taking the parking time as a result of the vehicle detection.
2. The method for switching operating modes according to claim 1, characterized in that the method further comprises:
when the work mode of the ground sensing type vehicle detector is switched to the sleep mode, starting a timer;
and when the timing time of the timer reaches the preset time, switching the working mode of the ground sensing type vehicle detector to a detection mode.
3. The operating mode switching method according to claim 2, wherein the switching of the operating mode of the ground-sensing vehicle detector to the sleep mode includes:
and performing power-off processing on the ground sensing type vehicle detector.
4. The operating mode switching method according to claim 3, wherein the switching of the operating mode of the ground-sensing vehicle detector to the detection mode includes:
and carrying out power-on processing on the ground sensing type vehicle detector.
5. The method for switching the operation mode according to any one of claims 1 to 4, wherein the preset no-vehicle state condition is:
and M continuous frequency values exist in the monitored oscillation frequency, wherein the M is a natural number, and the oscillation frequency is a preset reference frequency.
6. An operating mode switching apparatus, comprising:
a frequency monitoring unit for monitoring an oscillation frequency of the ground sensing vehicle detector when the ground sensing vehicle detector is in a detection mode;
the ground sensing type vehicle detector comprises a first switching unit, a second switching unit and a control unit, wherein the first switching unit is used for switching the working mode of the ground sensing type vehicle detector to a sleep mode if the monitored oscillation frequency meets a preset vehicle-free state condition, the sleep mode is the working mode that the ground sensing type vehicle detector is in a power-off state, and the detection mode is the working mode that the ground sensing type vehicle detector is in a power-on state;
the vehicle detection unit is used for detecting a vehicle according to the monitored oscillation frequency if the monitored oscillation frequency does not meet the preset vehicle-free state condition;
the result uploading unit is used for uploading the result of the vehicle detection to a preset server;
the vehicle detection unit is further configured to:
if N continuous target frequencies exist in the monitored oscillation frequencies, recording the moment corresponding to the first target frequency in the N target frequencies as an initial moment, wherein the target frequency is the oscillation frequency of which the frequency value is within a preset range, and N is a natural number;
after the starting time, when a non-target frequency is monitored, recording the time corresponding to the non-target frequency as a cut-off time, wherein the non-target frequency is an oscillation frequency of which the frequency value is not in the preset range;
and calculating parking time according to the starting time and the ending time, and taking the parking time as a result of the vehicle detection.
7. The operating mode switching apparatus according to claim 6, wherein said apparatus further comprises:
the starting unit is used for starting a timer when the working mode of the ground sensing type vehicle detector is switched to the sleep mode;
and the second switching unit is used for switching the working mode of the ground sensing type vehicle detector to the detection mode when the timing time of the timer reaches the preset time.
8. A ground-sensing vehicle detector comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the method according to any of claims 1 to 5 when executing the computer program.
9. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1 to 5.
CN201910935640.4A 2019-09-29 2019-09-29 Working mode switching method and device and ground sensing type vehicle detector Active CN110599778B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910935640.4A CN110599778B (en) 2019-09-29 2019-09-29 Working mode switching method and device and ground sensing type vehicle detector

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910935640.4A CN110599778B (en) 2019-09-29 2019-09-29 Working mode switching method and device and ground sensing type vehicle detector

Publications (2)

Publication Number Publication Date
CN110599778A CN110599778A (en) 2019-12-20
CN110599778B true CN110599778B (en) 2021-03-12

Family

ID=68864747

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910935640.4A Active CN110599778B (en) 2019-09-29 2019-09-29 Working mode switching method and device and ground sensing type vehicle detector

Country Status (1)

Country Link
CN (1) CN110599778B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112466011A (en) * 2020-11-26 2021-03-09 武汉嘟嘟有位科技有限公司 Parking space lock control method, parking space lock and computer equipment
CN113570874A (en) * 2021-09-07 2021-10-29 深圳市捷顺科技实业股份有限公司 Parking detection method, device and equipment and vehicle detector

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103106809A (en) * 2012-12-31 2013-05-15 北京时代凌宇科技有限公司 Detecting method and device for parking car tracking positioning
CN103440765A (en) * 2013-08-30 2013-12-11 深圳市捷顺科技实业股份有限公司 Detecting method and device for vehicle
US20140232569A1 (en) * 2013-02-21 2014-08-21 Apple Inc. Automatic identification of vehicle location
CN104794933A (en) * 2015-05-04 2015-07-22 江苏省交通规划设计院股份有限公司 Method for improving accuracy of geomagnetic parking stall detector
CN108961814A (en) * 2018-06-26 2018-12-07 江苏太元智音信息技术股份有限公司 A kind of multifactor method for judging parking stall and whether thering is vehicle to cover

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103106809A (en) * 2012-12-31 2013-05-15 北京时代凌宇科技有限公司 Detecting method and device for parking car tracking positioning
US20140232569A1 (en) * 2013-02-21 2014-08-21 Apple Inc. Automatic identification of vehicle location
CN103440765A (en) * 2013-08-30 2013-12-11 深圳市捷顺科技实业股份有限公司 Detecting method and device for vehicle
CN104794933A (en) * 2015-05-04 2015-07-22 江苏省交通规划设计院股份有限公司 Method for improving accuracy of geomagnetic parking stall detector
CN108961814A (en) * 2018-06-26 2018-12-07 江苏太元智音信息技术股份有限公司 A kind of multifactor method for judging parking stall and whether thering is vehicle to cover

Also Published As

Publication number Publication date
CN110599778A (en) 2019-12-20

Similar Documents

Publication Publication Date Title
US11307639B2 (en) Power consumption control method and system for electronic positioning device, and electronic positioning device
CN107380004B (en) Electric vehicle battery management method, device and system
CN110599778B (en) Working mode switching method and device and ground sensing type vehicle detector
US20150154016A1 (en) Internal software updating method and system
CN206475763U (en) A kind of power circuit and charging pile control system with super capacitor energy-storage circuit
CN103250029B (en) Mobile terminal and continuous moving detection method
CN107464296A (en) Parking stall parking charge method, apparatus and storage medium
WO2013142975A1 (en) Method and system for providing an indication of a path followed by a bicycle
CN106412293B (en) Foreign matter detection method and device and terminal equipment
CN104076904A (en) Method and device for controlling hardware state of mobile terminal
CN110060420B (en) Charging and billing method and device, terminal equipment and computer readable storage medium
CN113760333A (en) Software upgrading method and device, electronic equipment and computer readable storage medium
CN111200864A (en) Data processing method, device, equipment and storage medium
CN110080071B (en) Road collapse early warning method and system and terminal equipment
KR101029056B1 (en) Black box apparatus for vehicle and method for monitoring vehicle state by the same
CN105488678A (en) Payment behavior information acquisition method and system
US9646351B2 (en) Estimation of jurisdictional boundary crossings for fuel tax reporting
CN106153068A (en) Tire mileage monitoring method, Apparatus and system
CN110246361B (en) Parking management method and device based on intelligent spikes and mobile phone terminal
CN108288377B (en) Road condition information generation method and device
CN115623557A (en) Network finding frequency determining method, network finding frequency determining device and electronic equipment
CN114643951A (en) Vehicle wading prompting method and device, control device, storage medium and vehicle
CN115528772A (en) Power supply stability detection method and device, charging equipment and readable medium
RU2620277C1 (en) Method, device and usage records display system
CN104350476A (en) A method and a device for adjusting a version checking period

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