Vehicle passing method and device, computer equipment and storage medium

Through the alternate operation of Bluetooth slave and host modes between the client and the entrance and exit devices, rapid vehicle traffic is achieved when the network is interrupted, and the problem of parking lot equipment being unable to judge permissions and charges is solved, and the parking lot traffic efficiency is improved.

CN119206931APending Publication Date: 2024-12-27SHENZHEN JIESHUN SCI & TECH IND
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411221209.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-30
Publication Date
2024-12-27

AI Technical Summary

Technical Problem

The parking lot entrance and exit equipment cannot make vehicle permission judgments and charge fees when the network is interrupted, resulting in the vehicle being unable to enter and exit normally. The existing Bluetooth communication connection process is slow and one-to-one data communication limits the rapid passage between devices.

Method used

The client and the entrance and exit device work alternately through the Bluetooth slave and host working modes. The client periodically broadcasts the data packets of the gate opening command. The entrance and exit device scans the data packets within the preset range to obtain the gate opening command, so as to achieve no need to establish a Bluetooth connection. Fast access.

Benefits of technology

In the case of network interruption, the rapid acquisition of gate opening instructions is achieved through broadcast and scanning modes, which avoids the delay in the Bluetooth connection handshake process, ensures that the vehicle can enter and exit the venue normally, and improves the traffic efficiency of the parking lot.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119206931A_ABST
    Figure CN119206931A_ABST
Patent Text Reader

Abstract

The invention discloses a vehicle passing method and device, computer equipment and a storage medium. The method comprises the steps that a gate opening instruction sent by a parking lot management end is acquired; a data packet is generated based on the gate opening instruction, the data packet is broadcasted to a target gateway device, so that the target gateway device analyzes the broadcast data packet to obtain the gate opening instruction to execute gate opening operation, the client enters a slave working mode as a Bluetooth peripheral device after running an application program, and the slave working mode enters a slave working mode as a Bluetooth peripheral device after running the application program. The slave working mode refers to a mode of periodically broadcasting a data packet, the target gateway equipment enters a host working mode as center equipment after being started, and the host working mode refers to a mode of scanning Bluetooth broadcast within a preset range. In the application, the gate opening instruction is broadcasted through a Bluetooth broadcasting mechanism, remote control of the entrance and exit equipment is realized, the experience effect of rapid entrance and exit of a user is improved, and the installation requirement on the equipment is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of parking lot control, and in particular to a vehicle passage method, device, computer equipment and storage medium. Background Art

[0002] At present, there are usually devices at the entrance and exit of parking lots to control the entry and exit of vehicles. The devices can identify the vehicle license plate information and determine whether the vehicle has the right to enter and exit the parking lot through the server. At the entrance, the server determines the access rights and determines whether to open the gate to release the vehicle based on the access rights. At the exit, the server can also calculate the fee based on the time of vehicle entry and exit. The owner pays by scanning the payment QR code of the exit device. After the fee is settled successfully, the server can notify the entrance and exit device to release the vehicle.

[0003] However, when the entrance and exit equipment of the parking lot is offline due to network interruption, the equipment cannot determine the permissions of the vehicle and charge the vehicle, causing the vehicle cloud server to be offline and the vehicle cannot enter and exit normally. Although it is currently possible to pass through the gate by connecting the Bluetooth device to the gate machine, when the client sends application data, it is necessary to establish a point-to-point Bluetooth communication channel first. During the connection process, the client, as the central device, needs to go through multiple handshakes (5-RTT) with the Bluetooth device to establish a communication channel. 5-RTT includes broadcasting, scanning, linking, parameter negotiation, and service discovery. The communication connection process is relatively slow, and the client and the Bluetooth device establish a one-to-one Bluetooth communication channel, resulting in the Bluetooth device and the client can only perform one-to-one data communication. Summary of the invention

[0004] Based on this, it is necessary to provide a vehicle passage method, device, computer equipment and storage medium to address the above technical issues, so as to solve at least one problem existing in the above-mentioned prior art.

[0005] In a first aspect, the embodiment of the present application is implemented as follows: a vehicle passage method is provided, which is applied to a client, and the method includes:

[0006] Get the gate opening command;

[0007] A data packet is generated based on the gate opening instruction, and the data packet is broadcast to the target entrance and exit device, so that the target entrance and exit device parses the gate opening instruction from the broadcast data packet to perform the gate opening operation, wherein the client enters the slave working mode as a Bluetooth peripheral device after running the application, and the slave working mode refers to a mode of periodically broadcasting data packets, and the target entrance and exit device enters the host working mode as a central device after startup, and the host working mode refers to a mode of scanning Bluetooth broadcasts within a preset range.

[0008] In one embodiment, obtaining a gate opening instruction includes:

[0009] Obtain the parking lot management terminal access address, vehicle information of the target vehicle, and entrance and exit equipment identification;

[0010] Based on the parking lot management terminal access address, sending a pass authentication request to the parking lot management terminal, the pass authentication request including the vehicle information and the entrance and exit device identification, so that the parking lot management terminal performs a corresponding authentication operation based on the vehicle information and the entrance and exit device identification;

[0011] When the authentication is successful, the gate opening instruction is obtained.

