CN112750234B - Vehicle unlocking method and device, computer equipment and storage medium - Google Patents

Vehicle unlocking method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN112750234B
CN112750234B CN202011621653.3A CN202011621653A CN112750234B CN 112750234 B CN112750234 B CN 112750234B CN 202011621653 A CN202011621653 A CN 202011621653A CN 112750234 B CN112750234 B CN 112750234B
Authority
CN
China
Prior art keywords
target vehicle
physical address
vehicle
address
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011621653.3A
Other languages
Chinese (zh)
Other versions
CN112750234A (en
Inventor
周继发
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xiamen Qiwen Technology Co ltd
Beijing Qisheng Technology Co Ltd
Hangzhou Qingqi Science and Technology Co Ltd
Original Assignee
Beijing Qisheng Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qisheng Technology Co Ltd filed Critical Beijing Qisheng Technology Co Ltd
Priority to CN202011621653.3A priority Critical patent/CN112750234B/en
Publication of CN112750234A publication Critical patent/CN112750234A/en
Application granted granted Critical
Publication of CN112750234B publication Critical patent/CN112750234B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00309Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with bidirectional data transmission between data carrier and locks
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00571Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated by interacting with a central unit

Abstract

The present disclosure provides a vehicle unlocking method, apparatus, computer device and storage medium, wherein the method comprises: acquiring a physical address corresponding to a target vehicle through an identification code on the target vehicle; judging whether the physical address corresponding to the target vehicle is a pre-agreed public address or not; if the physical address corresponding to the target vehicle is the public address, skipping a process of scanning a wireless signal corresponding to the target vehicle, and initiating connection to the target vehicle based on the physical address of the target vehicle; and controlling the target vehicle to unlock after communication connection with the target vehicle is established. Therefore, the time for establishing connection with the target vehicle can be shortened, the success rate of establishing connection with the target vehicle is improved, and the efficiency of unlocking the target vehicle is improved.

Description

Vehicle unlocking method and device, computer equipment and storage medium
Technical Field
The disclosure relates to the technical field of automatic control, in particular to a vehicle unlocking method and device, computer equipment and a storage medium.
Background
With the development of sharing economy, a large number of sharing vehicles such as sharing bicycles, sharing electric bicycles and sharing automobiles appear on the street, and great convenience is provided for people to go out.
At present, a vehicle unlocking method generally includes that a user scans a two-dimensional code of a vehicle body, identification information of a scanned vehicle is obtained, a wireless signal corresponding to the identification information is scanned through a mobile terminal of the user, when the wireless signal is scanned, connection is initiated, so that connection between the scanned vehicle and the scanned vehicle is established, and the scanned vehicle is controlled to be unlocked through the connection. However, in the above method, when there are many surrounding vehicles or there are interference signals, the wireless signal of the scanned vehicle is likely to be unable to be scanned, and thus, the user may be unable to perform the unlocking operation, and the unlocking efficiency is low.
Disclosure of Invention
The embodiment of the disclosure at least provides a vehicle unlocking method and device, computer equipment and a storage medium.
In a first aspect, an embodiment of the present disclosure provides a vehicle unlocking method, including:
acquiring a physical address corresponding to a target vehicle through an identification code on the target vehicle;
judging whether the physical address corresponding to the target vehicle is a pre-agreed public address or not;
if the physical address corresponding to the target vehicle is the public address, skipping a process of scanning a wireless signal corresponding to the target vehicle, and initiating connection to the target vehicle based on the physical address of the target vehicle;
and controlling the target vehicle to unlock after the communication connection with the target vehicle is established.
In an optional implementation manner, the acquiring, by an identification code on a target vehicle, a physical address corresponding to the target vehicle includes:
identifying an identification code on the target vehicle;
acquiring identification information of the target vehicle included in the identification code;
and inquiring a physical address corresponding to the identification information of the target vehicle based on the identification information.
In an optional embodiment, the querying a physical address corresponding to the identification information of the target vehicle based on the identification information includes:
based on the identification information, inquiring a physical address corresponding to the identification information of the target vehicle and an address attribute corresponding to the physical address from an attribute information list of the vehicle stored in advance in a server;
wherein the address attributes include a public address and a private address.
In an optional implementation manner, if the physical address corresponding to the target vehicle is the public address, skipping a process of scanning a wireless signal corresponding to the target vehicle, and initiating a connection to the target vehicle based on the physical address of the target vehicle includes:
when the physical address corresponding to the target vehicle is the public address, skipping the process of scanning the wireless signal corresponding to the target vehicle, and initiating a direct communication connection request to the public address of the target vehicle;
and after receiving feedback of the target vehicle responding to the direct communication connection request, establishing communication connection with the target vehicle based on the public address of the target vehicle.
In an optional implementation manner, after determining whether the physical address corresponding to the target vehicle is a pre-agreed public address, the method further includes:
when the physical address corresponding to the target vehicle is a private address, scanning a target wireless connection signal sent by the target vehicle;
establishing wireless connection with the target vehicle according to the scanned target wireless connection signal;
controlling the target vehicle to unlock based on the wireless connection established with the target vehicle.
In an optional embodiment, when the physical address corresponding to the target vehicle is a private address, scanning a target wireless connection signal sent by the target vehicle includes:
and when the physical address corresponding to the target vehicle is a private address, scanning a wireless signal sent by the target vehicle in a preset signal scanning period.
In an optional embodiment, the method further comprises:
when the physical address corresponding to the target vehicle is a private address and a wireless signal sent by the target vehicle is not scanned, initiating a direct communication connection with the target vehicle based on the private address of the target vehicle;
controlling the target vehicle to unlock after establishing a direct communication connection with the target vehicle.
In a second aspect, embodiments of the present disclosure also provide a vehicle unlocking device, including:
the acquisition module is used for acquiring a physical address corresponding to a target vehicle through an identification code on the target vehicle;
the judging module is used for judging whether the physical address corresponding to the target vehicle is a pre-agreed public address or not;
the first connection module is used for skipping the process of scanning the wireless signal corresponding to the target vehicle if the physical address corresponding to the target vehicle is the public address, and initiating connection to the target vehicle based on the physical address of the target vehicle;
the first control module is used for controlling the target vehicle to unlock after communication connection with the target vehicle is established.
In an optional implementation, the obtaining module includes:
a recognition unit for recognizing the identification code on the target vehicle;
an acquisition unit configured to acquire identification information of the target vehicle included in the identification code;
and the query unit is used for querying a physical address corresponding to the identification information of the target vehicle based on the identification information.
In an optional implementation manner, the query unit is specifically configured to:
based on the identification information, inquiring a physical address corresponding to the identification information of the target vehicle and an address attribute corresponding to the physical address from an attribute information list of the vehicle stored in advance in a server;
wherein the address attributes include a public address and a private address.
In an optional implementation manner, the first connection module is specifically configured to:
when the physical address corresponding to the target vehicle is the public address, skipping the process of scanning the wireless signal corresponding to the target vehicle, and initiating a direct communication connection request to the public address of the target vehicle;
and after receiving feedback of the target vehicle responding to the direct communication connection request, establishing communication connection with the target vehicle based on the public address of the target vehicle.
In an alternative embodiment, the apparatus further comprises:
the scanning module is used for scanning a target wireless connection signal sent by the target vehicle when the physical address corresponding to the target vehicle is a private address;
the second connection module is used for establishing wireless connection with the target vehicle according to the scanned target wireless connection signal;
and the second control module is used for controlling the target vehicle to unlock based on the wireless connection established with the target vehicle.
In an optional implementation manner, the scanning module is specifically configured to:
and when the physical address corresponding to the target vehicle is a private address, scanning a wireless signal sent by the target vehicle in a preset signal scanning period.
In an alternative embodiment, the apparatus further comprises:
the third connection module is used for initiating direct communication connection with the target vehicle based on the private address of the target vehicle when the physical address corresponding to the target vehicle is the private address and the wireless signal sent by the target vehicle is not scanned;
and the third control module is used for controlling the target vehicle to unlock after the direct communication connection is established between the target vehicle and the target vehicle.
In a third aspect, an embodiment of the present disclosure further provides a computer device, including: a processor, a memory and a bus, the memory storing machine-readable instructions executable by the processor, the processor and the memory communicating via the bus when the computer device is running, the machine-readable instructions when executed by the processor performing the steps of the first aspect described above, or any possible implementation of the first aspect.
In a fourth aspect, this disclosed embodiment also provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to perform the steps in the first aspect or any one of the possible implementation manners of the first aspect.
The embodiment of the disclosure provides a vehicle unlocking method, a vehicle unlocking device, computer equipment and a storage medium, wherein the vehicle unlocking method comprises the following steps: acquiring a physical address corresponding to a target vehicle through an identification code on the target vehicle; judging whether the physical address corresponding to the target vehicle is a pre-agreed public address or not; if the physical address corresponding to the target vehicle is the public address, skipping a process of scanning a wireless signal corresponding to the target vehicle, and initiating connection to the target vehicle based on the physical address of the target vehicle; and controlling the target vehicle to unlock after the communication connection with the target vehicle is established.
According to the vehicle unlocking method provided by the embodiment of the disclosure, when the physical address corresponding to the target vehicle is the public address, the process of scanning the wireless signal is skipped, and the target vehicle is connected based on the public address, so that the target vehicle is controlled to be unlocked.
Further, according to the vehicle unlocking method provided by the embodiment of the disclosure, when the physical address corresponding to the target vehicle is a private address, the target wireless connection signal sent by the target vehicle is scanned in the preset signal scanning period, so that the success rate of wireless connection between the target vehicle and the target vehicle is improved, and the unlocking efficiency of the target vehicle is improved.
In order to make the aforementioned objects, features and advantages of the present disclosure more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings required for use in the embodiments will be briefly described below, and the drawings herein incorporated in and forming a part of the specification illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the technical solutions of the present disclosure. It is appreciated that the following drawings depict only certain embodiments of the disclosure and are therefore not to be considered limiting of its scope, for those skilled in the art will be able to derive additional related drawings therefrom without the benefit of the inventive faculty.
Fig. 1 shows a flowchart of a vehicle unlocking method provided by an embodiment of the present disclosure;
FIG. 2 illustrates a flow chart of another method for unlocking a vehicle provided by an embodiment of the disclosure;
FIG. 3 illustrates a schematic diagram of a vehicle unlocking apparatus provided by an embodiment of the present disclosure;
fig. 4 is a schematic diagram showing a specific view of an acquisition module in the vehicle unlocking apparatus provided in the embodiment of the present disclosure;
FIG. 5 shows a schematic view of another vehicle unlocking device provided by the embodiment of the present disclosure;
fig. 6 shows a schematic diagram of a computer device provided by an embodiment of the present disclosure.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present disclosure more clear, the technical solutions of the embodiments of the present disclosure will be described clearly and completely with reference to the drawings in the embodiments of the present disclosure, and it is obvious that the described embodiments are only a part of the embodiments of the present disclosure, not all of the embodiments. The components of the embodiments of the present disclosure, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present disclosure, presented in the figures, is not intended to limit the scope of the claimed disclosure, but is merely representative of selected embodiments of the disclosure. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the disclosure without making creative efforts, shall fall within the protection scope of the disclosure.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
The term "and/or" herein merely describes an associative relationship, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the term "at least one" herein means any one of a plurality or any combination of at least two of a plurality, for example, including at least one of A, B, C, and may mean including any one or more elements selected from the group consisting of A, B and C.
Research shows that the vehicle unlocking method generally comprises the steps of scanning a two-dimension code of a vehicle body by a user, acquiring identification information of the scanned vehicle, scanning a wireless signal corresponding to the identification information through a mobile terminal of the user, initiating connection when the wireless signal is scanned, establishing connection with the scanned vehicle, and controlling the scanned vehicle to unlock through the connection. However, in the above method, when there are many surrounding vehicles or there are interference signals, the wireless signal of the scanned vehicle is likely to be unable to be scanned, and thus, the user may be unable to perform the unlocking operation, and the unlocking efficiency is low.
Based on the research, the present disclosure provides a vehicle unlocking method, which skips a process of scanning a wireless signal when a physical address corresponding to a target vehicle is a public address, and controls unlocking of the target vehicle based on connection between the public address and the target vehicle, so that time for establishing connection with the target vehicle can be shortened, a success rate of establishing connection with the target vehicle is improved, and efficiency of unlocking the target vehicle is improved.
In order to facilitate understanding of the present embodiment, a vehicle unlocking method disclosed in the embodiments of the present disclosure is first described in detail, and an execution subject of the vehicle unlocking method provided in the embodiments of the present disclosure is generally a computer device with certain computing capability, where the computer device includes, for example: a terminal device, which may be a User Equipment (UE), a mobile device, a User terminal, a cellular phone, a cordless phone, a Personal Digital Assistant (PDA), a handheld device, a computing device, a vehicle mounted device, a wearable device, or a server or other processing device. In some possible implementations, the vehicle unlocking method may be implemented by a processor calling computer readable instructions stored in a memory.
Referring to fig. 1, a flowchart of a vehicle unlocking method provided in an embodiment of the present disclosure is shown, where the method includes steps S101 to S104, where:
s101: and acquiring a physical address corresponding to the target vehicle through the identification code on the target vehicle.
In this step, the physical address corresponding to the target vehicle may be acquired based on the identification code carried on the target vehicle and scanned by the user.
The target vehicle can be a sharing vehicle such as a sharing bicycle, a sharing electric bicycle and a sharing automobile. The system can be usually placed in areas such as campuses, subway stations, bus stations, residential areas, business areas, public service areas and the like, provides sharing service for users, and brings great convenience for daily travel life of the users.
Correspondingly, the identification code may be a shared vehicle surface, such as: and information such as two-dimensional codes, identification numbers and the like carried at positions of a vehicle body, a handlebar and the like. For example, when a user scans two-dimensional code information carried by a shared vehicle through an application program or an applet and the like corresponding to the shared vehicle in a mobile terminal, a series of information related to the scanned vehicle can be acquired; alternatively, when the user inputs the identification code carried by the shared vehicle in the application or applet corresponding to the mobile terminal, a series of information about the scanned vehicle may also be acquired.
In the embodiment of the present disclosure, the physical address refers to a Medium/Media Access Control (MAC) address, which is used to indicate an identifier of each station on the internet, and in fact, the MAC address is an adapter address or an adapter identifier. Mandatory access control allows loading of new access control modules and thereby enforcing new security policies, some of which provide protection and enhance specific services for a small subset of systems, others provide full tag-based security protection for all subjects and objects. The mandatory access control is that the system enforces the access control independently from the user behavior and also provides the control that an object (data object) is shared between a subject (database user), but the mandatory access control mechanism determines whether to grant or deny the user access to resources by comparing the security levels of the subject and the object, thereby preventing illegal and unauthorized access to information and ensuring the confidentiality of the information.
Specifically, the obtaining of the physical address corresponding to the target vehicle through the identification code on the target vehicle includes:
identifying an identification code on the target vehicle;
acquiring identification information of the target vehicle included in the identification code;
and inquiring a physical address corresponding to the identification information of the target vehicle based on the identification information.
For example, when the user scans the identification code such as the two-dimensional code on the target vehicle through the application program or the applet of the mobile terminal, the application program or the applet of the mobile terminal may recognize the identification code of the target vehicle.
Because the identification codes such as the two-dimensional codes on the target vehicle represent the unique identification of the target vehicle, the identification information corresponding to the target vehicle can be acquired through the identification codes, and the identification information can comprise information such as a serial number and a code of the target vehicle.
After the identification information corresponding to the target vehicle is determined, the corresponding physical address can be queried based on the identification information, so that the physical address corresponding to the target vehicle is determined. Specifically, the querying a physical address corresponding to the identification information of the target vehicle based on the identification information includes:
based on the identification information, inquiring a physical address corresponding to the identification information of the target vehicle and an address attribute corresponding to the physical address from an attribute information list of the vehicle stored in advance in a server;
wherein the address attributes include a public address and a private address. Illustratively, in today's networks, Internet Protocol (IP) addresses are divided into public and private IP addresses. The public IP is an IP address used in the Internet, and the private IP address is an IP address used in the local network. Generally, private addresses do not support the property of directly initiating a connection through an overscan process specific to public addresses.
Specifically, the Public address (Public address) is a physical address which is in charge of an Internet Information center (Internet Information center, rInter NIC) and through which the Internet can be directly accessed. The public address is usually applied to Institute of Electrical and Electronics Engineers (IEEE), and the corresponding information field is different from the private address, so that the public address can be distinguished in the server storing the physical address.
Correspondingly, the Private address (Private address) belongs to a non-registered address, and is exclusively used inside the organization. A private IP address is a reserved IP address that is typically used only in a local area network and not on the Internet. When the host in the private network needs to communicate with the host on the public network, the private address must be converted into a legal public network address through address conversion, and then the external access can be realized.
For example, after the identification information of the target vehicle is acquired, the identification information may be transmitted to a server that stores a plurality of pieces of vehicle attribute information. And inquiring a physical address corresponding to the sent identification information from the attribute information list of the server based on the identification information of the target vehicle, and determining the corresponding address attribute based on the basic information of the physical address.
The public addresses of the vehicles are the public addresses applied by workers to the institute of electrical and electronics engineers, the public addresses applied are configured on the vehicles one by one, the public addresses corresponding to the vehicles are different, the public addresses corresponding to the vehicles are stored in the attribute information list, namely the attribute information list comprises the public address information which is predetermined and is endowed to a plurality of vehicles, and then the physical addresses corresponding to the target vehicles can be determined by inquiring the attribute information list.
S102: and judging whether the physical address corresponding to the target vehicle is a pre-agreed public address.
In this step, after the physical address corresponding to the target vehicle is obtained, it may be determined whether the physical address corresponding to the target vehicle is a pre-agreed public address.
Specifically, it may be determined whether the physical address corresponding to the target vehicle is the applied public address based on a plurality of public addresses applied to the institute of electrical and electronics engineers, and if the physical address corresponding to the target vehicle is not the applied public address, it may be determined that the physical address corresponding to the target vehicle is the private address.
S103: and if the physical address corresponding to the target vehicle is the public address, skipping the process of scanning the wireless signal corresponding to the target vehicle, and initiating connection to the target vehicle based on the physical address of the target vehicle.
In this step, when the physical address corresponding to the target vehicle is a public address, a process of scanning a wireless signal corresponding to the target vehicle is not required, and connection is initiated to the target vehicle based on the physical address of the target vehicle.
Specifically, for most of the current unlocking processes, in order to simplify the interaction process, no relevant mechanism for inquiring whether the MAC address of the vehicle is a public address or a private address is established, but according to a fixed process, that is, scanning is performed for a certain period of time (for example, 10s), and a wireless signal (for example, a bluetooth signal or the like) sent by the target vehicle is transmitted to the target vehicle, if the wireless signal is not scanned, the operation of direct connection is performed, however, the above method has certain disadvantages, first, when there are many surrounding vehicles, or when certain signal interference exists, the wireless signal sent by the target vehicle cannot be scanned within the specified time, and secondly, if the wireless signal sent by the target vehicle cannot be scanned within the specified time and the physical address corresponding to the target vehicle is a private address, the success rate of the direct connection operation is low, so that the target vehicle cannot be unlocked easily, and the use efficiency of a user is influenced.
In the embodiment of the disclosure, whether a physical address corresponding to a target vehicle is a public address is judged, if yes, a wireless signal corresponding to the target vehicle does not need to be scanned, and instead, the connection is initiated to the target vehicle directly based on the physical address of the target vehicle, that is, the physical address of the target vehicle is inquired first, and then whether the wireless signal sent by the target vehicle is scanned first is determined, and then a direct connection operation with the target vehicle is initiated under the condition of scanning failure or the direct connection operation is initiated by the target vehicle in a direct box, so that the success rate of connection with the target vehicle is improved.
Specifically, the method for initiating connection to the target vehicle includes:
when the physical address corresponding to the target vehicle is the public address, skipping the process of scanning the wireless signal corresponding to the target vehicle, and initiating a direct communication connection request to the public address of the target vehicle;
and after receiving feedback of the target vehicle responding to the direct communication connection request, establishing communication connection with the target vehicle based on the public address of the target vehicle.
Here, the direct communication connection, simply referred to as "direct connection", refers to a connection operation that enables devices to easily connect to each other without requiring an intermediary medium for access. Generally, when a physical address is a public address, the success rate of direct connection is high, and when the physical address is a private address, the success rate of direct connection is low.
Illustratively, when the physical address corresponding to the target vehicle is a public address, the mobile terminal directly initiates a direct communication connection request to the public address of the target vehicle; when the target vehicle receives the direct communication connection request, certain feedback is performed. After receiving the feedback of the target vehicle responding to the direct communication connection request, the mobile terminal can establish communication connection with the target vehicle based on the public address of the target vehicle.
S104: and controlling the target vehicle to unlock after communication connection with the target vehicle is established.
In this step, after the communication connection with the target vehicle is established, the target vehicle may be controlled to unlock through the connection.
For example, after establishing a communication connection with the target vehicle, the mobile terminal of the user may display corresponding connection success information, and the user may operate the mobile terminal to control the target vehicle to unlock, so as to operate the target vehicle.
According to the method and the device for unlocking the target vehicle, when the physical address corresponding to the target vehicle is the public address, the process of scanning the wireless signal is skipped, and the target vehicle is connected based on the public address, so that the target vehicle is controlled to be unlocked, the time for establishing connection with the target vehicle can be shortened, the success rate of establishing connection with the target vehicle is improved, and the efficiency of unlocking the target vehicle is improved.
Referring to fig. 2, a flowchart of another vehicle unlocking method provided in the embodiment of the present disclosure is shown, where the method includes steps S201 to S205, where:
s201: and acquiring a physical address corresponding to the target vehicle through the identification code on the target vehicle.
S202: and judging whether the physical address corresponding to the target vehicle is a pre-agreed public address.
The descriptions of step S201 to step S202 may refer to the descriptions of step S101 to step S102, and the same technical effects may be achieved, which are not described herein again.
S203: and when the physical address corresponding to the target vehicle is a private address, scanning a target wireless connection signal sent by the target vehicle.
In this step, when it is determined that the physical address corresponding to the target vehicle is a private address, an operation of scanning a target wireless connection signal transmitted by the target vehicle is performed.
Specifically, when the physical address corresponding to the target vehicle is a private address, scanning a target wireless connection signal sent by the target vehicle includes:
and when the physical address corresponding to the target vehicle is a private address, scanning a target wireless connection signal sent by the target vehicle in a preset signal scanning period.
The preset signal scanning period is longer than the currently set signal scanning period, that is, the wireless connection signal sent by the target vehicle is continuously scanned in a longer time. As for the target vehicle with the private address as the physical address, the direct connection success rate based on the private address is low, the scanning time is prolonged, the wireless connection signal sent by the target vehicle can be scanned conveniently, and the scanning success rate can be improved.
S204: and establishing wireless connection with the target vehicle according to the scanned target wireless connection signal.
In this step, after the scanned target wireless connection signal, a connection with the target vehicle may be established.
For example, the bluetooth signal connection with the target vehicle can be established after the bluetooth connection signal sent by the target vehicle is scanned.
S205: controlling the target vehicle to unlock based on the wireless connection established with the target vehicle.
The description of step S205 may refer to the description of step S104, and the same technical effect may be achieved, which is not described herein again.
According to the embodiment of the disclosure, when the physical address corresponding to the target vehicle is a private address, the target wireless connection signal sent by the target vehicle is scanned in the preset signal scanning period, so that the success rate of wireless connection between the target vehicle and the target vehicle is improved, and the unlocking efficiency of the target vehicle is improved.
It will be understood by those skilled in the art that in the method of the present invention, the order of writing the steps does not imply a strict order of execution and any limitations on the implementation, and the specific order of execution of the steps should be determined by their function and possible inherent logic.
Based on the same inventive concept, a vehicle unlocking device corresponding to the vehicle unlocking method is also provided in the embodiments of the present disclosure, and as the principle of solving the problem of the device in the embodiments of the present disclosure is similar to that of the vehicle unlocking method in the embodiments of the present disclosure, the implementation of the device can refer to the implementation of the method, and repeated details are not repeated.
Referring to fig. 3, 4 and 5, fig. 3 is a schematic view of a vehicle unlocking device provided in an embodiment of the present disclosure; fig. 4 is a specific schematic diagram of an acquisition module in the vehicle unlocking device provided in the embodiment of the present disclosure; fig. 5 is a schematic view of another vehicle unlocking device provided in the embodiment of the present disclosure. As shown in fig. 3, the apparatus includes: an obtaining module 310, a judging module 320, a first connecting module 330, and a first control module 340; wherein:
the obtaining module 310 is configured to obtain a physical address corresponding to a target vehicle through an identification code on the target vehicle;
the judging module 320 is configured to judge whether the physical address corresponding to the target vehicle is a pre-agreed public address;
a first connection module 330, configured to skip a process of scanning a wireless signal corresponding to the target vehicle if the physical address corresponding to the target vehicle is the public address, and initiate a connection to the target vehicle based on the physical address of the target vehicle;
a first control module 340 for controlling the target vehicle to unlock after a communication connection is established with the target vehicle.
In an optional implementation, the obtaining module 310 includes:
a recognition unit 311 for recognizing the identification code on the target vehicle;
an acquisition unit 312 for acquiring identification information of the target vehicle included in the identification code;
an inquiring unit 313 configured to inquire a physical address corresponding to the identification information of the target vehicle based on the identification information.
In an optional implementation manner, the querying unit 313 is specifically configured to:
based on the identification information, inquiring a physical address corresponding to the identification information of the target vehicle and an address attribute corresponding to the physical address from an attribute information list of the vehicle stored in advance in a server;
wherein the address attributes include a public address and a private address.
In an optional implementation manner, the first connection module 330 is specifically configured to:
when the physical address corresponding to the target vehicle is the public address, skipping the process of scanning the wireless signal corresponding to the target vehicle, and initiating a direct communication connection request to the public address of the target vehicle;
and after receiving feedback of the target vehicle responding to the direct communication connection request, establishing communication connection with the target vehicle based on the public address of the target vehicle.
In an alternative embodiment, the apparatus further comprises:
the scanning module 350 is configured to scan a target wireless connection signal sent by the target vehicle when the physical address corresponding to the target vehicle is a private address;
the second connection module 360 is configured to establish a wireless connection with the target vehicle according to the scanned target wireless connection signal;
a second control module 370 for controlling the target vehicle to unlock based on the wireless connection established with the target vehicle.
In an optional implementation manner, the scanning module 350 is specifically configured to:
and when the physical address corresponding to the target vehicle is a private address, scanning a wireless signal sent by the target vehicle in a preset signal scanning period.
In an alternative embodiment, the apparatus further comprises:
a third connection module 380, configured to initiate a direct communication connection with the target vehicle based on the private address of the target vehicle when the physical address corresponding to the target vehicle is a private address and a wireless signal sent by the target vehicle is not scanned;
a third control module 390 for controlling the target vehicle to unlock after establishing a direct communication connection with the target vehicle.
According to the method and the device, when the physical address corresponding to the target vehicle is the public address, the process of scanning the wireless signal is skipped, and the target vehicle is connected based on the public address, so that the target vehicle is controlled to be unlocked.
The description of the processing flow of each module in the device and the interaction flow between the modules may refer to the related description in the above method embodiments, and will not be described in detail here.
Corresponding to the vehicle unlocking method in fig. 1, an embodiment of the present disclosure further provides a computer device, as shown in fig. 6, a schematic structural diagram of the computer device provided in the embodiment of the present disclosure includes:
a processor 601, a memory 602, and a bus 603; the memory 602 is used for storing execution instructions and includes a memory 6021 and an external memory 6022; the memory 6021 is also referred to as an internal memory, and is configured to temporarily store the operation data in the processor 601 and the data exchanged with the external memory 6022 such as a hard disk, the processor 601 exchanges data with the external memory 6022 through the memory 6021, and when the computer device is operated, the processor 601 communicates with the memory 602 through the bus 603, so that the processor 601 executes the following instructions:
acquiring a physical address corresponding to a target vehicle through an identification code on the target vehicle;
judging whether the physical address corresponding to the target vehicle is a pre-agreed public address or not;
if the physical address corresponding to the target vehicle is the public address, skipping the process of scanning the wireless signal corresponding to the target vehicle, and initiating connection to the target vehicle based on the physical address of the target vehicle;
and controlling the target vehicle to unlock after the communication connection with the target vehicle is established.
The disclosed embodiments also provide a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, performs the steps of the vehicle unlocking method described in the above method embodiments. The storage medium may be a volatile or non-volatile computer-readable storage medium.
The embodiment of the present disclosure further provides a computer program product, where the computer program product carries a program code, and instructions included in the program code may be used to execute the steps of the vehicle unlocking method in the foregoing method embodiment, which may be referred to specifically in the foregoing method embodiment, and are not described herein again.
The computer program product may be implemented by hardware, software or a combination thereof. In an alternative embodiment, the computer program product is embodied in a computer storage medium, and in another alternative embodiment, the computer program product is embodied in a Software product, such as a Software Development Kit (SDK), or the like.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the system and the apparatus described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again. In the several embodiments provided in the present disclosure, it should be understood that the disclosed system, apparatus, and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present disclosure may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer-readable storage medium executable by a processor. Based on such understanding, the technical solutions of the present disclosure, which are essential or part of the technical solutions contributing to the prior art, may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the methods described in the embodiments of the present disclosure. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Finally, it should be noted that: the above-mentioned embodiments are merely specific embodiments of the present disclosure, which are used to illustrate the technical solutions of the present disclosure, but not to limit the technical solutions, and the scope of the present disclosure is not limited thereto, and although the present disclosure is described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: any person skilled in the art can modify or easily conceive of the technical solutions described in the foregoing embodiments or equivalent technical features thereof within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the embodiments of the present disclosure, and should be construed as being included therein. Therefore, the protection scope of the present disclosure shall be subject to the protection scope of the claims.

Claims (10)

1. A method of unlocking a vehicle, the method comprising:
acquiring a physical address corresponding to a target vehicle through an identification code on the target vehicle;
judging whether the physical address corresponding to the target vehicle is a pre-agreed public address or not;
if the physical address corresponding to the target vehicle is the public address, skipping the process of scanning the wireless signal corresponding to the target vehicle, and initiating connection to the target vehicle based on the physical address of the target vehicle;
and controlling the target vehicle to unlock after the communication connection with the target vehicle is established.
2. The vehicle unlocking method according to claim 1, wherein the acquiring a physical address corresponding to the target vehicle through an identification code on the target vehicle comprises:
identifying an identification code on the target vehicle;
acquiring identification information of the target vehicle included in the identification code;
and inquiring a physical address corresponding to the identification information of the target vehicle based on the identification information.
3. The vehicle unlocking method according to claim 2, wherein the querying a physical address corresponding to the identification information of the target vehicle based on the identification information includes:
based on the identification information, inquiring a physical address corresponding to the identification information of the target vehicle and an address attribute corresponding to the physical address from an attribute information list of the vehicle stored in advance in a server;
wherein the address attributes include a public address and a private address.
4. The vehicle unlocking method according to claim 1, wherein if the physical address corresponding to the target vehicle is the public address, skipping a process of scanning a wireless signal corresponding to the target vehicle, and initiating a connection to the target vehicle based on the physical address of the target vehicle, comprises:
when the physical address corresponding to the target vehicle is the public address, skipping the process of scanning the wireless signal corresponding to the target vehicle, and initiating a direct communication connection request to the public address of the target vehicle;
and after receiving feedback of the target vehicle responding to the direct communication connection request, establishing communication connection with the target vehicle based on the public address of the target vehicle.
5. The vehicle unlocking method according to claim 1, wherein after determining whether the physical address corresponding to the target vehicle is a pre-agreed public address, the method further comprises:
when the physical address corresponding to the target vehicle is a private address, scanning a target wireless connection signal sent by the target vehicle;
establishing wireless connection with the target vehicle according to the scanned target wireless connection signal;
controlling the target vehicle to unlock based on the wireless connection established with the target vehicle.
6. The vehicle unlocking method according to claim 5, wherein when the physical address corresponding to the target vehicle is a private address, scanning a target wireless connection signal sent by the target vehicle comprises:
and when the physical address corresponding to the target vehicle is a private address, scanning a wireless signal sent by the target vehicle in a preset signal scanning period.
7. The vehicle unlocking method according to claim 5, further comprising:
when the physical address corresponding to the target vehicle is a private address and a wireless signal sent by the target vehicle is not scanned, initiating a direct communication connection with the target vehicle based on the private address of the target vehicle;
controlling the target vehicle to unlock after establishing a direct communication connection with the target vehicle.
8. A vehicle unlocking device, characterized in that the device comprises:
the acquisition module is used for acquiring a physical address corresponding to a target vehicle through an identification code on the target vehicle;
the judging module is used for judging whether the physical address corresponding to the target vehicle is a pre-agreed public address or not;
the first connection module is used for skipping the process of scanning the wireless signal corresponding to the target vehicle if the physical address corresponding to the target vehicle is the public address, and initiating connection to the target vehicle based on the physical address of the target vehicle;
the first control module is used for controlling the target vehicle to unlock after communication connection with the target vehicle is established.
9. A computer device, comprising: a processor, a memory and a bus, the memory storing machine-readable instructions executable by the processor, the processor and the memory communicating over the bus when a computer device is running, the machine-readable instructions when executed by the processor performing the steps of the vehicle unlocking method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a computer program which, when being executed by a processor, performs the steps of the vehicle unlocking method according to any one of claims 1 to 7.
CN202011621653.3A 2020-12-31 2020-12-31 Vehicle unlocking method and device, computer equipment and storage medium Active CN112750234B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011621653.3A CN112750234B (en) 2020-12-31 2020-12-31 Vehicle unlocking method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011621653.3A CN112750234B (en) 2020-12-31 2020-12-31 Vehicle unlocking method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112750234A CN112750234A (en) 2021-05-04
CN112750234B true CN112750234B (en) 2022-06-28

Family

ID=75650332

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011621653.3A Active CN112750234B (en) 2020-12-31 2020-12-31 Vehicle unlocking method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112750234B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101267393A (en) * 2008-05-13 2008-09-17 腾讯科技(深圳)有限公司 Method and system for reducing called waiting time in instant communication system
CN101651606A (en) * 2008-08-14 2010-02-17 华为技术有限公司 Method, device and system for forwarding message
KR20100084303A (en) * 2009-01-16 2010-07-26 성정현 System and method for power control of user terminal using data transmission of radio frequency identification
CN104282067A (en) * 2014-10-17 2015-01-14 广东美的生活电器制造有限公司 Communication connection device, household appliance and electric heating kettle
CN104980887A (en) * 2015-07-16 2015-10-14 北京握奇智能科技有限公司 Bluetooth connection establishment method and intelligent terminal
CN108040354A (en) * 2017-11-24 2018-05-15 北京摩拜科技有限公司 A kind of method, system, electronic equipment and server for connecting bluetooth equipment
CN108833607A (en) * 2018-06-12 2018-11-16 腾讯科技(深圳)有限公司 Physical address acquisition methods, device and readable medium
CN109919644A (en) * 2017-12-12 2019-06-21 湖南斯迈尔特智能科技发展有限公司 A kind of charge system and method for Cycle Hire
CN111862468A (en) * 2020-05-20 2020-10-30 北京骑胜科技有限公司 Shared vehicle processing method, device, equipment and computer readable storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008052310A1 (en) * 2006-10-04 2008-05-08 Pgmx Inc Method and system of securing accounts

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101267393A (en) * 2008-05-13 2008-09-17 腾讯科技(深圳)有限公司 Method and system for reducing called waiting time in instant communication system
CN101651606A (en) * 2008-08-14 2010-02-17 华为技术有限公司 Method, device and system for forwarding message
KR20100084303A (en) * 2009-01-16 2010-07-26 성정현 System and method for power control of user terminal using data transmission of radio frequency identification
CN104282067A (en) * 2014-10-17 2015-01-14 广东美的生活电器制造有限公司 Communication connection device, household appliance and electric heating kettle
CN104980887A (en) * 2015-07-16 2015-10-14 北京握奇智能科技有限公司 Bluetooth connection establishment method and intelligent terminal
CN108040354A (en) * 2017-11-24 2018-05-15 北京摩拜科技有限公司 A kind of method, system, electronic equipment and server for connecting bluetooth equipment
CN109919644A (en) * 2017-12-12 2019-06-21 湖南斯迈尔特智能科技发展有限公司 A kind of charge system and method for Cycle Hire
CN108833607A (en) * 2018-06-12 2018-11-16 腾讯科技(深圳)有限公司 Physical address acquisition methods, device and readable medium
CN111862468A (en) * 2020-05-20 2020-10-30 北京骑胜科技有限公司 Shared vehicle processing method, device, equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN112750234A (en) 2021-05-04

Similar Documents

Publication Publication Date Title
US9219816B2 (en) System and method for automated whitelist management in an enterprise small cell network environment
US11765168B2 (en) System and method for information interaction
CN101156487B (en) Proximity based authentication using tokens
CN1132478C (en) Method and arrangement relating to mobile telephone communications network
CN1135888C (en) System and method for authenticating cellular subscriber at registration
CN101577908B (en) User equipment verification method, device identification register and access control system
US9043879B1 (en) Facilitating enforcement of PRL restrictions
EP2919527A1 (en) Device association method, apparatus, and system
JP5468601B2 (en) Apparatus and associated method for facilitating access to a home network or other public network
US7369839B2 (en) Method and apparatus for determining individual or common mobile subscriber number in mobile network for handling multiple subscribers having the same calling line identity
US8284421B2 (en) Printing client management method and wireless LAN printer in wireless network
CN1642349A (en) Method for managing local terminal equipment accessing network
CN105959934A (en) Repeated network access identification method and system
WO2012174722A1 (en) Method and apparatus for providing a virtual sim for mobile communications
US8195235B2 (en) Method and device for customising a radio communication terminal, corresponding radio communication terminal, SIM card, server, computer program product and storage means
US20220174063A1 (en) Communication method, apparatus, and system
JPH10313487A (en) Electric communication system, mobile terminal, and method to register mobile terminal in electric communication network
CN112750234B (en) Vehicle unlocking method and device, computer equipment and storage medium
KR20160130457A (en) Determination method and corresponding terminal, computer program product and storage medium
CN106027746A (en) Call control device and call control method
EP1578164B1 (en) Method for controlling access rights in a mobile radio communications system
CN101321100B (en) Communication method and system, and household base station
US20120185924A1 (en) Record creation for resolution of application identifier to connectivity identifier
CN112738789B (en) SIM card locking method and device, storage medium and electronic equipment
CN111833485B (en) Unlocking method and device for vehicle, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20220711

Address after: Room 203, 2 / F, building 34, yard 8, Dongbei Wangxi Road, Haidian District, Beijing 100193

Patentee after: Beijing Qisheng Technology Co.,Ltd.

Patentee after: HANGZHOU QINGQI SCIENCE AND TECHNOLOGY Co.,Ltd.

Patentee after: Xiamen Qiwen Technology Co.,Ltd.

Address before: Room 203, 2 / F, building 34, yard 8, Dongbei Wangxi Road, Haidian District, Beijing 100193

Patentee before: Beijing Qisheng Technology Co.,Ltd.

TR01 Transfer of patent right