Multi-tenant driver identity authentication method and device
By setting up a multi-tenant observation period in the online ride-hailing industry, analyzing the autocorrelation coefficient and error coefficient of the number of orders received by drivers, and dynamically adjusting the verification nodes, the problem of inappropriate verification node intervals in the existing technology is solved, and the detection of violations is improved. The detection efficiency ensures normal operation and protection of passengers’ rights.
Patent Information
- Application Number
- CN202410052195.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-12
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2044-01-12
AI Technical Summary
Existing driver identity verification methods in the online ride-hailing industry cannot intelligently adjust verification nodes according to driver behavior patterns, resulting in verification node intervals that are too short or too long, affecting normal work or making it difficult to screen out illegal drivers, which may have a negative impact on the company's image and the rights of passengers. Influence.
By setting a multi-tenant observation period, we collect the number of orders received by drivers every day, calculate the autocorrelation coefficient and error coefficient, analyze driver behavior patterns, and adjust verification nodes to dynamically adjust verification frequency, reduce interference to normal drivers, and avoid violations.
It realizes the dynamic adjustment of verification nodes according to the driver's behavior pattern, reduces interference to normal work, improves the detection efficiency of violations, and avoids the occurrence of violations such as non-self driving and agent registration.
Smart Images

Figure CN117932578B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of online car-hailing driver identity authentication, and specifically to a multi-tenant driver identity authentication method and device. Background Art
[0002] In the online car-hailing industry, new drivers need to submit information such as their ID card and mobile phone number when registering on the platform, and use facial recognition for verification. In the later stage, the driver's identity verification needs to be carried out regularly to avoid violations such as non-personal registration, proxy registration, and non-personal driving. In the prior art, verification nodes are generally set regularly to verify the driver's identity, but this method sets the same verification nodes for all drivers. If the interval between verification nodes is too short, it will affect the normal work of drivers who have not violated the rules. If the interval between verification nodes is too long, it will be difficult to screen out bad drivers who have violated the rules, which may affect the company's image and the rights of passengers. Therefore, a verification method that can more intelligently adjust the verification nodes according to the driver's behavior pattern is needed.
[0003] The above information disclosed in this Background section is only for enhancement of understanding of the background of the present disclosure and therefore it may contain information that does not constitute the prior art that is already known to one of ordinary skill in the art. Summary of the invention
[0004] The purpose of the present invention is to provide a multi-tenant driver identity authentication method and device to solve the problems raised in the above background technology.
[0005] To achieve the above object, the present invention provides the following technical solutions:
[0006] The multi-tenant driver authentication method includes the following steps:
[0007] S1: Set the initial verification node according to the driver's working hours, collect the driver's face image based on the verification node, and compare the face image with the preset identity information to verify the driver's identity;
[0008] S2: According to the manager's settings, several groups of observation periods with the same interval time and duration are set for the drivers;
[0009] S3: Collect the number of orders received by drivers every day during different observation periods, and divide the number of orders received during different observation periods into several groups of time series data;
[0010] S4: Analyze the driver's behavior pattern in different observation periods according to the time series data in different observation periods, generate autocorrelation coefficients and error coefficients, determine whether the driver's behavior pattern has changed, and generate a determination result;
[0011] S5: Adjust the verification node according to the determination result to realize the subsequent verification of the driver's identity.
[0012] Preferably, the logic for processing time series data within an observation period is:
[0013] The number of orders received by the driver per day is marked as Y t , the number of days in the observation period is marked as n, the subscript t represents the date number, the lag order is marked as k, and the average number of orders received by the driver per day is calculated The calculation method is:
[0014]
[0015] Based on the average number of orders Calculate the autocorrelation coefficient ρ(k) of this set of time series data i , the subscript i represents the number of the corresponding observation period, and the calculation formula is:
[0016] ρ(k) i = Cov(Y t ,Y t-k ) / std(Y t )
[0017] Where Cov represents covariance, std represents standard deviation, and the calculation formulas are:
[0018]
[0019]
[0020] According to the autocorrelation coefficient ρ(k) i Generate autocorrelation plots to analyze driver behavior patterns.
[0021] Preferably, the logic for determining whether the driver's behavior pattern has changed is:
[0022] The autocorrelation coefficient ρ(k) of the i-th observation period is i The autocorrelation coefficient ρ(k) with the observation period of the i+pth group i+p The first comparison generates the error coefficient The calculation formula is:
[0023]
[0024] The error coefficient With error threshold For comparison:
[0025] when When the driver's behavior pattern changes slightly, the result is considered normal;
[0026] when When the driver's behavior pattern is considered to have changed, the judgment result is questionable;
[0027] when When the driver's behavior pattern was considered to have changed significantly, the judgment result was that it was not him.
[0028] Preferably, the number of observation periods in a year is set to p groups.
[0029] Preferably, the logic for adjusting the verification node is:
[0030] Initially and when the result is normal, the verification node is when the driver receives the task scheduling for the first time every day;
[0031] When the judgment result is doubtful, the verification node is when the driver receives M task dispatches;
[0032] When the judgment result is that it is not the person himself, the verification node is every time the driver receives a task schedule.
[0033] A multi-tenant driver identity verification device, the verification device is used to perform the above verification method, including:
[0034] An image acquisition module, which is in communication with the image verification module and is used to acquire a facial image of the driver and send it to the image verification module for verification;
[0035] A data collection module, which is in communication with the data processing module and is used to collect the number of orders received by the driver every day and send it to the data processing module for processing;
[0036] A data processing module, the data processing module is electrically connected to the data determination module, and is used to analyze the behavior patterns of drivers in different periods according to the number of orders received per day in different periods, generate an error coefficient, and send it to the data determination module;
[0037] A data determination module, the data determination module is electrically connected to the image verification module, and is used to generate a determination result according to the error coefficient, and send the determination result to the image verification module;
[0038] An image verification module, which is electrically connected to the data storage module and is used to verify the driver's facial image and adjust the verification node according to the determination result;
[0039] A data storage module is used to store the driver's identity information.
[0040] Compared with the prior art, the beneficial effects of the present invention are as follows: the present invention sets several groups of observation periods in a year, and counts the number of orders received by the driver every day during the observation period, observes whether there is periodicity and trend in the number of orders received by the driver, and thereby analyzes the driver's behavior pattern in that month, and compares the data of the observation periods of the same month in two adjacent years, thereby verifying whether the driver's behavior pattern has changed on the basis of reducing the impact of seasonal factors, and thereby adjusting the verification node according to the judgment result, which can avoid violations such as non-driving and proxy registration on the basis of minimizing interference with the driver's normal work. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] Figure 1 It is a schematic diagram of the process of the present invention;
[0042] Figure 2 It is a schematic diagram of the module structure of the present invention. DETAILED DESCRIPTION
[0043] In order to make the objectives, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with specific embodiments.
[0044] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the present invention should be understood by people with ordinary skills in the field to which the present invention belongs. The words "first", "second" and similar words used in the present invention do not indicate any order, quantity or importance, but are only used to distinguish different components. "Include" or "comprise" and similar words mean that the elements or objects appearing before the word include the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.
[0045] Example:
[0046] See also Figure 1 , the present invention provides a technical solution:
[0047] The multi-tenant driver authentication method includes the following steps:
[0048] S1: Set the initial verification node according to the driver's working hours. The initial verification node is when the driver receives the task scheduling for the first time every day. The driver's facial image is collected at the verification node and compared with the preset identity information to verify the driver's identity. At this time, the driver can start to receive task scheduling normally. The preset identity information includes ID card information, mobile phone information, etc., which needs to be submitted by the driver himself when registering on the platform to avoid false registration.
[0049] S2: According to the settings of the platform administrator, several groups of observation periods with the same interval time and duration are set for the drivers. The number of observation periods in a year is set to p groups. For example, the observation period can be set to one month, and 4, 8, and 12 are set as three groups of observation periods respectively. The specific interval time and duration can be adjusted as needed. The shorter the interval time and the longer the duration, the greater the monitoring intensity of the driver.
[0050] S3: Collect the number of orders received by the driver every day during different observation periods, and divide the number of orders received during different observation periods into several groups of time series data.
[0051] S4: Analyze the driver's behavior pattern in different observation periods based on the time series data in different observation periods, generate autocorrelation coefficients and error coefficients, determine whether the driver's behavior pattern has changed, and generate a determination result.
[0052] S5: Adjust the verification node according to the judgment result to realize the subsequent verification of the driver's identity. By adjusting the verification node based on the judgment result, it is possible to avoid situations such as proxy registration and non-driving by the driver while minimizing the interference with the normal work of the driver.
[0053] The logic of data processing for time series data within an observation period is:
[0054] The number of orders received by the driver per day is marked as Y t , the number of days in the observation period is marked as n, the subscript t represents the date number, and the lag order is marked as k. The value of the lag order k means that this set of time series data is split into two groups, one of which is Y1~Y n-k , the other set of data is Y k+1 ~Y n , calculate the average number of orders a driver receives per day The calculation method is:
[0055]
[0056] Based on the average number of orders Calculate the autocorrelation coefficient ρ(k) of this set of time series data i, that is, the two sets of data after splitting are used for calculation. The subscript i represents the number of the corresponding observation period. The calculation formula is:
[0057] ρ(k) i = Cov(Y t ,Y t-k ) / std(Y t )
[0058] Where Cov represents covariance, std represents standard deviation, and the calculation formulas are:
[0059]
[0060]
[0061] Covariance can reflect the impact of historical data on current observation data. If the covariance is positive, it proves that the two sets of data are in a positive linear relationship, that is, when one variable increases, the other variable also tends to increase. If the covariance is negative, it is a negative linear relationship, that is, when one variable increases, the other variable tends to decrease. If the covariance is zero, it means that the linear relationship between the two sets of data is weak. After the covariance is dimensionlessly processed, the autocorrelation coefficient ρ(k) can be obtained. i , its value range is [-1,0]. The positive or negative of the autocorrelation coefficient represents the positive or negative of the linear relationship between the two sets of data. The size of the autocorrelation coefficient represents the strength of the linear relationship between the two sets of data. The larger the absolute value of the autocorrelation coefficient, the stronger the linear relationship between the two sets of data, and the more trending it is. In other words, the autocorrelation coefficient ρ(k) of drivers with different lag orders k during an observation period is i , which can reflect the trend of the driver's order acceptance during the observation period and whether there is periodicity. According to the autocorrelation coefficient ρ(k) i Generating an autocorrelation graph allows for more intuitive observation and analysis of the driver's behavior patterns in accepting orders.
[0062] The logic for determining whether the driver's behavior pattern has changed is:
[0063] The autocorrelation coefficient ρ(k) of the i-th observation period is i The autocorrelation coefficient ρ(k) with the observation period of the i+pth group i+p The first comparison generates the error coefficient That is, the autocorrelation coefficient ρ(k) of the observation period of the previous year at different lag orders k i The autocorrelation coefficient ρ(k) of the observation period corresponding to the next year i+pFor example, the autocorrelation coefficient of April 23 is compared with the autocorrelation of April 24. If the comparison is made in different months, the seasonal weather may have a greater impact on the driver's behavior pattern. By comparing the same months, the impact of seasonal weather on the results can be reduced. The calculation formula is:
[0064]
[0065] The error coefficient With error threshold For comparison, the error threshold Preset by the administrator, and
[0066] when When the number of orders received by drivers is 1, it is considered that in the same month, the trend and periodicity of the number of orders received by drivers are not much different, that is, the behavior pattern does not change much, and the result is judged as normal;
[0067] when When the driver receives a certain amount of orders, it is considered that there are certain differences in the trend and periodicity of the number of orders received by the driver in the same month, that is, there are changes in the behavior pattern, and the judgment result is questionable;
[0068] when When the driver receives an order, it is considered that there are significant differences in the trend and periodicity of the number of orders received by the driver in the same month, that is, the behavior pattern has changed significantly, and the result is that it is not the person himself.
[0069] The logic for adjusting the verification node is:
[0070] Initially and when the result is normal, the verification node is when the driver receives the task scheduling for the first time every day;
[0071] When the judgment result is doubtful, the verification node is when the driver receives M task dispatches;
[0072] When the judgment result is that it is not the person himself, the verification node is every time the driver receives a task schedule. The greater the change in the behavior pattern, the more times facial recognition is required every day. This can avoid situations such as proxy registration and non-personal driving without affecting the normal work of the driver.
[0073] See also Figure 2 The present invention also provides a multi-tenant driver identity verification device, the verification device includes a PC and an image acquisition module installed on a vehicle, and is used to perform the above verification method, including:
[0074] An image acquisition module, which includes a vehicle-mounted camera and a data transmission unit, is communicatively connected to the image verification module and is used to acquire a facial image of the driver and send it to the image verification module for verification;
[0075] PC computers also include:
[0076] A data collection module, which is in communication with the data processing module and is used to collect the number of orders received by the driver every day and send it to the data processing module for processing;
[0077] A data processing module, the data processing module is electrically connected to the data determination module, and is used to analyze the behavior patterns of drivers in different periods according to the number of orders received per day in different periods, generate an error coefficient, and send it to the data determination module;
[0078] A data determination module, the data determination module is electrically connected to the image verification module, and is used to generate a determination result according to the error coefficient, and send the determination result to the image verification module;
[0079] An image verification module, which is electrically connected to the data storage module and is used to verify the driver's facial image and adjust the verification node according to the determination result;
[0080] A data storage module is used to store the driver's identity information.
[0081] 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.
[0082] The above embodiments may be implemented in whole or in part by software, hardware, firmware or any other combination thereof. When implemented using software, the above embodiments may be implemented in whole or in part in the form of a computer program product. Those skilled in the art may appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein may be implemented by computer software, electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed by hardware or software depends on the specific application and design constraints of the technical solution.
[0083] 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, and 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.
[0084] The above description is only a specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the 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.
Claims
1. Multi-tenant driver authentication method, It is characterized in that The following steps are involved: S1: Set the initial verification node according to the driver's working hours, collect the driver's face image based on the verification node, and compare the face image with the preset identity information to verify the driver's identity; S2: According to the manager's settings, several groups of observation periods with the same interval time and duration are set for the drivers; S3: Collect the number of orders received by drivers every day during different observation periods, and divide the number of orders received during different observation periods into several groups of time series data; S4: Analyze the driver's behavior pattern in different observation periods according to the time series data in different observation periods, generate autocorrelation coefficients and error coefficients, determine whether the driver's behavior pattern has changed, and generate a determination result; S5: adjusting the verification node according to the determination result to realize the subsequent verification of the driver's identity; The logic of data processing for time series data within an observation period is: The number of orders received by the driver per day is marked as Y t , the number of days in the observation period is marked as n, the subscript t represents the date number, the lag order is marked as k, and the average number of orders received by the driver per day is calculated The calculation method is: Based on the average number of orders Calculate the autocorrelation coefficient ρ(k) of this set of time series data i , the subscript i represents the number of the corresponding observation period, and the calculation formula is: ρ(k) i =Cov(Y t ,Y t-k ) / std(Y t ) Where Cov represents covariance, std represents standard deviation, and the calculation formulas are: According to the autocorrelation coefficient ρ(k) i Generate autocorrelation plots to analyze driver behavior patterns; The logic for determining whether the driver's behavior pattern has changed is: The autocorrelation coefficient ρ(k) of the i-th observation period is i The autocorrelation coefficient ρ(k) with the observation period of the i+pth group i+p The first comparison generates the error coefficient The calculation formula is: The error coefficient With error threshold For comparison: when When the driver's behavior pattern changes slightly, the result is considered normal; when When the driver's behavior pattern is considered to have changed, the judgment result is questionable; when When the driver's behavior pattern changes significantly, the judgment result is that it is not the person himself; Set the number of observation periods in a year to p groups.
2. The multi-tenant driver identity authentication method according to claim 1, Features: The logic for adjusting the verification node is: Initially and when the result is normal, the verification node is when the driver receives the task scheduling for the first time every day; When the judgment result is doubtful, the verification node is when the driver receives M task dispatches, where M is a positive integer representing the preset dispatch number threshold; When the judgment result is that it is not the person himself, the verification node is every time the driver receives a task schedule.
3. Multi-tenant driver authentication device, Features: The verification device is used to execute the verification method according to any one of claims 1 to 2, including: An image acquisition module, which is in communication with the image verification module and is used to acquire a facial image of the driver and send it to the image verification module for verification; A data collection module, which is in communication with the data processing module and is used to collect the number of orders received by the driver every day and send it to the data processing module for processing; A data processing module, the data processing module is electrically connected to the data determination module, and is used to analyze the behavior patterns of drivers in different periods according to the number of orders received per day in different periods, generate an error coefficient, and send it to the data determination module; A data determination module, the data determination module is electrically connected to the image verification module, and is used to generate a determination result according to the error coefficient, and send the determination result to the image verification module; An image verification module, which is electrically connected to the data storage module and is used to verify the driver's facial image and adjust the verification node according to the determination result; A data storage module is used to store the driver's identity information.
Citation Information
Patent Citations
Method and system for visualizing behaviors of online car-hailing driver
CN112052972A
Method and device for ensuring consistency between actual driving online car-hailing driver and registered driver
CN114565394A
Online car-hailing driver identification method and device, server and storage medium
CN116010830A
Online car-hailing driver identity authentication method and system based on face recognition technology
CN116318884A