[0012] In one embodiment, the step of obtaining the parking lot management terminal access address, the vehicle information of the target vehicle, and the entrance and exit equipment identification includes:

[0013] When the target vehicle drives to the preset area, an object to be identified is obtained, where the object to be identified is generated by the target entrance and exit device based on the vehicle information of the target vehicle currently collected, as well as the pre-stored parking lot management terminal access address and the entrance and exit device identifier;

[0014] Scan the code of the object to be identified to obtain the parking lot management access address, vehicle information of the target vehicle, and entrance and exit equipment identification.

[0015] In a second aspect, a vehicle passage method is provided for application to an entrance and exit device, wherein the entrance and exit device enters a host working mode as a central device after startup, wherein the host working mode refers to a mode of scanning a Bluetooth broadcast within a preset range, and the method comprises:

[0016] Acquire a data packet broadcast by a client within a preset range, wherein the client enters a slave working mode as a Bluetooth peripheral device after running the application, and the slave working mode refers to a mode of periodically broadcasting data packets;

[0017] Parsing the data packet to obtain a gate opening instruction;

[0018] Based on the gate opening instruction, the target vehicle is released.

[0019] In one embodiment, after obtaining the data packet broadcast by the client within the preset range, the method includes:

[0020] Based on the data packet, obtain a device identification, a verification code, and a timestamp;

[0021] When the device identification is consistent with the device identification of the entry and exit device, the legitimacy of the data packet is verified based on the verification code and the timestamp;

[0022] When the device identification is inconsistent with the device identification of the ingress and egress device, the data packet is discarded.

[0023] In one embodiment, the data packet includes a plurality of data packets, and after parsing the data packet to obtain the gate opening instruction, the following steps are performed:

[0024] When it is determined that the plurality of data packets originate from the same client, and the interval between the timestamps associated with the gate opening instructions is less than a preset time interval, one gate opening instruction is retained to execute the corresponding gate opening operation.

[0025] In a third aspect, a vehicle passage device is provided, which is applied to a client, and the device includes:

[0026] A gate opening instruction acquisition unit, used for acquiring a gate opening instruction;

[0027] The gate opening processing unit is used to generate a data packet based on the gate opening instruction, and broadcast the data packet to the target entrance and exit device, so that the target entrance and exit device parses the broadcast data packet to obtain the gate opening instruction to perform the gate opening operation, wherein the client enters the slave working mode as a Bluetooth peripheral device after running the application, and the slave working mode refers to a mode of periodically broadcasting data packets, and the target entrance and exit device enters the host working mode as a central device after startup, and the host working mode refers to a mode of scanning Bluetooth broadcasts within a preset range.

[0028] In a fourth aspect, a vehicle passage device is provided, which is applied to an entrance and exit device. After being started, the entrance and exit device enters a host working mode as a central device. The host working mode refers to a mode of scanning Bluetooth broadcasts within a preset range. The device includes:

[0029] A data packet acquisition unit, used to acquire data packets broadcast by a client within a preset range, wherein the client enters a slave working mode as a Bluetooth peripheral device after running the application, and the slave working mode refers to a mode of periodically broadcasting data packets;

[0030] A gate opening instruction acquisition unit, used for parsing the data packet to obtain a gate opening instruction;

[0031] The vehicle release unit is used to release the target vehicle based on the gate opening instruction.

[0032] In a fifth aspect, a computer device is provided, comprising a memory, a processor, and computer-readable instructions stored in the memory and executable on the processor, wherein the above-mentioned vehicle passage method is implemented when the processor executes the computer-readable instructions.

[0033] In a sixth aspect, a readable storage medium is provided, and when the computer-readable instructions are executed by one or more processors, the one or more processors execute the vehicle passage method as described above.

[0034] The above-mentioned vehicle passage method, device, computer equipment and storage medium, the method of which is implemented, includes: obtaining a gate opening instruction; generating a data packet based on the gate opening instruction, broadcasting the data packet to the target entrance and exit device, so that the target entrance and exit device parses the broadcast data packet to obtain the gate opening instruction to perform the gate opening operation, wherein the client enters the slave working mode as a Bluetooth peripheral device after running the application, and the slave working mode refers to a mode of periodically broadcasting data packets, and the target entrance and exit device enters the host working mode as a central device after startup, and the host working mode refers to a mode of scanning Bluetooth broadcasts within a preset range. In the embodiment of the present application, when the user enters and exits the site, the client can obtain the gate opening instruction and add the gate opening instruction to the data packet. At this time, the client can enter the slave working mode as a peripheral device after running the application, so that the client can periodically broadcast and send data packets with opening instructions added, and the entrance and exit device enters the host working mode of the central device after startup, and can scan and obtain the data packets broadcast by each client within a preset range, so that there is no need to establish a Bluetooth connection between the client and the entrance and exit device, and data can be sent to the Bluetooth device quickly. After obtaining the data packet, the entrance and exit device can parse it to obtain the opening instruction, so as to perform the opening operation according to the opening instruction. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0036] Figure 1 is a schematic diagram of an application environment of a vehicle passage method in one embodiment of the present invention;

[0037] Figure 2 A schematic diagram of a vehicle passage method according to an embodiment of the present invention Figure 1 ;

[0038] Figure 3 A schematic diagram of a vehicle passage method according to an embodiment of the present invention Figure 2 ;

