This application claims priority to Chinese Patent Application No. 201910436133.6 filed on May 23, 2019, the contents of which are incorporated by reference herein.
The subject matter herein generally relates to Internet of Things (IoT) technology, and particularly to an electronic device and a method for detecting parking occupancy.
Smart parking systems based on magnetic devices are widely used. The magnetic device, arranged on each parking space, detects whether the parking space is occupied and sends parking information to at least one user terminal, such as a mobile phone. However, magnetic field detected by magnetic sensors of the magnetic device can be easily affected by parked vehicles in other nearby parking spaces, thus the parking information may be inaccurate, so that the user may receive wrong information.
Many aspects of the disclosure can be better understood with reference to the following drawings. The components in the drawings are not necessarily drawn to scale, the emphasis instead being placed upon clearly illustrating the principles of the disclosure. Moreover, in the drawings, like reference numerals designate corresponding parts throughout the several views.
It will be appreciated that for simplicity and clarity of illustration, where appropriate, reference numerals have been repeated among the different figures to indicate corresponding or analogous elements. In addition, numerous specific details are set forth in order to provide a thorough understanding of the embodiments described herein. However, it will be understood by those of ordinary skill in the art that the embodiments described herein can be practiced without these specific details. In other instances, methods, procedures, and components have not been described in detail so as not to obscure the related relevant feature being described. Also, the description is not to be considered as limiting the scope of the embodiments described herein. The drawings are not necessarily to scale and the proportions of certain parts have been exaggerated to better illustrate details and features of the present disclosure.
The present disclosure, including the accompanying drawings, is illustrated by way of examples and not by way of limitation. Several definitions that apply throughout this disclosure will now be presented. It should be noted that references to “an” or “one” embodiment in this disclosure are not necessarily to the same embodiment, and such references mean “at least one.”
Furthermore, the term “module”, as used herein, refers to logic embodied in hardware or firmware, or to a collection of software instructions, written in a programming language, such as, Java, C, or assembly. One or more software instructions in the modules can be embedded in firmware, such as in an EPROM. The modules described herein can be implemented as either software and/or hardware modules and can be stored in any type of non-transitory computer-readable medium or other storage device. Some non-limiting examples of non-transitory computer-readable media include CDs, DVDs, BLU-RAY, flash memory, and hard disk drives. The term “comprising” means “including, but not necessarily limited to”; it specifically indicates open-ended inclusion or membership in a so-described combination, group, series, and the like.
In at least one embodiment, the electronic device 1 can further communicate with at least one terminal device 3. The terminal device 3 can be a smart phone or a personal computer.
Referring to
The processor 10 can be a central processing unit (CPU), a microprocessor, or other data processor chip that performs functions of the electronic device 1.
In at least one embodiment, the storage device 20 can include various types of non-transitory computer-readable storage mediums. For example, the storage device 20 can be an internal storage system, such as a flash memory, a random access memory (RAM) for temporary storage of information, and/or a read-only memory (ROM) for permanent storage of information. The storage device 20 can also be an external storage system, such as a hard disk, a storage card, or a data storage medium.
In at least one embodiment, the IoT device 30 can be a communication device base on an IoT protocol. The magnetic sensor 40 is arranged in or on ground corresponding to a parking space, and can communicate with the IoT device 30 through wireless network, such as BLUETOOTH, WI-FI, or ZIGBEE.
Referring to
The detecting module 101 is used to control the magnetic sensor 40 to detect occupancy or non-occupancy of a parking space.
In at least one embodiment, the detecting module 101 controls the magnetic sensor 40 to detect the occupancy or non-occupancy of the parking space at predetermined time intervals. The magnetic sensor 40 carries out the detection according to a change of magnetic field intensity around the parking space. In at least one embodiment, the predetermined time interval can be ten minutes.
When the magnetic sensor 40 detects that a vehicle leaves the parking space, the magnetic sensor 40 determines that the parking space is not occupied. When the magnetic sensor 40 detects that a vehicle is parking in the parking space, the magnetic sensor 40 determines that the parking space is occupied.
When the magnetic sensor 40 detects that the parking space is occupied or not occupied, the wake-up module 102 is used to wake up the IoT device 30 from a power-saving mode, to enter a connection mode.
In at least one embodiment, working modes of the IoT device 30 include the connection mode and the power-saving mode. In detail, in an initial state, no vehicle is parked in the parking space, the IoT device 30 is idle, and the IoT device 30 can automatically sleep to enter the power-saving mode. When a vehicle is parked in the parking space or a vehicle leaves the parking space, the IoT device 30 is woken up from the power-saving mode to enter the connection mode, and attempts to communicate with the IoT server 2. The occupancy or non-occupancy of the parking space can thus be transmitted to the terminal device 3 through the IoT server 2 in time.
The searching module 103 is used to control the IoT device 30 to search for a cell base on the IoT protocol.
In at least one embodiment, when the IoT device 30 is awakened and attempts to communicate with the IoT server 2, the IoT device 30 requires to search for the cell to achieve synchronization with a time of the cell and a frequency of the cell, so as to read system information and carry out subsequent data transmission. In at least one embodiment, the system information at least includes a cell ID, a system bandwidth, and cell broadcast information.
The calculating module 104 is used to calculate a number of parameter values of received signal when the IoT device 30 is searching for the cell.
In at least one embodiment, the IoT server 2 transmits IoT signals, when the IoT device 30 is searching for the cell to attempts to communicate with the IoT server 2, and the IoT device 30 can receive the IoT signals from the IoT server 2. The number of parameter values at least include a received signal strength value Srxlev, a received signal level value Qrelevmeas, and a minimum threshold value Qrxlevmin of the received signal.
The calculating module 104 calculates the received signal strength value Srxlev using following equation 1:
S
rxlev
=Q
rxlevmeas−(Qrxlevmin+Qrxlevminoffset)−Pcompensation (1).
In equation 1, Qrxlevminoffset is an offset value of the minimum threshold value Qrxlevmin, when the IoT device 30 resides on a VPLMN (Visited Public Land Mobile Network) for periodically searching PLMN (Public Land Mobile Network) with a higher level, Pcompensation is equal to max (PEMAX-PUMAX, 0), therein PEMAX is a maximum permitted transmitting power determined by the system when the IoT device 30 enters the searched cell, and PUMAX is a maximum output power of the IoT device 30. The received signal level value Qrelevmeas and the minimum threshold value Qrxlevmin of the received signal can be acquired on a RF log generated by the IoT device 30 when the cell is being searched for.
The acquiring module 105 is used to acquire a predetermined standard value corresponding to each of number of parameter values of the received signal from the IoT server 2.
In at least one embodiment, when the IoT device 30 communicates with the IoT server 2 through searching for the cell, the acquiring module 105 can download the predetermined standard value corresponding to each parameter value from the IoT server 2.
For example, a predetermined standard value corresponding to the received signal strength value Srxlev can be V1, a predetermined standard value corresponding to the received signal level value Qrxlevmeas can be V2, a predetermined standard value corresponding to the minimum threshold value of the received signal Qrxlevmin can be V3, and a time value or count can be T.
The determining module 106 is used to determine whether each of the number of parameter values is greater than the predetermined standard value.
In at least one embodiment, the determining module 106 determines whether each of the number of parameter values is greater than the predetermined standard value within a predetermined time interval T.
In detail, the determining module 106 determines, within the predetermined time interval T, whether the received signal strength value Srxlev is greater than the predetermined standard value V1, whether the received signal level value Qrxlevmeas is greater than the predetermined standard value V2, and whether the minimum threshold value of the received signal Qrxlevmin is greater than the predetermined standard value V3.
The confirming module 107 is used to confirm that a vehicle is parked in the parking space and that the parking space is occupied, when each of the number of parameter values of the received signal is greater than the predetermined standard value.
In other embodiments, when at least one of the number of parameter values of the received signal is greater than the predetermined standard value, the confirming module 107 can confirm that a vehicle is parked in the parking space and that the parking space is occupied.
The confirming module 107 is further used to confirm that a vehicle leaves the parking space and that the parking space is not occupied, when each of the number of parameter values of the received signal is equal to or less than the predetermined standard value.
In other embodiments, when at least one of the number of parameter values of the received signal is equal to or less than the corresponding predetermined standard value, the confirming module 107 can confirm that a vehicle leaves the parking space and that the parking space is not occupied.
The transmission module 108 is used to transmit information as to a state of the parking space to the terminal device 3.
In at least one embodiment, the information as to a state of the parking space includes an occupied or a non-occupied state.
The calculating module 104 can further upload the number of calculated parameter values of the received signal to the IoT server 2, the IoT server 2 can transmit the number of calculated parameter values of the received signal to a data server 4 (shown in
At block 401, a detecting module controls a magnetic sensor of an electronic device to detect occupancy or non-occupancy of a parking space.
At block 402, when the magnetic sensor detects that the parking space is occupied or not occupied, a wake-up module wakes up an IoT device of the electronic device from a power-saving mode to enter a connection mode.
At block 403, a searching module controls the IoT device to search for a cell base on the IoT protocol.
At block 404, a calculating module calculates a number of parameter values of received signal from an IoT server when the IoT device is searching for the cell.
At block 405, an acquiring module acquires a predetermined standard value corresponding to each of the number of parameter values of the received signal from the IoT server.
At block 406, a determining module determines whether each of the number of parameter values is greater than the predetermined standard value.
At block 407, a confirming module confirms that a vehicle is parking in the parking space and that the parking space is occupied, when each of the number of parameter values of the received signal is greater than the predetermined standard value.
At block 408, the confirming module further confirms that a vehicle leaves the parking space and that the parking space is not occupied, when each of the number of parameter values of the received signal is equal to or less than the predetermined standard value.
At block 409, a transmission module transmits information as to a state of the parking space to a terminal device.
The method for detecting parking occupancy can further includes: the calculating module further uploads the number of calculated parameter values of the received signal to the IoT server, the IoT server transmits the number of calculated parameter values of the received signal to a data server, the data server 4 calculates updated predetermined standard values, and transmit the updated predetermined standard values back to the IoT server.
It is believed that the present embodiments and their advantages will be understood from the foregoing description, and it will be apparent that various changes may be made thereto without departing from the spirit and scope of the disclosure or sacrificing all of its material advantages, the examples hereinbefore described merely being embodiments of the present disclosure.
| Number | Date | Country | Kind |
|---|---|---|---|
| 201910436133.6 | May 2019 | CN | national |