A method and device for identifying personnel based on big data collision detection
Through the big data collision detection method, using the Framinche distance algorithm and deep convolutional neural network, the mapping relationship between the face and the address of the mobile device is established, which solves the problem of the inability of existing devices to form person's whereabouts and inaccurate data, and achieves Registration-free identification and whereabouts correlation improves data accuracy and operational simplicity.
Patent Information
- Application Number
- CN202111051069.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-08
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2041-09-08
AI Technical Summary
Existing equipment cannot effectively form the whereabouts of people, and when it is necessary to register people, it is cumbersome and has problems with inaccurate data.
Using a method based on big data collision detection, a preliminary mapping relationship is established by obtaining face information and mobile device address, using the Framincher distance algorithm to calculate the trajectory map, combined with a deep convolutional neural network to extract facial features, and through the probe Obtain the mobile device address, establish a collision table, and realize personnel identification and whereabouts association.
It enables effective association of personnel equipment and tracking of personnel without the need for personnel registration, improving data accuracy and ease of operation.
Smart Images

Figure CN113936124B
Abstract
Description
Technical Field
[0001] The invention relates to a personnel identification method and device based on big data collision detection, belonging to the technical field of identity identification. Background Art
[0002] With the development of science and technology, the circulation of vehicles and pedestrians has increased rapidly, and the various illegal and criminal methods that come with it have also improved. In order to improve the analysis of cases and the tracking and positioning of personnel, we have also increased our efforts in the construction of vehicle checkpoints, facial checkpoints, WIFI probes, etc. to improve our deployment capabilities.
[0003] These places generate a large amount of pedestrian, vehicle, and probe data every day. These data are generally relatively single and cannot form a consistent correlation. In some places with a single device, it is impossible to form the whereabouts of people. When personnel registration is required, it is more cumbersome and there is a problem of inaccurate data. Summary of the invention
[0004] The purpose of the present invention is to overcome the deficiencies in the prior art and to provide a method and device for personnel identification based on big data collision detection, so as to solve the problems that the existing equipment cannot form personnel whereabouts, is cumbersome when personnel registration is required, and has inaccurate data.
[0005] To achieve the above object, the present invention is implemented by adopting the following technical solutions:
[0006] In a first aspect, the present invention provides a method for identifying a person based on big data collision detection, comprising:
[0007] Acquire facial information and a mobile device address, wherein the facial information and the mobile device address are obtained by monitoring at multiple monitoring time points within a pre-selected target area;
[0008] According to the acquired facial information and mobile device address, a preliminary mapping relationship between the facial information and the mobile device address is established;
[0009] According to the preliminary mapping relationship, a face trajectory and a mobile device address trajectory are established, and a trajectory map between the two is obtained by calculating the Flamenche distance algorithm;
[0010] Calculate the Flamenche distance between the acquired face track and the mobile device address track, and compare it with a preset threshold value. If the Flamenche distance is less than the preset threshold value, it is determined to be a true mapping relationship. If it is greater than or equal to the threshold value, the face information and the mobile device address do not match, and the preliminary mapping relationship is cancelled.
[0011] Traverse all face tracks to obtain the fusion data of everyone's face information and mobile device address.
[0012] Furthermore, the facial information is collected by a facial collection device, input into a deep convolutional neural network to extract facial features, and then obtained, and the mobile device address is obtained and stored by a probe, wherein the facial collection device and the probe are pre-arranged in the target area.
[0013] Furthermore, based on the acquired facial information and mobile device address, a preliminary mapping relationship between the facial information and the mobile device address is established, including:
[0014] Divide the multiple monitoring time points into {T1, T2, ..., Tn}, where n is a positive integer;
[0015] For the monitoring time T1, collision information is generated according to the face information and the mobile device address, and the number of collisions and the collision time are recorded;
[0016] Update the collision information by using the face information and mobile device address acquired during the monitoring time T2 to Tn in sequence;
[0017] If the number of collisions reaches a preset threshold, a collision table corresponding to the face information and the mobile device address is established based on the collision information;
[0018] The face information and mobile device addresses acquired at monitoring time {T2, ..., Tn} are sequentially used to update the collision table, and the method further includes: sorting the mobile device addresses corresponding to the face information in the collision table according to the number of collisions;
[0019] Set a time threshold, extract the record with a collision time of 1 in the collision table, and delete the record if the interval between the collision time of the record and the current time exceeds the time threshold;
[0020] If the monitoring time is Ti (1≤i≤n) and the number of faces in the target area is 1, a preliminary mapping relationship is established between the face information and the mobile device address.
[0021] Furthermore, when the collision information is the face information and the mobile device address appearing together at the same time, a collision information is recorded.
[0022] Furthermore, the mobile device address includes the International Mobile Equipment Identity (IMEI), Bluetooth Mac, and WiFi Mac.
[0023] In a second aspect, the present invention provides a personnel identification device based on big data collision detection, comprising:
[0024] An acquisition unit, used to acquire face information and a mobile device address, wherein the face information and the mobile device address are acquired by monitoring at multiple monitoring time points in a pre-selected target area;
[0025] A mapping relationship establishment unit is used to establish a preliminary mapping relationship between the face information and the mobile device address according to the acquired face information and the mobile device address;
[0026] A trajectory relationship establishing unit is used to establish a face trajectory and a mobile device address trajectory according to the preliminary mapping relationship, and obtain a trajectory map between the two by calculating the Flamenche distance algorithm;
[0027] A calculation unit, used to calculate the Flamenche distance between the acquired face track and the mobile device address track, and compare it with a preset threshold value. If the Flamenche distance is less than the preset threshold value, it is determined to be a true mapping relationship. If it is greater than or equal to the threshold value, the face information and the mobile device address do not match, and the preliminary mapping relationship is cancelled;
[0028] The traversal unit is used to traverse all face tracks to obtain the face information and mobile device address fusion data of all people.
[0029] Furthermore, it also includes a face collection device and a probe pre-arranged in the target area, the face collection device is used to collect the face information, and the probe is used to obtain and store the mobile device address.
[0030] Furthermore, the mobile device address includes the International Mobile Equipment Identity (IMEI), Bluetooth Mac, and WiFi Mac.
[0031] In a third aspect, the present invention provides a personnel identification device based on big data collision detection, including a processor and a storage medium;
[0032] The storage medium is used to store instructions;
[0033] The processor is used to operate according to the instructions to execute the steps of any one of the above methods.
[0034] In a fourth aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon, which implements the steps of any of the above-mentioned methods when executed by a processor.
[0035] Compared with the prior art, the present invention has the following beneficial effects:
[0036] The present invention utilizes probes and face recognition technology and combines various algorithm technologies to perform correlation collision, which can effectively correlate personnel and equipment and track personnel's whereabouts. No personnel registration is required. Only when a person carries a mobile device through an area with a probe and a face device can the person be detected and correlated, making it convenient to track the mobile device signal and track the personnel's whereabouts in the future. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] Figure 1 It is a flow chart of a method for personnel identification based on big data collision detection provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0038] The present invention will be further described below in conjunction with the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present invention, and cannot be used to limit the protection scope of the present invention.
[0039] Example 1
[0040] This embodiment introduces a method for identifying a person based on big data collision detection, including:
[0041] Acquire facial information and a mobile device address, wherein the facial information and the mobile device address are obtained by monitoring at multiple monitoring time points within a pre-selected target area;
[0042] According to the acquired facial information and mobile device address, a preliminary mapping relationship between the facial information and the mobile device address is established;
[0043] According to the preliminary mapping relationship, a face trajectory and a mobile device address trajectory are established, and a trajectory map between the two is obtained by calculating the Flamenche distance algorithm;
[0044] Calculate the Flamenche distance between the acquired face track and the mobile device address track, and compare it with a preset threshold value. If the Flamenche distance is less than the preset threshold value, it is determined to be a true mapping relationship. If it is greater than or equal to the threshold value, the face information and the mobile device address do not match, and the preliminary mapping relationship is cancelled.
[0045] Traverse all face tracks to obtain the fusion data of everyone's face information and mobile device address.
[0046] The personnel identification method based on big data collision detection provided in this embodiment specifically involves the following steps in its application process:
[0047] See also Figure 1 As shown, the whole method flow is as follows:
[0048] Step 1: Information Collection
[0049] Facial recognition equipment and probe equipment are deployed at each checkpoint for face capture and device detection.
[0050] Select multiple monitoring time points {T1, T2, …, Tn} (n is a positive integer), use the face recognition device to capture the image of the person in the target area, extract the face information from the image, use the probe device to obtain the mobile device identification number in the target area, and store this information.
[0051] Mobile device identification number: including International Mobile Equipment Identity (IMEI), Bluetooth Mac, WiFi Mac, etc.
[0052] The facial information is obtained by extracting the color histogram and gradient histogram of the head and shoulder area in the image to form the features that characterize the face. The matching degree of the head and shoulder features is calculated between frames to obtain the facial feature value. After the face is aligned and calibrated based on feature points, it is input into the deep convolutional neural network to extract features with a feature dimension of 1024. The deep convolutional neural network consists of a residual network, a convolution layer composed of multi-dimensional convolution kernels and pooling layers, and a cosine distance loss function as an evaluation function to finally generate the convolutional neural network parameters for extracting facial features.
[0053] Step 2: Collision Relationship
[0054] Collision: When a person's face and the mobile device identification number appear together at the same time, it is recorded as a collision.
[0055] For the monitoring time T1, based on the face and mobile device information obtained in the previous step, collision information (i.e., face and mobile device identification number record information) is generated, and the number of collisions and collision time are recorded. The face and mobile device identification numbers obtained during the monitoring time T2 to Tn are used in sequence to update the collision information of the previous step.
[0056] If the number of collisions reaches the threshold set by the system, a correspondence between the face and the mobile device identification number will be established based on the collision information.
[0057] (1) Determine in sequence whether the face acquired at the monitoring time Tj (2≤j≤n) is a face extracted within the monitoring time period T1;
[0058] (2) If so, then determine in turn based on the collision information whether the mobile device identification number obtained at the monitoring time Tj has been recorded to have collided with the current face before. If there is a collision record, the number of collision records is increased by one accordingly, and the collision time is updated based on the monitoring time Tj of that time. Otherwise, the mobile device identification number is newly added to the collision information.
[0059] (3) If the face is not among the faces monitored within T1, the face and the identification number of the mobile device that collides with the face are newly added to the collision information, and the number of collisions and the collision time are recorded.
[0060] Step 3: Collision Analysis
[0061] The collision table is updated by sequentially using the faces and mobile device identification numbers acquired during the monitoring time {T2, ..., Tn}, and then the mobile device identification numbers corresponding to the faces in the collision table are sorted according to the number of collisions.
[0062] Step 4: Set a time threshold, extract the record with a collision time of 1 in the collision table, and delete the record if the interval between the collision time of the record and the current time exceeds the time threshold.
[0063] Step 5: If the monitoring time is Ti (1≤i≤n), and the number of faces in the target area is 1, a preliminary mapping relationship is established between the face and the mobile device identification number obtained by the probe. This forms a local mapping relationship;
[0064] Step 6: According to the mapping relationship, find all the trajectories of equipment and personnel, and calculate the trajectory map of the two according to the Flamenche distance algorithm.
[0065] Device trajectory: f:[a,b]→v
[0066] Human trajectory: g:[a′,b′]→v
[0067] Flaminche distance: δ F (f,g)=inf max{d(f(α(t)),g(β(t)))}αβt∈[0,1]
[0068] The understanding of this mathematical expression is that for every possible pair of describing functions α(t) and β(t), we can always find the shortest longest distance between people and equipment during the entire movement process, so this minimum distance is the Flamenche distance.
[0069] A recursive method can be used to calculate the discrete frechet distance (Flaminghe distance).
[0070] We use the matrix form to find the upper bound of the Flamenche distance, that is, for two continuous curves, find the key points as the endpoints, and then the coupling distance is the distance between the four points between the endpoints.
[0071] ca(i,j) is the Fleming's distance between points i and j.
[0072] d(ui,vj) is the Euclidean distance between points i and j.
[0073] Where: ca(i,j)=max{min(c(i-1,j),c(i-1,j-1),c(i,j-1)),d(ui,vj)}
[0074] People and equipment can reach points i and j from the above three situations. So we need to find the smallest distance among these three positions and compare it with the distance between points i and j, and then choose the largest distance as the Flamenche distance between points i and j.
[0075] ca is a matrix, an n*m matrix, where n and m are the set lengths of curves 1 and 2, that is, the number of points on the curves. It is used to store all calculation results.
[0076] The overall calculation is as follows: the calling method passes in the subscript of the last point of the two curves, and then calls recursively. The return condition is to calculate from the subscript of the last point to [0], which is the first point.
[0077] In order to match the collected mobile devices with faces, we calculate the degree of overlap between the face track and the mobile device address track. For each face track Fi in the set F, calculate the Fleming's distance with each mobile device address track Cj in the set C, and finally obtain the mobile device address track C with the smallest Fleming's distance. If the Fleming's distance between Fi and C is less than the set threshold, it is determined that Fi and C belong to the face and mobile device address of the same person, and it is determined to be a true mapping relationship. If it is greater than or equal to the threshold, it is considered that the face and mobile device address do not match, and the preliminary mapping relationship in the previous step is cancelled. Traverse all face tracks to obtain the fusion data of faces and mobile device addresses of all people.
[0078] Example 2
[0079] This embodiment provides a personnel identification device based on big data collision detection, including:
[0080] An acquisition unit, used to acquire face information and a mobile device address, wherein the face information and the mobile device address are acquired by monitoring at multiple monitoring time points in a pre-selected target area;
[0081] A mapping relationship establishment unit is used to establish a preliminary mapping relationship between the face information and the mobile device address according to the acquired face information and the mobile device address;
[0082] A trajectory relationship establishing unit is used to establish a face trajectory and a mobile device address trajectory according to the preliminary mapping relationship, and obtain a trajectory map between the two by calculating the Flamenche distance algorithm;
[0083] A calculation unit, used to calculate the Flamenche distance between the acquired face track and the mobile device address track, and compare it with a preset threshold value. If the Flamenche distance is less than the preset threshold value, it is determined to be a true mapping relationship. If it is greater than or equal to the threshold value, the face information and the mobile device address do not match, and the preliminary mapping relationship is cancelled;
[0084] The traversal unit is used to traverse all face tracks to obtain the face information and mobile device address fusion data of all people.
[0085] Furthermore, it also includes a face collection device and a probe pre-arranged in the target area, the face collection device is used to collect the face information, and the probe is used to obtain and store the mobile device address.
[0086] Furthermore, the mobile device address includes the International Mobile Equipment Identity (IMEI), Bluetooth Mac, and WiFi Mac.
[0087] Example 3
[0088] This embodiment provides a personnel identification device based on big data collision detection, including a processor and a storage medium;
[0089] The storage medium is used to store instructions;
[0090] The processor is used to operate according to the instruction to perform the steps of any one of the above methods:
[0091] Acquire facial information and a mobile device address, wherein the facial information and the mobile device address are obtained by monitoring at multiple monitoring time points within a pre-selected target area;
[0092] According to the acquired facial information and mobile device address, a preliminary mapping relationship between the facial information and the mobile device address is established;
[0093] According to the preliminary mapping relationship, a face trajectory and a mobile device address trajectory are established, and a trajectory map between the two is obtained by calculating the Flamenche distance algorithm;
[0094] Calculate the Flamenche distance between the acquired face track and the mobile device address track, and compare it with a preset threshold value. If the Flamenche distance is less than the preset threshold value, it is determined to be a true mapping relationship. If it is greater than or equal to the threshold value, the face information and the mobile device address do not match, and the preliminary mapping relationship is cancelled.
[0095] Traverse all face tracks to obtain the fusion data of everyone's face information and mobile device address.
[0096] Example 4
[0097] This embodiment provides a computer-readable storage medium, on which a computer program is stored. When the program is executed by a processor, the steps of any of the above methods are implemented:
[0098] Acquire facial information and a mobile device address, wherein the facial information and the mobile device address are obtained by monitoring at multiple monitoring time points within a pre-selected target area;
[0099] According to the acquired facial information and mobile device address, a preliminary mapping relationship between the facial information and the mobile device address is established;
[0100] According to the preliminary mapping relationship, a face trajectory and a mobile device address trajectory are established, and a trajectory map between the two is obtained by calculating the Flamenche distance algorithm;
[0101] Calculate the Flamenche distance between the acquired face track and the mobile device address track, and compare it with a preset threshold value. If the Flamenche distance is less than the preset threshold value, it is determined to be a true mapping relationship. If it is greater than or equal to the threshold value, the face information and the mobile device address do not match, and the preliminary mapping relationship is cancelled.
[0102] Traverse all face tracks to obtain the fusion data of everyone's face information and mobile device address.
[0103] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the technical principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A personnel identification method based on big data collision detection, characterized in that: include: Acquire facial information and a mobile device address, wherein the facial information and the mobile device address are obtained by monitoring at multiple monitoring time points within a pre-selected target area; According to the acquired facial information and mobile device address, a preliminary mapping relationship between the facial information and the mobile device address is established; According to the preliminary mapping relationship, a face trajectory and a mobile device address trajectory are established, and a trajectory map between the two is obtained by calculating the Flamenche distance algorithm; Calculate the Flamenche distance between the acquired face track and the mobile device address track, and compare it with a preset threshold value. If the Flamenche distance is less than the preset threshold value, it is determined to be a true mapping relationship. If it is greater than or equal to the threshold value, the face information and the mobile device address do not match, and the preliminary mapping relationship is cancelled. Traverse all face tracks to obtain the fusion data of face information and mobile device address of all people; Based on the acquired facial information and mobile device address, a preliminary mapping relationship between the facial information and the mobile device address is established, including: Dividing the multiple monitoring time points into {T1, T2, ..., Tn}, where n is a positive integer; For the monitoring time T1, collision information is generated according to the face information and the mobile device address, and the number of collisions and the collision time are recorded; Update the collision information by using the face information and mobile device address acquired during the monitoring time T2 to Tn in sequence; If the number of collisions reaches a preset threshold, a collision table corresponding to the face information and the mobile device address is established based on the collision information; The method sequentially uses the face information and mobile device addresses acquired during monitoring time {T2, ..., Tn} to update the collision table, and further includes: sorting the mobile device addresses corresponding to each face information in the collision table according to the number of collisions; Set a time threshold, extract the record with a collision time of 1 in the collision table, and delete the record if the interval between the collision time of the record and the current time exceeds the time threshold; If the monitoring time is Ti (1≤i≤n) and the number of faces in the target area is 1, a preliminary mapping relationship is established between the face information and the mobile device address.
2. The method for identifying personnel based on big data collision detection according to claim 1, characterized in that: The facial information is collected by a facial collection device, input into a deep convolutional neural network to extract facial features, and then obtained. The mobile device address is obtained and stored through a probe, wherein the facial collection device and the probe are pre-arranged in the target area.
3. The method for identifying personnel based on big data collision detection according to claim 2 is characterized in that: When the face information and the mobile device address appear together at the same time, a collision information is recorded.
4. The method for identifying personnel based on big data collision detection according to claim 3 is characterized in that: The mobile device address includes the International Mobile Equipment Identity (IMEI), Bluetooth Mac, and WiFi Mac.
5. A personnel identification device based on big data collision detection, characterized in that: include: An acquisition unit, used to acquire face information and a mobile device address, wherein the face information and the mobile device address are acquired by monitoring at multiple monitoring time points in a pre-selected target area; A mapping relationship establishment unit is used to establish a preliminary mapping relationship between the face information and the mobile device address according to the acquired face information and the mobile device address; A trajectory relationship establishing unit is used to establish a face trajectory and a mobile device address trajectory according to the preliminary mapping relationship, and obtain a trajectory map between the two by calculating the Flamenche distance algorithm; A calculation unit, used to calculate the Flamenche distance between the acquired face track and the mobile device address track, and compare it with a preset threshold value. If the Flamenche distance is less than the preset threshold value, it is determined to be a true mapping relationship. If it is greater than or equal to the threshold value, the face information and the mobile device address do not match, and the preliminary mapping relationship is cancelled; A traversal unit is used to traverse all face tracks to obtain the face information and mobile device address fusion data of all persons; In the mapping relationship establishment unit, a preliminary mapping relationship between the face information and the mobile device address is established according to the acquired face information and the mobile device address, including: Dividing the multiple monitoring time points into {T1, T2, ..., Tn}, where n is a positive integer; For the monitoring time T1, collision information is generated according to the face information and the mobile device address, and the number of collisions and the collision time are recorded; Update the collision information by using the face information and mobile device address acquired during the monitoring time T2 to Tn in sequence; If the number of collisions reaches a preset threshold, a collision table corresponding to the face information and the mobile device address is established based on the collision information; The method sequentially uses the face information and mobile device addresses acquired during monitoring time {T2, ..., Tn} to update the collision table, and further includes: sorting the mobile device addresses corresponding to each face information in the collision table according to the number of collisions; Set a time threshold, extract the record with a collision time of 1 in the collision table, and delete the record if the interval between the collision time of the record and the current time exceeds the time threshold; If the monitoring time is Ti (1≤i≤n) and the number of faces in the target area is 1, a preliminary mapping relationship is established between the face information and the mobile device address.
6. The personnel identification device based on big data collision detection according to claim 5 is characterized in that: It also includes a face collection device and a probe pre-arranged in the target area, the face collection device is used to collect the face information, and the probe is used to obtain and store the mobile device address.
7. The personnel identification device based on big data collision detection according to claim 6 is characterized in that: The mobile device address includes the International Mobile Equipment Identity (IMEI), Bluetooth Mac, and WiFi Mac.
8. A personnel identification device based on big data collision detection, characterized in that: including processor and storage medium; The storage medium is used to store instructions; The processor is used to operate according to the instructions to execute the steps of the method according to any one of claims 1 to 4.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the method according to any one of claims 1 to 4 are implemented.