[0039] Figure 4 A schematic diagram of a vehicle passage method according to an embodiment of the present invention Figure 3 ;

[0040] Figure 5 A schematic diagram of a vehicle passage method according to an embodiment of the present invention Figure 4 ;

[0041] Figure 6 A schematic diagram of a vehicle passage device in one embodiment of the present invention Figure 1 ;

[0042] Figure 7 A schematic diagram of a vehicle passage device in one embodiment of the present invention Figure 2 ;

[0043] Figure 8 is a structural schematic diagram of a vehicle passage system in one embodiment of the present invention;

[0044] Fig. 9 is a schematic diagram of a computer device in one embodiment of the present invention. DETAILED DESCRIPTION

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

[0046] The vehicle passing method provided in this embodiment can be applied in the following cases: Figure 1 In an application environment, the client communicates with the parking lot management end, and the client communicates with the entrance and exit equipment, which can be an exit equipment and an entrance equipment, which can be used to control the entry and exit of vehicles respectively.

[0047] It should be noted that the entrance and exit device may specifically include a main control module, an AI recognition module connected to the main control module, and a display module connected to the main control module. The AI ​​recognition module is used to identify vehicles entering a preset area, such as an entry area or an exit area, to obtain vehicle information and push it to the main control module. The main control module can embed the identified vehicle information, the parking lot management terminal access address, and the entrance and exit device identification into the corresponding pattern to obtain an object to be identified, such as a QR code, a barcode, etc., and send it to the display module for display so that the client can scan the code to obtain it.

[0048] The main control module may be a controller such as an MCU or a single-chip microcomputer.

[0049] Among them, the AI ​​recognition module can be a camera, a camera or other equipment, which is used to collect videos or images in a preset area, and to identify vehicle information through a pre-trained model. The vehicle information may include a license plate number. For example, the license plate number can be recognized through an optical character recognition model (OCR).

[0050] The object to be identified may be a dynamic identification object or a static identification object.

[0051] It is understandable that the client and the parking lot management terminal can communicate through the network, such as WiFi, 4G, 5G, etc., and the client and the entrance and exit equipment can communicate through Bluetooth, NFC (Near Field Communication), etc., wherein the client includes but is not limited to various personal computers, laptops, smart phones, tablets and portable wearable devices. The parking lot management terminal can be set in the cloud or locally, and it can be implemented with an independent server or a server cluster consisting of multiple servers.

[0052] In an implementation scenario of the present application, when the entrance and exit device detects that it is offline, that is, it cannot communicate with the parking lot management end, it can enter the offline working mode, establish a Bluetooth center device, enter the Bluetooth host working mode, and wait for the client's broadcast data packet to be received. The entrance and exit device can generate a corresponding object to be identified when the vehicle information of the target vehicle is identified, and display it in the display module. The client scans the code of the object to be identified to obtain the parking lot management end access address, the vehicle information of the target vehicle, and the entrance and exit device identification, and sends an authentication request to the parking lot management end based on the parking lot management end access address. If the entrance and exit device is an exit device, the parking management end can obtain the parking record of the target vehicle, calculate its parking fee, and notify the client to pay. When it is determined that the payment is completed, it can send a gate opening instruction to the client. After the client obtains the gate opening instruction, it can create a Bluetooth peripheral device, use the entrance and exit device identification as the name, add the gate opening instruction to the Bluetooth broadcast data packet, and enter the Bluetooth slave working mode to broadcast the broadcast data packet. The entrance and exit equipment receives the broadcast data packet, parses it and obtains the gate opening instruction to control the gate machine to open the gate and release people.

[0053] It should be noted that the gate and the entrance and exit device can be separate devices or integrated devices. If they are separate devices, the gate can be connected to the main control module of the entrance and exit device for communication, and can control the exit gate or the entrance gate to open and release by receiving the gate opening command sent by the main control module of the entrance and exit device.

[0054] Embodiment 1

[0055] In one embodiment, if Figure 2 As shown, a vehicle passing method is provided, and the method is applied in Figure 1 The client in the example is used to illustrate the process, including the following steps:

[0056] In step S110, a gate opening instruction is obtained;

[0057] In the embodiment of the present application, when the gate opening instruction can be generated by the parking lot management end and sent to the client, for example, when a vehicle enters / leaves the parking lot, the client can obtain the parking lot management end access address and the entrance and exit device identification, as well as the vehicle information of the vehicle and send it to the parking lot management end for authentication. When the parking lot management end successfully authenticates, it means that the target vehicle can be released, so the gate opening instruction can be sent to the client to control the entrance and exit device to open the gate and release the vehicle.

[0058] In step S120, a data packet is generated based on the gate opening instruction, and the broadcast data packet is broadcast to the target entrance and exit device, so that the target entrance and exit device parses the broadcast data packet to obtain the gate opening instruction to perform the gate opening operation, wherein the client enters the slave working mode as a Bluetooth peripheral device after running the application, and the slave working mode refers to a mode of periodically broadcasting data packets, and the target entrance and exit device enters the host working mode as a central device after startup, and the host working mode refers to a mode of scanning Bluetooth broadcasts within a preset range.

