Detailed Description
In order to make those skilled in the art better understand the technical solutions in the embodiments of the present specification, the technical solutions in the embodiments of the present specification will be described in detail below with reference to the drawings in the embodiments of the present specification, and it is obvious that the described embodiments are only a part of the embodiments of the present specification, and not all the embodiments. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of protection.
In the current parking payment scheme, if the noninductive payment is required (namely cash change is not required in the whole process, a mobile phone code is not required to be scanned, and related information is not required to be displayed), the method mainly comprises the following schemes:
the first is a scheme for recognizing the entrance and exit of a license plate in a parking lot based on a camera, firstly, the license plate and a payment account are bound under the scheme, the license plate is recognized through the camera, and the payment account is directly inquired to deduct money from the account.
The other is a wireless payment scheme based on BLE, WIFI, NFC and other modes. However, in such schemes, BLE and WiFi have a problem of multipath reflection, and accordingly, an estimated distance error is large, for example, when a vehicle is located by using a BLE signal, models of different models, whether windows of the vehicle are swung down, or even front and back sides of a mobile phone are placed, may affect location, an effect is not good, user experience is poor, and NFC is not suitable for communication exceeding 20 cm.
Based on this, this specification embodiment provides a more convenient noninductive parking payment scheme. As shown in fig. 1, fig. 1 is a schematic diagram of a system architecture according to an embodiment of the present disclosure. In the system, two aspects are included, namely a mobile device and a parking space control device.
In this specification, the mobile device may be a vehicle of a user, or may be a mobile phone, a tablet computer, or other intelligent devices that the user can carry with him. The mobile device may broadcast Ultra Wide Band (UWB) signals to the surroundings. UWB is a wireless carrier communication technology that uses nanosecond-level non-sinusoidal narrow pulses to transmit data. For example, the associated UWB chip may be pre-embedded in the removable device, so that UWB signals may be transmitted and received.
The parking space control equipment is also equipment capable of receiving and transmitting UWB signals. Generally, the parking space control device should be disposed at a fixed position, for example, on an entry/exit rail of a parking lot. In the system shown in fig. 1, the parking space control device is arranged to control the entrance and exit of the two railings. In other words, in this specification, the parking space control device may also be used to control the taking off and landing of the balustrade.
Based on the scenario shown in fig. 1, an embodiment of this specification provides a UWB parking payment method system, including a mobile device and a parking space control device, in the system, a specific execution method includes the following steps, as shown in fig. 2, fig. 2 is a schematic step diagram of an execution flow of the system provided in the embodiment of this specification, and includes:
s201, the mobile device broadcasts an ultra-wideband UWB signal to the surrounding.
In one embodiment, the mobile device may continuously broadcast UWB signals to the surroundings. For example, a UWB chip is built in a vehicle of a user, and UWB signals are continuously broadcast to the surroundings through the vehicle-mounted UWB chip.
In another embodiment, the UWB signal broadcasting function of the mobile device may be in a sleep state at ordinary times, and the broadcasting function is activated only after receiving a corresponding activation signal, and the UWB signal is broadcasted outwards.
For example, a parking space control device in a parking lot continuously broadcasts a UWB activation signal to the surroundings and appropriately controls the coverage area of the activation signal so that a mobile device within the coverage area initiates a broadcast function and broadcasts a UWB signal to the outside upon detecting the activation signal.
Further, the activation range of the UWB activation signal may be coincident with the payment region or slightly larger than the payment region range.
S203, the parking space control device receives the UWB signal sent by the movable device, detects whether the movable device enters a payment area according to the UWB signal, and establishes communication connection with the movable device after confirming that the movable device enters the payment area.
As described above, UWB has a large amount of data to be transmitted due to the high frequency characteristics, and is not easily affected by multipath effects, and is suitable for ranging over medium and short distances.
Specifically, the parking space control device may perform three-point ranging by measuring time taken to reach different signal receiving devices (for example, one signal receiving device is mounted on each of two railings) to obtain a distance between a transmitting point and a receiving point, for example, using a positioning method based on arrival time (time of arrival). Or a Time Difference of arrival (TDOA) based positioning method TDOA, etc., so that the position or coordinates of the mobile device can be accurately obtained.
In a specific implementation manner, after the coordinates of the mobile device are determined, in addition to determining the distance between the mobile device and the parking space control device according to the position, the mobile device may be directly connected to the parking space control device, and an included angle μ between the connection line and a preset reference line is determined, where the parking space control device is located on the preset reference line. In practical application, the straight line where the two railings are located can be used as a datum line, and the parking space control equipment is located between the two railings, namely the midpoint of the datum line.
As shown in fig. 3, fig. 3 is a schematic diagram of a specific payment area detection provided in the embodiment of the present disclosure. Where min _ dis and max _ dis are used to indicate the range of distances, i.e. to determine the distance interval min _ dis, max _ dis, while if at the same time the angle μ is also within the preset angle range, it may be determined that the user's removable device is within the payment area. In this embodiment, the range of the payment area is required to be related to the length of the actual balustrade, the width of the road, and the general length of the vehicle, and the range of the distance and angle is also determined according to the aforementioned related factors, so as to ensure that only one vehicle at most enters the payment area at the same time, thereby avoiding repeated payment.
After determining that the mobile device enters the payment area, the parking spot control can establish a communication connection with the mobile device. After the communication connection is established, information may be transmitted by UWB signals, or information may be transmitted by other methods.
S205, the movable device sends a payment identifier to the parking space control device through the communication connection, and the payment identifier is used for confirming a payment account.
After the communication connection is established, the mobile device sends a payment identifier to the parking space control device through the communication connection, and the payment identifier is used for confirming a payment account.
For example, the mobile device directly sends a preset payment account identifier (e.g., a bank card number, a third party payment account, etc.) to the parking space control device; or the mobile equipment calls a preset two-dimensional code function to generate corresponding payment code information, and sends the payment code information containing the payment identifier to the parking space control equipment through a UWB signal. Based on common sense, the payment code may include, in addition to the payment account id of the user, other more related information, for example, in practical application, a license plate number, time, and the like, which may be set according to practical needs, and will not be described herein again.
In one embodiment, especially in some scenarios with poor signal, such as remote locations, basements, etc., the payment identifier sent by the mobile device may be as follows: and sending a payment code containing the signature of the private key of the user and a public key of the user containing the signature of the private key of the server. The encryption method of the public key and the private key is already a common asymmetric encryption and decryption technique, and is not described in detail here.
In this embodiment, the user needs to upload the public key of the user to the server in advance, and the server signs the public key of the user with the private key of the server and sends the signed public key to the mobile device of the user.
And S207, the parking space control equipment receives the payment identifier and initiates a parking payment transaction containing the payment account to a payment server.
And the parking space control equipment receives the payment identifier, can determine a corresponding payment account, and can generate a corresponding parking payment transaction containing the payment account. Because the payment identification is sent by the mobile device in real time, the risk of fake plate payment is avoided, and the phenomenon that the vehicle still deducts own money after lending to a friend is also avoided.
As described above, in a payment method, if a user sends a payment code containing a private key signature of the user and a user public key containing a private key signature of a server, the server public key may be stored in advance in the parking space control device, so that the user public key containing the private key signature of the server may be decrypted by using the server public key, and if the decryption is correct, it may be indicated that the user is indeed one of the users of the service system, and the user public key is obtained.
Furthermore, the obtained public key of the user can be used for decrypting the payment code containing the signature of the private key of the user, if the payment code can be correctly decrypted, the payment code can be proved to be the user, and the payment code is decrypted, so that the payment account in the payment code can be obtained.
It should be noted that, in this embodiment, both the mobile device of the user and the parking space control device do not need to be connected to the network, that is, the parking payment can still be accurately completed in a manner that the user and the parking space control device are simultaneously offline. For example, after the double verification passes, the vehicle is directly released, and the accumulated payment codes are uniformly requested to a service end of the payment mechanism for verification and sale at regular time (every day and every week), so that accurate payment under double offline is realized, and the user experience is improved.
It should be noted that the parking space control device confirms that the mobile device enters the payment area, and after confirming the payment account, the soldier does not necessarily need to initiate a parking payment transaction immediately, but can determine the parking payment transaction according to the actual business situation.
For example, if the business rule is pay-per-view, then only detection and direct initiation of a parking payment transaction may be required when the mobile device enters and leaves the payment area (e.g., setting the payment area to the lane area of leaving).
For another example, if the business requires charging by time, then a payment area may be set on both the entering and leaving lanes, only the relevant identification and the entering time are recorded without initiating the parking payment transaction when the mobile device is detected to enter the payment area for the first time, and the amount is determined according to the unified identification and the corresponding leaving time and the parking payment transaction is initiated when the mobile device is detected to enter the payment area for the second time.
According to the scheme provided by the embodiment of the specification, the user uses the mobile device to broadcast UWB signals to the surroundings, the parking space control device detects the position of the mobile device according to the UWB signals, whether the mobile device enters the payment area is determined, after the mobile device is determined to enter the payment area, the mobile device is in communication connection with the parking space control device, the payment identifier sent by the mobile device is received, and parking payment transaction is executed, so that the payment user can be accurately detected, the user feels no in the whole process, the convenience of parking payment is improved, and the user experience is improved.
On the other hand, an embodiment of the present specification further provides a UWB-based parking payment method, which is applied to a mobile device, as shown in fig. 4, where fig. 4 is a schematic flowchart of the parking payment method applied to the mobile device, and includes:
s401, broadcasting an ultra wide band UWB signal to the surrounding so that a vehicle position control device can receive the UWB signal, detecting whether the mobile device enters a payment area or not according to the UWB signal, and establishing communication connection with the mobile device after confirming that the mobile device enters the payment area;
and S403, sending a payment identifier to the parking space control equipment through the communication connection, wherein the payment identifier is used for confirming a payment account so that the parking space control equipment can receive the payment identifier and initiate a parking payment transaction containing the payment account to a payment server.
Further, the method comprises the steps of detecting an activation signal in the surrounding environment, wherein the activation signal is a continuous activation signal of the parking space control device to the surrounding, and the activation signal is used for activating the UWB signal broadcasting function of the movable device; after detecting the activation signal, an ultra-wideband UWB signal is broadcast to the surroundings.
Further, through communication connection sends the payment sign to parking stall control equipment, include: and sending a payment identifier to the parking space control equipment through the communication connection by adopting a UWB signal.
Further, through communication connection sends the payment sign to parking stall control equipment, include: and sending a payment code containing a payment identifier to the parking space control equipment through the communication connection.
Furthermore, the sending of the payment code containing the payment identifier to the parking space control device through the communication connection includes: and sending a payment code containing a user private key signature and a user public key containing a server private key signature to the parking space control equipment through the communication connection.
In another aspect, an embodiment of the present specification further provides a UWB-based parking payment method, which is applied to a parking space control device, as shown in fig. 5, where fig. 5 is a schematic flow chart of the parking payment method applied to the parking space control device, provided in the embodiment of the present specification, and includes:
s501, receiving a UWB signal sent by a mobile device;
s503, detecting whether the mobile equipment enters a payment area or not according to the UWB signal;
s505, after confirming that the mobile equipment enters a payment area, establishing communication connection with the mobile equipment;
s507, receiving a payment identifier sent by the mobile device through the communication connection, wherein the payment identifier is used for confirming a payment account;
s509, initiating a parking payment transaction containing the payment account to a payment server.
Further, the method further comprises: an activation signal is continuously broadcast to the surroundings for activating the UWB signal broadcast function of the removable device.
Further, detecting whether the mobile device enters a payment area based on the UWB signal includes: detecting a location of the mobile device from the UWB signals; determining the distance between the movable equipment and the parking space control equipment according to the position, and determining an included angle formed by a connecting line of the movable equipment and the parking space control equipment and a preset reference line, wherein the parking space control equipment is positioned on the preset reference line; and when the distance and the included angle both fall into a preset range, determining that the movable equipment enters a payment area.
Further, receiving the payment identifier sent by the removable device through the communication connection includes: and receiving the payment code containing the payment identification sent by the mobile equipment through the communication connection.
Further, receiving a payment code containing a payment identifier sent by the removable device through the communication connection includes: receiving a payment code containing a user private key signature and a user public key containing a server private key signature, which are sent by the mobile equipment, through the communication connection; correspondingly, before initiating a parking payment transaction containing the payment account to a payment server, the method further comprises: and decrypting the user public key containing the server private key signature by adopting a preset server public key, and verifying the payment code containing the user private key signature by adopting the user public key obtained by decryption after the decryption is successful.
In accordance with another aspect, an embodiment of the present specification further provides a UWB-based parking payer apparatus, which is applied to a mobile device, as shown in fig. 6, where fig. 6 is a schematic structural diagram of the UWB-based parking payer apparatus applied to the mobile device, provided by the embodiment of the present specification, and includes:
thebroadcasting module 601 broadcasts an ultra wide band UWB signal to the surroundings so that the parking place control equipment can receive the UWB signal, detect whether the mobile equipment enters a payment area according to the UWB signal, and establish communication connection with the mobile equipment after confirming that the mobile equipment enters the payment area;
the sendingmodule 603 sends a payment identifier to the parking space control device through the communication connection, where the payment identifier is used to confirm a payment account, so that the parking space control device receives the payment identifier and initiates a parking payment transaction containing the payment account to a payment server.
Further, the apparatus further includes a detectingmodule 605, configured to detect an activation signal in a surrounding environment, where the activation signal is an activation signal that is continuously sent to the surrounding environment by the parking space control device, and the activation signal is used to activate a UWB signal broadcasting function of the mobile device; and the broadcasting module broadcasts the ultra-wideband UWB signal to the surroundings after detecting the activation signal.
Further, the sendingmodule 603 sends the payment identifier to the parking space control device through the communication connection by using a UWB signal.
Further, the sendingmodule 603 sends a payment code including a payment identifier to the parking space control device through the communication connection.
Furthermore, the sendingmodule 603 sends, to the parking space control device through the communication connection, a payment code including a private key signature of the user and a public key of the user including a private key signature of the server.
In accordance with another aspect, an embodiment of the present specification further provides a UWB-based parking payer device, which is applied to a parking space control device, as shown in fig. 7, where fig. 7 is a schematic structural diagram of the UWB-based parking payer device applied to the parking space control device, provided in the embodiment of the present specification, and includes:
701, a signal receiving module, which receives UWB signals sent by a mobile device;
703, a detection module, for detecting whether the mobile device enters a payment area according to the UWB signal;
705, a connection establishing module for establishing communication connection with the mobile device after confirming that the mobile device enters the payment area;
707, a payment identifier receiving module, configured to receive a payment identifier sent by the mobile device through the communication connection, where the payment identifier is used to confirm a payment account;
709, the transaction module initiates a parking payment transaction containing the payment account to a payment server.
Further, the apparatus further comprises abroadcasting module 711 for continuously broadcasting an activation signal to the surroundings, the activation signal being used to activate the UWB signal broadcasting function of the removable device.
Further, the detectingmodule 703 detects the position of the mobile device according to the UWB signal; determining the distance between the movable equipment and the parking space control equipment according to the position, and determining an included angle formed by a connecting line of the movable equipment and the parking space control equipment and a preset reference line, wherein the parking space control equipment is positioned on the preset reference line; and when the distance and the included angle both fall into a preset range, determining that the movable equipment enters a payment area.
Further, the paymentidentifier receiving module 707 receives a payment code containing a payment identifier sent by the removable device through the communication connection.
Further, the paymentidentifier receiving module 707 receives, through the communication connection, a payment code containing a private key signature of the user and a public key of the user containing a private key signature of the server, which are sent by the mobile device; correspondingly, the apparatus further includes averification module 713, configured to decrypt the user public key including the server private key signature by using a preset server public key before initiating the parking payment transaction including the payment account to the payment server, and verify the payment code including the user private key signature by using the decrypted user public key after successful decryption.
Embodiments of the present specification also provide a computer device, which at least includes a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor implements the parking payment method shown in fig. 4 when executing the program.
Embodiments of the present specification also provide a computer device, which at least includes a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor implements the parking payment method shown in fig. 5 when executing the program.
Fig. 8 is a schematic diagram illustrating a more specific hardware structure of a computing device according to an embodiment of the present disclosure, where the computing device may include: aprocessor 1010, amemory 1020, an input/output interface 1030, acommunication interface 1040, and abus 1050. Wherein theprocessor 1010,memory 1020, input/output interface 1030, andcommunication interface 1040 are communicatively coupled to each other within the device viabus 1050.
Theprocessor 1010 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits, and is configured to execute related programs to implement the technical solutions provided in the embodiments of the present disclosure.
TheMemory 1020 may be implemented in the form of a ROM (Read Only Memory), a RAM (Random access Memory), a static storage device, a dynamic storage device, or the like. Thememory 1020 may store an operating system and other application programs, and when the technical solution provided by the embodiments of the present specification is implemented by software or firmware, the relevant program codes are stored in thememory 1020 and called to be executed by theprocessor 1010.
The input/output interface 1030 is used for connecting an input/output module to input and output information. The i/o module may be configured as a component in a device (not shown) or may be external to the device to provide a corresponding function. The input devices may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output devices may include a display, a speaker, a vibrator, an indicator light, etc.
Thecommunication interface 1040 is used for connecting a communication module (not shown in the drawings) to implement communication interaction between the present apparatus and other apparatuses. The communication module can realize communication in a wired mode (such as USB, network cable and the like) and also can realize communication in a wireless mode (such as mobile network, WIFI, Bluetooth and the like).
Bus 1050 includes a path that transfers information between various components of the device, such asprocessor 1010,memory 1020, input/output interface 1030, andcommunication interface 1040.
It should be noted that although the above-mentioned device only shows theprocessor 1010, thememory 1020, the input/output interface 1030, thecommunication interface 1040 and thebus 1050, in a specific implementation, the device may also include other components necessary for normal operation. In addition, those skilled in the art will appreciate that the above-described apparatus may also include only those components necessary to implement the embodiments of the present description, and not necessarily all of the components shown in the figures.
Embodiments of the present description also provide a computer-readable storage medium on which a computer program is stored, where the program, when executed by a processor, implements the parking payment method shown in fig. 4.
Embodiments of the present description also provide a computer-readable storage medium on which a computer program is stored, where the program, when executed by a processor, implements the parking payment method shown in fig. 5.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
From the above description of the embodiments, it is clear to those skilled in the art that the embodiments of the present disclosure can be implemented by software plus necessary general hardware platform. Based on such understanding, the technical solutions of the embodiments of the present specification may be essentially or partially implemented in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments of the present specification.
The systems, methods, modules or units described in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. A typical implementation device is a computer, which may take the form of a personal computer, laptop computer, cellular telephone, camera phone, smart phone, personal digital assistant, media player, navigation device, email messaging device, game console, tablet computer, wearable device, or a combination of any of these devices.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, as for the method embodiment, since it is substantially similar to the method embodiment, it is relatively simple to describe, and reference may be made to the partial description of the method embodiment for relevant points. The above-described method embodiments are merely illustrative, wherein the modules described as separate components may or may not be physically separate, and the functions of the modules may be implemented in one or more software and/or hardware when implementing the embodiments of the present specification. And part or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of the embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
The foregoing is only a specific embodiment of the embodiments of the present disclosure, and it should be noted that, for those skilled in the art, a plurality of modifications and decorations can be made without departing from the principle of the embodiments of the present disclosure, and these modifications and decorations should also be regarded as the protection scope of the embodiments of the present disclosure.