Unlocking method and device
The method and device enhance unlocking success in shared vehicles by guiding users to scan target information codes and utilize device servers for lock identification, addressing the issue of damaged lock body codes and improving vehicle utilization.
Patent Information
- Application Number
- CN202310736197.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-20
- Publication Date
- 2024-12-20
AI Technical Summary
Shared vehicles often fail to unlock due to damage to the lock body information code, such as QR codes, leading to inability to recognize and use the vehicle.
A method and device that guide users to scan a target information code on the vehicle when lock body information code recognition fails, requesting vehicle lock identification from a device server, and using this identification to control unlocking through an order server.
Improves the unlocking success rate and utilization of shared vehicles by providing backup methods, such as scanning target information codes or using short-range communication sensing devices, ensuring vehicles can be unlocked even when lock body information codes are damaged.
Smart Images

Figure CN119169722A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication and control technology, and in particular to a method and device for unlocking. Background Art
[0002] At present, most shared vehicles are unlocked by scanning the lock body information code (such as a QR code) set on the vehicle body. As the shared vehicle is put into use for a longer time, the lock body information code may be damaged, resulting in the inability to recognize the lock body information code, making the shared vehicle unable to continue to be put into use. Therefore, how to unlock the vehicle when the lock body information code fails to be recognized is a problem that needs to be solved urgently. Summary of the invention
[0003] In view of this, an embodiment of the present invention provides an unlocking method and device to unlock the vehicle when the lock body information code recognition fails, thereby improving the unlocking success rate of the shared vehicle and thus improving the utilization rate of the shared vehicle.
[0004] In a first aspect, a method for unlocking a lock is provided, which is applicable to a user terminal, and the method comprises:
[0005] In response to the lock body information code recognition failure, displaying a first prompt message, wherein the first prompt message is used to guide the user terminal to scan the target information code on the target vehicle, the lock body information code is used to request unlocking from the order server, and the target information code is used to request the vehicle lock identification of the target vehicle from the device server;
[0006] In response to successful recognition of the target information code, sending the target information code information to the device server;
[0007] Receiving a vehicle lock identification from the device server;
[0008] The vehicle lock identifier is sent to the order server so that the order server controls the target vehicle to unlock.
[0009] In a second aspect, a method for unlocking is provided, which is applicable to a device server, and the method comprises:
[0010] receiving target information code information from a target terminal;
[0011] Determining the type of the target terminal;
[0012] In response to the type of the target terminal being a user terminal, determining a vehicle lock identifier corresponding to the target information code information;
[0013] The vehicle lock identifier is sent to the target terminal.
[0014] In a third aspect, a vehicle is provided, the vehicle comprising:
[0015] Vehicle body;
[0016] Electronic lock, used to receive and execute unlocking instructions;
[0017] Lock body information code, used to request unlocking from the order server;
[0018] The target information code is used to request the vehicle lock identification of the vehicle from the device server, so as to request unlocking from the order server based on the vehicle lock identification.
[0019] In a fourth aspect, a lock opening system is provided, the system comprising:
[0020] The user terminal is configured to scan and identify the target information code on the target vehicle, and send the identified target information code information to the device server to obtain the vehicle lock identification corresponding to the target vehicle, or scan and identify the lock body information code on the target vehicle to obtain the vehicle lock identification, or sense the short-range communication sensing device on the target vehicle to obtain the vehicle lock identification, and send the vehicle lock identification to the order server;
[0021] The device server is configured to, in response to receiving the target information code information sent by the target terminal, determine the type of the target terminal, in response to the type of the target terminal being a user terminal, determine the vehicle lock identifier corresponding to the target information code information, and send the vehicle lock identifier to the target terminal;
[0022] The order server is configured to generate a corresponding unlocking instruction in response to receiving the vehicle lock identifier, and send the unlocking instruction to the target vehicle to control the unlocking of the target vehicle.
[0023] In a fifth aspect, a lock unlocking device is provided, which is applicable to a user end, and the device comprises:
[0024] A display module, configured to display a first prompt message in response to a failure in identifying the lock body information code, wherein the first prompt message is used to guide the user terminal to scan a target information code on a target vehicle, wherein the lock body information code is used to request unlocking from an order server, and wherein the target information code is used to request a vehicle lock identification of the target vehicle from a device server;
[0025] A first sending module, configured to send the target information code information to the device server in response to successful recognition of the target information code;
[0026] A receiving module, used for receiving a vehicle lock identification from the device server;
[0027] The second sending module is used to send the vehicle lock identifier to the order server so that the order server controls the target vehicle to unlock.
[0028] In a sixth aspect, a lock opening device is provided, which is applicable to a device server, and the device comprises:
[0029] A receiving module, used for receiving target information code information from a target terminal;
[0030] A first determining module, used to determine the type of the target terminal;
[0031] A second determination module, configured to determine a vehicle lock identifier corresponding to the target information code information in response to the type of the target terminal being a user terminal;
[0032] A sending module is used to send the vehicle lock identifier to the target terminal.
[0033] In a seventh aspect, a computer-readable storage medium is provided, on which computer program instructions are stored. When the computer program instructions are executed by a processor, the method described in any one of the first and second aspects above is implemented.
[0034] According to an eighth aspect, an electronic device is provided, the device comprising:
[0035] a memory for storing one or more computer program instructions;
[0036] A processor, wherein the one or more computer program instructions are executed by the processor to implement the method as described in any one of the first aspect and the second aspect.
[0037] In response to the failure of lock body information code recognition, the method and device in the embodiment of the present invention display a first prompt message, wherein the first prompt message is used to guide the user terminal to scan the target information code on the target vehicle, the lock body information code is used to request unlocking from the order server, and the target information code is used to request the vehicle lock identification of the target vehicle from the device server. In response to the successful recognition of the target information code, the target information code is sent to the device server, the vehicle lock identification from the device server is received, and the vehicle lock identification is sent to the order server so that the order server controls the target vehicle to unlock. Thus, when the target vehicle cannot be unlocked through the lock body information code, the vehicle lock identification required for unlocking is obtained from the device server through the target information code to unlock the target vehicle, thereby improving the success rate of unlocking shared vehicles and thus improving the utilization rate of shared vehicles. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] The above and other objects, features and advantages of the present invention will become more apparent through the following description of the embodiments of the present invention with reference to the accompanying drawings, in which:
[0039] Figure 1 is a flow chart of the unlocking method according to an embodiment of the present invention;
[0040] Figure 2 This is a schematic diagram of the interface changes before and after the first prompt information is displayed according to an embodiment of the present invention;
[0041] Figure 3 This is a second schematic diagram of the interface changes before and after the first prompt information is displayed according to an embodiment of the present invention;
[0042] Figure 4 is a flow chart of the unlocking method according to an embodiment of the present invention;
[0043] Figure 5 This is a schematic diagram of an interface that prompts a user to enable a short-distance communication function according to an embodiment of the present invention;
[0044] Figure 6 This is a schematic diagram of an interface for displaying second prompt information according to an embodiment of the present invention;
[0045] Figure 7 is a flow chart of the unlocking method according to an embodiment of the present invention;
[0046] Figure 8 is a flow chart of the unlocking method according to an embodiment of the present invention;
[0047] Fig. 9 is a schematic diagram of an unlocking system according to an embodiment of the present invention;
[0048] Fig.10 This is one of the interactive flow charts of the unlocking method according to an embodiment of the present invention;
[0049] Fig.11 This is the second interactive flow chart of the unlocking method according to the embodiment of the present invention;
[0050] Fig.12 A schematic diagram of a vehicle according to an embodiment of the present invention;
[0051] Fig.13 A schematic diagram of an unlocking device according to an embodiment of the present invention;
[0052] Fig.14 A schematic diagram of an unlocking device according to an embodiment of the present invention;
[0053] Fig.15 is a schematic diagram of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0054] The present application is described below based on embodiments, but the present application is not limited to these embodiments. In the detailed description of the present application below, some specific details are described in detail. It is possible for those skilled in the art to fully understand the present application without the description of these details. In order to avoid confusing the essence of the present application, known methods, processes, flows, components and circuits are not described in detail.
[0055] In addition, persons of ordinary skill in the art will appreciate that the drawings provided herein are for illustration purposes and are not necessarily drawn to scale.
[0056] Unless the context clearly requires otherwise, the words "include", "comprising" and similar words throughout the application should be interpreted as including rather than exclusive or exhaustive; that is, the meaning is "including but not limited to".
[0057] In the description of this application, it should be understood that the terms "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying relative importance. In addition, in the description of this application, unless otherwise specified, the meaning of "plurality" is two or more.
[0058] The solutions described in this specification and in the examples, if they involve the processing of personal information, will be processed on the premise of having a legal basis (such as obtaining the consent of the subject of personal information, or being necessary for the performance of a contract, or complying with the provisions of laws and administrative regulations, etc.), and will only be processed within the scope of the regulations or agreements. If a user refuses to process personal information other than the necessary information for basic functions, it will not affect the user's use of basic functions.
[0059] In the following description, a shared bicycle is used as an example for explanation. It should be understood that the embodiments of the present invention can be applied to other application scenarios that require unlocking, such as shared electric vehicles, shared cars, shared power banks, or other application scenarios where unlocking is performed by scanning a target information code.
[0060] Figure 1 FIG. 1 is a flow chart of an unlocking method according to an embodiment of the present invention. The unlocking method is applied to a user end, that is, a user terminal. Figure 1 As shown, the unlocking method comprises the following steps:
[0061] In step S110, in response to the failure of lock body information code recognition, a first prompt message is displayed, wherein the first prompt message is used to guide the user terminal to scan the target information code on the target vehicle, the lock body information code is used to request unlocking from the order server, and the target information code is used to request the vehicle lock identification of the target vehicle from the device server.
[0062] Among them, the lock body information code is the unlocking code commonly used in current shared bicycles, most of which are QR codes. The target information code is other codes on shared bicycles except the lock body information code, such as the information code of the operation and maintenance personnel for scheduling or maintenance records of shared vehicles or the steel stamp code of the frame of the shared vehicle when it leaves the factory. The above are all existing codes on shared vehicles that have been put into use. If the existing codes on shared bicycles are used, they can be set on the corresponding server so that the existing codes can open the unlocking function in addition to the existing functions. In addition, a new information code can be set as the target information code on the newly produced shared cars. Since the setting intention of the target information code is not to unlock, the user end will not directly obtain the corresponding car lock identification by scanning the target information code, but will request the corresponding car lock identification from the device server according to the identified target information code information. The target information code can be a barcode, a QR code or a steel stamp serial code, etc. The lock body information code and the target information code are set on the body of the target vehicle. For example, the lock body information code can be set on the front, rear, body and other easily noticed positions of the target vehicle, and the target information code can be set on the frame of the target vehicle or other positions that are not easily damaged by wear and tear or by people.
[0063] The order server is used to create an order for a corresponding shared bicycle according to the lock identifier, and control the shared bicycle to unlock after the order is created. The device server is used for asset management of shared bicycles. Specifically, the device server records the identifiers of each shared bicycle and the corresponding device information, such as the target information code, the lock body information code, the lock identifier, and the factory identifiers of each key component of the body. Among them, the lock body information code and the target information code uniquely correspond to a shared bicycle.
[0064] The user end can obtain the lock identification that can unlock the target vehicle by scanning the lock body information code or the target information code. The lock identification is the unique identification of the lock on the target vehicle. The first prompt information can be "Identification failed, please scan the barcode on the frame", or the first prompt information can include a prompt picture and prompt information, the prompt picture can include the body of the target vehicle and the specific location of the target information code on the target vehicle, and the prompt information can be "Please follow the prompt picture to find and scan the barcode to unlock".
[0065] In a possible implementation, the user end is embedded with a lock body information code and cannot identify the corresponding target control. Step S110 may also be to display the first prompt information in response to the target control being triggered. The target control may be always displayed on the scanning interface of the user end, or may also appear on the current interface when the first prompt information is displayed.
[0066] Figure 2 FIG. 1 is a schematic diagram of the interface changes before and after the first prompt information is displayed in an embodiment of the present invention. Figure 2As shown, interface 21 is the user interface before the first prompt information is displayed, and interface 22 is the user interface after the first prompt information is displayed.
[0067] In the interface 21, there are a scanning box 211, a fourth prompt information display box 212 and a target control 213. The fourth prompt information display box 212 is used to display the fourth prompt information, and the fourth prompt information is used to guide the user end to adjust the angle and / or distance to try to scan the lock body information code again. For example, the fourth prompt information can be "Please get closer to the QR code!", "Please aim at the QR code!" or "No available information code has been identified yet, please adjust the scanning angle or distance!", etc. The target control 213 is the target control that the lock body information code embedded by the user end cannot identify. In the interface 22, there are a scanning box 211, a first prompt information display box 222 and a target control 213. The first prompt information is displayed in the first prompt information display box 222.
[0068] When the user terminal scans the lock body information code to try to control the unlocking of the target vehicle, if the lock body information code is not successfully identified within the first preset time period, the fourth prompt information display box 212 is displayed on the interface 21 to guide the user terminal to adjust the angle and / or distance to rescan the lock body information code to avoid the situation where the user terminal cannot successfully identify the lock body information code due to angle deviation or too far distance. If the lock body information code cannot be successfully identified after rescanning, the first prompt information display box 222 is displayed as shown in the interface 22 to guide the user terminal to scan the target information code on the target vehicle. At the same time, there is also a target control 213 on the interface 21 and the interface 22. In response to the triggering of the target control 213, the first prompt information can also be displayed. The target control 213 can be triggered at any time. For example, when the user sees that the lock body information code on the target vehicle is damaged, there is no need to use the user terminal to try to identify the damaged lock body information code. The first prompt information can be displayed by directly clicking on the target control 213 on the user terminal interface 21, saving unnecessary scanning waiting time. Alternatively, after the fourth prompt message is displayed on the interface 21, if the user determines that the QR code has been aligned during the previous scan and recognition still fails, the user may directly click the target control 213 to seek help.
[0069] In this embodiment, the target control is always displayed in the scanning interface, so that the user can click the target control at any time at any stage of the scanning process to display the first prompt information. The user can determine when to display the first prompt information according to his or her own needs and actual conditions. In the case where it is obviously impossible to scan successfully, such as the lock body information code is missing or seriously damaged, meaningless scanning waiting time can be saved and the unlocking speed can be improved.
[0070] Figure 3 This is a second schematic diagram of the interface changes before and after the first prompt information is displayed in an embodiment of the present invention. Figure 3As shown, interface 31 is the user interface before the first prompt information is displayed, and interface 32 is the user interface after the first prompt information is displayed.
[0071] In the interface 31, there are a scanning box 311 and a fifth prompt information display box 312, wherein the fifth prompt information display box 312 contains the fifth prompt information and two sub-controls, and the two sub-controls are respectively a re-scanning confirmation control 313 and a target control 314. The fifth prompt information is used to guide the user end to select to trigger the re-scanning confirmation control 313 or the target control 314. The re-scanning confirmation control 313 is configured to re-scan and identify the lock body information code in response to being triggered. The target control 314 is configured to display the first identification information in response to being triggered, that is, jump from the interface 31 to the interface 32. The first prompt information display box 322 is displayed in the interface 32 to guide the user end to scan the target information code on the target vehicle.
[0072] In this embodiment, after the first scan of the lock body information code fails, the user terminal displays the fifth prompt information display box to allow the user to choose to rescan and identify the lock body information code or give up rescanning. And after the target control representing giving up rescanning is triggered, the first prompt information is displayed. This can make the user more conspicuous and continue to advance the unlocking process.
[0073] Step S110 may specifically be to display a first prompt message in response to failure to identify the lock body information code within a preset time period. Alternatively, in response to an error in identifying the lock body information code, display a first prompt message. That is, whether no information code is identified or an incorrect information code is identified, the lock body information code identification fails.
[0074] In step S120, in response to successful recognition of the target information code, the target information code information is sent to the device server.
[0075] Specifically, the user terminal sends the target information code of the target vehicle to the device server, so that the device server can find the lock body identification of the target vehicle according to the target information code and send it back to the user terminal.
[0076] In step S130, a vehicle lock identification is received from the device server.
[0077] In step S140, the vehicle lock identifier is sent to the order server so that the order server controls the target vehicle to unlock.
[0078] The order server is used to create orders and manage the status of each order. After receiving the vehicle lock identifier, the order server starts to create an order corresponding to the target vehicle. After the order is successfully created, an unlocking instruction is generated and sent to the target vehicle to control the unlocking of the target vehicle. The lock of the target vehicle can be an electronic lock that can receive and execute the unlocking instruction.
[0079] In response to the failure of lock body information code recognition, the method of the embodiment of the present invention displays a first prompt message, wherein the first prompt message is used to guide the user terminal to scan the target information code on the target vehicle, the lock body information code is used to request unlocking from the order server, and the target information code is used to request the vehicle lock identification of the target vehicle from the device server. In response to the successful recognition of the target information code, the target information code is sent to the device server, the vehicle lock identification from the device server is received, and the vehicle lock identification is sent to the order server so that the order server controls the target vehicle to unlock. Thus, when the target vehicle cannot be unlocked through the lock body information code, the vehicle lock identification required for unlocking is obtained from the device server through the target information code to unlock the target vehicle, thereby improving the success rate of unlocking shared vehicles and thus improving the utilization rate of shared vehicles.
[0080] In another optional implementation, the embodiment of the present invention may also use the above-mentioned target information code in combination with a short-range communication sensing device on the shared bicycle to unlock the bicycle.
[0081] Figure 4 Flow chart of the unlocking method of an embodiment of the present invention. The unlocking method is applied to the user end, that is, the user terminal. This method is applicable to unlocking a shared bicycle equipped with a short-range communication sensing device. Figure 4 As shown, the unlocking method comprises the following steps:
[0082] In step S401, the user terminal scans the lock body information code.
[0083] In step S402, it is determined whether the lock body information code is scanned successfully.
[0084] If successful, go to step S411; if unsuccessful, go to step S403.
[0085] In step S403, in response to the lock body information code recognition failure, a first prompt message is displayed.
[0086] The specific method is similar to the above step S101 and will not be repeated here.
[0087] In step S404, it is determined whether the target information code is scanned successfully.
[0088] If successful, go to step S405; if unsuccessful, go to step S407.
[0089] In step S405, in response to successful recognition of the target information code, the target information code information is sent to the device server.
[0090] In step S406, a vehicle lock identification is received from the device server.
[0091] In step S407, in response to the target information code recognition failure, a second prompt message is displayed, wherein the second prompt message is used to guide the user terminal to approach the short-range communication sensing device on the target vehicle.
[0092] The short-range communication sensing device is used to transmit a wireless communication signal to achieve identification and data exchange with a compatible device within a short distance. The wireless communication signal can be determined based on the short-range communication sensing device configured on the user end and the target vehicle lock. The short-range communication sensing device can be one or a combination of NFC sensing devices, Bluetooth sensing devices, and Zigbee sensing devices. Preferably, the NFC sensing device is arranged in the lock body of the target vehicle.
[0093] In step S408, it is determined whether the short-range communication sensing device has successfully sensed.
[0094] In a possible implementation, the short-range communication sensing device is one of an NFC sensing device, a Bluetooth sensing device, and a Zigbee sensing device, and the sensing is considered successful when the short-range communication sensing device senses the corresponding wireless communication signal.
[0095] In one possible implementation, the short-range communication sensing device is a combination of several of an NFC sensing device, a Bluetooth sensing device, and a Zigbee sensing device. For example, the short-range communication sensing device can be a combination of an NFC sensing device and a Bluetooth sensing device. If the short-range communication sensing device senses at least one NFC communication signal and at least one Bluetooth communication signal respectively, and the set of shared bicycles to be unlocked corresponding to the scanned NFC communication signal and the set of shared bicycles to be unlocked corresponding to the Bluetooth communication signal have an intersection, the sensing is considered successful. Specifically, if there is only one shared bicycle to be unlocked in the intersection, the shared bicycle to be unlocked is determined as the target vehicle, and the sensing is then considered successful. If there are multiple shared bicycles to be unlocked in the intersection, the target vehicle is determined according to preset conditions, such as determining the shared vehicle with the largest NFC communication signal strength as the target vehicle, and the sensing is then considered successful. Figure 5 This is a schematic diagram of an interface that prompts a user to enable a short-distance communication function according to an embodiment of the present invention. Figure 5As shown in FIG. 1 , if the user terminal fails to identify the lock body information code and detects that the current user terminal has not turned on the short-distance communication function, the sixth prompt information box 511 is displayed in the interface 51 in the form of a pop-up window to display the sixth prompt information, which is used to guide the user terminal to turn on the short-distance communication function. After turning on the short-distance communication function, the interface diagram is as follows Figure 6 shown.
[0096] Figure 6 FIG. 1 is a schematic diagram of an interface for displaying the second prompt information according to an embodiment of the present invention. Figure 6 As shown, if the user terminal fails to identify the lock body information code and detects that the current user terminal has turned on the short-distance communication function, the interface 61 is displayed. The second prompt information box 611 is displayed in the form of a pop-up window in the interface 61 to guide the user terminal to approach the short-distance communication sensing device on the target vehicle. The second prompt information is determined according to the position of the short-distance communication sensing device. For example, if the short-distance communication sensing device is an NFC sensing device and the NFC sensing device is set in the lock body of the target vehicle, the second prompt information can be "Please approach the car lock position!".
[0097] If successful, go to step S409; if unsuccessful, go to step S410.
[0098] In step S409, in response to the successful sensing by the short-range communication sensing device, a vehicle lock identifier corresponding to the target vehicle is obtained.
[0099] In step S410, in response to the failure of the near field communication sensing device to identify, a third prompt message is displayed, and the third prompt message is used to prompt the user end that the target vehicle cannot be unlocked. For example, the third prompt message may be "The vehicle cannot be unlocked, please select another vehicle!" and the like.
[0100] In step S411, the vehicle lock identifier is sent to the order server so that the order server controls the target vehicle to unlock.
[0101] It is worth noting that Figure 4 The embodiment shown is described by taking the example that after the lock body information code is not successfully identified, the user terminal is preferentially guided to scan the target information code, and if the target information code is not successfully identified, the user is then guided to use the short-distance communication sensing device to unlock the lock. It should be understood that this embodiment is not limited to this, and it can also be that after the lock body information code is not successfully identified, the user terminal is preferentially guided to use the short-distance communication sensing device to unlock the lock, and if the unlocking by the short-distance communication sensing device fails, the user is then guided to scan the target information code to unlock the lock. Specifically, Figure 7 As shown, in this embodiment, only the order between steps S403-S406 and steps S407-409 is modified, and the specific execution process of the relevant steps is the same as Figure 4The embodiment shown is similar and will not be described again. After the lock body information code and the target information code fail to be recognized, the method of the embodiment of the present invention also sets a short-range communication sensing device to obtain the lock body identification through the short-range communication sensing device, thereby controlling the target vehicle to unlock. The short-range communication sensing device does not require the user to scan the code, and can be quickly unlocked by simply approaching the short-range communication sensing device, which is convenient and fast.
[0102] Figure 8 FIG. 1 is a flow chart of an unlocking method according to an embodiment of the present invention. The unlocking method is applied to a device server. Figure 8 As shown, the unlocking method comprises the following steps:
[0103] In step S801, target information code information is received from a target terminal.
[0104] Among them, the target information code is usually used by the operation and maintenance personnel to record the dispatch or maintenance of the corresponding vehicle. In other words, the target information code is not directly used to obtain the vehicle lock identification, and the target information code information is needed to obtain the vehicle lock identification.
[0105] In step S802, the type of the target terminal is determined.
[0106] In a possible implementation, the target information code information may carry type information of the target terminal. The types of the target terminal may include at least a user terminal and an operation and maintenance personnel terminal.
[0107] In step S803, in response to the type of the target terminal being a user terminal, a vehicle lock identifier corresponding to the target information code information is determined.
[0108] Specifically, the device server records the device information of each vehicle, including each vehicle and the corresponding target information code information, lock body identification code information, vehicle lock identification, and factory identification of each key component of the vehicle body. If the type of the target terminal is determined to be a user terminal, the vehicle lock identification of the target vehicle is searched according to the target information code information.
[0109] In step S804, the vehicle lock identifier is sent to the target terminal.
[0110] In the method of the embodiment of the present invention, the device server stores relevant information of the vehicle, receives the target information code information from the target terminal, and then determines the type of the target terminal. In response to the type of the target terminal being the user terminal, the device server determines the vehicle lock identification corresponding to the target information code information, and sends the vehicle lock identification to the target terminal. The device server in this method can determine the vehicle lock identification of the corresponding vehicle according to the target information code information, so that the user terminal provides a backup unlocking method when the lock body identification code fails to be identified.
[0111] Fig. 9 Schematic diagram of the unlocking system of an embodiment of the present invention. Fig. 9 As shown, the unlocking system includes a user terminal 901, a device server 902 and an order server 903.
[0112] The user terminal 901 is configured to scan and identify the target information code on the target vehicle, and send the identified target information code information to the device server to obtain the car lock identification corresponding to the target vehicle, or scan and identify the lock body information code on the target vehicle to obtain the car lock identification, or sense the short-range communication sensing device on the target vehicle to obtain the car lock identification, and send the car lock identification to the order server. In this embodiment, the user terminal 901 is a general terminal that can run a shared vehicle platform client application or applet, for example, the terminal can be a terminal device such as a mobile phone, a computer or a tablet computer. In some embodiments, the user terminal 901 can also be a dedicated terminal with an application solidified in a dedicated integrated circuit. Among them, the open platform enables third-party developers to develop their own applet based on the open platform by providing an application programming interface (Application Programming Interface, API) to third-party developers. The applet can specifically be a program developed on the basis of the application in the platform and used to perform corresponding operations. Among them, the user terminal 901 is a terminal device used or held by platform users or consumers.
[0113] The device server 902 is configured to, in response to receiving the target information code information sent by the target terminal, determine the type of the target terminal, in response to the type of the target terminal being a user terminal, determine the vehicle lock identifier corresponding to the target information code information, and send the vehicle lock identifier to the target terminal.
[0114] The order server 903 is configured to generate a corresponding unlocking instruction in response to receiving the vehicle lock identifier, and send the unlocking instruction to the target vehicle to control the unlocking of the target vehicle.
[0115] In the unlocking system, the user terminal 901 interacts with the device server 902 and the order server 903 through the network, so that the order server 903 controls the unlocking of the target vehicle. Fig.10 and Fig.11 shown.
[0116] Fig.10 FIG. 1 is one of the interactive flow charts of the unlocking method according to an embodiment of the present invention. Fig.10 As shown, the unlocking method comprises the following steps:
[0117] In step S1001, the user terminal scans and identifies the lock body information code on the target vehicle.
[0118] In step S1002, the user terminal fails to identify the lock body information code and displays a first prompt message.
[0119] The first prompt information is used to guide the user terminal to scan the target information code on the target vehicle.
[0120] In step S1003, the user terminal scans the target information code to obtain corresponding target information code information.
[0121] In step S1004, the user terminal sends the target information code information to the device server.
[0122] In step S1005, after receiving the target information code information, the device server determines the type of the target terminal that sends the target information code information.
[0123] In step S1006, in response to the type of the target terminal being a user terminal, the device server determines a vehicle lock identifier corresponding to the target information code information.
[0124] In step S1007, the device server sends the vehicle lock identification to the user end.
[0125] In step S1008, the user terminal sends the vehicle lock identification to the order server.
[0126] In step S1009, the order server controls the corresponding target vehicle to unlock according to the vehicle lock identifier.
[0127] It is worth noting that if the lock body information code is successfully identified in step S1001, the lock identification of the target vehicle can be directly obtained, and step S1008 can be directly transferred. In addition, if any step in steps S1002-S1007 fails, for example, in step S1002, the first prompt message fails to be displayed, or in step S1004, the user fails to send the target information code, etc., you can use the following method: Fig.11 The unlocking method described continues to unlock.
[0128] Fig.11 This is the second interactive flow chart of the unlocking method according to the embodiment of the present invention. Fig.11 As shown, the unlocking method comprises the following steps:
[0129] In step S1003, the user terminal scans the target information code to obtain corresponding target information code information.
[0130] In step S1101, in response to a failure in identifying the target information code, a second prompt message is displayed on the user terminal interface.
[0131] The second prompt information is used to guide the user terminal to approach the short-range communication sensing device on the target vehicle. According to the above description, the prerequisite for displaying the second prompt information on the user terminal interface, in addition to "failed to identify the target information code", can also be replaced by the situation when any step in S1002-S1007 fails.
[0132] In step S1102 , the user terminal senses the short-range communication sensing device on the target vehicle.
[0133] The short distance communication sensing device is one or a combination of NFC sensing devices, Bluetooth sensing devices, and Zigbee sensing devices.
[0134] In step S1103, in response to successful sensing by the short-range communication sensing device, the user terminal obtains a vehicle lock identifier corresponding to the target vehicle.
[0135] In step S1008, the user terminal sends the vehicle lock identification to the order server.
[0136] In step S1009, the order server controls the corresponding target vehicle to unlock according to the vehicle lock identifier.
[0137] In the unlocking system of the embodiment of the present invention, after the lock body information code fails to be recognized, the user terminal can scan the target information code to obtain the target information code information, and request the device server to obtain the vehicle lock identification according to the target information code information, and send the vehicle lock identification to the order server, so that the order server controls the target vehicle to unlock. In this way, the target vehicle can still be unlocked and used in the event of a failure in the lock body information code recognition, thereby improving the utilization rate of shared vehicles. If the user terminal also fails to recognize the target information code, the vehicle lock identification can also be obtained through a short-range communication sensing device to unlock the vehicle. That is, a variety of backup unlocking methods are provided to improve the success rate of unlocking shared vehicles, thereby improving the utilization rate of shared vehicles.
[0138] Fig.12 FIG. 1 is a schematic diagram of a vehicle according to an embodiment of the present invention. Fig.12 As shown, the vehicle comprises:
[0139] The vehicle body 1201 includes the front, frame, rear, seat, etc.
[0140] The electronic lock 1202 is used to receive and execute unlocking instructions. The lock body also includes a short-range communication sensor for requesting unlocking from the order server.
[0141] The lock body information code 1203 is used to request unlocking from the order server. The lock body information code can be set in a position that is easily visible, mostly at the front and rear of the vehicle. The position of the lock body information code in the figure is only an example, and the position of the lock body information code is not limited here. Multiple lock body information codes can be printed on the target vehicle.
[0142] The target information code 1204 is used to request the vehicle lock identification of the vehicle from the device server, so as to request unlocking from the order server based on the vehicle lock identification. The target information code is set on the frame of the vehicle.
[0143] It should be noted that the vehicle in the embodiment of the present invention is only an example, and does not limit the type, structure, and appearance of the vehicle. The vehicle can be a bicycle, an electric vehicle, a motorcycle, a car, and the like.
[0144] The vehicle of the embodiment of the present invention is provided with a lock body information code and a target information code, and a distance communication sensing device is also provided in the lock body of the electronic lock, thereby providing a variety of feasible unlocking methods to improve the success rate of vehicle unlocking, thereby improving the utilization rate of shared vehicles.
[0145] Fig.13 Schematic diagram of the unlocking device according to an embodiment of the present invention. Fig.13 As shown, the unlocking device of this embodiment is applicable to a user end, and the unlocking device comprises:
[0146] Display module 1301, for displaying a first prompt message in response to a failure in identifying the lock body information code, wherein the first prompt message is used to guide the user terminal to scan a target information code on a target vehicle, wherein the lock body information code is used to request unlocking from an order server, and wherein the target information code is used to request a vehicle lock identification of the target vehicle from a device server;
[0147] A first sending module 1302, configured to send the target information code information to the device server in response to successful recognition of the target information code;
[0148] The receiving module 1303 is used to receive the vehicle lock identification from the device server;
[0149] The second sending module 1304 is used to send the vehicle lock identifier to the order server so that the order server controls the target vehicle to unlock.
[0150] In response to a failure in identifying the lock body information code, the device of the embodiment of the present invention displays a first prompt message, wherein the first prompt message is used to guide the user terminal to scan the target information code on the target vehicle, the lock body information code is used to request unlocking from the order server, and the target information code is used to request the vehicle lock identification of the target vehicle from the device server. In response to successful recognition of the target information code, the target information code is sent to the device server, the vehicle lock identification from the device server is received, and the vehicle lock identification is sent to the order server so that the order server controls the target vehicle to unlock. Therefore, when the target vehicle cannot be unlocked by the lock body information code, the embodiment of the present invention guides the user terminal to scan the target information code by displaying a prompt message, thereby obtaining the vehicle lock identification required for unlocking from the device server to unlock the target vehicle.
[0151] Fig.14 Schematic diagram of the unlocking device according to an embodiment of the present invention. Fig.14 As shown, the unlocking device of this embodiment is applicable to a device server, and the unlocking device includes:
[0152] The receiving module 1401 is used to receive target information code information from a target terminal;
[0153] A first determining module 1402, configured to determine the type of the target terminal;
[0154] The second determination module 1403 is configured to determine, in response to the type of the target terminal being a user terminal, a vehicle lock identifier corresponding to the target information code information;
[0155] The sending module 1404 is used to send the vehicle lock identification to the target terminal.
[0156] In the device of the embodiment of the present invention, the device server stores the relevant information of the vehicle, receives the target information code information from the target terminal, and then determines the type of the target terminal. In response to the type of the target terminal being the user terminal, the device server determines the vehicle lock identification corresponding to the target information code information, and sends the vehicle lock identification to the target terminal. The device server in this method can determine the vehicle lock identification of the corresponding vehicle according to the target information code information, so that the user terminal provides a backup unlocking method when the lock body identification code fails to be identified.
[0157] Fig.15 Schematic diagram of an electronic device according to an embodiment of the present invention. Fig.15 As shown, Fig.15The electronic device shown is a general address query device, which includes a general computer hardware structure, which at least includes a processor 1501 and a memory 1502. The processor 1501 and the memory 1502 are connected via a bus 1503. The memory 1502 is suitable for storing instructions or programs executable by the processor 1501. The processor 1501 can be an independent microprocessor or a collection of one or more microprocessors. Thus, the processor 1501 executes the instructions stored in the memory 1502, thereby executing the method flow of the embodiment of the present invention as described above to realize the processing of data and the control of other devices. The bus 1503 connects the above-mentioned multiple components together, and at the same time connects the above-mentioned components to the display controller 1504 and the display device and the input / output (I / O) device 1505. The input / output (I / O) device 1505 can be a mouse, a keyboard, a modem, a network interface, a touch input device, a somatosensory input device, a printer, and other devices known in the art. Typically, the input / output device 1505 is connected to the system through an input / output (I / O) controller 1506.
[0158] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, devices (equipment) or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, the present application may adopt a computer program product implemented on one or more computer-readable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0159] The present application is described with reference to flowcharts of methods, apparatuses (devices) and computer program products according to embodiments of the present application. It should be understood that each process in the flowchart can be implemented by computer program instructions.
[0160] These computer program instructions may be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device that implements the process Figure 1 A function specified in a process or multiple processes.
[0161] These computer program instructions may also be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce the instructions for implementing the process Figure 1 A device that specifies functions in a process or multiple processes.
[0162] Another embodiment of the present invention relates to a non-volatile storage medium for storing a computer-readable program, wherein the computer-readable program is used for a computer to execute part or all of the above method embodiments.
[0163] That is, those skilled in the art can understand that all or part of the steps in the above-mentioned embodiment method can be completed by specifying relevant hardware through a program, and the program is stored in a storage medium, including several instructions for a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0164] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A method for unlocking a lock, It is characterized in that The method comprises: In response to the lock body information code recognition failure, displaying a first prompt message, wherein the first prompt message is used to guide the user terminal to scan the target information code on the target vehicle, the lock body information code is used to request unlocking from the order server, and the target information code is used to request the vehicle lock identification of the target vehicle from the device server; In response to successful recognition of the target information code, sending the target information code information to the device server; Receiving a vehicle lock identification from the device server; The vehicle lock identifier is sent to the order server so that the order server controls the target vehicle to unlock.
2. The method according to claim 1, It is characterized in that The method further comprises: In response to the target information code recognition failure, displaying a second prompt information, wherein the second prompt information is used to guide the user terminal to approach the short-range communication sensing device on the target vehicle; In response to successful sensing by the short-range communication sensing device, obtaining a vehicle lock identifier corresponding to the target vehicle; The vehicle lock identifier is sent to the order server so that the order server controls the target vehicle to unlock.
3. The method according to claim 2, It is characterized in that The short-range communication sensing device is an NFC sensing device and / or a Bluetooth sensing device, and the NFC sensing device is arranged in the lock body of the target vehicle.
4. The method according to claim 1, It is characterized in that The lock body information code is a two-dimensional code, and the target information code is a bar code.
5. The method according to claim 1, It is characterized in that The user end is embedded with a lock body information code and cannot identify the corresponding target control; The displaying of the first prompt information in response to the lock body information code recognition failure includes: In response to the target control being triggered, the first prompt information is displayed.
6. The method according to claim 2, It is characterized in that The method further comprises: In response to the failure of the short-range communication sensing device to identify, a third prompt message is displayed, and the third prompt message is used to prompt the user end that the target vehicle cannot be unlocked.
7. A method for unlocking a lock, It is characterized in that The method comprises: receiving target information code information from a target terminal; Determining the type of the target terminal; In response to the type of the target terminal being a user terminal, determining a vehicle lock identifier corresponding to the target information code information; The vehicle lock identifier is sent to the target terminal.
8. A vehicle, It is characterized in that The vehicle comprises: Vehicle body; Electronic lock, used to receive and execute unlocking instructions; Lock body information code, used to request unlocking from the order server; The target information code is used to request the vehicle lock identification of the vehicle from the device server, so as to request unlocking from the order server based on the vehicle lock identification.
9. The vehicle according to claim 8, It is characterized in that The vehicle further comprises: A short-range communication sensing device is used to request unlocking from the order server.
10. The vehicle according to claim 9, It is characterized in that The target information code is arranged on the frame of the vehicle, and the short-range communication sensing device is arranged in the lock body of the electronic lock.
11. A lock opening system, It is characterized in that The unlocking system comprises: The user terminal is configured to scan and identify the target information code on the target vehicle, and send the identified target information code information to the device server to obtain the vehicle lock identification corresponding to the target vehicle, or scan and identify the lock body information code on the target vehicle to obtain the vehicle lock identification, or sense the short-range communication sensing device on the target vehicle to obtain the vehicle lock identification, and send the vehicle lock identification to the order server; The device server is configured to, in response to receiving the target information code information sent by the target terminal, determine the type of the target terminal, in response to the type of the target terminal being a user terminal, determine the vehicle lock identifier corresponding to the target information code information, and send the vehicle lock identifier to the target terminal; The order server is configured to generate a corresponding unlocking instruction in response to receiving the vehicle lock identifier, and send the unlocking instruction to the target vehicle to control the unlocking of the target vehicle.
12. An unlocking device, It is characterized in that The device comprises: A display module, configured to display a first prompt message in response to a failure in identifying the lock body information code, wherein the first prompt message is used to guide the user terminal to scan a target information code on a target vehicle, wherein the lock body information code is used to request unlocking from an order server, and wherein the target information code is used to request a vehicle lock identification of the target vehicle from a device server; A first sending module, configured to send the target information code information to the device server in response to successful recognition of the target information code; A receiving module, used for receiving a vehicle lock identification from the device server; The second sending module is used to send the vehicle lock identifier to the order server so that the order server controls the target vehicle to unlock.
13. An unlocking device, It is characterized in that The device comprises: A receiving module, used for receiving target information code information from a target terminal; A first determining module, used to determine the type of the target terminal; A second determination module, configured to determine a vehicle lock identifier corresponding to the target information code information in response to the type of the target terminal being a user terminal; A sending module is used to send the vehicle lock identifier to the target terminal.
14. A computer readable storage medium having computer program instructions stored thereon, It is characterized in that The computer program instructions implement the method according to any one of claims 1 to 7 when executed by a processor.
15. An electronic device, It is characterized in that The device comprises: a memory for storing one or more computer program instructions; A processor, wherein the one or more computer program instructions are executed by the processor to implement the method according to any one of claims 1 to 7.