[0059] In the embodiment of the present application, after the client obtains the gate opening instruction, it can create a Bluetooth peripheral device and use the gate and exit device identifier as the name, add the gate opening instruction to the Bluetooth broadcast data packet, and enter the Bluetooth slave working mode, and broadcast the broadcast data packet through the Bluetooth protocol broadcast mechanism, such as the Bluetooth GAP protocol broadcast mechanism. The gate and exit device receives the broadcast data packet, parses it, and obtains the gate opening instruction to control the gate machine to open the gate.

[0060] It should be noted that an application program may be installed in advance in the client, and the application program is used to broadcast data packets. After the client runs the application program, it can enter the slave working mode as a Bluetooth peripheral device. The slave working mode refers to a mode of periodically broadcasting data packets, for example, broadcasting a data packet once every 10 seconds, and the data packet includes a gate opening instruction. After startup, the target entrance and exit device can enter the host working mode as a central device. The host working mode refers to a mode of scanning Bluetooth broadcasts within a preset range, that is, when the data packet broadcast by the client is within the preset range, the target entrance and exit device can obtain the data packet and parse it to obtain the gate opening instruction, and then perform the gate opening operation based on the gate opening instruction to release the vehicle.

[0061] In an embodiment of the present application, a vehicle passage method is provided, including: obtaining a gate opening instruction; generating a data packet based on the gate opening instruction, broadcasting the data packet to a target entrance and exit device, so that the target entrance and exit device parses the broadcast data packet to obtain the gate opening instruction to perform the gate opening operation, wherein the client enters a slave working mode as a Bluetooth peripheral device after running the application, and the slave working mode refers to a mode of periodically broadcasting data packets, and the target entrance and exit device enters a host working mode as a central device after startup, and the host working mode refers to a mode of scanning Bluetooth broadcasts within a preset range. In an embodiment of the present application, when a user enters and exits the site, the client can obtain the gate opening instruction and add the gate opening instruction to the data packet. At this time, the client can enter the slave working mode as a peripheral device after running the application, so that the client can periodically broadcast and send a data packet with the gate opening instruction added, and the entrance and exit device enters the host working mode of the central device after startup, and can scan and obtain the data packets broadcast by each client within the preset range, so that the client and the entrance and exit device do not need to establish a Bluetooth connection, and can quickly send data to the Bluetooth device, and the entrance and exit device can parse the data packet after obtaining the data packet to obtain the gate opening instruction to perform the gate opening operation according to the gate opening instruction.

[0062] See also Figure 3 In one embodiment of the present application, obtaining a gate opening instruction includes:

[0063] In step S111, the parking lot management terminal access address, the vehicle information of the target vehicle, and the entrance and exit equipment identification are obtained;

[0064] In step S112, based on the parking lot management terminal access address, a pass authentication request is sent to the parking lot management terminal, the pass authentication request includes vehicle information and entrance and exit equipment identification, so that the parking lot management terminal performs a corresponding authentication operation based on the vehicle information and the entrance and exit equipment identification;

[0065] In step S113, when the authentication is successful, the gate opening instruction is obtained.

[0066] In the embodiment of the present application, when the target vehicle drives to the entrance or exit area of ​​the parking lot, the entrance and exit device can collect the vehicle information of the target vehicle. Based on the vehicle information, the parking lot management terminal access address and the entrance and exit device identification, an object to be identified, such as a QR code, a barcode, etc., is generated and displayed in a display module, such as a display screen. The user can scan the object to be identified through the client to obtain the parking lot management terminal access address, the vehicle information of the target vehicle and the entrance and exit device identification.

[0067] Among them, the client can be pre-installed with a parking lot management APP, or a mini-program, official account, etc. with a scanning function to scan the code of the object to be identified.

[0068] Among them, vehicle information may include license plate number, vehicle type, vehicle model, vehicle color, vehicle style and other information.

[0069] The parking lot management terminal access address can be used to provide an access interface for accessing the parking lot management terminal. Different parking lots can correspond to different access addresses, and based on the address, the parking management interface in the corresponding parking lot can be directly entered.

[0070] The entrance and exit equipment identification may include an exit equipment identification and an entrance equipment identification. It may be a number, code, symbol, letter, or other unique identification code that can be used to identify the entrance and exit equipment. The entrance and exit equipment identification may be allocated and managed by the parking lot management terminal.

[0071] In the embodiment of the present application, after obtaining the access address of the parking lot management terminal, the parking lot management terminal can be accessed based on the address. A communication channel is established with the parking lot management terminal, and a pass authentication request is sent based on the communication channel. The pass authentication request may include vehicle information and an entrance and exit device identifier, so that the parking lot management terminal can determine whether it is an exit device or an entrance device based on the entrance and exit device identifier. If it is an exit device, the parking lot management terminal can obtain the parking record based on the vehicle information, calculate the parking fee based on the parking record, and provide payment for the user. When the payment is completed, the exit gate opening operation can be performed. If it is an entrance device, an entry authentication operation can be performed based on the vehicle information.

[0072] It should be noted that the exit device can be set at the exit and can control the opening or closing of the exit gate to control the exit of vehicles. The entrance device can be set at the entrance and can control the opening or closing of the entrance gate to control the entry of vehicles.

[0073] In one embodiment of the present application, obtaining the parking lot management terminal access address, the vehicle information of the target vehicle, and the entrance and exit equipment identification includes:

