CN111063063A - Shared vehicle unlocking method and device, computer equipment and storage medium - Google Patents
Shared vehicle unlocking method and device, computer equipment and storage medium Download PDFInfo
- Publication number
- CN111063063A CN111063063A CN201911204706.9A CN201911204706A CN111063063A CN 111063063 A CN111063063 A CN 111063063A CN 201911204706 A CN201911204706 A CN 201911204706A CN 111063063 A CN111063063 A CN 111063063A
- Authority
- CN
- China
- Prior art keywords
- vehicle
- vehicle type
- information
- type information
- picture
- 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.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME 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/00—Individual registration on entry or exit
- G07C9/00174—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
- G07C9/00309—Electronically 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
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME 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/00—Individual registration on entry or exit
- G07C9/00174—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
- G07C9/00571—Electronically 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
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME 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/00—Individual registration on entry or exit
- G07C9/00174—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
- G07C9/00896—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys specially adapted for particular uses
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
- H04L67/125—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME 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/00—Individual registration on entry or exit
- G07C9/00174—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
- G07C9/00309—Electronically 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
- G07C2009/00388—Electronically 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 code verification carried out according to the challenge/response method
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME 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/00—Individual registration on entry or exit
- G07C9/00174—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
- G07C9/00309—Electronically 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
- G07C2009/0042—Electronically 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 the transmitted data signal containing a code which is changed
- G07C2009/00476—Electronically 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 the transmitted data signal containing a code which is changed dynamically
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Signal Processing (AREA)
- Traffic Control Systems (AREA)
- Lock And Its Accessories (AREA)
Abstract
The application relates to the technical field of big data processing, in particular to a shared vehicle unlocking method and device, computer equipment and a storage medium. The method comprises the following steps: receiving two-dimensional code information uploaded by a user terminal and vehicle type related data to be processed; identifying the two-dimension code information to obtain vehicle information, and obtaining vehicle type information according to the data to be processed related to the vehicle type; judging whether the vehicle information corresponds to the vehicle type information; and when the vehicle information corresponds to the vehicle type information, sending an unlocking instruction to a vehicle corresponding to the vehicle information. The method can improve the unlocking accuracy.
Description
Technical Field
The application relates to the technical field of big data, in particular to a shared vehicle unlocking method and device, computer equipment and a storage medium.
Background
With the development of internet technology, shared vehicles are almost seen everywhere in large and medium-sized cities all over the country, and besides shared vehicles, shared mopeds, shared battery cars and battery cars are directly rented, and the same trip company almost simultaneously has the shared vehicles of the types. The electric bicycle comprises a power-assisted bicycle and an electric bicycle, a shared electric bicycle and a general user of the directly rented electric bicycle cannot distinguish, the conventional option card above a trip App corresponds to various types of vehicles respectively, the more the types of the vehicles are, the more the user is lost.
The traditional code of sweeping through the cell-phone can automatic identification various vehicles, but the two-dimensional code is easily by mistake dress or malicious change, even like this the user sweeps the code and passes through, then because the two-dimensional code is by mistake dress or malicious change, can not unblock current vehicle yet for the user can not use the car.
Disclosure of Invention
In view of the above, it is necessary to provide a shared vehicle unlocking method, apparatus, computer device and storage medium capable of improving vehicle unlocking accuracy.
A method of shared vehicle unlocking, the method comprising:
receiving two-dimensional code information uploaded by a user terminal and vehicle type related data to be processed;
identifying the two-dimension code information to obtain vehicle information, and obtaining vehicle type information according to the data to be processed related to the vehicle type;
judging whether the vehicle information corresponds to the vehicle type information;
and when the vehicle information corresponds to the vehicle type information, sending an unlocking instruction to a vehicle corresponding to the vehicle information.
In one embodiment, after determining whether the vehicle information corresponds to the vehicle type information, the method further includes:
and when the vehicle information does not correspond to the vehicle type information, returning notification information of two-dimensional code error and unlocking failure to the user terminal.
In one embodiment, the data to be processed related to the vehicle type is a vehicle picture or video at the position where the two-dimensional code is pasted; the obtaining of the vehicle type information according to the data to be processed related to the vehicle type comprises the following steps:
identifying the vehicle picture or video to obtain a target object;
and obtaining vehicle type information according to the target object.
In one embodiment, the target object comprises a dashboard, a color of a handle, and/or a shape of a handle;
the obtaining of the vehicle type information according to the target object comprises:
calculating the similarity between the color of the instrument panel and the handle and/or the shape of the handle and the pre-stored standard vehicle type object
And acquiring a standard vehicle type corresponding to the standard vehicle type object with the maximum similarity in the comparison result as vehicle type information.
In one embodiment, the data to be processed related to the vehicle type is vehicle type information; the vehicle type information is a standard vehicle type corresponding to a standard picture with the maximum similarity with the vehicle picture, which is acquired after the user terminal compares the shot vehicle picture with the standard picture issued by the server.
A shared vehicle unlocking apparatus, the apparatus comprising:
the receiving module is used for receiving the two-dimension code information uploaded by the user terminal and the data to be processed related to the vehicle type;
the identification module is used for identifying the two-dimension code information to obtain vehicle information and obtaining vehicle type information according to the data to be processed related to the vehicle type;
the judging module is used for judging whether the vehicle information corresponds to the vehicle type information or not;
and the unlocking module is used for sending an unlocking instruction to the vehicle corresponding to the vehicle information when the vehicle information corresponds to the vehicle type information.
In one embodiment, the apparatus further comprises:
and the feedback module is used for returning notification information of error and unlocking failure of the two-dimensional code to the user terminal when the vehicle information does not correspond to the vehicle type information.
In one embodiment, the data to be processed related to the vehicle type is a vehicle picture or video at the position where the two-dimensional code is pasted; the identification module comprises:
the identification unit is used for identifying the vehicle picture or video to obtain a target object;
and the determining unit is used for obtaining the vehicle type information according to the target object.
A computer device comprising a memory storing a computer program and a processor implementing the steps of any of the methods described above when the processor executes the computer program.
A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method of any of the above.
According to the shared vehicle unlocking method, the shared vehicle unlocking device, the computer equipment and the storage medium, the server not only receives the two-dimension code information uploaded by the user terminal, but also receives the data to be processed related to the vehicle type, so that the server can obtain the vehicle information according to the two-dimension code information and obtain the vehicle type information according to the data to be processed, the server can judge whether the vehicle information corresponds to the vehicle type information, if so, an unlocking instruction is sent to the vehicle corresponding to the vehicle information, and the situation that the vehicle is unlocked wrongly due to the fact that the two-dimension code is easily mistakenly installed or maliciously exchanged is avoided.
Drawings
FIG. 1 is a diagram of an application scenario of a shared vehicle unlocking method in one embodiment;
FIG. 2 is a schematic flow diagram of a method for unlocking a shared vehicle in one embodiment;
FIG. 3 is an interface diagram of a client interface;
FIG. 4 is a schematic flow chart diagram of a shared vehicle unlocking method in another embodiment;
FIG. 5 is a block diagram of a shared vehicle unlocking apparatus in one embodiment;
FIG. 6 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The shared vehicle unlocking method provided by the application can be applied to the application environment shown in fig. 1. Wherein the user terminal 102 and the control system 106 on the vehicle communicate with the server 104, respectively, via a network. Specifically, the user terminal 102 may photograph the vehicle to obtain the two-dimensional code information and the data to be processed related to the vehicle type on the vehicle, so that the user terminal 102 uploads the two-dimensional code information and the data to be processed related to the vehicle type to the server 104, the server 104 may identify the two-dimensional code information on the one hand to obtain the vehicle information, and on the other hand, obtain the vehicle type information according to the data to be processed related to the vehicle type, and then determine whether the vehicle information and the vehicle type information correspond to each other, that is, whether the vehicle information belongs to the vehicle type information, if so, an unlocking instruction is sent to the vehicle corresponding to the vehicle information, otherwise, an unlocking failure is prompted, and thus, a situation that the vehicle is unlocked incorrectly due to the fact that the two-dimensional code is easily misloaded or malicious. The user terminal 102 may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices, and the server 104 may be implemented by an independent server or a server cluster composed of a plurality of servers. The vehicle can be various types of vehicles such as a sharing bicycle, a moped, a sharing battery car, a direct renting battery car and the like.
In one embodiment, as shown in fig. 2, a shared vehicle unlocking method is provided, which is described by taking the method as an example applied to the server in fig. 1, and includes the following steps:
s202: and receiving the two-dimensional code information uploaded by the user terminal and the data to be processed related to the vehicle type.
Specifically, the two-dimensional code information refers to two-dimensional code information formed by a two-dimensional code on a vehicle, which is identified by a user terminal, and the data to be processed related to the vehicle type may be a vehicle picture or a video which is simultaneously shot by the user terminal when the user terminal identifies the two-dimensional code, or vehicle type information which is identified by the user terminal according to the shot vehicle picture or video.
The user terminal can be provided with a corresponding client, and only one scanning tab exists on the client, as shown in fig. 3, so that the difficulty in selecting the user in the code scanning process can be reduced, and the code scanning of various vehicles is integrated, thereby reducing the use difficulty of the user. The user clicks the tab to trigger the user terminal to call a system native function or a function carried by the client to scan the two-dimensional code on the vehicle, and the user terminal shoots a vehicle picture near the two-dimensional code paste while scanning the two-dimensional code, so that the vehicle picture can be used as data to be processed related to the vehicle type. Or the user terminal processes the vehicle picture to obtain vehicle type information, and the vehicle type information is used as data to be processed related to the vehicle type.
S204: and identifying the two-dimension code information to obtain vehicle information, and obtaining vehicle type information according to the data to be processed related to the vehicle type.
Specifically, after receiving the two-dimensional code information and the data to be processed related to the vehicle type uploaded by the user terminal, the server may process the two data in parallel, for example, the server identifies the two-dimensional code information through a first thread to obtain vehicle information, and then processes the data to be processed related to the vehicle type through a second thread to obtain vehicle type information.
Wherein the processing procedure of the second thread is different according to the type of the data to be processed. For example, when the data to be processed related to the vehicle type is a picture or a video of a vehicle near the two-dimensional code paste taken by the user terminal, the server identifies the target object through the image identification capability, and then determines the vehicle type information through the target object. And when the data to be processed related to the vehicle type is the vehicle type information, the server directly reads the vehicle type information through the second thread.
S206: and judging whether the vehicle information corresponds to the vehicle type information.
Specifically, the vehicle information may refer to a vehicle number carrying a vehicle type, for example, the vehicle number may be obtained by vehicle type identification + sequential number. After the server obtains the vehicle information, whether the vehicle information corresponds to the vehicle type information is judged, namely whether the vehicle number is the vehicle type information is judged, namely, the vehicle type identification is extracted from the vehicle number, and then whether the vehicle type identification is consistent with the vehicle type information is judged. For example, the server may preset a corresponding relationship between the vehicle type information and the vehicle type identifier, so that the server may read the corresponding vehicle type information according to the vehicle type identifier, then compare the read vehicle type information with the vehicle type information uploaded by the user terminal, if the vehicle type information is consistent with the vehicle type information, it is indicated that the vehicle information corresponds to the vehicle type information, otherwise, the vehicle information does not correspond to the vehicle type information.
S208: and when the vehicle information corresponds to the vehicle type information, sending an unlocking instruction to the vehicle corresponding to the vehicle information.
Specifically, when the vehicle information corresponds to the vehicle type information, the server directly sends an unlocking instruction to the vehicle corresponding to the vehicle information, so that the user can use the unlocked vehicle. Like this through sweep the sign indicating number and image identification confirm same type vehicle jointly, prevent the mistake dress of two-dimensional code, malicious change can remind the user at the App end simultaneously. If the vehicle information obtained by scanning the two-dimensional code is an electric vehicle, the image recognition also needs to determine that the vehicle type is the electric vehicle, so that the two-dimensional code is correct. Therefore, after the user does not select the vehicle type, a prankster can replace the two-dimensional code of the bicycle with the Hazeo moped, if the image recognition is not matched, the bicycle is opened when the user sweeps the moped, the user does not know the bicycle, the user pays the fee, the service cannot be obtained, and the customer complaint can be caused.
According to the shared vehicle unlocking method, the code scanning vehicle type configuration error can be prevented, namely the server not only receives the two-dimension code information uploaded by the user terminal, but also receives the data to be processed related to the vehicle type, so that the server can obtain the vehicle information according to the two-dimension code information and obtain the vehicle type information according to the data to be processed, the server can judge whether the vehicle information corresponds to the vehicle type information, if so, an unlocking instruction is sent to the vehicle corresponding to the vehicle information, and the situation that the vehicle is mistakenly unlocked due to the fact that the two-dimension code is easily mistakenly installed or maliciously exchanged is avoided.
In one embodiment, after determining whether the vehicle information corresponds to the vehicle type information, the method further includes: and when the vehicle information does not correspond to the vehicle type information, returning notification information of error and unlocking failure of the two-dimensional code to the user terminal.
Specifically, when the server judges that the vehicle information does not correspond to the vehicle type information, the server returns a two-dimensional code error and unlocking failure notification information to the user terminal. That is to say, the two-dimensional code of the vehicle may be maliciously exchanged, and therefore when the vehicle information is inconsistent with the vehicle type information, the server does not unlock, and the user is prompted to use the two-dimensional code for vehicle exchange.
Optionally, in order to process the vehicles in time, the server may acquire current geographic position information of the user terminal, perform associated storage on the current geographic position information, the two-dimensional code information of the vehicle, and the shot vehicle picture or video, and send the stored current geographic position information, the two-dimensional code information of the vehicle, and the shot vehicle picture or video to the operation and maintenance terminal, so that the operation and maintenance terminal can process the vehicles in time. In addition, optionally, the server may query, according to the two-dimensional code information, a geographical position of a vehicle corresponding to the two-dimensional code information, which was uploaded last time, add the geographical position to the record stored in association, and send the geographical position to the operation and maintenance equipment, so that the operation and maintenance equipment can process the geographical position.
In the above embodiment, when the server determines that the vehicle information does not correspond to the vehicle type information, a two-dimensional code error is returned to the user terminal, and the notification information of the unlocking failure is received, so that the vehicle with the malicious two-dimensional code replaced is prevented from being used by mistake.
In one embodiment, the data to be processed related to the vehicle type is a vehicle picture or video at the position where the two-dimensional code is pasted; obtaining vehicle type information according to the data to be processed related to the vehicle type, comprising: identifying the vehicle picture or video to obtain a target object; and obtaining the vehicle type information according to the target object. In one embodiment, the target object includes a dashboard, a color of the handle, and/or a shape of the handle; obtaining vehicle type information according to the target object, comprising: and calculating the similarity between the color of the instrument panel and the handle and/or the shape of the handle and the prestored standard vehicle type object to obtain the standard vehicle type corresponding to the standard vehicle type object with the maximum similarity in the comparison result as vehicle type information.
Specifically, the target object includes, but is not limited to, a dashboard, a handle color, and/or a handle shape. The server firstly extracts a target object from a vehicle picture or video, calculates the similarity of the standard object of the pre-stored standard vehicle type, and obtains the standard vehicle type with the maximum similarity as vehicle type information. Optionally, when the identified target object only includes one of an instrument panel, a handle color and a handle shape, the similarity between the target object and the corresponding standard object may be directly calculated, and then the standard vehicle type with the maximum similarity is used as the vehicle type information. When the identified target object only comprises at least two of an instrument panel, a handle color and a handle shape, firstly calculating the similarity between the target object and the corresponding standard object, then calculating the average value of at least two similarities corresponding to each standard vehicle type as the finally obtained similarity, and then acquiring the standard vehicle type with the maximum similarity as the vehicle type information.
In one embodiment, the data to be processed related to the vehicle type is vehicle type information; the vehicle type information is a standard vehicle type corresponding to a standard picture with the maximum similarity with the vehicle picture, which is acquired after the user terminal compares the shot vehicle picture with the standard picture issued by the server.
Specifically, the data to be processed related to the vehicle type in this embodiment is vehicle type information, and the vehicle type information is obtained by comparing a standard image issued by a server at a user terminal, for example, the server issues the standard image and the corresponding standard vehicle type to the user terminal in association, so that the user terminal compares the vehicle image or video with the standard image to obtain the standard vehicle type corresponding to the standard image with the maximum similarity.
Based on the two embodiments, two methods exist for vehicle type identification, one method is that a server issues vehicle type information and a corresponding standard picture to a user terminal, so that when a user identifies a two-dimensional code through the user terminal, the two-dimensional code and a vehicle picture or video at a pasting position of the two-dimensional code are shot simultaneously, the vehicle pictures or videos comprise a dashboard, a handle color and/or a handle shape, the user terminal compares the license plate picture or video with the issued standard picture one by one to find out the corresponding standard vehicle type, the standard vehicle type is taken as vehicle type related data to be processed and is uploaded to the server together with the two-dimensional code information, and the server can directly extract the vehicle type information from the vehicle type related data to be processed.
Specifically, the user terminal may first recognize the dashboard, the handle color, and/or the handle shape from the vehicle picture or the video, for example, the user terminal may first extract a frame of image from the video at random, so that the subsequent processing is consistent with the processing of the vehicle picture, the user terminal may first recognize the vehicle picture, remove the two-dimensional code region and the environment region, so that only the vehicle body remains, and then recognize the vehicle body, for example, the color of the vehicle body part may be read, for example, may be represented by RGB information, and then compare the RGB information with the RGB information of the standard vehicle type stored in advance to obtain the vehicle type information. If the RGB information is not extracted, the user terminal may continue to extract from the body part to the dashboard part or the grip part, thereby comparing the dashboard part or the grip part with a dashboard part or a grip part of a previously stored standard vehicle type to determine vehicle type information. The extracting of the dashboard portion or the handle portion from the body portion may be performed through a pre-trained model, for example, the server learns the model according to the historical body portion and the corresponding dashboard portion or handle portion, and issues the model to the user terminal for processing.
Another method is: the user terminal uploads the vehicle picture or video at the position where the two-dimensional code is pasted to the server, the server identifies a target object in the vehicle picture or video through an image identification function, the target object can be the color of an instrument panel and a handle and/or the shape of the handle, therefore, the server compares the color of the instrument panel and the handle and/or the shape of the handle with a pre-stored standard vehicle type object, for example, similarity is calculated through a neural network, and a standard vehicle type corresponding to the standard vehicle type object with the maximum similarity in a comparison result is used as vehicle type information.
Specifically, the server may extract the target object from the vehicle picture or video through a target object recognition model obtained through pre-training, for example, the server may learn in advance according to a historical vehicle picture or video and the corresponding target object to obtain the target object recognition model, then, when receiving the vehicle picture or video, the server inputs the vehicle picture or video into the target object recognition model to obtain the target object, for example, a color of an instrument panel and a handle and/or a shape of the handle, finally, the obtained target object is compared with a pre-stored standard vehicle type object, for example, similarity is calculated through a neural network, and a standard vehicle type corresponding to the standard vehicle type object with the maximum similarity in the comparison result is used as vehicle type information.
In the above embodiment, the vehicle type may be identified at the server or at the user terminal, and the selection may be conveniently performed, for example, when the data size of the identification processing is large, the vehicle type may be placed at the server, otherwise, the vehicle type may be placed at the terminal, so that the processing efficiency may be improved, or when the server determines that the current pressure of the server is large, a local processing instruction may be returned to the user terminal, and then the local processing may be performed by the user terminal.
Referring to fig. 4, fig. 4 is a schematic diagram of a shared vehicle unlocking method in another embodiment, in the embodiment, processing is performed by two threads, first, a user scans a two-dimensional code through a user terminal, and simultaneously takes a vehicle picture or a video, and then the user terminal may upload two-dimensional code information and the taken vehicle picture or video to a server, or vehicle type information obtained by the user terminal through recognition according to the taken vehicle picture or video, and then upload the two-dimensional code information and the vehicle type information to the server.
After receiving the information sent by the user terminal, the server identifies the two-dimensional code information through the first thread to obtain vehicle information, and obtains vehicle type information through the second thread, for example, when the data to be processed related to the vehicle type is a vehicle picture or video near the two-dimensional code paste taken by the user terminal, the server identifies through the image identification capability to obtain a target object, and then determines the vehicle type information through the target object. And when the data to be processed related to the vehicle type is the vehicle type information, the server directly reads the vehicle type information through the second thread.
And finally, after the server obtains the vehicle information, judging whether the vehicle information corresponds to the vehicle type information, namely whether the vehicle number is the vehicle type information, namely extracting the vehicle type identification from the vehicle number, and then judging whether the vehicle type identification is consistent with the vehicle type information. And if the two are consistent, performing unlocking operation.
In the embodiment, the same type of vehicle is determined through code scanning and image recognition, misloading and malicious exchange of the two-dimensional code are prevented, and meanwhile, a user can be reminded at an App end. In addition, the App end only comprises one option, and a plurality of vehicles are combined in a code scanning mode, so that the using difficulty of a user is reduced, and the difficulty in selection in the code scanning process of the user is reduced.
It should be understood that although the steps in the flowcharts of fig. 2 and 4 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2 and 4 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performing the sub-steps or stages is not necessarily sequential, but may be performed alternately or alternately with other steps or at least some of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 5, there is provided a shared vehicle unlocking apparatus including: receiving module 100, identifying module 200, determining module 300 and unlocking module 400, wherein:
the receiving module 100 is configured to receive two-dimensional code information uploaded by a user terminal and to-be-processed data related to a vehicle type.
The identification module 200 is configured to identify the two-dimensional code information to obtain vehicle information, and obtain vehicle type information according to-be-processed data related to a vehicle type.
And a judging module 300, configured to judge whether the vehicle information corresponds to the vehicle type information.
And the unlocking module 400 is configured to send an unlocking instruction to the vehicle corresponding to the vehicle information when the vehicle information corresponds to the vehicle type information.
In one embodiment, the apparatus further comprises:
and the feedback module is used for returning notification information of two-dimensional code error and unlocking failure to the user terminal when the vehicle information does not correspond to the vehicle type information.
In one embodiment, the data to be processed related to the vehicle type is a vehicle picture or video at the position where the two-dimensional code is pasted; the identification module 200 includes:
and the identification unit is used for identifying the vehicle picture or video to obtain the target object.
And the determining unit is used for obtaining the vehicle type information according to the target object.
In one embodiment, the target object includes a dashboard, a color of the handle, and/or a shape of the handle.
The determination unit includes:
and the comparison subunit is used for comparing the identified color of the instrument panel and the handle and/or the shape of the handle with a pre-stored standard vehicle type object.
And the vehicle type information acquisition subunit is used for acquiring a standard vehicle type corresponding to the standard vehicle type object with the maximum similarity in the comparison result as vehicle type information.
In one embodiment, the data to be processed related to the vehicle type is vehicle type information; the vehicle type information is a standard vehicle type corresponding to a standard picture with the maximum similarity with the vehicle picture, which is acquired after the user terminal compares the shot vehicle picture with the standard picture issued by the server.
For specific limitations of the shared vehicle unlocking device, reference may be made to the above limitations of the shared vehicle unlocking method, which are not described herein again. The respective modules in the above-described shared vehicle unlocking apparatus may be implemented in whole or in part by software, hardware, and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as shown in fig. 6. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing two-dimensional code information and vehicle information. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a shared vehicle unlocking method.
Those skilled in the art will appreciate that the architecture shown in fig. 6 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, there is provided a computer device comprising a memory storing a computer program and a processor implementing the following steps when the processor executes the computer program: receiving two-dimensional code information uploaded by a user terminal and vehicle type related data to be processed; identifying the two-dimension code information to obtain vehicle information, and obtaining vehicle type information according to the data to be processed related to the vehicle type; judging whether the vehicle information corresponds to the vehicle type information; and when the vehicle information corresponds to the vehicle type information, sending an unlocking instruction to the vehicle corresponding to the vehicle information.
In one embodiment, after the processor determines whether the vehicle information corresponds to the vehicle type information when executing the computer program, the method further includes: and when the vehicle information does not correspond to the vehicle type information, returning notification information of error and unlocking failure of the two-dimensional code to the user terminal.
In one embodiment, the data to be processed related to the vehicle type involved in the execution of the computer program by the processor is a vehicle picture or video at the position where the two-dimensional code is pasted; the method for obtaining the vehicle type information according to the data to be processed related to the vehicle type when the processor executes the computer program comprises the following steps: identifying the vehicle picture or video to obtain a target object; and obtaining the vehicle type information according to the target object.
In one embodiment, the target objects involved in the execution of the computer program by the processor include a dashboard, a color of the handle, and/or a shape of the handle; obtaining vehicle type information according to a target object, which is achieved when a processor executes a computer program, includes: and calculating the similarity between the color of the instrument panel and the handle and/or the shape of the handle and the prestored standard vehicle type object to obtain the standard vehicle type corresponding to the standard vehicle type object with the maximum similarity in the comparison result as vehicle type information.
In one embodiment, the data to be processed related to the vehicle type involved in the execution of the computer program by the processor is vehicle type information; the vehicle type information realized when the processor executes the computer program is a standard vehicle type corresponding to a standard picture with the maximum similarity with the vehicle picture, which is acquired after the user terminal compares the shot vehicle picture with the standard picture issued by the server.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of: receiving two-dimensional code information uploaded by a user terminal and vehicle type related data to be processed; identifying the two-dimension code information to obtain vehicle information, and obtaining vehicle type information according to the data to be processed related to the vehicle type; judging whether the vehicle information corresponds to the vehicle type information; and when the vehicle information corresponds to the vehicle type information, sending an unlocking instruction to the vehicle corresponding to the vehicle information.
In one embodiment, the determining whether the vehicle information corresponds to the vehicle type information when the computer program is executed by the processor further comprises: and when the vehicle information does not correspond to the vehicle type information, returning notification information of error and unlocking failure of the two-dimensional code to the user terminal.
In one embodiment, the data to be processed related to the vehicle type involved in the execution of the computer program by the processor is a vehicle picture or video at the position where the two-dimensional code is pasted; the obtaining of the vehicle type information according to the data to be processed related to the vehicle type, which is realized when the computer program is executed by the processor, comprises: identifying the vehicle picture or video to obtain a target object; and obtaining the vehicle type information according to the target object.
In one embodiment, the target object involved in the execution of the computer program by the processor comprises a dashboard, a color of the handle and/or a shape of the handle; obtaining vehicle type information from a target object, which is implemented when the computer program is executed by a processor, includes: and calculating the similarity between the color of the instrument panel and the handle and/or the shape of the handle and the prestored standard vehicle type object to obtain the standard vehicle type corresponding to the standard vehicle type object with the maximum similarity in the comparison result as vehicle type information.
In one embodiment, the data to be processed relating to the vehicle type to which the computer program is executed by the processor is vehicle type information; the vehicle type information realized when the computer program is executed by the processor is a standard vehicle type corresponding to a standard picture with the maximum similarity with the vehicle picture, which is acquired after the user terminal compares the shot vehicle picture with the standard picture issued by the server.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.
Claims (10)
1. A method of shared vehicle unlocking, the method comprising:
receiving two-dimensional code information uploaded by a user terminal and vehicle type related data to be processed;
identifying the two-dimension code information to obtain vehicle information, and obtaining vehicle type information according to the data to be processed related to the vehicle type;
judging whether the vehicle information corresponds to the vehicle type information;
and when the vehicle information corresponds to the vehicle type information, sending an unlocking instruction to a vehicle corresponding to the vehicle information.
2. The method according to claim 1, wherein after determining whether the vehicle information corresponds to the vehicle type information, further comprising:
and when the vehicle information does not correspond to the vehicle type information, returning notification information of two-dimensional code error and unlocking failure to the user terminal.
3. The method according to claim 1 or 2, characterized in that the data to be processed related to the vehicle type is a vehicle picture or video at the two-dimensional code pasting position; the obtaining of the vehicle type information according to the data to be processed related to the vehicle type comprises the following steps:
identifying the vehicle picture or video to obtain a target object;
and obtaining vehicle type information according to the target object.
4. The method of claim 3, wherein the target object comprises a dashboard, a color of a handle, and/or a shape of a handle;
the obtaining of the vehicle type information according to the target object comprises:
calculating the similarity between the color of an instrument panel and a handle and/or the shape of the handle and a pre-stored standard vehicle type object;
and acquiring a standard vehicle type corresponding to the standard vehicle type object with the maximum similarity as vehicle type information.
5. The method according to claim 1 or 2, wherein the data to be processed relating to the vehicle type is vehicle type information; the vehicle type information is a standard vehicle type corresponding to a standard picture with the maximum similarity with the vehicle picture, which is acquired after the user terminal compares the shot vehicle picture with the standard picture issued by the server.
6. A shared vehicle unlocking apparatus, characterized in that the apparatus comprises:
the receiving module is used for receiving the two-dimension code information uploaded by the user terminal and the data to be processed related to the vehicle type;
the identification module is used for identifying the two-dimension code information to obtain vehicle information and obtaining vehicle type information according to the data to be processed related to the vehicle type;
the judging module is used for judging whether the vehicle information corresponds to the vehicle type information or not;
and the unlocking module is used for sending an unlocking instruction to the vehicle corresponding to the vehicle information when the vehicle information corresponds to the vehicle type information.
7. The apparatus of claim 6, further comprising:
and the feedback module is used for returning notification information of error and unlocking failure of the two-dimensional code to the user terminal when the vehicle information does not correspond to the vehicle type information.
8. The device according to claim 6 or 7, wherein the data to be processed related to the vehicle type is a vehicle picture or video at the two-dimensional code pasting position; the identification module comprises:
the identification unit is used for identifying the vehicle picture or video to obtain a target object;
and the determining unit is used for obtaining the vehicle type information according to the target object.
9. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the method of any one of claims 1 to 5 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911204706.9A CN111063063B (en) | 2019-11-29 | 2019-11-29 | Shared vehicle unlocking method and device, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911204706.9A CN111063063B (en) | 2019-11-29 | 2019-11-29 | Shared vehicle unlocking method and device, computer equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111063063A true CN111063063A (en) | 2020-04-24 |
CN111063063B CN111063063B (en) | 2022-01-25 |
Family
ID=70299392
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911204706.9A Active CN111063063B (en) | 2019-11-29 | 2019-11-29 | Shared vehicle unlocking method and device, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111063063B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113011540A (en) * | 2021-03-01 | 2021-06-22 | 北京骑胜科技有限公司 | Identification method, device, readable storage medium and electronic equipment |
Citations (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001069138A (en) * | 1999-08-27 | 2001-03-16 | Inst Of Systems Information Technologies Kyushu | User verifying system on internet for shared key enciphered ic card |
DE69732638D1 (en) * | 1997-12-05 | 2005-04-07 | Tokai Rika Co Ltd | Door unlocking device for motor vehicles |
EP2743868A1 (en) * | 2012-12-14 | 2014-06-18 | Seven Principles AG | Virtual vehicle key |
CN106157402A (en) * | 2016-06-27 | 2016-11-23 | 合肥指南针电子科技有限责任公司 | A kind of parking stall automatic unlocking system and method |
CN107123030A (en) * | 2017-04-28 | 2017-09-01 | 柳州市啪啪微订网络科技有限公司 | Network shopping guidance system based on wechat |
CN107230129A (en) * | 2017-04-28 | 2017-10-03 | 柳州市啪啪微订网络科技有限公司 | Based on wechat visual network shopping air navigation aid |
CN108260107A (en) * | 2018-01-10 | 2018-07-06 | 广州二元科技有限公司 | A kind of bicycle built-in device unlocking method based on Wi-Fi |
CN207586994U (en) * | 2017-12-14 | 2018-07-06 | 杭州慧加科技有限公司 | Unmanned supermarket intelligently purchases device |
CN108399667A (en) * | 2018-01-23 | 2018-08-14 | 蔚来汽车有限公司 | Parking stall ground lock control device and method |
CN207938132U (en) * | 2018-03-22 | 2018-10-02 | 北京华隆创信科技有限公司 | Cash register loss prevention system |
CN109389001A (en) * | 2018-12-21 | 2019-02-26 | 长安大学 | It is a kind of based on two dimensional code and the anti-fake concrete sample witness sampling system and method for image recognition |
CN109493459A (en) * | 2018-09-18 | 2019-03-19 | 徐州展元信息技术有限公司 | Shared bicycle two dimensional code method for unlocking |
CN109523709A (en) * | 2018-10-17 | 2019-03-26 | 深圳壹账通智能科技有限公司 | Shared bicycle application method, device, computer equipment and storage medium |
CN109615734A (en) * | 2018-11-16 | 2019-04-12 | 连尚(新昌)网络科技有限公司 | It is a kind of for unlocking the method and apparatus of vehicle arrangement |
KR101980155B1 (en) * | 2018-10-02 | 2019-05-20 | 김병준 | Rental and Share System for Electric Motion Kick Board |
CN110598687A (en) * | 2019-09-18 | 2019-12-20 | 上海眼控科技股份有限公司 | Vehicle identification code detection method and device and computer equipment |
CN111401823A (en) * | 2020-06-08 | 2020-07-10 | 北京云迹科技有限公司 | Cargo distribution method, device and system for unmanned vehicle |
CN112749574A (en) * | 2020-12-28 | 2021-05-04 | 南通鹏能实业有限公司 | Automatic code scanning inspection terminal and method |
CN113344496A (en) * | 2021-06-16 | 2021-09-03 | 国家珠宝检测中心(广东)有限责任公司 | Method and system for multi-strategy jewelry identification |
-
2019
- 2019-11-29 CN CN201911204706.9A patent/CN111063063B/en active Active
Patent Citations (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE69732638D1 (en) * | 1997-12-05 | 2005-04-07 | Tokai Rika Co Ltd | Door unlocking device for motor vehicles |
JP2001069138A (en) * | 1999-08-27 | 2001-03-16 | Inst Of Systems Information Technologies Kyushu | User verifying system on internet for shared key enciphered ic card |
EP2743868A1 (en) * | 2012-12-14 | 2014-06-18 | Seven Principles AG | Virtual vehicle key |
CN106157402A (en) * | 2016-06-27 | 2016-11-23 | 合肥指南针电子科技有限责任公司 | A kind of parking stall automatic unlocking system and method |
CN107123030A (en) * | 2017-04-28 | 2017-09-01 | 柳州市啪啪微订网络科技有限公司 | Network shopping guidance system based on wechat |
CN107230129A (en) * | 2017-04-28 | 2017-10-03 | 柳州市啪啪微订网络科技有限公司 | Based on wechat visual network shopping air navigation aid |
CN207586994U (en) * | 2017-12-14 | 2018-07-06 | 杭州慧加科技有限公司 | Unmanned supermarket intelligently purchases device |
CN108260107A (en) * | 2018-01-10 | 2018-07-06 | 广州二元科技有限公司 | A kind of bicycle built-in device unlocking method based on Wi-Fi |
CN108399667A (en) * | 2018-01-23 | 2018-08-14 | 蔚来汽车有限公司 | Parking stall ground lock control device and method |
CN207938132U (en) * | 2018-03-22 | 2018-10-02 | 北京华隆创信科技有限公司 | Cash register loss prevention system |
CN109493459A (en) * | 2018-09-18 | 2019-03-19 | 徐州展元信息技术有限公司 | Shared bicycle two dimensional code method for unlocking |
KR101980155B1 (en) * | 2018-10-02 | 2019-05-20 | 김병준 | Rental and Share System for Electric Motion Kick Board |
CN109523709A (en) * | 2018-10-17 | 2019-03-26 | 深圳壹账通智能科技有限公司 | Shared bicycle application method, device, computer equipment and storage medium |
CN109615734A (en) * | 2018-11-16 | 2019-04-12 | 连尚(新昌)网络科技有限公司 | It is a kind of for unlocking the method and apparatus of vehicle arrangement |
CN109389001A (en) * | 2018-12-21 | 2019-02-26 | 长安大学 | It is a kind of based on two dimensional code and the anti-fake concrete sample witness sampling system and method for image recognition |
CN110598687A (en) * | 2019-09-18 | 2019-12-20 | 上海眼控科技股份有限公司 | Vehicle identification code detection method and device and computer equipment |
CN111401823A (en) * | 2020-06-08 | 2020-07-10 | 北京云迹科技有限公司 | Cargo distribution method, device and system for unmanned vehicle |
CN112749574A (en) * | 2020-12-28 | 2021-05-04 | 南通鹏能实业有限公司 | Automatic code scanning inspection terminal and method |
CN113344496A (en) * | 2021-06-16 | 2021-09-03 | 国家珠宝检测中心(广东)有限责任公司 | Method and system for multi-strategy jewelry identification |
Non-Patent Citations (2)
Title |
---|
范硕: "偷换二维码行为的法教义学析解", 《东北师大学报(哲学社会科学版)》 * |
郝耀鸿: "共享单车"扫码"背后的骗局", 《保密工作》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113011540A (en) * | 2021-03-01 | 2021-06-22 | 北京骑胜科技有限公司 | Identification method, device, readable storage medium and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN111063063B (en) | 2022-01-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110490078B (en) | Monitoring video processing method, device, computer equipment and storage medium | |
CN109766072B (en) | Information verification input method and device, computer equipment and storage medium | |
CN109886077B (en) | Image recognition method and device, computer equipment and storage medium | |
CN110807491A (en) | License plate image definition model training method, definition detection method and device | |
CN108429745B (en) | Login authentication method and system, and webpage login method and system | |
CN110675546B (en) | Invoice picture identification and verification method, system, equipment and readable storage medium | |
CN110569341A (en) | method and device for configuring chat robot, computer equipment and storage medium | |
CN109086834B (en) | Character recognition method, character recognition device, electronic equipment and storage medium | |
CN110648127A (en) | Resource transfer method, device, computer equipment and storage medium | |
US20220044330A1 (en) | System and method for providing photo-based estimation | |
CN109146629B (en) | Target object locking method and device, computer equipment and storage medium | |
CN110135943B (en) | Product recommendation method, device, computer equipment and storage medium | |
CN111553268A (en) | Vehicle part identification method and device, computer equipment and storage medium | |
CN111063063B (en) | Shared vehicle unlocking method and device, computer equipment and storage medium | |
CN112668640A (en) | Text image quality evaluation method, device, equipment and medium | |
CN109040781B (en) | Video authentication method, device, system, electronic equipment and readable medium | |
CN107464167A (en) | Coded lock latches confirmation method, device, server and the storage medium of state | |
CN110928656B (en) | Service processing method, device, computer equipment and storage medium | |
CN110807630B (en) | Payment method and device based on face recognition, computer equipment and storage medium | |
CN109934858B (en) | Image registration method and device | |
CN111191062B (en) | Picture processing method, device, computer equipment and storage medium | |
CN111985446A (en) | Face recognition method and system | |
US11222416B2 (en) | System and method for photo-based estimation with fraud prevention | |
US12010462B2 (en) | System and method for obtaining video for use with photo-based estimation | |
CN111222406A (en) | Drunk driving detection method and device, computer 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 |