Real-time multi-modal attendance collection platform and method supporting flexible assessment
Through multi-modal biometric identification and location information collection, combined with blockchain technology, a flexible attendance mechanism is constructed, which solves the problem of traditional attendance systems being unable to monitor employee location changes and flexible work arrangements, and achieves the authenticity and accuracy of attendance data. , which enhances the security of the attendance management system.
Patent Information
- Application Number
- CN202410642978.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-23
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2044-05-23
AI Technical Summary
Traditional attendance systems cannot effectively monitor employees' location changes and flexible work arrangements during working hours, resulting in the inability to provide comprehensive and detailed attendance data and difficulty in adapting to the special needs of the property management industry.
Adopt a multi-modal attendance platform to collect employee attendance data through biometric recognition (fingerprint and facial recognition) combined with location information, and use blockchain technology for encrypted storage, build a flexible attendance mechanism to generate random attendance requirements, and analyze employee attendance Trajectories and abnormal behaviors to calculate attendance scores.
Ensure the authenticity and accuracy of attendance data, prevent cheating, provide more accurate employee performance assessments, provide support for human resource management decisions, and enhance the security of the attendance management system.
Smart Images

Figure CN118470814B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of human resource management, and in particular to a real-time multi-modal attendance collection platform and method supporting flexible assessment. Background Art
[0002] In the property management industry, the core function of the attendance system is to monitor employee attendance and ensure work efficiency and quality. Traditional attendance systems usually rely on simple time records, such as using a clock-in machine to record employees' time in and out of get off work. Such systems ignore various situations that may occur during the workday, such as employees temporarily leaving their posts during working hours or needing to move between multiple locations to work. As a result, these systems cannot provide comprehensive and detailed attendance clock-in data, and are difficult to adapt to the special needs of the property management industry, such as flexible work arrangements and multi-location work monitoring.
[0003] The Chinese patent with publication number CN108009785A discloses an attendance method and device, which relates to the field of communication technology and can solve the problem that the existing technology cannot accurately and quickly record the attendance time of employees. The method of the invention mainly includes: obtaining the terminal identification of the terminal connected to the specified network; obtaining the correspondence between the terminal identification and the user identity information by accessing the local area network controller or the application log, the local area network controller is a controller for controlling the terminal to log in to the specified network through the user identity information, and the application log is a log generated by the preset application when the terminal logs in to the preset application through the user identity information; determining the user identity information corresponding to the terminal identification of the terminal connected to the specified network through the corresponding relationship, so as to generate an attendance record through the determined user identity information and the current time. The invention is mainly suitable for scenarios where employee attendance is performed.
[0004] The comparison document only considers the time issue of attendance from the perspective of time, and does not expand the attendance method from a multi-angle and multi-modal perspective from the perspective of location.
[0005] In view of this, the present invention proposes a real-time multimodal attendance collection platform and method that supports flexible assessment. Summary of the invention
[0006] To achieve the above-mentioned purpose, the present invention provides a real-time multimodal attendance collection platform and method that supports flexible assessment. The specific technical scheme is as follows: the method comprises: collecting employee attendance punching data through attendance equipment; encrypting and storing the attendance punching data, and using blockchain technology to store the collected attendance punching data; constructing a flexible attendance mechanism based on different types of attendance equipment; analyzing the employee's attendance punching data, analyzing the attendance punching track and performing attendance evaluation on the employee.
[0007] Preferably, the attendance equipment includes a fixed-point attendance equipment and a mobile attendance equipment;
[0008] When employees clock in and out at fixed-point equipment, they clock in and out at fixed time periods. When clocking in and out, they enter their fingerprint and facial data according to the prompts on the equipment, and compare them with the biometric data in the database. After identification, the clock in and out is completed and an attendance record is generated.
[0009] When employees clock in and out on mobile attendance devices, they clock in and out according to the instant prompts of the mobile attendance device. The mobile attendance device randomly generates clock-in requirements during working hours in units of hours, and prompts employees to clock in and out in advance in units of minutes. When clocking in and out, employees enter their fingerprint and facial data according to the prompts of the device. At the same time, the location information of the employees is collected and track detection is performed against the location information of historical attendance clock-ins.
[0010] Preferably, the employee identity information is obtained through biometric recognition technology, which includes fingerprint recognition and facial recognition; the employee's fingerprint and facial feature data are collected in advance and stored in a database, the employee's fingerprint information is collected through the fingerprint sensor of the mobile attendance device, and the employee's facial image is collected through the camera;
[0011] After collecting the employee's facial image, multiple feature points are defined according to the facial data features, each feature point is represented by a two-dimensional coordinate, and the distance between each feature point is calculated. The calculated distance is stored in the form of a vector. After the calculation is completed, it is stored in the database as the employee's facial feature vector data for comparison with the real-time collected facial data. The comparison algorithm is as follows:
[0012]
[0013] Among them, S biometric is the average similarity score of the biometric feature; K is the feature dimension; f i is the feature vector in the database; f i ' is the feature vector collected in real time; ||·|| is the Euclidean norm, which is used to quantify the distance between two vectors.
[0014] Preferably, the flexible attendance mechanism generates random attendance requirements during working hours, and the random attendance requirements include random clocking in every hour during working hours and a clocking in advance notification mechanism;
[0015] Set working hours T start , set the off-get off work time T end , working hours T start and off-get off work time T end Regular attendance punching; during working hours, randomly determine whether to punch in every hour, using the random variable Xh Make a judgment, X h Randomly select values in the range (0,1). When the random variable X h When the value is greater than 0 and less than 0.5, X h =0; when the random variable X h When the value is greater than or equal to 0.5 and less than 1, it is determined that X h =1; when X h =1, attendance punching is required. h =0, attendance punching is not required;
[0016] When it is determined that attendance punching is required within the current hour, the employee is reminded to punch in m minutes in advance on the mobile attendance device.
[0017] Preferably, when clocking in and out during working hours, the mobile attendance device simultaneously collects the location information of the clocking in and out for track detection during working hours. The algorithm flow of track detection is as follows:
[0018] Record the position of each employee when they clock in and express it as a two-dimensional coordinate (x i ,y i ), based on the employee's punch-in location sequence at N different time points {P 1 ,P 2 ,...,P N}, P i =(x i ,y i ), for the latest check-in location P current =(x current ,y current ), evaluate the similarity between the latest time attendance punch-in location and the historical punch-in location trajectory;
[0019] For each historical check-in location P i , calculate its difference with the current position P current The distance D i , and calculate the average distance D between the current location and all historical check-in locations avg :
[0020]
[0021]
[0022] Find the minimum distance between the current location and the historical check-in locations:
[0023]
[0024] Among them, the min(·) function is used to output the minimum value; based on D avg and Dmin Construct trajectory similarity score S:
[0025] S = α·exp(-β·D min )+(1-α)·exp(-γ·D avg )
[0026] Among them, α, β, and γ are parameters for adjusting the sensitivity of the similarity score, which are set according to the location requirements of the attendance punch-in. The threshold T is set. If S ≥ T, the current punch-in location matches the historical trajectory, otherwise it does not match.
[0027] Preferably, after detecting the attendance clock-in track, an attendance abnormal behavior detection algorithm is constructed to count all behaviors exceeding the maximum clock-in time and clock-in track during working hours based on the clock-in time and clock-in track of the employee, and determine whether there is abnormal behavior;
[0028] For a given attendance period, the clock-in time record {T 1 ,T 2 ,...,T N}, and the corresponding standard clock-in time point Calculate the time deviation for each punch-in: Count the number of attendance punch-ins that exceed the time anomaly threshold N time :
[0029]
[0030] Where I(·) is an indicator function, if the condition is true, the result is 1, otherwise it is 0; ΔT max The maximum time deviation allowed for attendance punching;
[0031] Assume that the work center location of the attendance punch-in location is (x work ,y work ), calculate the distance between each punch-in location and the work center: Count the number of check-ins that exceed the distance abnormality threshold N space :
[0032]
[0033] Where, ΔD max The maximum distance deviation allowed for attendance punching;
[0034] Define the time anomaly count threshold and spatial anomaly threshold like:
[0035]
[0036] Among them, when the E value is equal to 1, there is an abnormality in the employee's attendance during working hours, and when the E value is 0, there is no abnormality in the employee's attendance;
[0037] Build a flexible assessment scoring algorithm to calculate the employee's attendance score during working hours based on the employee's attendance clock-in data during working hours:
[0038]
[0039] Among them, K is the employee's attendance score during working hours, T i The actual time of clocking in. is the standard time point for attendance punching, ΔT max is the maximum time deviation allowed for attendance punching, n is the number of abnormal behaviors detected, N is the total number of attendance punching during working hours; φ and ψ are weight factors.
[0040] Preferably, the attendance punch-in records are stored by blockchain technology; private chain technology is selected to encrypt the blockchain, and each attendance record is designed as a transaction on the blockchain, each transaction contains the employee's ID, timestamp, and location information; the block is represented as a collection containing multiple fields, and each block U i :U i ={H i ,H(B i-1 ),A i ,TS i ,R i ,L i}; Among them, H i is the block number of the current block, H(B i-1 ) is the hash value of the previous block; A i It is a list of transactions in the block. Each transaction contains employee ID, timestamp, and location information. TS i is the timestamp of the current block, R i is the random number used in the proof-of-work algorithm; L i is the difficulty value of the current block;
[0041] Whenever an attendance record occurs, the system automatically creates a new transaction through a smart contract, writes the new transaction out of the blockchain, and broadcasts the newly created attendance transaction to all nodes in the blockchain network.
[0042] A real-time multimodal attendance collection platform supporting flexible assessment, which is implemented according to the real-time multimodal attendance collection method supporting flexible assessment, including a data collection module, a flexible attendance module, an attendance analysis module and a data encryption module;
[0043] The data collection module collects employee attendance clock-in data when the employee clocks in at a fixed-point attendance device or a mobile attendance device;
[0044] The flexible attendance module is used to build a flexible attendance mechanism based on different types of attendance equipment. The flexible attendance mechanism includes randomly generating attendance punch-in requirements every hour during working hours; using a combination of fingerprint recognition and facial recognition to verify employee identity; combining employee attendance punch-in location information, calculating the similarity between the employee's attendance location and the historical punch-in location through a trajectory similarity scoring formula, and judging whether the employee punches in and out in the designated work area;
[0045] The data encryption module encrypts the collected attendance punch-in data and stores it in the blockchain system to ensure the authenticity and non-tamperability of the attendance data;
[0046] The attendance analysis module is used to analyze and evaluate the attendance punching data of employees. Through the attendance abnormal behavior detection algorithm, the abnormal behaviors of employees such as lateness, early departure and absence of cards within the attendance cycle are counted; based on the employee's attendance time deviation and punching location deviation, the employee's attendance score is calculated through a flexible assessment scoring formula; employees are rated according to the attendance score to provide data support for management decisions.
[0047] An electronic device comprises: a processor and a memory, wherein the memory stores a computer program that can be called by the processor; the processor executes the real-time multimodal attendance collection method supporting flexible assessment by calling the computer program stored in the memory.
[0048] A computer-readable storage medium stores instructions, which, when executed on a computer, enable the computer to execute the real-time multi-modal attendance collection method supporting flexible assessment.
[0049] Beneficial effects of the present invention: The present invention effectively prevents attendance cheating and ensures the authenticity and accuracy of attendance punching data through multimodal biometric recognition and location information collection;
[0050] Through in-depth analysis and scoring of attendance punch-in data, the present invention allows managers to more accurately evaluate employees' work performance and attendance habits, providing support for human resource management and decision-making;
[0051] The present invention utilizes blockchain technology to encrypt and store attendance punch-in data, protecting employees' personal information and attendance records from illegal access and tampering, and enhancing the security of the entire attendance management system. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] Figure 1This is a flow chart of the real-time multi-modal attendance collection method supporting flexible assessment of the present invention;
[0053] Figure 2 This is a structural diagram of a real-time multi-modal attendance collection platform supporting flexible assessment according to the present invention;
[0054] Figure 3 is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention;
[0055] Figure 4 It is a schematic diagram of the structure of a computer-readable storage medium provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0056] In order to better understand the present invention, a more detailed description will be made of various aspects of the present invention with reference to the accompanying drawings. It should be understood that these detailed descriptions are only descriptions of exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention in any way. Throughout the specification, the same reference numerals refer to the same elements. The expression "and / or" includes any and all combinations of one or more of the associated listed items.
[0057] In the accompanying drawings, the size, dimensions and shapes of the elements have been slightly adjusted for ease of illustration. The accompanying drawings are for illustration only and are not strictly drawn to scale. As used herein, the terms "substantially", "approximately" and similar terms are used as terms of approximation, not as terms of degree, and are intended to illustrate the inherent deviations in measurements or calculations that will be recognized by those of ordinary skill in the art. In addition, in the present invention, the order in which the steps are described does not necessarily represent the order in which these processes occur in actual operation, unless otherwise specified or can be derived from the context.
[0058] It should also be understood that expressions such as "comprises", "including", "having", "includes" and / or "comprising" are open rather than closed expressions in this specification, which indicate the presence of the stated features, elements and / or components, but do not exclude the presence of one or more other features, elements, components and / or combinations thereof. In addition, when expressions such as "at least one of..." appear after a list of listed features, they modify the entire list of features rather than just the individual elements in the list. In addition, when describing embodiments of the present invention, "may" is used to mean "one or more embodiments of the present invention". And, the term "exemplary" is intended to refer to an example or illustration.
[0059] Unless otherwise defined, all words (including engineering terms and scientific and technological terms) used in this article have the same meaning as those commonly understood by ordinary technicians in the field to which the present invention belongs. It should also be understood that unless there is a clear explanation in the present invention, the words defined in the commonly used dictionary should be interpreted as having the same meaning as their meaning in the context of the relevant technology, and should not be interpreted in an idealized or overly formal sense.
[0060] It should be noted that, in the absence of conflict, the embodiments and features of the embodiments of the present invention can be combined with each other. The present invention will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0061] Example 1
[0062] Reference Figure 1 , which is the first embodiment of the present invention, provides a real-time multimodal attendance collection method that supports flexible assessment.
[0063] Collect employee attendance data through attendance equipment.
[0064] The attendance equipment includes fixed-point attendance equipment and mobile attendance equipment; when employees clock in and out at fixed-point equipment, they clock in and out at fixed time periods. When clocking in and out, they enter the fingerprint and facial data of the employees according to the prompts of the equipment, and compare them with the biometric data in the database. After correct identification, the attendance clocking in and out is completed, and an attendance clocking in record is generated.
[0065] The use of fixed-point attendance equipment can effectively ensure that employees arrive at their posts and complete attendance punching within the specified time, thereby improving the accuracy of attendance management.
[0066] When employees clock in and out on mobile attendance devices, they clock in and out according to the instant prompts of the mobile attendance device. The mobile attendance device randomly generates clock-in requirements during working hours in units of hours, and prompts employees to clock in and out in advance in units of minutes. When clocking in and out, employees enter their fingerprint and facial data according to the prompts of the device. At the same time, the location information of the employees is collected and track detection is performed against the location information of historical attendance clock-ins.
[0067] The random attendance punching method on mobile terminals can effectively prevent employees from cheating on attendance, ensure that employees are always in working state during working hours, and improve work efficiency.
[0068] Employee identity information is obtained through biometric recognition technology, which includes fingerprint recognition and facial recognition; employees' fingerprint and facial feature data are collected in advance and stored in the database, employee fingerprint information is collected through the fingerprint sensor of the mobile attendance device, and employee facial images are collected through the camera.
[0069] Using a combination of fingerprint and facial recognition for identity authentication can effectively prevent employee attendance cheating, such as punching in for others, and ensure the authenticity and reliability of attendance data.
[0070] After collecting the employee's facial image, multiple feature points are defined according to the facial data features, each feature point is represented by a two-dimensional coordinate, and the distance between each feature point is calculated. The calculated distance is stored in the form of a vector. After the calculation is completed, it is stored in the database as the employee's facial feature vector data for comparison with the real-time collected facial data. The comparison algorithm is as follows:
[0071]
[0072] Among them, S biometric is the average similarity score of the biometric feature; K is the feature dimension; f i is the feature vector in the database; f i ' is the feature vector collected in real time; ||·|| is the Euclidean norm, which is used to quantify the distance between two vectors.
[0073] By collecting the biometric data of the attendance employees, their identities are confirmed, and the time and location of the clock-in are recorded for subsequent analysis of the employee's attendance status.
[0074] Build a flexible attendance mechanism based on different types of attendance devices.
[0075] The flexible attendance mechanism generates random attendance requirements during working hours, and the random attendance requirements include random clocking in every hour during working hours and a clocking in advance notification mechanism.
[0076] The flexible attendance mechanism can break the traditional fixed-time attendance model, increase the randomness and flexibility of attendance, effectively improve employee work enthusiasm, and at the same time more comprehensively evaluate employee work performance.
[0077] Set working hours T start , set the off-get off work time T end , working hours T start and off-get off work time T end Regular attendance punching; during working hours, randomly determine whether to punch in every hour, using the random variable X h Make a judgment, X h Randomly select values in the range (0,1). When the random variable X h When the value is greater than 0 and less than 0.5, X h =0; when the random variable X h When the value is greater than or equal to 0.5 and less than 1, it is determined that Xh =1; when X h =1, attendance punching is required. h =0, attendance clocking is not required.
[0078] When it is determined that attendance punching is required within the current hour, the employee is reminded to punch in m minutes in advance on the mobile attendance device.
[0079] Based on the flexible attendance mechanism that has been constructed, employees can be effectively fixed to their jobs to avoid leaving their posts during working hours.
[0080] Analyze employees' attendance punch-in data, analyze attendance punch-in tracks and conduct attendance evaluation on employees.
[0081] When clocking in during working hours, the mobile attendance device also collects the location information of the time of clocking in and out for track detection during working hours. The algorithm flow of track detection is as follows:
[0082] Record the position of each employee when they clock in and express it as a two-dimensional coordinate (x i ,y i ), based on the employee's punch-in location sequence at N different time points {P 1 ,P 2 ,...,P N}, P i =(x i ,y i ), for the latest check-in location P current =(x current ,y current ), evaluate the similarity between the latest time attendance punch-in location and the historical punch-in location trajectory.
[0083] For each historical check-in location P i , calculate its difference with the current position P current The distance D i , and calculate the average distance D between the current location and all historical check-in locations avg :
[0084]
[0085]
[0086] Find the minimum distance between the current location and the historical check-in locations:
[0087]
[0088] Among them, the min(·) function is used to output the minimum value; based on D avg and D minConstruct trajectory similarity score S:
[0089] S = α·exp(-β·D min )+(1-α)·exp(-γ·D avg )
[0090] Among them, α, β, and γ are parameters for adjusting the sensitivity of similarity score, which are set according to the location requirements of attendance punching; α takes a value between 0 and 1, which is used to balance the minimum distance D min and the average distance D avg The contribution ratio to the similarity score; the β and γ parameters control the sensitivity of the similarity score to the distance; the value of β is usually greater than γ, making the score more sensitive to the minimum distance; in practical applications, the values of β and γ also need to consider the scale and distribution characteristics of the attendance data. For example, if the distance data of the attendance punch-in location is generally small, the values of β and γ can be appropriately increased to enhance the sensitivity of the score to the distance change; conversely, if the distance data is generally large, the values of β and γ can be appropriately reduced to avoid the score being too sensitive.
[0091] The closer S is to 1, the more similar the current check-in location is to the historical trajectory. Set a threshold T. If S ≥ T, the current check-in location matches the historical trajectory, otherwise it does not match.
[0092] After detecting the attendance clock-in track, an attendance abnormal behavior detection algorithm is constructed. Based on the clock-in time and clock-in track of employees, all behaviors that exceed the maximum clock-in time and clock-in range during working hours are counted, and it is determined whether there is abnormal behavior.
[0093] For a given attendance period, the clock-in time record {T 1 ,T 2 ,...,T N}, and the corresponding standard clock-in time point Calculate the time deviation for each punch-in: Count the number of attendance punch-ins that exceed the time anomaly threshold N time :
[0094]
[0095] Where I(·) is an indicator function, if the condition is true, the result is 1, otherwise it is 0; ΔT max The maximum time deviation allowed for attendance punching.
[0096] Assume that the work center location of the attendance punch-in location is (x work ,y work ), calculate the distance between each punch-in location and the work center: Count the number of check-ins that exceed the distance abnormality threshold Nspace :
[0097]
[0098] Where, ΔD max The maximum distance deviation allowed for attendance punching;
[0099] Define the time anomaly count threshold and spatial anomaly threshold like:
[0100]
[0101] Among them, when the E value is equal to 1, there is an abnormality in the employee's attendance during working hours, and when the E value is 0, there is no abnormality in the employee's attendance.
[0102] Build a flexible assessment scoring algorithm to calculate the employee's attendance score during working hours based on the employee's attendance clock-in data during working hours:
[0103]
[0104] Among them, K is the employee's attendance score during working hours, T i The actual time of clocking in. is the standard time point for attendance punching, ΔT max is the maximum time deviation allowed for attendance punching, n is the number of abnormal behaviors detected, N is the total number of attendance punching during working hours; φ and ψ are weight factors.
[0105] The attendance scoring mechanism can intuitively reflect the attendance status of employees during working hours, and by comparing the scores between employees, the reasons for employees with abnormal working status can be further analyzed by comparing the attendance scores, which facilitates the management of human resources.
[0106] The attendance punch-in data is encrypted and stored, and the collected attendance punch-in data is stored using blockchain technology.
[0107] The attendance punch-in records are stored through blockchain technology; private chain technology is selected to encrypt the blockchain, and each attendance record is designed as a transaction on the blockchain. Each transaction contains the employee's ID, timestamp, and location information; the block is represented as a collection of multiple fields, and each block U i :U i ={H i ,H(B i-1 ),A i ,TS i ,R i ,L i}; Among them, H iis the block number of the current block, H(B i-1 ) is the hash value of the previous block; A i It is a list of transactions in the block. Each transaction contains employee ID, timestamp, and location information. TS i is the timestamp of the current block, R i is the random number used in the proof-of-work algorithm; L i Is the difficulty value of the current block.
[0108] Whenever an attendance record occurs, the system automatically creates a new transaction through a smart contract, writes the new transaction out of the blockchain, and broadcasts the newly created attendance transaction to all nodes in the blockchain network.
[0109] The attendance punch-in data is encrypted through blockchain technology to avoid leakage and tampering of the attendance punch-in data, thereby improving the security and accuracy of the attendance punch-in data.
[0110] Example 2
[0111] Reference Figure 2 , which is the second embodiment of the present invention, provides a real-time multimodal attendance collection platform that supports flexible assessment.
[0112] The platform includes a data collection module, a flexible attendance module, an attendance analysis module and a data encryption module.
[0113] The data collection module collects the employee's attendance punch-in data when the employee clocks in at a fixed-point attendance device and a mobile attendance device.
[0114] The flexible attendance module is used to build a flexible attendance mechanism based on different types of attendance equipment. The flexible attendance mechanism includes randomly generating attendance punch-in requirements every hour during working hours; using a combination of fingerprint recognition and facial recognition to authenticate employee identities; combining employee attendance punch-in location information, calculating the similarity between the employee's attendance location and the historical punch-in location through a trajectory similarity scoring formula, and judging whether the employee punches in and out in a designated work area.
[0115] The data encryption module encrypts the collected attendance punch-in data and stores it in the blockchain system to ensure the authenticity and non-tamperability of the attendance data.
[0116] The attendance analysis module is used to analyze and evaluate the attendance punching data of employees. Through the attendance abnormal behavior detection algorithm, the abnormal behaviors of employees such as lateness, early departure and absence of cards within the attendance cycle are counted; based on the employee's attendance time deviation and punching location deviation, the employee's attendance score is calculated through a flexible assessment scoring formula; employees are rated according to the attendance score to provide data support for management decisions.
[0117] Example 3
[0118] Figure 3 FIG. 1 is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. Figure 3 As shown, according to another aspect of the present invention, an electronic device 500 is also provided. The electronic device 500 may include one or more processors and one or more memories. The memories store computer readable codes, and when the computer readable codes are executed by one or more processors, the real-time multi-modal attendance collection method supporting flexible assessment as described above can be executed.
[0119] The method or system according to the embodiment of the present invention can also be used by Figure 3 The architecture of the electronic device shown is implemented.
[0120] like Figure 3 As shown, the electronic device 500 may include a bus 501, one or more CPUs 502, a ROM 503, a RAM 504, a communication port 505 connected to a network, an input / output component 506, a hard disk 507, and the like.
[0121] The storage device in the electronic device 500, such as the ROM 503 or the hard disk 507, can store the real-time multi-modal attendance collection method supporting flexible assessment provided by the present invention.
[0122] A real-time multimodal attendance collection method supporting flexible assessment includes: employees clock in and out at fixed-point attendance devices and mobile attendance devices, and collecting employees' attendance clock-in data; building a flexible attendance mechanism based on different types of attendance devices, the flexible attendance mechanism includes randomly generating attendance clock-in requirements every hour during working hours; using a combination of fingerprint recognition and facial recognition to authenticate employee identities; combining employee attendance clock-in location information, calculating the similarity between the employee's attendance location and the historical clock-in location through a trajectory similarity scoring formula, and judging whether the employee clocks in and out in a designated work area; analyzing and evaluating employees' attendance clock-in data, and using an attendance abnormal behavior detection algorithm to count employees' abnormal behaviors such as lateness, early departure, and absence of cards during the attendance cycle; calculating employees' attendance scores based on employees' attendance time deviations and clock-in location deviations through a flexible assessment scoring formula; encrypting the collected attendance clock-in data and storing them in a blockchain system to ensure the authenticity and non-tamperability of the attendance data; and rating employees' attendance based on their attendance scores to provide data support for management decisions.
[0123] Furthermore, the electronic device 500 may also include a user interface 508. Figure 3 The architecture shown is only exemplary and can be omitted according to actual needs when implementing different devices. Figure 3 One or more components of an electronic device are shown.
[0124] Example 4
[0125] Figure 4 It is a schematic diagram of the structure of a computer-readable storage medium provided by an embodiment of the present invention.
[0126] like Figure 4 As shown, a computer readable storage medium 600 according to one embodiment of the present invention.
[0127] Computer readable storage medium 600 has computer readable instructions stored thereon.
[0128] When the computer-readable instructions are executed by a processor, the real-time multi-modal attendance collection method supporting flexible assessment according to the embodiments of the present invention described with reference to the above drawings can be executed.
[0129] The storage medium 600 includes, but is not limited to, for example, volatile memory and / or non-volatile memory. Volatile memory may include, for example, random access memory (RAM) and cache memory (cache), etc. Non-volatile memory may include, for example, read-only memory (ROM), hard disk, flash memory, etc. In addition, according to an embodiment of the present invention, the process described above with reference to the flowchart may be implemented as a computer software program.
[0130] For example, the present invention provides a non-transitory machine-readable storage medium, which stores machine-readable instructions, and the machine-readable instructions can be run by a processor to execute instructions corresponding to the method steps provided by the present invention, such as: employees clock in and out at fixed-point attendance devices and mobile attendance devices, and collect employees' attendance clock-in data; build a flexible attendance mechanism based on different types of attendance devices, and the flexible attendance mechanism includes randomly generating attendance clock-in requirements every hour during working hours; use a combination of fingerprint recognition and facial recognition to authenticate employee identities; combine employee attendance clock-in location information, and pass The similarity between the employee's attendance location and the historical punch-in location is calculated through the trajectory similarity scoring formula to determine whether the employee punches in and out in the designated work area; the employee's attendance punch-in data is analyzed and evaluated, and the abnormal behaviors of employees such as lateness, early departure and absence of cards during the attendance cycle are counted through the attendance abnormal behavior detection algorithm; based on the employee's attendance time deviation and punch-in location deviation, the employee's attendance score is calculated through the flexible assessment scoring formula; the collected attendance punch-in data is encrypted and stored in the blockchain system to ensure the authenticity and non-tamperability of the attendance data; employees are graded according to the attendance score to provide data support for management decisions. When the computer program is executed by the central processing unit (CPU), the above functions defined in the method of the present invention are executed. The method, device, and equipment of the present invention may be implemented in many ways. For example, the method, device, and equipment of the present invention may be implemented by software, hardware, firmware, or any combination of software, hardware, and firmware.
[0131] The above sequence for the steps of the method is for illustration only, and the steps of the method of the present invention are not limited to the sequence specifically described above unless otherwise specifically stated.
[0132] In addition, in some embodiments, the present invention can also be implemented as a program recorded in a recording medium, which includes machine-readable instructions for implementing the method according to the present invention. Therefore, the present invention also covers a recording medium storing a program for executing the method according to the present invention.
[0133] In addition, the parts of the above technical solutions provided in the embodiments of the present invention that are consistent with the implementation principles of the corresponding technical solutions in the prior art are not described in detail to avoid excessive redundancy.
[0134] The specific implementation modes as described above further describe the purpose, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific implementation mode of the present invention and is not intended to limit the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A real-time multi-modal attendance collection method supporting flexible assessment, characterized in that: include: Employees clock in and out at fixed-point attendance devices and mobile attendance devices, and their attendance data is collected; Construct a flexible attendance mechanism based on different types of attendance equipment, which includes randomly generating attendance punch-in requirements every hour during working hours; using a combination of fingerprint recognition and facial recognition to authenticate employee identities; combining employee attendance punch-in location information, calculating the similarity between the employee's attendance location and the historical punch-in location through a trajectory similarity scoring formula, and determining whether the employee punches in and out in the designated work area; Analyze and evaluate employees' attendance punch-in data, and use the attendance abnormal behavior detection algorithm to count employees' abnormal behaviors such as lateness, early departure, and absence of cards during the attendance cycle; calculate employees' attendance scores based on employees' attendance time deviation and punch-in location deviation through a flexible assessment scoring formula; The collected attendance punch-in data is encrypted and stored in the blockchain system to ensure the authenticity and non-tamperability of the attendance data; Rating employees' attendance based on attendance scores to provide data support for management decisions; When clocking in during working hours, the mobile attendance device also collects the location information of the time of clocking in and out for track detection during working hours. The algorithm flow of track detection is as follows: Record the position of each employee when they clock in and express it as a two-dimensional coordinate (x i ,yi), based on the employee's punch-in location sequence {P1,P2,...,P N }, P i =(x i ,y i ), for the latest check-in location P current =(x current ,y current ), evaluate the similarity between the latest time attendance punch-in location and the historical punch-in location trajectory; For each historical check-in location P i , calculate its difference with the current position P current The distance D i , and calculate the average distance D between the current location and all historical check-in locations avg : Find the minimum distance between the current location and the historical check-in locations: Among them, the min(·) function is used to output the minimum value; based on D avg and D min Construct trajectory similarity score S: S=α·exp(-β·D min )+(1-α)·exp(-γ·D avg ) Among them, α, β, and γ are parameters for adjusting the sensitivity of the similarity score; set the threshold T, if S ≥ T, the current check-in location matches the historical trajectory, otherwise it does not match; After checking the attendance clock-in track, we build an attendance abnormal behavior detection algorithm. Based on the clock-in time and clock-in track of employees, we count all behaviors that exceed the maximum clock-in time and clock-in range during working hours and determine whether there is abnormal behavior. For a given attendance period, the clock-in time records {T1, T2, ..., T N }, and the corresponding standard clock-in time point Calculate the time deviation for each punch-in: Count the number of attendance punch-ins that exceed the time anomaly threshold N time : Where I(·) is an indicator function, if the condition is true, the result is 1, otherwise it is 0; ΔT max The maximum time deviation allowed for attendance punching; Assume that the work center location of the attendance punch-in location is (x work ,y work ), calculate the distance between each punch-in location and the work center: Count the number of check-ins that exceed the distance abnormality threshold N space : Where, ΔD max The maximum distance deviation allowed for attendance punching; Define the time anomaly count threshold and spatial anomaly threshold like: Among them, when the E value is equal to 1, there is an abnormality in the employee's attendance during working hours, and when the E value is 0, there is no abnormality in the employee's attendance; Build a flexible assessment scoring algorithm to calculate the employee's attendance score during working hours based on the employee's attendance clock-in data during working hours: Among them, K is the employee's attendance score during working hours, T i The actual time of clocking in. is the standard time point for attendance punching, ΔT max is the maximum time deviation allowed for attendance punching, n is the number of abnormal behaviors detected, N is the total number of attendance punching during working hours; φ and ψ are weight factors.
2. The real-time multi-modal attendance collection method supporting flexible assessment according to claim 1 is characterized in that: The attendance equipment includes fixed-point attendance equipment and mobile attendance equipment; When employees clock in and out at fixed-point equipment, they clock in and out at fixed time periods. When clocking in and out, they enter their fingerprint and facial data according to the prompts on the equipment, and compare them with the biometric data in the database. After identification, the clock in and out is completed and an attendance record is generated. When employees clock in and out on mobile attendance devices, they clock in and out according to the instant prompts of the mobile attendance device. The mobile attendance device randomly generates clock-in requirements during working hours in units of hours, and prompts employees to clock in and out in advance in units of minutes. When clocking in and out, employees enter their fingerprint and facial data according to the prompts of the device. At the same time, the location information of the employees is collected and track detection is performed against the location information of historical attendance clock-ins.
3. The real-time multi-modal attendance collection method supporting flexible assessment according to claim 2 is characterized in that: Obtain employee identity information through biometric recognition technology, including fingerprint recognition and facial recognition; collect employee fingerprint and facial feature data in advance and store them in the database, collect employee fingerprint information through the fingerprint sensor of the mobile attendance device, and collect employee facial images through the camera; After collecting the employee's facial image, multiple feature points are defined according to the facial data features, each feature point is represented by a two-dimensional coordinate, and the distance between each feature point is calculated. The calculated distance is stored in the form of a vector. After the calculation is completed, it is stored in the database as the employee's facial feature vector data for comparison with the real-time collected facial data. The comparison algorithm is as follows: Among them, S biometric is the average similarity score of the biometric feature; K is the feature dimension; f i is the feature vector in the database; f i ' is the feature vector collected in real time; ||·|| is the Euclidean norm, which is used to quantify the distance between two vectors.
4. The real-time multi-modal attendance collection method supporting flexible assessment according to claim 3 is characterized in that: The flexible attendance mechanism generates random attendance requirements during working hours, including random clocking in every hour during working hours and a clocking in advance notification mechanism; Set working hours T start , set the off-get off work time T end , working hours T start and off-get off work time T end Regular attendance punching; during working hours, randomly determine whether to punch in every hour, using the random variable X h Make a judgment, X h In the range (0,1), when the random variable X h When the value is greater than 0 and less than 0.5, X h =0; when the random variable X h When the value is greater than or equal to 0.5 and less than 1, it is determined that X h =1; when X h =1, attendance punching is required. h =0, attendance clocking is not required; When it is determined that attendance punching is required within the current hour, the employee is reminded to punch in m minutes in advance on the mobile attendance device.
5. The real-time multi-modal attendance collection method supporting flexible assessment according to claim 4 is characterized in that: Use blockchain technology to store attendance punch-in records; use private chain technology to encrypt the blockchain, and design each attendance record as a transaction on the blockchain. Each transaction contains the employee's ID, timestamp, and location information. A block is represented as a collection of multiple fields. Each block U i :U i ={H i ,H(B i-1 ),A i ,TS i ,R i ,L i }; Among them, H i is the block number of the current block, H(B i-1 ) is the hash value of the previous block; A i It is a list of transactions in the block. Each transaction contains employee ID, timestamp, and location information. TS i is the timestamp of the current block, R i is the random number used in the proof-of-work algorithm; L i is the difficulty value of the current block; Whenever an attendance record occurs, the system automatically creates a new transaction through a smart contract, writes the new transaction into the blockchain, and broadcasts the newly created attendance transaction to all nodes in the blockchain network.
6. A real-time multimodal attendance collection platform supporting flexible assessment, which is implemented according to the real-time multimodal attendance collection method supporting flexible assessment according to any one of claims 1 to 5, characterized in that: Including data collection module, flexible attendance module, attendance analysis module and data encryption module; The data collection module collects employee attendance clock-in data when the employee clocks in at a fixed-point attendance device or a mobile attendance device; The flexible attendance module is used to build a flexible attendance mechanism based on different types of attendance equipment. The flexible attendance mechanism includes randomly generating attendance punch-in requirements every hour during working hours; using a combination of fingerprint recognition and facial recognition to verify employee identity; combining employee attendance punch-in location information, calculating the similarity between the employee's attendance location and the historical punch-in location through a trajectory similarity scoring formula, and judging whether the employee punches in and out in the designated work area; The data encryption module encrypts the collected attendance punch-in data and stores it in the blockchain system to ensure the authenticity and non-tamperability of the attendance data; The attendance analysis module is used to analyze and evaluate the attendance punching data of employees. Through the attendance abnormal behavior detection algorithm, the abnormal behaviors of employees such as lateness, early departure and absence of cards within the attendance cycle are counted; based on the employee's attendance time deviation and punching location deviation, the employee's attendance score is calculated through a flexible assessment scoring formula; employees are rated according to the attendance score to provide data support for management decisions.
7. An electronic device, characterized in that: include: A processor and a memory, wherein the memory stores a computer program that can be called by the processor; the processor executes the real-time multimodal attendance collection method supporting flexible assessment as described in any one of claims 1 to 5 by calling the computer program stored in the memory.
8. A computer-readable storage medium, characterized in that: Instructions are stored, and when the instructions are executed on a computer, the computer is caused to execute the real-time multi-modal attendance collection method supporting flexible assessment as described in any one of claims 1 to 5.
Citation Information
Patent Citations
Method and device for checking on work attendance
CN108009785A
Attendance tracking method, device thereof, terminal, server and storage medium
CN108876950A
Attendance information processing method and device, computer equipment and storage medium
CN110930107A