[0074] When the target vehicle drives to the preset area, the object to be identified is obtained, which is generated by the entrance and exit device based on the vehicle information of the target vehicle currently collected, as well as the pre-stored parking lot management terminal access address and the entrance and exit device identification;

[0075] Scan the code of the object to be identified to obtain the parking lot management access address, vehicle information of the target vehicle, and entrance and exit equipment identification.

[0076] The preset area may be an entrance area or an exit area, for example, within a preset area range from an entrance gate, or within a preset area range from an exit gate.

[0077] Optionally, when the target vehicle drives to the entrance area or exit area of ​​the parking lot, the entrance and exit device can collect and identify the vehicle information of the target vehicle through the AI ​​recognition module. Based on the vehicle information, the parking lot management terminal access address and the entrance and exit device identification, an object to be identified, such as a QR code, barcode, etc., is generated and displayed in a display module, such as a display screen. The user can scan the object to be identified through the client to obtain the parking lot management terminal access address, the vehicle information of the target vehicle and the entrance and exit device identification.

[0078] In the embodiment of the present application, when a user enters or exits a gate, the client can obtain a gate opening instruction and add the gate opening instruction to a data packet. At this time, the client can enter the slave working mode as a peripheral device after running the application, so that the client can periodically broadcast and send a data packet with a gate opening instruction added, and the gate and exit device enters the host working mode of the central device after startup, and can scan and obtain the data packets broadcast by each client within a preset range, so that the client and the gate and exit device do not need to establish a Bluetooth connection, and can quickly send data to the Bluetooth device, and the gate and exit device can parse the data packet after obtaining it to obtain the gate opening instruction, so as to perform the gate opening operation according to the gate opening instruction.

[0079] Embodiment 2

[0080] See also Figure 4 A vehicle passage method is provided, which is applied to an entrance and exit device. After being started, the entrance and exit device enters a host working mode as a central device. The host working mode refers to a mode of scanning Bluetooth broadcasts within a preset range. The method includes:

[0081] In step S210, a data packet broadcast by a client within a preset range is obtained, and the client enters a slave working mode as a Bluetooth peripheral device after running the application. The slave working mode refers to a mode of periodically broadcasting data packets;

[0082] In the embodiment of the present application, the entrance and exit equipment refers to the entrance equipment set at the entrance of the parking lot, or the exit equipment set at the exit of the parking lot, which is used to control the entry and exit of vehicles respectively.

[0083] In the embodiment of the present application, an application may be installed in advance in the client, and the application is used to broadcast data packets. When the client runs the application, it can enter the slave working mode as a Bluetooth peripheral device. The slave working mode refers to a mode of periodically broadcasting data packets, for example, broadcasting a data packet every 10 seconds, and the data packet includes a gate opening instruction. The entrance and exit device can obtain data packets broadcast by all clients within a preset range, and there is no need to establish a pairing relationship between it and the client.

[0084] In step S220, the data packet is parsed to obtain a gate opening instruction;

[0085] In the embodiment of the present application, after receiving the broadcast data packet, the entrance and exit device can verify the validity of the data packet. If it is valid, the corresponding gate opening instruction can be obtained.

[0086] In step S230, the target vehicle is released based on the gate opening instruction.

[0087] In the embodiment of the present application, when a gate opening instruction is obtained, the gate opening operation can be performed according to the gate opening instruction, and the target vehicle can be released. It should be noted that in order to avoid the problem that when there are multiple vehicles queuing to exit, the gate opening instruction of other vehicles is used to release other queued vehicles, or vehicles that cannot enter or exit without the gate opening instruction, resulting in the inability of vehicles with the gate opening instruction to pass, the gate opening instruction can be bound to the vehicle information, such as the license plate number. When the vehicle exits, the license plate number can be obtained and compared with the license plate number bound to the gate opening instruction. If they are consistent, the vehicle is released, otherwise it is prohibited to pass.

[0088] In an embodiment of the present application, a vehicle passage method is provided, including obtaining a data packet broadcast by a client within a preset range, the client enters a slave working mode as a Bluetooth peripheral device after running an application, and the slave working mode refers to a mode of periodically broadcasting a data packet; parsing the data packet to obtain a gate opening instruction; based on the gate opening instruction, releasing the target vehicle. The entrance and exit device can obtain a data packet within a preset range, which is a data packet that is periodically broadcast by the client after running the application and entering a slave working mode as a Bluetooth peripheral device, and can parse the obtained data packet to obtain the gate opening instruction in the data packet, thereby performing a gate opening operation according to the gate opening instruction to release the vehicle.

[0089] See also Figure 5 In one embodiment of the present application, after obtaining a data packet broadcast by a client within a preset range, the method includes:

[0090] In step S240, based on the data packet, a device identification, a verification code and a timestamp are obtained;

[0091] In step S250, when the device identification is consistent with the device identification of the entry and exit device, the legitimacy of the data packet is verified based on the verification code and the timestamp;

[0092] In step S260, when the device identification is inconsistent with the device identification of the ingress and egress device, the data packet is discarded.

