Authentication methods and related products
By verifying user identity using authentication information generated and encrypted by the server, the system solves the problem of low security in existing car unlocking systems, and achieves secure user identity verification and reasonable use of vehicles.
Patent Information
- Application Number
- CN202210019177.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-06
- Publication Date
- 2026-01-30
- Estimated Expiration
- 2042-01-06
AI Technical Summary
Existing car unlocking systems rely on car keys to unlock vehicles, which has low security and poses a risk of user identity theft.
The system receives user requests for rides from the server, obtains the user's identity information, generates verification information and sends it to the vehicle for identity verification, encrypts the identity information using the vehicle's public key, determines the validity period of the verification information, and verifies the user's identity within the validity period.
This improves the security of user authentication, prevents user identity theft, and enhances user experience and vehicle utilization.
Smart Images

Figure CN116455922B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of Internet of Things, and in particular to an identity verification method and related products. BACKGROUND
[0002] With the continuous improvement of economic level, the number of private cars has increased rapidly, and the problems that follow are not only parking difficulties, traffic congestion, environmental pollution and other problems. With the rapid popularization of the concept of "sharing economy", shared cars have quietly entered people's vision. The emergence of shared cars brings convenience to people's life, and shared cars can effectively alleviate the worsening of urban traffic symptoms.
[0003] In the existing car unlocking system, the vehicle is generally unlocked by the car key. The antenna installed on the vehicle receives the radio signal emitted by the car key, and the electronic controller identifies the correctness of the signal code of the radio signal. Only in the case of receiving the correct signal code, the vehicle can be unlocked. The vehicle is unlocked by the vehicle key, which has low security and risks of user identity theft. SUMMARY
[0004] The embodiments of the present application provide an identity verification method and related products, which can improve the security of user identity verification and avoid user identity theft.
[0005] In a first aspect, the embodiments of the present application provide an identity verification method, which is applied to a server, and the method comprises the following steps:
[0006] Receiving a car use request of a user, wherein the car use request carries car use location information;
[0007] Determining a first vehicle matched with the car use location information;
[0008] Obtaining identity information of the user;
[0009] Generating verification information by using the identity information, wherein the verification information is used for making the first vehicle verify the identity of the user;
[0010] Sending the verification information to the first vehicle.
[0011] In the embodiments of the present application, after the server receives the car use request of the user, the first vehicle is matched for the user, and the verification information is generated by using the identity information of the user. The verification information is used for making the first vehicle verify the identity of the user, which can improve the security of user identity verification and avoid user identity theft.
[0012] In a possible implementation manner of the first aspect, before the verification information is sent to the first vehicle, the method further comprises the following steps:
[0013] determining a use time of the user;
[0014] determining a valid time of the verification information according to the use time;
[0015] sending the valid time to the first vehicle; the verification information is used for the first vehicle to verify the identity of the user within the valid time.
[0016] In the embodiments of the present application, the valid time of the verification information corresponding to the user is determined according to the use time of the user, which can improve the security of the verification information and avoid the user identity being stolen outside the use time of the user.
[0017] In a possible implementation of the first aspect, the generating the verification information by using the identity information comprises the following steps:
[0018] encrypting the identity information by using the public key of the vehicle to obtain the verification information.
[0019] In the embodiments of the present application, the identity information is encrypted by using the public key of the first vehicle to obtain the verification information, which can improve the security of the verification information.
[0020] In a possible implementation of the first aspect, the determining the use time of the user comprises the following steps:
[0021] obtaining a destination and a departure time of the user;
[0022] determining trip information of the first vehicle according to the use location, the departure time and the destination;
[0023] determining the use time according to the trip information.
[0024] In the embodiments of the present application, the server can determine the trip information of the first vehicle according to the use location, the destination and the departure time of the user, determine the use time of the user, and plan a route for the first vehicle, so that the use of the first vehicle can be reasonably arranged and the first vehicle can be reasonably utilized.
[0025] In a possible implementation of the first aspect, the determining the valid time of the verification information according to the use time comprises the following steps:
[0026] determining a start time of the use time;
[0027] determining an idle time period of the vehicle before the start time; the valid time comprises the use time and the idle time period.
[0028] In the embodiment of the present application, the valid time of the verification information includes the use time of the vehicle by the user and an idle time period before the use time, so that the user can use the first vehicle more flexibly within the valid time, and the use experience of the user is improved.
[0029] In a possible implementation of the first aspect, the vehicle request further carries vehicle condition information, and the determining of the first vehicle matching the vehicle use location information comprises the following steps:
[0030] Determining a region to which the vehicle use location belongs;
[0031] Determining a vehicle set in the region matching the vehicle condition information;
[0032] In a case where the vehicle set is not empty, the first vehicle is any one in the vehicle set.
[0033] In the embodiment of the present application, the server determines the first vehicle matching the vehicle use location and the vehicle condition information according to the vehicle condition information and the information of the vehicle use location, can allocate the first vehicle meeting the use demand of the user to the user, avoids the situation that the allocated vehicle does not meet the use demand of the user and needs to be re-allocated, and can improve the user experience.
[0034] In a possible implementation of the first aspect, after the determining of the vehicle set matching the vehicle condition information in the region, the method further comprises the following steps:
[0035] In a case where the vehicle set is empty, generating prompt information, the prompt information being used to prompt that there is no vehicle matching the vehicle condition information.
[0036] In the embodiment of the present application, in a case where the vehicle set is empty, prompt information is generated to prompt that there is no vehicle meeting the vehicle condition information in the region corresponding to the vehicle use location, so that the user can change the use demand in time, and it is ensured that the vehicle meeting the use demand of the user can be allocated to the user, and the user experience is improved.
[0037] In a second aspect, an embodiment of the present application provides an identity verification method, the method being applied to a vehicle machine system, and the method comprises the following steps:
[0038] Receiving an instruction of unlocking a vehicle by a user;
[0039] Obtaining first identity information of the user;
[0040] Determining valid verification information corresponding to the user;
[0041] Verifying the first identity information by using the valid verification information.
[0042] unlocking the vehicle in case of passing the verification.
[0043] In the embodiments of the present application, after the car machine system receives the instruction of the user to unlock the vehicle, the first identity information of the user is verified by using the valid verification information, and the vehicle is unlocked in case of passing the verification. The security of the user identity verification can be used to avoid the user identity being stolen.
[0044] In a possible implementation of the second aspect, the determining the valid verification information corresponding to the user comprises the following steps:
[0045] receiving the verification information and the valid time sent by the server, wherein the verification information is generated by the server according to the vehicle use request of the user;
[0046] In case that the valid time comprises the current time, the verification information is determined as the valid verification information.
[0047] In the embodiments of the present application, the car machine system receives the verification information sent by the server and the valid time corresponding to the verification information, and determines whether the verification information is the valid verification information according to the valid time of the verification information, so that the valid verification information can be quickly determined.
[0048] In a possible implementation of the second aspect, the verifying the first identity information by using the valid verification information comprises the following steps:
[0049] parsing the second identity information from the valid verification information;
[0050] comparing the second identity information with the first identity information;
[0051] If the second identity information is the same as the first identity information, the verification passes.
[0052] In the embodiments of the present application, the verification information is generated by the server according to the vehicle use request of the user, and the second identity information of the user is included in the verification information. The car machine system compares the first identity information with the second identity information to verify the first identity information. The security of the identity verification can be used to avoid the user identity being stolen.
[0053] In a possible implementation of the second aspect, after the vehicle is unlocked in case of passing the verification, the method further comprises the following steps:
[0054] In case that the user returns the vehicle, the valid verification information is deleted.
[0055] In the embodiments of the present application, in the case that it is determined that the user returns the vehicle, the valid verification information is deleted, i.e. the verification information corresponding to the user is deleted, so as to disable the valid verification information, effectively manage the valid verification information, and save the storage space of the vehicle machine system.
[0056] In a third aspect, the embodiments of the present application provide a server, comprising a processor and a memory, the memory is used to store one or more programs, the one or more programs are configured to be executed by the processor, and the program comprises a method for executing the first aspect and any possible implementation manner thereof.
[0057] In a fourth aspect, the embodiments of the present application provide a terminal device, comprising a processor and a memory, the memory is used to store one or more programs, the one or more programs are configured to be executed by the processor, and the program comprises a method for executing the second aspect and any possible implementation manner thereof.
[0058] In a fifth aspect, the embodiments of the present application provide a computer readable storage medium, the computer readable storage medium stores a computer program, the computer program comprises program instructions, the program instructions, when executed by a processor, make the processor execute the method of the first aspect and any possible implementation manner thereof, or execute the method of the second aspect and any possible implementation manner thereof. BRIEF DESCRIPTION OF DRAWINGS
[0059] Figure 1 A flowchart of an identity verification method provided by the embodiments of the present application is shown;
[0060] Figure 2 A flowchart of another identity verification method provided by the embodiments of the present application is shown;
[0061] Figure 3 A structural diagram of a server provided by the embodiments of the present application is shown;
[0062] Figure 4 A structural diagram of a terminal device provided by the embodiments of the present application is shown. DETAILED DESCRIPTION
[0063] In order to facilitate the understanding of the present application, the present application will be described more fully below with reference to the related drawings. The preferred embodiments of the present application are shown in the drawings. However, the present application can be implemented in many different forms, and is not limited to the embodiments described herein. On the contrary, the purpose of providing these embodiments is to make the disclosure of the present application more thorough and comprehensive.
[0064] The terms "first", "second", and the like in the description and in the claims of the present application and above-described drawings are used to distinguish different objects, and are not used to describe a particular order. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the listed steps or units, but can optionally include other steps or units not listed, or can optionally include other steps or units inherent to the process, method, product, or device.
[0065] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which the present application belongs. The terms used in the specification of the present application are only for the purpose of describing specific embodiments and are not intended to limit the present application.
[0066] The embodiments of the present application will be described in detail below with reference to the accompanying drawings.
[0067] Please refer to Figure 1 , Figure 1 A flowchart of an identity verification method provided by an embodiment of the present application. The identity verification method is applied to a server, as shown in Figure 1 The identity verification method includes but is not limited to the following steps.
[0068] 101, receiving a user's vehicle use request, the vehicle use request carrying vehicle use location information.
[0069] Exemplarily, the vehicle use request is sent by a client corresponding to the user. The vehicle use request can be generated by the client in response to the user's vehicle use operation. The vehicle use location can be input by the user when performing the vehicle use operation, and the client receives the vehicle use location input by the user and generates the vehicle use request. The server establishes a communication connection with the client and receives the vehicle use request based on the communication connection. The vehicle use location information is used to match an appropriate vehicle for the user by the server.
[0070] Exemplarily, the vehicle use location information is in a specific field of the vehicle use request, and the server reads the specific field to obtain the vehicle use location information after receiving the vehicle use request.
[0071] Exemplarily, the vehicle use request can include information of the user, such as a user identifier, so that the server determines the identity of the user.
[0072] 102, determining a first vehicle matching the vehicle use location information.
[0073] Exemplarily, the first vehicle is a vehicle allocated by the server for the user to use. The server determines the pickup location of the user by obtaining the pickup location information from the pickup request after receiving the pickup request.
[0074] Exemplarily, the first vehicle matched with the pickup location information can be understood as being within a certain range of the pickup location corresponding to the pickup location information, i.e., the distance between the location of the first vehicle and the pickup location is less than a preset threshold. For example, the distance between the location of the first vehicle and the pickup location is less than 500 meters. After determining the pickup location, the server obtains the location information of a plurality of vehicles and determines the first vehicle from the plurality of vehicles whose location is less than a preset threshold from the pickup location.
[0075] Exemplarily, the first vehicle can be the vehicle closest to the pickup location. The server allocates the vehicle closest to the pickup location for the user, which can improve the user experience.
[0076] Exemplarily, the server can also determine the pickup time of the user based on the pickup request, and the first vehicle is a vehicle in an idle state within the pickup time, i.e., the first vehicle is available within the pickup time.
[0077] In an embodiment, the pickup request also carries vehicle condition information, and the determination of the first vehicle matched with the pickup location information comprises the following steps:
[0078] Determining the area to which the pickup location belongs;
[0079] Determining a vehicle set in the area matched with the vehicle condition information;
[0080] In the case where the vehicle set is not empty, the first vehicle is any one in the vehicle set.
[0081] Exemplarily, the area to which the pickup location belongs can be understood as being within a preset distance from the pickup location, for example, the preset distance can be 500 meters, i.e., the area is a circular area with the pickup location as the center and a radius of 500 meters. The server determines the area to which the pickup location belongs according to the information of the pickup location after receiving the pickup request.
[0082] Exemplarily, the vehicle condition information is information of a vehicle condition that needs to be met by a vehicle assigned by the server for the user, and the vehicle condition information can include the number of passengers, the appearance of the vehicle, the brand of the vehicle, and the like. The vehicle condition information can be generated according to the use demand of the user. The server determines a vehicle set in the region that matches the vehicle condition information. In the case where the vehicle set is not an empty set, the first vehicle is any one in the vehicle set. Exemplarily, the first vehicle can be the one closest to the use location in the vehicle set.
[0083] In the embodiment of the present application, the server determines the first vehicle that matches the use location and the vehicle condition information according to the vehicle condition information and the information of the use location, and can assign the first vehicle that meets the use demand of the user for the user, so as to avoid the situation that the assigned vehicle does not meet the use demand of the user and needs to be re-assigned, and can improve the user experience.
[0084] In an embodiment, after determining the vehicle set in the region that matches the vehicle condition information, the identity verification method further includes the following steps:
[0085] In the case where the vehicle set is an empty set, a prompt information is generated, and the prompt information is used to prompt that there is no vehicle that matches the vehicle condition information in the region to which the use location belongs.
[0086] Exemplarily, the server generates the prompt information in the case where the vehicle set is an empty set, and sends the prompt information to the client corresponding to the user, so as to prompt the user that there is no vehicle that matches the vehicle condition information in the region to which the use location belongs. Exemplarily, the prompt information can also be used to prompt the user to modify the user demand, so that the server can assign the vehicle that meets the user demand for the user.
[0087] Exemplarily, after generating the prompt information, the server can also determine a second vehicle according to the vehicle condition information, and the second vehicle is a vehicle recommended by the server for the user. The second vehicle can be a vehicle that meets one or more conditions in the vehicle condition. For example, assuming that the vehicle condition includes that the number of passengers is 4 and the brand of the vehicle is A, the second vehicle can have the number of passengers of 4 and the brand of the vehicle of B. The server sends the information of the second vehicle to the client corresponding to the user, so that the user determines whether to use the second vehicle.
[0088] Exemplarily, the server can generate a prompt information according to the situation of the vehicle in the region to which the use location belongs, and the prompt information carries the situation of the vehicle in the region and suggestion information. The suggestion information is used to suggest the user to modify the user demand, that is, to modify the vehicle condition information, so as to use the vehicle that exists in the region to which the use location belongs and matches the vehicle condition information.
[0089] In the embodiments of the present application, in the case where the vehicle set is empty, a prompt information is generated to prompt the user that there is no vehicle in the area corresponding to the vehicle use location that meets the vehicle condition information, so that the user can change the vehicle use demand in time, and the user can be allocated to a vehicle that meets the vehicle use demand of the user, and the user experience is improved.
[0090] 103, obtaining the identity information of the user.
[0091] For example, the identity information can be a unique identifier corresponding to the user, such as an identity number or a communication number of the user.
[0092] For example, the identity information can be carried in the vehicle use request. The vehicle use request is generated after the client corresponding to the user completes the identity verification of the user. After receiving the vehicle use request, the server obtains the identity information of the user from the vehicle use request.
[0093] For example, the identity information can also be pre-stored in the memory of the server. After receiving the vehicle use request, the server determines the user according to the user identifier, and obtains the identity information matched with the user from the memory. For example, the vehicle use request includes a user identifier, the server determines the identity of the user according to the user identifier, and verifies the identity of the user, for example, by fingerprint recognition or face recognition. After the identity of the user is verified, the server obtains the identity information matched with the user from the memory.
[0094] 104, generating verification information by using the identity information, the verification information being used for verifying the identity of the user by the first vehicle.
[0095] For example, after the server obtains the identity information of the user, the server processes the identity information by using a predetermined processing method to generate verification information, which is used for verifying the identity of the user by the first vehicle.
[0096] For example, the server can generate the verification information by using the identity information and the license plate information of the first vehicle. For example, the server can integrate the identity information and the license plate information in a predetermined processing manner to obtain the verification information.
[0097] In an embodiment, the server can encrypt the identity information by using the public key of the first vehicle to obtain the verification information.
[0098] Exemplarily, there is a communication connection between the server and the first vehicle, and the first vehicle sends the public key of the first vehicle to the server based on the communication connection. The server receives and saves the sent public key of the first vehicle. After obtaining the identity information of the user, the server encrypts the identity information by using the public key of the first vehicle to obtain the verification information.
[0099] In the embodiment of the application, the identity information is encrypted by using the public key of the first vehicle to obtain the verification information, which can improve the security of the verification information.
[0100] 105, sending the verification information to the first vehicle.
[0101] In the embodiment of the application, after the server receives the vehicle use request of the user, the first vehicle is matched for the user, and the verification information is generated by using the identity information of the user, which is used to make the first vehicle verify the identity of the user, so that the security of the user identity verification can be improved, and the user identity can be prevented from being stolen.
[0102] In an implementation, after the identity information is used to generate the verification information in the step 104, the identity verification method further includes the following steps:
[0103] determining the vehicle use time of the user;
[0104] determining the valid time of the verification information according to the vehicle use time;
[0105] sending the valid time to the first vehicle; and the verification information is used to make the first vehicle verify the identity of the user within the valid time.
[0106] Exemplarily, the vehicle use time is the time when the user needs to use the vehicle. Exemplarily, the vehicle use time can be included in the vehicle use request. The vehicle use time is filled in by the user on the client side, and the client generates the vehicle use request after receiving the vehicle use time filled by the user. The server determines the vehicle use time from the vehicle use request after determining the first vehicle.
[0107] Exemplarily, the valid time of the verification information can be understood as the time when the first vehicle can be used, that is, the user has the right to use the first vehicle within the valid time. The server can determine the valid time of the verification information according to the vehicle use time, and send the valid time to the first vehicle. Within the valid time, the first vehicle can verify the identity of the user by using the verification information.
[0108] Exemplarily, the duration of the effective time is greater than or equal to the duration of the vehicle use time. The start time of the effective time is earlier than the start time of the vehicle use time, and the end time of the effective time is later than the end time of the vehicle use time.
[0109] In the embodiment of the present application, the effective time of the verification information corresponding to the user is determined according to the vehicle use time of the user, which can improve the security of the verification information and avoid the user identity being stolen outside the vehicle use time of the user.
[0110] In an embodiment, the determining the vehicle use time of the user comprises the following steps:
[0111] Obtaining the destination and the departure time of the user;
[0112] Determining the travel information of the first vehicle according to the vehicle use location, the departure time and the destination;
[0113] Determining the vehicle use time according to the travel information.
[0114] Exemplarily, the destination and the departure time of the user can be input by the user on the client. The information related to the destination and the departure time can be included in the vehicle use request, and the server can obtain the destination and the departure time of the user from the vehicle use request.
[0115] The server plans a route for the first vehicle according to the vehicle use location (i.e. the departure location), the destination and the departure time, and obtains the travel information of the first vehicle. The server can determine the vehicle use time of the user according to the time required by the travel.
[0116] Exemplarily, the server can also determine the energy required (such as fuel consumption) of the first vehicle according to the travel information of the first vehicle, and determine whether the remaining amount of energy of the first vehicle is sufficient. The server can send a prompt information to the user to prompt the user to change the vehicle in the case that the remaining amount of energy of the first vehicle is insufficient. Or the server can also plan a new route for the first vehicle, which passes through an energy supplement point (such as a gas station), so that the user can supplement the energy of the first vehicle.
[0117] In the embodiment of the present application, the server can determine the travel information of the first vehicle according to the vehicle use location, the destination and the departure time of the user, determine the vehicle use time of the user, and plan a route for the first vehicle, so that the use of the first vehicle can be reasonably arranged and the utilization rate of the first vehicle can be improved.
[0118] In an embodiment, the determining the effective time of the verification information according to the vehicle use time comprises the following steps:
[0119] determine a start time of the use time;
[0120] determine an idle period before the start time of the first vehicle; the effective time includes the use time and the idle period.
[0121] Exemplarily, the server can determine the start time of the use time according to the use time carried in the use request. The length of the idle period can be the time interval between the use time of the last user of the first vehicle and the use time of the user. The effective time can include the idle period and the use time, that is, the start time of the effective time is the start time of the idle period, and the end time of the effective time is the end time of the use time.
[0122] In the embodiments of the present application, the effective time of the verification information includes the use time of the user and the idle period before the use time, so that the user can use the first vehicle more flexibly within the effective time, and the use experience of the user is improved.
[0123] Please refer to Figure 2 , Figure 2 Another flowchart of an identity verification method provided by the embodiments of the present application is provided. The identity verification method is applied to a car machine system, which can be a vehicle-mounted device. The vehicle-mounted device can be one kind of vehicle-mounted device in a vehicle, or a combination of several vehicle-mounted devices in a vehicle, for example, the vehicle-mounted device can include an augmented reality head up display (AR-HUD) controller, a central control host, a sensor, etc., and the embodiments of the present application do not limit the implementation mode of the vehicle-mounted device. As shown in Figure 2 , the identity verification method includes but is not limited to the following steps.
[0124] 201, receiving an instruction of unlocking the vehicle by the user.
[0125] Exemplarily, the instruction of unlocking the vehicle by the user can be sent by the client corresponding to the user. The client corresponding to the user establishes a communication connection, such as a Bluetooth connection or near field communication, with the car machine system when it is close to the vehicle. The client sends the above-mentioned instruction to the car machine system based on the communication connection.
[0126] In some implementations, the instruction for unlocking the vehicle can be generated by a reading device arranged outside the vehicle. The reading device can be a reader that can read the identity information of the user. When an electronic tag (such as an identity card of the user) that stores the identity information of the user is within the reading range of the reading device, the electronic tag sends the identity information of the user to the reading device. After the reading device receives the identity information of the user, the reading device generates an instruction for unlocking the vehicle and sends the instruction to the vehicle infotainment system. The user can send the instruction for unlocking the vehicle to the vehicle infotainment system based on the electronic tag (such as an identity card) that is convenient to carry, which facilitates operation and can improve the user experience.
[0127] 202, obtain the first identity information of the user.
[0128] Exemplarily, the instruction for unlocking the vehicle carries the first identity information of the user. After receiving the instruction, the vehicle infotainment system can obtain the first identity information of the user from the instruction.
[0129] Exemplarily, the client corresponding to the user can send the first identity information of the user to the vehicle infotainment system after sending the instruction for unlocking the vehicle. The vehicle infotainment system receives the first identity information of the user.
[0130] In an embodiment, after receiving the instruction for unlocking the vehicle, if the vehicle infotainment system does not receive the first identity information of the user within a first time period, the vehicle infotainment system sends a prompt information to the client, and the prompt information is used to prompt the client to send the first identity information of the user.
[0131] 203, determine the valid verification information corresponding to the user.
[0132] Exemplarily, the valid verification information corresponding to the user can be a currently valid verification information. The server can generate a plurality of verification information corresponding to a plurality of users and send the plurality of verification information to the vehicle infotainment system. The plurality of verification information have different valid time, i.e., only one of the plurality of verification information is valid at the same time. The vehicle infotainment system receives the plurality of verification information and stores the plurality of verification information. After receiving the instruction for unlocking the vehicle, the vehicle infotainment system determines the currently valid verification information from the plurality of verification information, i.e., determines the verification information whose valid time includes the current time.
[0133] Exemplarily, after receiving the plurality of verification information, the car machine system can sort the plurality of verification information according to the order of the validity time, and store the plurality of verification information in a verification information list. The plurality of verification information takes effect in turn according to the validity time. For example, the plurality of verification information includes first verification information and second verification information, the first verification information is arranged before the second verification information, and after the first verification information is invalid, the second verification information can take effect. Exemplarily, in a case where a time interval between the first validity time of the first verification information and the second validity time of the second verification information is less than the second time length, after determining that the first verification information is invalid, the second validity time can include the time interval between the first validity time and the second validity time, that is, after the first verification information is invalid, the second verification information can take effect immediately.
[0134] In an embodiment, determining the valid verification information corresponding to the user in step 203 can include the following steps:
[0135] receiving the verification information and the validity time sent by the server, the verification information being generated by the server according to the user's car use request;
[0136] in a case where the validity time includes the current time, determining the verification information as the valid verification information.
[0137] Exemplarily, the validity time is the validity time of the verification information, and the validity time of the verification information is determined by the user's car use time. The server can determine the validity time of the verification information according to the user's car use time. The server determines to generate the verification information according to the user's car use request, and determines the validity time of the verification information according to the user's car use time, and sends the verification information and the validity time to the car machine system. The car machine system receives the verification information and the validity time, and determines whether the validity time includes the current time. If the validity time of the verification information includes the current time, the verification information is determined as the valid verification information, and the verification information takes effect.
[0138] In the embodiments of the present application, the car machine system receives the verification information and the validity time corresponding to the verification information sent by the server, and determines whether the verification information is the valid verification information according to the validity time of the verification information, so that the valid verification information can be quickly determined.
[0139] 204, verifying the first identity information by using the valid verification information.
[0140] Exemplarily, the car machine system verifies the first identity information of the user obtained by using the valid verification information within the validity time of the valid verification information.
[0141] Exemplarily, the valid verification information is generated according to the second identity information of the user and the license plate information of the vehicle. After the vehicle machine system obtains the first identity information, the license plate information of the vehicle and the first identity information are processed in the same manner to obtain second valid verification information, and the valid verification information is compared with the second valid verification information. If the valid verification information is the same as the second valid verification information, it is determined that the first identity information is verified; if not, it is determined that the first identity information is not verified.
[0142] In an embodiment, the step of verifying the first identity information by using the valid verification information in step 204 can include the following steps:
[0143] parsing the second identity information from the valid verification information;
[0144] comparing the second identity information with the first identity information;
[0145] If the second identity information is the same as the first identity information, the verification is passed.
[0146] Exemplarily, the valid verification information is generated by the server using the second identity information of the user, and the vehicle machine system can parse the second identity information of the user from the valid verification information. For example, the vehicle machine system can decrypt the verification information by using the private key of the vehicle to obtain the second identity information. The vehicle machine system compares the second identity information carried in the valid verification information with the obtained first identity information, and if the second identity information is the same as the first identity information, it is determined that the verification is passed. If the first identity information is different from the second identity information, it is determined that the verification is not passed.
[0147] In the embodiment of the application, the verification information is generated by the server according to the vehicle use request of the user, and the second identity information of the user is included in the verification information. The vehicle machine system compares the first identity information with the second identity information to verify the first identity information. The security of identity verification can avoid the identity of the user being stolen.
[0148] 205, in the case of verification, the vehicle is unlocked.
[0149] In the embodiment of the application, after the vehicle machine system receives the instruction of the user to unlock the vehicle, the first identity information of the user is verified by using the valid verification information, and in the case of verification, the vehicle is unlocked. The security of user identity verification can avoid the identity of the user being stolen.
[0150] In an embodiment, after the vehicle is unlocked in the case of verification, the method further includes the following steps:
[0151] If the user returns the vehicle, the valid verification information is deleted.
[0152] For example, after receiving a user's instruction to terminate use, the vehicle's infotainment system determines that the user has returned the vehicle. This instruction can be issued by the user during their interaction with the infotainment system, or it can be sent to the vehicle from the user's corresponding client. For instance, the user can perform the termination operation (i.e., return the vehicle) on the infotainment system's display interface, or they can perform it on the client's display interface. Upon determining that the user has returned the vehicle, the infotainment system confirms that the user has terminated their use of the vehicle and deletes the aforementioned valid verification message, thus invalidating it.
[0153] For example, the vehicle system can also delete the valid verification information if the current time is later than the validity period of the valid verification information, i.e., the valid verification information has expired.
[0154] In this embodiment of the application, when it is determined that the user has returned the vehicle, the above-mentioned valid verification information is deleted, that is, the verification information corresponding to the user is deleted, so that the valid verification information is invalidated. This can effectively manage the valid verification information and save the storage space of the vehicle system.
[0155] Please see Figure 3 , Figure 3 This application provides a schematic diagram of the structure of a server, as shown in the embodiment of the present application. Figure 3 As shown, the server 300 includes a processor 301 and a memory 302. The processor 301 and memory 302 are interconnected via a communication bus 303. The communication bus 303 can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus 303 can be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, Figure 3 The bus is represented by a single thick line, but this does not indicate that there is only one bus or one type of bus. Memory 302 stores computer programs, which include program instructions. Processor 301 is configured to call these program instructions, which include instructions for execution. Figure 1 Some or all of the steps in the method shown.
[0156] Processor 301 may be a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits used to control the execution of programs in the above scheme.
[0157] Memory 302 may be a read-only memory (ROM) or other type of static storage device capable of storing static information and instructions, random access memory (RAM) or other type of dynamic storage device capable of storing information and instructions, or electrically erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and accessible by a computer, but not limited thereto. Memory may exist independently and be connected to the processor via a bus. Memory may also be integrated with the processor.
[0158] In addition, the server 300 may also include general components such as communication interfaces and antennas, which will not be described in detail here.
[0159] Please see Figure 4 , Figure 4 This is a schematic diagram of the structure of a terminal device provided in an embodiment of this application, such as... Figure 4 As shown, the terminal device 400 includes a processor 401 and a memory 402. The processor 401 and memory 402 can be interconnected via a communication bus 403. The communication bus 403 can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus 403 can be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, Figure 4 The bus is represented by a single thick line, but this does not indicate that there is only one bus or one type of bus. Memory 402 stores computer programs, which include program instructions. Processor 401 is configured to call these program instructions, which include instructions for execution. Figure 2part or all of the steps in the method shown.
[0160] The processor 401 can be a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of programs of the above solutions.
[0161] The memory 402 can be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM) or other type of dynamic storage device that can store information and instructions, an Electrically Erasable Programmable Read-Only Memory (EEPROM), a Compact Disc Read-Only Memory (CD-ROM) or other optical disk storage, a magneto-optical disk, a magnetic disk storage or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited to this. The memory can exist independently and be connected to the processor through a bus. The memory can also be integrated with the processor.
[0162] In addition, the terminal device 400 can also include general components such as a communication interface, an antenna, etc., which will not be described in detail here.
[0163] The embodiments of the present application also provide a computer readable storage medium, wherein the computer readable storage medium stores a computer program for electronic data exchange, and the computer program causes a computer to execute the above-mentioned Figure 1 and Figure 2 part or all of the steps of any one of the identity verification methods described in the method embodiments shown.
[0164] It should be understood that the application of the present application is not limited to the above examples, and those of ordinary skill in the art can make improvements or changes according to the above description, and all such improvements and changes shall fall within the scope of protection of the claims of the present application.
Claims
1. An identity verification method, characterized by, The method is applied to a server, and the method comprises the following steps: receiving a vehicle use request of a user, the vehicle use request carrying vehicle use location information; determining a vehicle use time of the user; determining an effective time of verification information according to the vehicle use time, wherein a starting time of the vehicle use time is determined; a free time period of a first vehicle before the starting time is determined; the effective time comprises the vehicle use time and the free time period; sending the effective time to the first vehicle; the verification information is used for enabling the first vehicle to verify the identity of the user within the effective time; determining a first vehicle matching the vehicle use location information; obtaining identity information of the user; generating the verification information by using the identity information; sending the verification information to the first vehicle, the verification information being used for enabling the first vehicle to verify the identity of the user.
2. The method of claim 1, wherein the generating the verification information by using the identity information comprises the following step: encrypting the identity information by using a public key of the first vehicle to obtain the verification information.
3. The method of claim 1, wherein the determining the vehicle use time of the user comprises the following steps: obtaining a destination and a departure time of the user; determining travel information of the first vehicle according to the vehicle use location, the departure time and the destination; determining the vehicle use time according to the travel information.
4. The method of claim 1, wherein the vehicle use request further carries vehicle condition information, and the determining the first vehicle matching the vehicle use location information comprises the following steps: determining a region to which the vehicle use location belongs; determining a vehicle set matching the vehicle condition information in the region; in a case where the vehicle set is not an empty set, the first vehicle is any vehicle in the vehicle set.
5. The method of claim 4, wherein after the determining the vehicle set matching the vehicle condition information in the region, the method further comprises the following step: in a case where the vehicle set is an empty set, generating prompt information, the prompt information being used for prompting that there is no vehicle matching the vehicle condition information.
6. An identity verification method characterized by, The method is applied to a vehicle machine system, and the method comprises the following steps: receiving an instruction of a user for unlocking a first vehicle; obtaining first identity information of the user; determining effective verification information corresponding to the user, wherein verification information and an effective time sent by a server are received, the verification information being generated by the server according to a vehicle use request of the user; in a case where the effective time comprises a current time, the verification information is determined as the effective verification information; the effective time is determined by the server through the following steps: determining an effective time of the verification information according to a vehicle use time, wherein a starting time of the vehicle use time is determined; a free time period of a first vehicle before the starting time is determined; the effective time comprises the vehicle use time and the free time period; verifying the first identity information by using the effective verification information; In case of a successful verification, the first vehicle is unlocked.
7. The method of claim 6, wherein the verifying the first identity information with the valid verification information comprises: parsing a second identity information from the valid verification information; comparing the second identity information with the first identity information; and verifying a success in case that the second identity information is identical to the first identity information.
8. The method of claim 6, wherein after the first vehicle is unlocked in case of a successful verification, the method further comprises: deleting the valid verification information in case that the user returns the vehicle.
9. A server, characterized by comprising: a memory storing a program; a processor configured to execute the program stored in the memory, and when the program is executed, the processor is configured to perform the steps of the method of any one of claims 1-5.
10. A terminal device, comprising: comprising: a memory storing a program; a processor configured to execute the program stored in the memory, and when the program is executed, the processor is configured to perform the steps of the method of any one of claims 6-8.
11. A computer readable storage medium, characterized in that, a computer program stored in the computer readable storage medium, and when the computer program is executed on one or more processors, the steps of the method of any one of claims 1-5 or 6-8 are performed.
Citation Information
Patent Citations
Identity verification-based car taking reservation method and device, storage medium and terminal
CN110852191A
Vehicle control method, server and vehicle system
CN113313543A