Vehicle unlocking method and system based on face recognition
By combining face recognition and real-time monitoring modules in the vehicle unlocking system, the problem of inability to detect unauthorized use in time in the existing technology is solved, the safety status monitoring and warning of the vehicle during driving is realized, and the safety of the vehicle is improved. and convenience.
Patent Information
- Application Number
- CN202311567757.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-23
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2043-11-23
AI Technical Summary
The existing vehicle unlocking system cannot detect unauthorized use in time while the vehicle is driving, resulting in the possibility of vehicle theft or misuse.
A vehicle unlocking system based on face recognition is adopted, including an identity verification module, a sitting posture detection module, an engine starting module, a monitoring module and a warning module. Through real-time monitoring of vehicle system and driver data, the vehicle safety status is determined, and when abnormalities are detected Send a warning signal when required.
It effectively ensures the safety of the vehicle during driving, prevents unauthorized use, and improves the safety and convenience of use of the vehicle.
Smart Images

Figure CN117302108B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of vehicle unlocking, and in particular to a vehicle unlocking method and system based on face recognition. Background Art
[0002] As cars become increasingly intelligent, vehicle security has become an increasingly important concern. Traditional keys and remote controls may be vulnerable to theft or duplication, so vehicle manufacturers need more secure unlocking and starting systems to prevent unauthorized entry and driving.
[0003] Modern people pursue convenience in life and no longer want to carry traditional car keys or remote controls. The vehicle unlocking system based on face recognition can provide the convenience of not having a physical key. Only the user's face recognition is needed to enter and start the car. The vehicle unlocking system is an advanced security and convenience technology that combines face recognition technology and the car unlocking system to ensure that only authorized users can start the vehicle.
[0004] The prior art has the following deficiencies:
[0005] Existing unlocking systems usually unlock the vehicle after successful facial recognition. However, while the vehicle is driving, the unlocking system has no follow-up monitoring of the vehicle status and the driver. If someone else tries to drive the vehicle again after the driver enters, the system cannot detect this unauthorized use in time, which can easily lead to theft or abuse of the vehicle. Summary of the invention
[0006] The purpose of the present invention is to provide a vehicle unlocking method and system based on face recognition to solve the deficiencies in the background technology.
[0007] In order to achieve the above-mentioned object, the present invention provides the following technical solutions: a vehicle unlocking system based on face recognition, comprising an identity authentication module, a vehicle unlocking module, a sitting posture detection module, an engine starting module, a monitoring module, and a warning module;
[0008] Identity verification module: used to identify the driver's facial features and compare the identified facial features with the information in the pre-registered user database;
[0009] Vehicle unlocking module: If the recognition is successful and matches the authorized user, the vehicle is unlocked and the sitting posture detection module is awakened;
[0010] Sitting posture detection module: used to detect the user's sitting posture data and wake up the engine start module after confirming that the user's sitting posture is correct;
[0011] Engine start module: used to start the vehicle engine and monitor the vehicle engine running status. The monitoring module is woken up after the vehicle starts;
[0012] Monitoring module: During the driving process of the vehicle, the safety data of the vehicle system and the driving data of the driver are monitored in real time, and the safety data and driving data are comprehensively analyzed to determine the safety status of the vehicle;
[0013] Warning module: When the vehicle safety status is judged to be abnormal, a warning signal is sent to the administrator based on the 4G / 5G signal.
[0014] Preferably, the monitoring module monitors the safety data of the vehicle system and the driving data of the driver in real time during the driving of the vehicle, the safety data including the frequency of vehicle system attacks, and the driving data including the frequency of no changes in facial micro-expressions, corresponding user weight deviation, driving behavior similarity and error correction factor.
[0015] Preferably, the monitoring module generates a vehicle coefficient after comprehensively calculating the vehicle system attack frequency, the frequency of no change in facial micro-expression, the corresponding user weight deviation, the driving behavior similarity and the error correction factor. , the calculation expression is:
[0016] ;
[0017] In the formula, is the frequency of vehicle system attacks, The frequency of facial micro-expressions without changes, To correspond to the user's weight deviation, is the driving behavior similarity, is the error correction factor, , , , They are the frequency of vehicle system attacks, the frequency of no change in facial micro-expressions, the corresponding user weight deviation, and the driving behavior similarity. , , , Both are greater than 0.
[0018] Preferably, the monitoring module obtains the vehicle coefficient After the value is obtained, the vehicle coefficient The value is compared with the preset safety threshold:
[0019] If the vehicle coefficient Value ≥ safety threshold, indicating that the vehicle is in good safety status;
[0020] If the vehicle coefficient A value < safety threshold indicates that the vehicle's safety status is poor and there is an abnormality.
[0021] Preferably, the calculation expression of the attack frequency of the vehicle system is:
[0022] ;
[0023] In the formula, is the frequency of vehicle system attacks, is the vehicle driving time, It is the number of times the vehicle system is attacked during driving.
[0024] Preferably, the calculation expression of the frequency of no change in facial micro-expression is:
[0025] ;
[0026] In the formula, The frequency of facial micro-expressions without changes, is the vehicle driving time, The authentication module identifies the number of times the driver's facial micro-expressions remain unchanged.
[0027] Preferably, the calculation expression corresponding to the user's weight deviation is:
[0028] ;
[0029] In the formula, To correspond to the user's weight deviation, is the actual weight of the driver, is the historical weight corresponding to the driver in the database.
[0030] Preferably, the calculation expression of the driving behavior similarity is:
[0031] ;
[0032] In the formula, is the driving behavior similarity, represents the inner product of the current driving behavior vector and the historical driving behavior vector, are the current driving behavior vector norm and the historical driving behavior vector norm respectively.
[0033] Preferably, the acquisition logic of the error correction factor C is: the error correction factor is used to determine the interval duration of the user's use of the vehicle. When the interval duration of the user's use of the vehicle is greater than the interval threshold, the error correction factor C is equal to 0; when the interval duration of the user's use of the vehicle is ≤ the interval threshold, the error correction factor C is equal to 1.
[0034] The present invention also provides a vehicle unlocking method based on face recognition, the unlocking method comprising the following steps:
[0035] S1: The recognition end recognizes the driver's facial features and compares the recognized facial features with the information in the pre-registered user database;
[0036] S2: If the recognition is successful and matches the authorized user, the vehicle is unlocked;
[0037] S3: After the vehicle is unlocked, the detection terminal detects the user's sitting posture data, and after confirming that the user's sitting posture is correct, starts the vehicle engine and monitors the vehicle engine running status;
[0038] S4: During the driving process of the vehicle, the safety data of the vehicle system and the driving data of the driver are monitored in real time, and the safety data and driving data are comprehensively analyzed to determine the safety status of the vehicle;
[0039] S5: When the vehicle safety status is judged to be abnormal, a warning signal is sent to the administrator based on the 4G / 5G signal.
[0040] In the above technical solution, the technical effects and advantages provided by the present invention are:
[0041] The present invention uses a monitoring module to monitor the safety data of the vehicle system and the driving data of the driver in real time during the driving process of the vehicle, and comprehensively analyzes the safety data and driving data to determine the safety status of the vehicle. When the safety status of the vehicle is judged to be abnormal, the warning module sends a warning signal to the administrator based on the 4G / 5G signal. After receiving the warning signal, the administrator makes corresponding management, including authorizing the vehicle to continue to be used, shouting to the driver in the car or calling the police, etc. After the vehicle is unlocked and in the driving process, the unlocking can continue to monitor the safety data of the vehicle system and the driving data of the driver to comprehensively analyze the safety status of the vehicle, and further ensure the safety of vehicle use. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present invention. For ordinary technicians in this field, other drawings can also be obtained based on these drawings.
[0043] Figure 1 It is a system module diagram of the present invention. DETAILED DESCRIPTION
[0044] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0045] Example 1: Please refer to Figure 1 As shown, the vehicle unlocking system based on face recognition described in this embodiment includes an identity authentication module, a vehicle unlocking module, a sitting posture detection module, an engine starting module, a monitoring module, and a warning module;
[0046] Identity verification module: used to identify the driver's facial features and compare the identified facial features with the information in the pre-registered user database. The comparison results are sent to the vehicle unlocking module, including the following steps:
[0047] Facial feature collection:
[0048] Drivers will need to authenticate themselves before starting the vehicle. They will need to use the vehicle's built-in camera or a dedicated facial recognition sensor to capture an image of their face.
[0049] Facial image processing:
[0050] The collected facial images are then sent to the authentication module for processing, which may involve image preprocessing such as denoising, cropping, and grayscale to ensure the accuracy of facial feature extraction.
[0051] Facial feature extraction:
[0052] The authentication module uses a feature extraction algorithm to extract unique facial features from the face image. These features can include the location and distance of key feature points such as facial contour, eyes, nose, mouth, etc.
[0053] User database comparison:
[0054] The authentication module compares the extracted facial features with the facial features stored in the pre-registered user database. The facial features in the database are the facial data of authorized drivers.
[0055] Comparison results are generated:
[0056] Based on the comparison results, the identity verification module generates a verification result. If the extracted facial features match the facial features in the database, the verification result is usually "passed", otherwise it is "failed".
[0057] The result is sent to the unlocking module:
[0058] The authentication module transmits the verification result to the vehicle unlocking module. If the verification is successful, the unlocking module will allow the vehicle to start. If the verification is not successful, the unlocking module will prevent the vehicle from starting or take other security measures.
[0059] Recording and alarming:
[0060] The system usually records the results of the authentication for later auditing. If there are multiple authentication failures, the system can also trigger an alarm to notify the administrator or car owner of possible anomalies.
[0061] Timeout processing:
[0062] If the driver does not authenticate within a specified time or authentication fails, the system can take appropriate action based on pre-defined policies, such as locking the vehicle or triggering an alarm.
[0063] Vehicle unlocking module: If the recognition is successful and matches the authorized user, the vehicle is unlocked. After the vehicle is unlocked, the sitting posture detection module is awakened, including the following steps:
[0064] Facial recognition successful:
[0065] When the driver performs facial recognition and his facial features successfully match the authorized user's information, the vehicle unlocking module will receive a successful recognition signal.
[0066] Authorized user matches:
[0067] The vehicle unlocking module verifies whether the facial recognition result matches the authorized user's information. If the match is successful, it means that the driver is an authorized user.
[0068] Unlock Vehicle:
[0069] Once facial recognition is successful and the authorized user matches, the vehicle unlocking module will perform operations to unlock the vehicle. This may involve unlocking the vehicle's door locks, starting the engine, disarming the anti-theft system, etc.
[0070] Start the sitting posture detection module:
[0071] After the vehicle is unlocked, the unlocking module may send a signal or command to start the sitting posture detection module. The sitting posture detection module may monitor the driver's sitting posture and position through in-vehicle sensors (such as seat pressure sensors or cameras).
[0072] Sitting posture detection module: used to detect the user's sitting posture data, including whether the user is fully seated and whether the seat belt is fastened. After confirming that the user's sitting posture is correct, the engine start module is awakened, including the following steps:
[0073] Sitting data collection:
[0074] The sitting posture detection module uses in-vehicle sensors (such as seat pressure sensors, seat contact sensors or cameras) to collect the driver's sitting posture data.
[0075] Detecting full seating:
[0076] The module detects whether there is sufficient weight or contact to confirm that the driver is fully seated in the seat. This can be achieved through seat sensors or other seat contact sensors.
[0077] Check seat belt status:
[0078] The module detects whether the seat belt is fastened. This can be achieved through seat sensors or special seat belt sensors. If the seat belt is not fastened, the module can provide an alarm or prompt.
[0079] Sitting data analysis:
[0080] The module will analyze the collected sitting posture data to confirm whether it meets the safe driving requirements. If the sitting posture data meets the requirements, the module will further perform the next step.
[0081] Wake up the engine to start the module:
[0082] Once the sitting posture detection module confirms that the driver's sitting posture is correct, it can send a signal or command to the engine start module to wake up the engine start module and allow the driver to start the vehicle.
[0083] Engine start module: used to start the vehicle engine and monitor the vehicle engine running status. After the vehicle starts, the monitoring module is awakened, including the following steps:
[0084] To start the vehicle engine:
[0085] The engine start module is responsible for sending a start signal to the vehicle engine to start the vehicle's internal combustion engine or electric motor.
[0086] Monitor engine running status:
[0087] Once the engine is started, the engine start module will monitor the engine's operating status. This may include monitoring key parameters such as engine speed, temperature, oil pressure, battery charge, etc.
[0088] Detecting startup problems:
[0089] The engine start module detects if there is a starting problem, such as a weak starting battery, a starter problem, or other starting faults. If there is a problem, the module may provide a warning or a start fault code.
[0090] Wake up other monitoring modules:
[0091] Once the engine is successfully started and reaches normal operating state, the engine start module can send signals or instructions to other monitoring modules to wake them up. This may include driving behavior monitoring modules, vehicle safety monitoring modules, etc.
[0092] Transmit engine operation information:
[0093] The engine start module usually transmits the engine operation information to other monitoring modules so that they can perform corresponding operations or monitoring according to the engine status.
[0094] Continuous monitoring:
[0095] The engine start module usually continuously monitors the engine's operating status to ensure that the engine remains in normal operation during driving. If an abnormal situation is detected, the module can provide a warning or take appropriate measures, such as stopping the engine or notifying the driver.
[0096] Monitoring module: During the driving process of the vehicle, it monitors the safety data of the vehicle system and the driving data of the driver in real time, and comprehensively analyzes the safety data and driving data to determine the safety status of the vehicle, and sends the judgment results to the warning module;
[0097] Warning module: When the vehicle safety status is judged to be abnormal, a warning signal is sent to the administrator based on the 4G / 5G signal. After receiving the warning signal, the administrator will make corresponding management, including authorizing the vehicle to continue to be used, speaking to the driver in the car or calling the police, etc.
[0098] This application uses the monitoring module to monitor the safety data of the vehicle system and the driver's driving data in real time during the vehicle's driving process, and comprehensively analyzes the safety data and driving data to determine the vehicle's safety status. When the vehicle's safety status is determined to be abnormal, the warning module sends a warning signal to the administrator based on the 4G / 5G signal. After receiving the warning signal, the administrator makes corresponding management, including authorizing the vehicle to continue to be used, shouting to the driver in the car or calling the police, etc. This unlocking can continue to monitor the safety data of the vehicle system and the driver's driving data after the vehicle is unlocked and during driving to comprehensively analyze the vehicle's safety status, further ensuring the safety of vehicle use.
[0099] Embodiment 2: The monitoring module monitors the safety data of the vehicle system and the driving data of the driver in real time during the driving process of the vehicle, and comprehensively analyzes the safety data and driving data to determine the safety status of the vehicle, and sends the judgment result to the warning module;
[0100] The monitoring module monitors the safety data of the vehicle system and the driving data of the driver in real time during the driving process. The safety data includes the frequency of vehicle system attacks, and the driving data includes the frequency of no change in facial micro-expressions, the corresponding user weight deviation, the driving behavior similarity and the error correction factor.
[0101] The calculation expression of the attack frequency of the vehicle system is:
[0102] ;
[0103] In the formula, is the frequency of vehicle system attacks, is the vehicle driving time, The number of times the vehicle system is attacked during driving;
[0104] The greater the frequency of attacks on the vehicle system, the greater the safety status of the vehicle:
[0105] The security status of the vehicle tends to be lower, and a high frequency of attacks means that the vehicle system is vulnerable to threats and risks, which may lead to security vulnerabilities, privacy leaks, malicious operations and other problems;
[0106] Security vulnerabilities: Frequent attacks may reveal security holes and weaknesses in vehicle systems, allowing malicious attackers to exploit these vulnerabilities to further invade vehicle systems;
[0107] Privacy leakage: Attacks may lead to the leakage of sensitive information of drivers and vehicles, such as location data, personal identification information, and driving habits;
[0108] Vehicle theft: If an attacker successfully hacks into a vehicle’s systems, they may be able to remotely control the vehicle, start the engine and drive the vehicle, resulting in the vehicle being stolen;
[0109] Accidents and dangerous situations: A remote attack could cause the vehicle to behave abnormally, such as uncontrolled acceleration or braking, which could lead to accidents or dangerous situations;
[0110] Malicious operation: Attackers may maliciously operate vehicle systems, such as shutting down the engine, locking the vehicle, disabling airbags, etc., thereby endangering the safety of the driver and passengers;
[0111] Extortion: Malicious attackers may threaten to damage vehicle systems unless a ransom is paid, which can lead to financial losses and safety issues.
[0112] Vehicles being used for criminal activities: If a vehicle is hacked and controlled, malicious attackers may use it for illegal activities such as transporting drugs or committing robberies.
[0113] The calculation expression for the frequency of no change in facial micro-expression is:
[0114] ;
[0115] In the formula, The frequency of facial micro-expressions without changes, is the vehicle driving time, The number of times the driver's facial micro-expression does not change is recognized by the identity authentication module, that is, the identity authentication module collects the driver's facial information once every certain period of time;
[0116] The greater the frequency of no change in facial micro-expressions, the fewer times the driver's facial micro-expressions change. The first possibility is that the driver is fatigued driving. The second possibility is that when unlocking the vehicle, the driver steals the owner's facial information (such as a face mold) for recognition and successfully unlocks the vehicle, resulting in no change in facial micro-expressions. However, whether it is fatigue driving or stealing facial information recognition, it will lead to a decline in the safety status of the vehicle.
[0117] The calculation expression corresponding to the user's weight deviation is:
[0118] ;
[0119] In the formula, To correspond to the user's weight deviation, is the actual weight of the driver, It is the historical weight corresponding to the driver in the database. The actual weight of the driver is obtained through the weighing sensor set on the driver's seat. When the driver completes face recognition, the unlocking system will obtain the weight data corresponding to the driver from the system database. In addition, for the safe driving of the vehicle, the driver usually does not place heavy objects on his body. Therefore, the larger the corresponding user weight deviation value, the more likely the driver is to steal the user's facial information.
[0120] The logic for obtaining the error correction factor C is as follows: Since the vehicle is usually driven by the owner more often, however, multiple user faces (family members, friends of the owner, etc.) are usually set in an unlocking system. Some users may use the vehicle only once in a long period of time. During this period, the user's weight may change significantly. Therefore, in order to avoid false alarms of the unlocking system, we set an error correction factor to determine the interval duration of the user's use of the vehicle. When the interval duration of the user's use of the vehicle is greater than the interval threshold, the error correction factor C is equal to 0. When the interval duration of the user's use of the vehicle is ≤ the interval threshold, the error correction factor C is equal to 1.
[0121] The calculation expression of driving behavior similarity is:
[0122] ;
[0123] In the formula, is the driving behavior similarity, represents the inner product of the current driving behavior vector and the historical driving behavior vector, They are the current driving behavior vector norm and the historical driving behavior vector norm respectively;
[0124] To better illustrate the above solution, we give the following example:
[0125] Suppose we have two driving behavior vectors, representing the driver's current driving behavior and historical driving behavior respectively. These vectors are multidimensional, and each dimension represents a different driving behavior feature. Let's represent these vectors with simplified two-dimensional vectors, where each vector has two features: speed and number of emergency brakes;
[0126] vector (Current driving behavior vector): (speed, number of emergency brakes) = (60 mph, 2 emergency brakes);
[0127] vector (Historical driving behavior vector): (speed, number of emergency brakes) = (45 mph, 1 emergency brake);
[0128] Now, we want to calculate the cosine similarity of these two vectors to determine how similar the driving behavior of the two drivers is.
[0129] First, the inner product of the current driving behavior vector and the historical driving behavior vector:
[0130] ;
[0131] Next, the norm of the current driving behavior vector and the norm of the historical driving behavior vector are calculated, which are their respective lengths;
[0132] ;
[0133] ;
[0134] Calculate the cosine similarity by dividing the dot product by the product of the norms of the two vectors;
[0135] ;
[0136] The value of driving behavior similarity is between -1 and 1, where 1 means that the two vectors are exactly the same, -1 means that the two vectors are in completely opposite directions, and 0 means that the two vectors are orthogonal (no similarity). In this example, the cosine similarity is close to 1, indicating that the current driving behavior vector is very similar to the historical driving behavior vector, and there is no anomaly.
[0137] The monitoring module generates the vehicle coefficient by comprehensively calculating the frequency of vehicle system attacks, the frequency of no change in facial micro-expressions, the corresponding user weight deviation, the driving behavior similarity and the error correction factor. , the calculation expression is:
[0138] ;
[0139] In the formula, is the frequency of vehicle system attacks, The frequency of facial micro-expressions without changes, To correspond to the user's weight deviation, is the driving behavior similarity, is the error correction factor, , , , They are the frequency of vehicle system attacks, the frequency of no change in facial micro-expressions, the corresponding user weight deviation, and the driving behavior similarity. , , , All are greater than 0;
[0140] By vehicle coefficient From the calculation expression, we can know that the vehicle coefficient The larger the value, the better the safety status of the vehicle. Therefore, the monitoring module calculates the vehicle coefficient After the value is obtained, the vehicle coefficient The value is compared with the preset safety threshold, as follows:
[0141] If the vehicle coefficient Value ≥ safety threshold, indicating that the vehicle is in good safety status;
[0142] If the vehicle coefficient A value < safety threshold indicates that the vehicle's safety status is poor and there is an abnormality.
[0143] When the vehicle safety status is judged to be abnormal, the warning module sends a warning signal to the administrator based on the 4G / 5G signal. After receiving the warning signal, the administrator makes corresponding management, including authorizing the vehicle to continue to be used, shouting to the driver in the car or calling the police, etc. Specifically:
[0144] Generates warning signal:
[0145] The alert module will generate an alert signal, which contains information about the abnormal situation, such as vehicle identification, abnormality type, location information, etc. This alert signal needs to be transmitted to the administrator.
[0146] Send warning signal:
[0147] Using 4G / 5G communication technology, the warning module sends the warning signal to a specific server or cloud platform, which can transmit the warning information to the administrator.
[0148] Administrators receive alerts:
[0149] The administrator needs to use a dedicated application or system to receive warning signals. This application may include real-time maps, vehicle information, driver authentication and other features to help the administrator make decisions.
[0150] Decision Making:
[0151] Based on the warning signals and related information received, the administrator needs to decide the next action. Possible actions include:
[0152] Authorize the vehicle to continue to be used.
[0153] Send an audible warning or text message to the driver in the car.
[0154] Initiate alarm procedures to notify appropriate law enforcement or emergency services.
[0155] Implementing management decisions:
[0156] The controller takes action based on its decision. This can be done by communicating with the vehicle, communicating with the driver, or through dispatch of police / rescue services.
[0157] Example 3: Please refer to Figure 1 As shown, the vehicle unlocking method based on face recognition described in this embodiment includes the following steps:
[0158] The recognition end identifies the driver's facial features and compares the identified facial features with the information in the pre-registered user database. If the recognition is successful and matches the authorized user, the vehicle is unlocked. After the vehicle is unlocked, the detection end detects the user's sitting posture data, which includes whether the user is fully seated in the seat and whether the seat belt is fastened. After confirming that the user's sitting posture is correct, the vehicle engine is started and the vehicle engine operating status is monitored. During the vehicle's driving, the vehicle system's safety data and the driver's driving data are monitored in real time, and the safety data and driving data are comprehensively analyzed to determine the vehicle's safety status. When the vehicle's safety status is judged to be abnormal, a warning signal is sent to the administrator based on the 4G / 5G signal. After receiving the warning signal, the administrator makes corresponding management, including authorizing the vehicle to continue using, shouting to the driver in the car or calling the police, etc.
[0159] The above formulas are all dimensionless and numerical calculations. The formula is a formula for the most recent real situation obtained by collecting a large amount of data and performing software simulation. The preset parameters in the formula are set by technicians in this field according to actual conditions.
[0160] The above embodiments can be implemented in whole or in part by software, hardware, firmware or any other combination. When implemented by software, the above embodiments can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website site, computer, server or data center to another website site, computer, server or data center by wired or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that contains one or more available media sets. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium. The semiconductor medium can be a solid-state hard disk.
[0161] It should be understood that the term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. A and B can be singular or plural. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship, but it may also indicate an "and / or" relationship. Please refer to the context for specific understanding.
[0162] In this application, "at least one" means one or more, and "plurality" means two or more. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can be represented by: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple.
[0163] It should be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0164] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0165] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0166] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0167] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0168] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0169] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage media include: various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories (ROM), random access memories (RAM), magnetic disks or optical disks.
[0170] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. Vehicle unlocking system based on face recognition, characterized by: It includes identity authentication module, vehicle unlocking module, sitting posture detection module, engine starting module, monitoring module and warning module; Identity verification module: used to identify the driver's facial features and compare the identified facial features with the information in the pre-registered user database; Vehicle unlocking module: If the recognition is successful and matches the authorized user, the vehicle is unlocked and the sitting posture detection module is awakened; Sitting posture detection module: used to detect the user's sitting posture data and wake up the engine start module after confirming that the user's sitting posture is correct; Engine start module: used to start the vehicle engine and monitor the vehicle engine running status. The monitoring module is woken up after the vehicle starts; Monitoring module: During the driving process of the vehicle, it monitors the safety data of the vehicle system and the driving data of the driver in real time, and comprehensively analyzes the safety data and driving data to determine the safety status of the vehicle; Warning module: When the vehicle safety status is judged to be abnormal, a warning signal is sent to the administrator based on 4G / 5G signals; The monitoring module monitors the safety data of the vehicle system and the driving data of the driver in real time during the driving process of the vehicle. The safety data includes the frequency of the vehicle system being attacked, and the driving data includes the frequency of no change in facial micro-expressions, the corresponding user weight deviation, the driving behavior similarity and the error correction factor; The monitoring module generates a vehicle coefficient by comprehensively calculating the frequency of vehicle system attacks, the frequency of no change in facial micro-expressions, the corresponding user weight deviation, the driving behavior similarity and the error correction factor. , the calculation expression is: ; In the formula, is the frequency of vehicle system attacks, The frequency of facial micro-expressions without changes, To correspond to the user's weight deviation, is the driving behavior similarity, Error correction factor, , , , They are the frequency of vehicle system attacks, the frequency of no change in facial micro-expressions, the corresponding user weight deviation, and the driving behavior similarity. , , , are both greater than 0; The monitoring module obtains the vehicle coefficient After the value is obtained, the vehicle coefficient The value is compared with the preset safety threshold: If the vehicle coefficient Value ≥ safety threshold, indicating that the vehicle is in good safety status; If the vehicle coefficient If the value is less than the safety threshold, it indicates that the vehicle's safety status is poor and there is an abnormality; The calculation expression of the attack frequency of the vehicle system is: ; In the formula, is the frequency of vehicle system attacks, is the vehicle driving time, The number of times the vehicle system is attacked during driving; The calculation expression of the frequency of no change of facial micro-expression is: ; In the formula, The frequency of facial micro-expressions without changes, is the vehicle driving time, The authentication module identifies the number of times the driver's facial micro-expressions remain unchanged; The calculation expression corresponding to the user's weight deviation is: ; In the formula, To correspond to the user's weight deviation, is the actual weight of the driver, is the historical weight corresponding to the driver in the database; The calculation expression of the driving behavior similarity is: ; In the formula, is the driving behavior similarity, represents the inner product of the current driving behavior vector and the historical driving behavior vector, are the current driving behavior vector norm and the historical driving behavior vector norm respectively.
2. The vehicle unlocking system based on face recognition according to claim 1, characterized in that: The acquisition logic of the error correction factor C is: the error correction factor is used to determine the interval time of the user's use of the vehicle. When the interval time of the user's use of the vehicle is greater than the interval threshold, the error correction factor C is equal to 0; when the interval time of the user's use of the vehicle is ≤ the interval threshold, the error correction factor C is equal to 1.
3. A vehicle unlocking method based on face recognition, implemented by the unlocking system according to claim 1 or 2, characterized in that: The unlocking method comprises the following steps: S1: The recognition end recognizes the driver's facial features and compares the recognized facial features with the information in the pre-registered user database; S2: If the recognition is successful and matches the authorized user, the vehicle is unlocked; S3: After the vehicle is unlocked, the detection terminal detects the user's sitting posture data, and after confirming that the user's sitting posture is correct, starts the vehicle engine and monitors the vehicle engine running status; S4: During the driving process of the vehicle, the safety data of the vehicle system and the driving data of the driver are monitored in real time, and the safety data and driving data are comprehensively analyzed to determine the safety status of the vehicle; S5: When the vehicle safety status is judged to be abnormal, a warning signal is sent to the administrator based on the 4G / 5G signal.