[0093] Optionally, the data packet may also include a device identification, a verification code, and a timestamp. If the device identification obtained by parsing matches the device identification of the access device, the data packet is verified for legitimacy based on the verification code and timestamp. If the device identification does not match the device identification of the Bluetooth device, the data packet is discarded. After the verification is passed, the gate opening operation is performed based on the gate opening instruction.

[0094] It should be noted that the entrance and exit device can obtain data packets broadcast by all clients within a preset range. In order to avoid using the gate opening instruction of the vehicle queued behind to release the vehicle queued in front, the entrance and exit device can call the corresponding gate opening instruction in sequence based on the time sequence of the timestamps to perform the gate opening operation. Optionally, the gate opening instruction may include vehicle information, such as a license plate number. Therefore, when performing the gate opening operation, the vehicle information of the vehicle that currently needs to enter or exit the venue, such as the license plate number, can be obtained and compared with the license plate number in the gate opening instruction. If the comparison is consistent, it can be released, otherwise, it is prohibited to pass.

[0095] In one embodiment of the present application, the data packet includes multiple data packets, and after parsing the data packet and obtaining the gate opening instruction, it includes:

[0096] When it is determined that the plurality of data packets originate from the same client, and the interval between the timestamps associated with the gate opening instructions is less than a preset time interval, one gate opening instruction is retained to execute the corresponding gate opening operation.

[0097] Optionally, if there are multiple data packets and multiple opening instructions are parsed, it can be determined whether the multiple opening instructions originate from the same client and the interval between the timestamps associated with each opening instruction is less than a preset time interval. If so, one opening instruction can be retained to execute the corresponding opening operation.

[0098] In an embodiment of the present application, the entrance and exit device can obtain a data packet within a preset range. The data packet is a data packet that is periodically broadcast by the client after running the application and entering the slave working mode as a Bluetooth peripheral device. The obtained data packet can be parsed to obtain the gate opening instruction in the data packet, and the gate opening operation can be performed according to the gate opening instruction to release the vehicle.

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

[0100] Embodiment 3

[0101] In one embodiment, a vehicle passing device is provided, which corresponds one-to-one to the vehicle passing method in the first embodiment. Figure 6As shown, the vehicle passage device includes a gate opening instruction acquisition unit 101 and a gate opening processing unit 102. The functional modules are described in detail as follows:

[0102] A gate opening instruction acquisition unit 101 is used to acquire a gate opening instruction;

[0103] The gate opening processing unit 102 is used to generate a data packet based on the gate opening instruction, and broadcast the data packet to the target entrance and exit device, so that the target entrance and exit device parses the broadcast data packet to obtain the gate opening instruction to perform the gate opening operation, wherein the client enters the slave working mode as a Bluetooth peripheral device after running the application, and the slave working mode refers to a mode of periodically broadcasting data packets, and the target entrance and exit device enters the host working mode as a central device after startup, and the host working mode refers to a mode of scanning Bluetooth broadcasts within a preset range.

[0104] In one embodiment of the present application, the gate opening instruction acquisition unit 101 is further used to:

[0105] Obtain the parking lot management terminal access address, vehicle information of the target vehicle, and entrance and exit equipment identification;

[0106] Based on the parking lot management terminal access address, a pass authentication request is sent to the parking lot management terminal, the pass authentication request includes vehicle information and entrance and exit equipment identification, so that the parking lot management terminal performs a corresponding authentication operation based on the vehicle information and the entrance and exit equipment identification;

[0107] When the authentication is successful, the gate opening instruction is obtained.

[0108] In one embodiment of the present application, the gate opening instruction acquisition unit 101 is further used to:

[0109] When the target vehicle drives to the preset area, the object to be identified is obtained, which is generated by the entrance and exit device based on the vehicle information of the target vehicle currently collected, as well as the pre-stored parking lot management terminal access address and the entrance and exit device identification;

[0110] Scan the code of the object to be identified to obtain the parking lot management access address, vehicle information of the target vehicle, and entrance and exit equipment identification.

[0111] In the embodiment of the present application, when a user enters or exits a gate, the client can obtain a gate opening instruction and add the gate opening instruction to a data packet. At this time, the client can enter the slave working mode as a peripheral device after running the application, so that the client can periodically broadcast and send a data packet with a gate opening instruction added, and the gate and exit device enters the host working mode of the central device after startup, and can scan and obtain the data packets broadcast by each client within a preset range, so that the client and the gate and exit device do not need to establish a Bluetooth connection, and can quickly send data to the Bluetooth device, and the gate and exit device can parse the data packet after obtaining it to obtain the gate opening instruction, so as to perform the gate opening operation according to the gate opening instruction.

[0112] Embodiment 4:

[0113] In one embodiment, a vehicle passage device is provided, which is applied to an entrance and exit device. After being started, the entrance and exit device enters a host working mode as a central device. The host working mode refers to a mode of scanning Bluetooth broadcasts within a preset range. The vehicle passage device corresponds one-to-one with the vehicle passage method in the above-mentioned embodiment 2. Figure 7 As shown, the vehicle passage device includes a data packet acquisition unit 201, a gate opening instruction acquisition unit 202, and a vehicle release unit 203. Each functional module is described in detail as follows:

[0114] The data packet acquisition unit 201 is used to acquire data packets broadcast by a client within a preset range. The client enters a slave working mode as a Bluetooth peripheral device after running the application. The slave working mode refers to a mode of periodically broadcasting data packets.

[0115] The gate opening instruction acquisition unit 202 is used to parse the data packet to obtain the gate opening instruction;

[0116] The vehicle release unit 203 is used to release the target vehicle based on the gate opening instruction.

[0117] In one embodiment of the present application, the device further includes a verification unit, which is used to:

[0118] Based on the data packet, obtain the device identification, verification code and timestamp;

[0119] When the device identification is consistent with the device identification of the entry and exit device, the legitimacy of the data packet is verified based on the verification code and timestamp;

[0120] When the device ID is inconsistent with the device ID of the ingress and egress device, the data packet is discarded.

[0121] In one embodiment of the present application, the data packet includes a plurality of data packets, and the device further includes a gate opening instruction filtering unit for:

[0122] When it is determined that the multiple data packets originate from the same client, and the interval between the timestamps associated with the gate opening instructions is less than the preset time interval, one gate opening instruction is retained to execute the corresponding gate opening operation.

[0123] In an embodiment of the present application, the entrance and exit device can obtain a data packet within a preset range. The data packet is a data packet that is periodically broadcast by the client after running the application and entering the slave working mode as a Bluetooth peripheral device. The obtained data packet can be parsed to obtain the gate opening instruction in the data packet, and the gate opening operation can be performed according to the gate opening instruction to release the vehicle.

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

[0125] Embodiment 5

[0126] In one embodiment, a vehicle traffic system is provided, such as Figure 8 As shown, the vehicle communication system includes a parking management terminal 100, a client 200 and an entrance and exit device 300. The client 200 includes the vehicle passage device in the above-mentioned embodiment 3, and the entrance and exit device 300 includes the vehicle passage device in the above-mentioned embodiment 4.

[0127] The parking management terminal performs the corresponding authentication operation based on the vehicle information of the target vehicle and the identification of the entrance and exit equipment, and sends a gate opening command if the authentication is successful;

[0128] The client generates a broadcast data packet from the gate opening instruction and periodically broadcasts and sends the data packet. After running the application, the client enters the slave working mode as a Bluetooth peripheral device. The slave working mode refers to the mode of periodically broadcasting data packets.

[0129] The entrance and exit device scans and obtains the data packets broadcast by the client, parses the data packets, obtains the gate opening instructions, and releases the target vehicle based on the gate opening instructions. After startup, the entrance and exit device enters the host working mode as a central device. The host working mode refers to the mode of scanning Bluetooth broadcasts within a preset range.

[0130] The client communicates with the parking lot management terminal, and the client communicates with the entrance and exit equipment, which can be an exit equipment and an entrance equipment, which can be used to control the entry and exit of vehicles respectively.

[0131] When the entrance and exit device detects that it is offline, that is, it cannot communicate with the parking lot management end, it can enter the offline working mode, establish a Bluetooth center device, enter the Bluetooth host working mode, and wait for the client's broadcast data packet to be received. The entrance and exit device can generate the corresponding object to be identified when the vehicle information of the target vehicle is identified, and display it in the display module. The client obtains the parking lot management end access address, the vehicle information of the target vehicle, and the entrance and exit device identification by scanning the code of the object to be identified, and sends an authentication request to the parking lot management end based on the parking lot management end access address. If the entrance and exit device is an exit device, the parking management end can obtain the parking record of the target vehicle, calculate its parking fee, and notify the client to pay. When it is determined that the payment is completed, it can send a gate opening instruction to the client. After the client obtains the gate opening instruction, it can create a Bluetooth peripheral device, use the entrance and exit device identification as the name, add the gate opening instruction to the Bluetooth broadcast data packet, and enter the Bluetooth slave working mode to broadcast the broadcast data packet. The entrance and exit device receives the broadcast data packet, parses it, and obtains the gate opening instruction to control the gate machine to open the gate and release it.

[0132] It should be noted that the gate and the entrance and exit device can be separate devices or integrated devices. If they are separate devices, the gate can be connected to the main control module of the entrance and exit device for communication, and can control the exit gate or the entrance gate to open and release by receiving the gate opening command sent by the main control module of the entrance and exit device.

[0133] In the embodiment of the present application, when a user enters or exits a gate, the client can obtain a gate opening instruction and add the gate opening instruction to a data packet. At this time, the client can enter the slave working mode as a peripheral device after running the application, so that the client can periodically broadcast and send a data packet with a gate opening instruction added, and the gate and exit device enters the host working mode of the central device after startup, and can scan and obtain the data packets broadcast by each client within a preset range, so that the client and the gate and exit device do not need to establish a Bluetooth connection, and can quickly send data to the Bluetooth device, and the gate and exit device can parse the data packet after obtaining it to obtain the gate opening instruction, so as to perform the gate opening operation according to the gate opening instruction.

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

[0135] In one embodiment, a computer device is provided. The computer device may be a terminal device, and its internal structure diagram may be as follows: Fig. 9 As shown. The computer device includes a processor, a memory, and a network interface connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a readable storage medium. The readable storage medium stores computer-readable instructions. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer-readable instructions are executed by the processor, a vehicle passage method is implemented. The readable storage medium provided in this embodiment includes a non-volatile readable storage medium and a volatile readable storage medium.

[0136] In an embodiment of the present application, a computer device is provided, including a memory, a processor, and computer-readable instructions stored in the memory and executable on the processor. When the processor executes the computer-readable instructions, the steps of the vehicle passage method in the above-mentioned Embodiment 1 and Embodiment 2 are implemented.

[0137] In an embodiment of the application, a readable storage medium is provided, which stores computer-readable instructions. When the computer-readable instructions are executed by a processor, the steps of the vehicle passage method in the above-mentioned embodiment 1 and embodiment 2 are implemented.

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

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

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

Claims

1. A vehicle passage method, characterized in that: Applied to the client, the method comprises: Get the gate opening command; A data packet is generated based on the gate opening instruction, and the data packet is broadcast to the target entrance and exit device, so that the target entrance and exit device parses the gate opening instruction from the broadcast data packet to perform the gate opening operation, wherein the client enters the slave working mode as a Bluetooth peripheral device after running the application, and the slave working mode refers to a mode of periodically broadcasting data packets, and the target entrance and exit device enters the host working mode as a central device after startup, and the host working mode refers to a mode of scanning Bluetooth broadcasts within a preset range.

2. The vehicle passing method according to claim 1, characterized in that: Get the gate opening instruction, including: Obtain the parking lot management terminal access address, vehicle information of the target vehicle, and entrance and exit equipment identification; Based on the parking lot management terminal access address, sending a pass authentication request to the parking lot management terminal, the pass authentication request including the vehicle information and the entrance and exit device identification, so that the parking lot management terminal performs a corresponding authentication operation based on the vehicle information and the entrance and exit device identification; When the authentication is successful, the gate opening instruction is obtained.

3. The vehicle passing method according to claim 2, characterized in that: The method of obtaining the parking lot management terminal access address, the vehicle information of the target vehicle, and the entrance and exit equipment identification includes: When the target vehicle drives to the preset area, an object to be identified is obtained, where the object to be identified is generated by the target entrance and exit device based on the vehicle information of the target vehicle currently collected, as well as the pre-stored parking lot management terminal access address and the entrance and exit device identifier; Scan the code of the object to be identified to obtain the parking lot management access address, vehicle information of the target vehicle, and entrance and exit equipment identification.

4. A vehicle passage method, characterized in that: Applied to the entrance and exit equipment, the entrance and exit equipment enters the host working mode as a central device after startup, and the host working mode refers to the mode of scanning Bluetooth broadcasts within a preset range. The method includes: Acquire a data packet broadcast by a client within a preset range, wherein the client enters a slave working mode as a Bluetooth peripheral device after running the application, and the slave working mode refers to a mode of periodically broadcasting data packets; Parsing the data packet to obtain a gate opening instruction; Based on the gate opening instruction, the target vehicle is released.

5. The vehicle passing method according to claim 4, characterized in that: After obtaining the data packet broadcast by the client within the preset range, the method includes: Based on the data packet, obtain a device identification, a verification code, and a timestamp; When the device identification is consistent with the device identification of the entry and exit device, the legitimacy of the data packet is verified based on the verification code and the timestamp; When the device identification is inconsistent with the device identification of the ingress and egress device, the data packet is discarded.

6. The vehicle passing method according to claim 4, characterized in that: The data packet includes a plurality of data packets, and after parsing the data packet to obtain the gate opening instruction, the method includes: When it is determined that the plurality of data packets originate from the same client, and the interval between the timestamps associated with the gate opening instructions is less than a preset time interval, one gate opening instruction is retained to execute the corresponding gate opening operation.

7. A vehicle passage device, characterized in that: Applied to a client, the device comprises: A gate opening instruction acquisition unit, used for acquiring a gate opening instruction; The gate opening processing unit is used to generate a data packet based on the gate opening instruction, and broadcast the data packet to the target entrance and exit device, so that the target entrance and exit device parses the broadcast data packet to obtain the gate opening instruction to perform the gate opening operation, wherein the client enters the slave working mode as a Bluetooth peripheral device after running the application, and the slave working mode refers to a mode of periodically broadcasting data packets, and the target entrance and exit device enters the host working mode as a central device after startup, and the host working mode refers to a mode of scanning Bluetooth broadcasts within a preset range.

8. A vehicle passage device, characterized in that: Applied to the entrance and exit equipment, the entrance and exit equipment enters the host working mode as a central device after startup, and the host working mode refers to the mode of scanning Bluetooth broadcasts within a preset range. The device includes: A data packet acquisition unit, used to acquire data packets broadcast by a client within a preset range, wherein the client enters a slave working mode as a Bluetooth peripheral device after running the application, and the slave working mode refers to a mode of periodically broadcasting data packets; A gate opening instruction acquisition unit, used for parsing the data packet to obtain a gate opening instruction; The vehicle release unit is used to release the target vehicle based on the gate opening instruction.

9. A computer device comprising a memory, a processor, and computer-readable instructions stored in the memory and executed on the processor, characterized in that: When the processor executes the computer-readable instructions, the vehicle passage method according to any one of claims 1 to 6 is implemented.

10. A readable storage medium having computer readable instructions stored thereon, characterized in that: When the computer-readable instructions are executed by a processor, the vehicle passage method according to any one of claims 1 to 6 is implemented.