Attendance management method and attendance management system based on face recognition
Through the attendance management method based on facial recognition, the problem of replacing punch-in and using a single device in the existing attendance system is solved, and more accurate attendance records and equipment linkage is achieved, and the effectiveness of the attendance system is improved.
Patent Information
- Application Number
- CN202211390591.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-08
- Publication Date
- 2024-11-15
- Estimated Expiration
- 2042-11-08
AI Technical Summary
There are cases of replacement clocking in in the existing attendance system and the use of attendance equipment is relatively single, resulting in low accuracy of attendance records.
Using the attendance management method based on face recognition, the employee information is obtained by obtaining face images, and the attendance time period is obtained based on employee information, and whether the check-in time point and the attendance time period match. If it matches, the door opening and check-in record instructions are obtained. If the match is not matched, the door opening command will be obtained, and the attendance equipment will be controlled to open the door and record the check-in information.
Effectively prevent the occurrence of replacement clocking, increase the use of attendance equipment, improve the accuracy of attendance records, and set attendance time periods according to different situations of business-on-the-job employees and non-business employees to improve the accuracy of judgment.
Smart Images

Figure CN115938002B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of face recognition, and in particular to an attendance management method and attendance management system based on face recognition. Background Art
[0002] With the promotion of digital transformation of human resources, most companies are gradually moving towards intelligent development. The attendance system is a very important part of the human resources transformation of enterprises. The use of the attendance system can greatly improve the operational efficiency of enterprises, so that the HR department is no longer bound by daily trivial matters, thereby improving work efficiency.
[0003] At present, there are various ways to clock in and out in the attendance system, usually using attendance equipment such as fingerprint attendance or magnetic card attendance by attendance machine. Of course, there are also the most primitive paper sign-in methods.
[0004] Although attendance records can be recorded in the above manner, in the process of clocking in and out in the above manner, there will be a situation where the clocking in and out is replaced, and the attendance equipment is used in a relatively single manner. Summary of the invention
[0005] In order to prevent the occurrence of clocking in on behalf of others as much as possible and increase the utilization of attendance equipment, the present application provides an attendance management method and attendance management system based on face recognition.
[0006] In the first aspect, the present application provides an attendance management method based on face recognition, which adopts the following technical solution:
[0007] An attendance management method based on face recognition, comprising:
[0008] Get face image;
[0009] Acquiring employee information based on the facial image;
[0010] Acquire attendance time period based on the employee information;
[0011] Recording the time point when the facial image is acquired as the clock-in time point;
[0012] Determine whether the clock-in time point matches the attendance time period;
[0013] If there is no match, obtaining a door opening instruction based on the employee information;
[0014] If they match, the door opening instruction and clock-in record instruction are obtained;
[0015] Controlling the attendance device to open the door based on the door opening instruction;
[0016] Based on the clock-in recording instruction, the attendance device is controlled to record the clock-in information of the employee.
[0017] By adopting the above technical solution, employee information is obtained based on the face image, and the attendance time period is obtained based on the employee information, and then it is determined whether the punch-in time point matches the attendance time period. If they match, the door opening instruction and the punch-in recording instruction are obtained. If they do not match, the door opening instruction is obtained. The attendance device is controlled to open the door according to the door opening instruction, and the attendance device is controlled to record the employee's punch-in information according to the punch-in recording instruction. Then, by performing attendance punching through face recognition, the occurrence of punching in by substitution can be prevented as much as possible. At the same time, the attendance device is linked with the door, which can increase the utilization of the attendance device.
[0018] Preferably, the acquiring the attendance time period based on the employee information includes:
[0019] Determining whether there is an employee on a business trip based on the employee information;
[0020] If so, obtain the business trip information of the employee on business trip;
[0021] Acquire an estimated return time period based on the business trip information;
[0022] generating a first attendance time period based on the return time period;
[0023] Get the second attendance time period of employees who are not on business trips;
[0024] The attendance time period is generated based on the first attendance time period and the second attendance time period.
[0025] By adopting the above technical solution, it is determined whether there are employees on business trips. If so, the first attendance time period is obtained, and then the second attendance time period of employees who are not on business trips is obtained, and an attendance time period is generated based on the first attendance time period and the second attendance time period. The attendance time period can be set according to different situations, and the acquisition method is more diversified.
[0026] Preferably, the determining whether the punch-in time point matches the attendance time period includes:
[0027] When there is the employee on business trip, the punch-in time point of the facial image of the employee on business trip is obtained as the first time point;
[0028] Determining whether the first time point matches the first attendance time period;
[0029] If they match, it is determined that the clock-in time point matches the attendance time period;
[0030] If they do not match, it is determined that the clock-in time point does not match the attendance time period;
[0031] The clock-in time point of the facial image of the employee who is not on a business trip is obtained as the second time point;
[0032] Determining whether the second time point matches the second attendance time period;
[0033] If they match, it is determined that the clock-in time point matches the attendance time period;
[0034] If they do not match, it is determined that the clock-in time point does not match the attendance time period.
[0035] By adopting the above technical solution, the first time point is matched with the first attendance time period, and the second time point is matched with the second attendance time period, so as to determine whether the punch-in time point matches the attendance time period. This allows for separate considerations for employees on business trips and employees who are not on business trips, thereby improving the accuracy of the judgment.
[0036] Preferably, if the first time point does not match the first attendance time period, before determining that the punch-in time point does not match the attendance time period, the method further includes:
[0037] Obtaining the actual location of the employee on business trip during the first attendance time period;
[0038] Acquire the employee's movement route within a preset time period based on the actual location;
[0039] Acquire a preset moving route based on the business trip information;
[0040] Determining whether the employee's moving route matches the preset moving route;
[0041] If they match, it is determined that the clock-in time point matches the attendance time period;
[0042] If they do not match, it is determined that the clock-in time point does not match the attendance time period.
[0043] By adopting the above technical solution, it is possible to determine whether the employee's movement route matches the preset movement route, whether the employee on a business trip is on the way back, and thus whether the employee on a business trip is on a normal business trip, and then determine whether the clock-in time point matches the attendance time period, which can further improve the accuracy of the judgment.
[0044] Preferably, before acquiring the employee's movement route within a preset time period based on the actual position, the method further includes:
[0045] Obtaining the travel location of the traveling employee;
[0046] Determining whether the actual location is the same as the business trip location;
[0047] If they are the same, it is determined that the clock-in time point matches the attendance time period;
[0048] If different, proceed to the next step.
[0049] By adopting the above technical solution, it is possible to determine whether the actual location is the same as the business trip location, and whether the business traveler is still at the business trip location. If so, the clock-in time point is determined to match the attendance time period. Otherwise, subsequent steps are performed to further improve the accuracy of the judgment.
[0050] Preferably, after recording the punch-in information of the employee based on the punch-in record instruction, the method further includes:
[0051] Obtaining employee contact information based on the employee information;
[0052] The clock-in information is sent to the employee based on the employee contact information.
[0053] By adopting the above technical solution, the clock-in information is sent to employees, so that employees can know their attendance clock-in status in time.
[0054] As a preference, it also includes:
[0055] Obtain application information of employees on business trips;
[0056] Acquire the business trip location based on the application information;
[0057] Obtaining the current location of the employee on business trip;
[0058] Determining whether the current location is the same as the business trip location;
[0059] If they are the same, a punch-in permission instruction is obtained to allow the traveling employee to obtain the facial image and punch in through the mobile terminal.
[0060] By adopting the above technical solution, when the current location is the same as the business trip location, a punch-in permission instruction is obtained to allow the business trip employee to obtain the facial image and punch in through the mobile terminal. This can prevent business travelers from punching in and out without going to the business trip location, thereby reducing the possibility of attendance loopholes.
[0061] In the second aspect, the present application provides an attendance management system based on face recognition, which adopts the following technical solutions:
[0062] An attendance management system based on face recognition, comprising:
[0063] An image acquisition module, used for acquiring a face image;
[0064] An information acquisition module, used for acquiring employee information based on the face image;
[0065] A time period acquisition module, used to acquire the attendance time period based on the employee information;
[0066] A time point acquisition module, used to record the time point when the face image is acquired as a clock-in time point;
[0067] A time judgment module is used to judge whether the punch-in time point matches the attendance time period;
[0068] A first instruction acquisition module, configured to acquire a door opening instruction based on the employee information if the clock-in time point does not match the attendance time period;
[0069] A second instruction acquisition module, for acquiring the door opening instruction and the punch-in record instruction if the punch-in time point matches the attendance time period;
[0070] The instruction control module is used to open the door based on the door opening instruction; and is also used to record the employee's punch-in information based on the punch-in record instruction.
[0071] By adopting the above technical solution, according to the information transmission between each module, the employee information is obtained according to the face image, and the attendance time period is obtained according to the employee information, and then it is determined whether the punching time point matches the attendance time period. If it matches, the door opening instruction and the punching record instruction are obtained. If it does not match, the door opening instruction is obtained. The attendance device is controlled to open the door according to the door opening instruction, and the attendance device is controlled to record the employee's punching information according to the punching record instruction. Then, by performing attendance punching through face recognition, the occurrence of punching in instead can be prevented as much as possible. At the same time, the attendance device is linked with the door, which can increase the utilization of the attendance device.
[0072] Preferably, the time period acquisition module includes:
[0073] A judgment submodule, used for judging whether there is an employee on a business trip based on the employee information;
[0074] An information acquisition submodule, for acquiring the business trip information of the employee on business trip if the employee on business trip exists;
[0075] A first time period acquisition submodule is used to acquire an estimated return time period based on the business trip information;
[0076] A first time period generating submodule, used for generating a first attendance time period based on the return time period;
[0077] The second time period acquisition submodule is used to obtain the second attendance time period of employees who are not on a business trip;
[0078] The second time period generating submodule is used to generate the attendance time period based on the first attendance time period and the second attendance time period.
[0079] By adopting the above technical solution, based on the information transmission between each sub-module, it is determined whether there are employees on business trips. If so, the first attendance time period is obtained, and then the second attendance time period of employees who are not on business trips is obtained, and the attendance time period is generated based on the first attendance time period and the second attendance time period. The attendance time period can be set according to different situations, and the acquisition method is more diversified.
[0080] In summary, the present application includes at least one of the following beneficial technical effects:
[0081] 1. Obtain employee information based on facial images, and obtain attendance time periods based on employee information, and then determine whether the punch-in time point matches the attendance time period. It can determine whether to obtain the door opening instruction and the punch-in recording instruction, or only obtain the door opening instruction. In this way, it can be determined whether the attendance device opens the door and records the employee's punch-in information at the same time. Then, by using facial recognition to punch in and out, it can prevent the occurrence of substitution punching in as much as possible. At the same time, the attendance device and the door are linked to increase the utilization of the attendance device;
[0082] 2. Determine whether there are employees on business trips. If so, obtain the first attendance time period, then obtain the second attendance time period of employees who are not on business trips, and generate an attendance time period based on the first attendance time period and the second attendance time period. The attendance time period can be set according to different situations, and the acquisition method is more diversified;
[0083] 3. Match the first time point with the first attendance time period, and match the second time point with the second attendance time period, so as to determine whether the punch-in time point matches the attendance time period. This can be done based on separate considerations for employees on business trips and employees not on business trips, thereby improving the accuracy of the judgment. BRIEF DESCRIPTION OF THE DRAWINGS
[0084] Figure 1 It is a flowchart of an attendance management method based on face recognition provided by an embodiment of the present application;
[0085] Figure 2 is a flowchart of step S11 to step S1X in one embodiment of the present application;
[0086] Figure 3 is a flowchart of step S21 to step S2X in one embodiment of the present application;
[0087] Figure 4is a flowchart of steps S31 to S3X in one embodiment of the present application;
[0088] Figure 5 is a flowchart of steps S41 to S4X in one embodiment of the present application;
[0089] Figure 6 is a flowchart of steps S51 to S5X in one embodiment of the present application;
[0090] Figure 7 is a flowchart of steps S61 to S6X in one embodiment of the present application;
[0091] Figure 8 This is a structural block diagram of an attendance management system based on face recognition provided in an embodiment of the present application.
[0092] Description of reference numerals:
[0093] 1. Image acquisition module; 2. Information acquisition module; 3. Time period acquisition module; 31. Judgment submodule; 32. Information acquisition submodule; 33. First time period acquisition submodule; 34. First time period generation submodule; 35. Second time period acquisition submodule; 36. Second time period generation submodule; 4. Time point acquisition module; 5. Time judgment module; 6. First instruction acquisition module; 7. Second instruction acquisition module; 8. Instruction control module. DETAILED DESCRIPTION
[0094] The following is combined with Figures 1 to 8 This application is described in further detail.
[0095] The embodiment of the present application discloses an attendance management method based on face recognition.
[0096] Reference Figure 1 ,Attendance management methods based on face recognition include:
[0097] S1. Obtain a face image;
[0098] S2. Obtaining employee information based on facial images;
[0099] S3. Obtain attendance time period based on employee information;
[0100] S4. Record the time point when the facial image is obtained as the clock-in time point;
[0101] S5. Determine whether the clock-in time point matches the attendance time period;
[0102] S6. If there is no match, obtain the door opening instruction based on the employee information;
[0103] S7. If a match is found, the door opening instruction and the clock-in record instruction are obtained;
[0104] S8. Based on the door opening command, the attendance device is controlled to open the door;
[0105] S9. Based on the punch-in recording instruction, control the attendance device to record the employee's punch-in information.
[0106] Current attendance devices, such as attendance machines, are usually separated from the company's access control. The attendance machine is only used for attendance, and the access control identification device, such as fingerprint recognition or face recognition device, is usually only used as a switch for the access control. The usage of these two devices is relatively simple, and the attendance machine usually uses fingerprint attendance or magnetic card attendance. This method may replace punching in, so the accuracy of attendance punching in is also low. Therefore, it is necessary to use an attendance management method based on face recognition to solve the above problems.
[0107] Specifically, firstly, the facial image is acquired through the attendance device, that is, the facial image is collected through the camera on the attendance machine, and then the employee information is acquired based on the facial image. The attendance system pre-stores the facial image of each employee and the employee's employee information. The employee information may be, for example, the employee number, name, and working time, etc. The employee information is bound to the pre-stored facial image, that is, each facial image corresponds to an employee information. When the facial image of a company employee is recognized, it can be matched with the facial image in the system to obtain the employee information of the corresponding employee.
[0108] Then, the attendance time period is obtained according to the employee information, where the attendance time period refers to the time period for each employee to punch in and out at work preset by the system. For example, if the punch-in time period is set from 6:00 a.m. to 7:59:59 a.m., then only punching in and out within this time period is considered normal attendance time, otherwise it is considered as unsuccessful attendance.
[0109] At the same time, when the system obtains a facial image, it records the time when the facial image is obtained as the punch-in time point. The acquisition method can be timed by the system's timing system. The time when the facial image is successfully collected is the punch-in time point.
[0110] Next, determine whether the punch-in time matches the attendance time period, that is, match the punch-in time of the employee who collects the face image with the corresponding attendance time period of each employee, and determine whether the punch-in time is within the attendance time period. If so, it proves that the two match, otherwise they do not match.
[0111] If there is no match, it proves that the employee's attendance punch-in is unsuccessful at this time. Therefore, the attendance system does not record the employee's punch-in information at this time. At this time, it only obtains the door opening command, and controls the company's door motor to energize and rotate forward through the door opening command, thereby controlling the door to open and allow employees to enter the company.
[0112] If there is a match, it proves that the employee has successfully clocked in and out. At this time, the door opening instruction and the clocking-in record instruction are obtained, and the company's door is opened according to the door opening instruction. According to the clocking-in record instruction, the employee information and clocking-in time at this time are recorded and stored in the attendance form pre-stored in the system, thereby realizing the record of employee clocking-in.
[0113] Furthermore, by using facial recognition to clock in and out, it is possible to prevent the occurrence of clocking in on behalf of others. At the same time, linking the attendance device with the gate can increase the utilization methods of the attendance device, so that the attendance device can not only be used for attendance, but also for controlling the opening of the gate.
[0114] Reference Figure 2 In order to set the employee's attendance time in a more humane way, in another embodiment, obtaining the attendance time period based on the employee information includes:
[0115] S11. Determine whether there are employees on business trips based on employee information;
[0116] S12. If it exists, obtain the business trip information of the employee on business trip;
[0117] S13. Obtaining the expected return time period based on the business trip information;
[0118] S14. Generate a first attendance time period based on the return time period;
[0119] S15. Obtain the second attendance time period for employees who are not on a business trip;
[0120] S16. Generate an attendance time period based on the first attendance time period and the second attendance time period.
[0121] Specifically, obtaining the attendance time period based on employee information includes the following steps: First, determine whether there are employees on business trips based on the employee information. The employee information is updated in real time. When an employee needs to go on a business trip, the employee on business trip needs to submit an electronic business trip application. When the system reads the business trip application, it is stored in the employee information. When there is a business trip application in the employee information, it proves that there is an employee on business trip, otherwise it does not exist.
[0122] If there are no employees on business trips, the attendance time periods of all employees are the same, and attendance can be recorded according to the same attendance time period. If there are employees on business trips, the business trip information of the employees on business trips can be obtained by extracting the text information in the business trip application, where the business trip information includes the identity information of the employees on business trips, the time of the business trip, the expected return time period, and the business trip address.
[0123] Then, the expected return time period is obtained according to the business trip information, that is, the expected return time period in the business trip information is directly read, and then the first attendance time period is generated according to the expected return time period, that is, the expected return time period of the employee on business trip is used as the first attendance time period. Then, the second attendance time period of the employee who is not on business trip is obtained, and the acquisition method is to directly obtain the employee information of the employee who is not on business trip, and obtain the working time point in the employee information, and generate the second attendance time period according to the working time point and the preset advance time period. For example, the working time point is 8 o'clock in the morning, and the advance time period is 2 hours in advance, that is, from 6 o'clock in the morning to 7:59:59 in the morning, which is the second attendance time period, wherein the preset advance time period can be set according to the actual situation.
[0124] Finally, the attendance time period is generated based on the first attendance time period and the second attendance time period, that is, the attendance time period includes two parts, namely the first attendance time period and the second attendance time period, and then by setting two different attendance time periods, the employee's attendance time can be divided more humanely, making the acquisition of attendance time periods more accurate and diversified.
[0125] Reference Figure 3 In order to further improve the accuracy of employee attendance punching determination, in another embodiment, determining whether the punching time point matches the attendance time period includes:
[0126] S21. When there is an employee on a business trip, the punch-in time point of the facial image of the employee on a business trip is obtained as the first time point;
[0127] S22. Determine whether the first time point matches the first attendance time period;
[0128] S23. If they match, then determine that the clock-in time point matches the attendance time period;
[0129] S24. If they do not match, it is determined that the clock-in time point does not match the attendance time period;
[0130] S25. The punch-in time point of the facial image of the employee who is not on a business trip is obtained as the second time point;
[0131] S26. Determine whether the second time point matches the second attendance time period;
[0132] S27. If they match, then determine that the punch-in time point matches the attendance time period;
[0133] S28. If they do not match, it is determined that the clock-in time point does not match the attendance time period.
[0134] Specifically, when there is an employee on a business trip, the punch-in time point of the facial image of the employee on a business trip is obtained as the first time point, and then it is determined whether the first time point matches the first attendance time period, that is, whether the first time point is within the first attendance time period. If yes, it proves that the punch-in time point of the business trip personnel matches the attendance time period, and if no, it proves that the punch-in time point of the business trip personnel does not match the attendance time period.
[0135] At the same time, the punch-in time point of the facial image of the employee who is not on a business trip is obtained as the second time point, and it is determined whether the second time point matches the second attendance time period, that is, whether the second time point is within the second attendance time period. If yes, it proves that the punch-in time point of the person who is not on a business trip matches the attendance time period; if not, it proves that the punch-in time point of the person who is not on a business trip does not match the attendance time period.
[0136] Through the above judgment method, the attendance time period of business travelers and the attendance time period of non-business travelers can be distinguished, and whether the punch-in time point matches the attendance time period can be judged separately. Separate considerations can be made based on employees on business trips and employees who are not on business trips, thereby improving the accuracy of attendance punch-in judgment.
[0137] Reference Figure 4 , the first time point does not match the first attendance time period, and it may also be because there is a large error between the expected return time period of the business traveler and the actual return time period, which will lead to an error in the match judgment between the punch-in time point and the attendance time period. In order to reduce the possibility of the above situation, in another embodiment, if the first time point does not match the first attendance time period, before determining that the punch-in time point does not match the attendance time period, it also includes:
[0138] S31. Get the actual location of the employee on business trip during the first attendance period;
[0139] S32. Obtaining employee movement routes within a preset time period based on actual location;
[0140] S33. Get a preset moving route based on the business trip information;
[0141] S34. Determine whether the employee's movement route matches the preset movement route;
[0142] S35. If they match, then determine that the clock-in time point matches the attendance time period;
[0143] S36. If they do not match, it is determined that the clock-in time point does not match the attendance time period.
[0144] Specifically, if the first time point does not match the first attendance time period, before determining that the punch-in time point does not match the attendance time period, the actual location of the traveling employee during the first attendance time period is obtained. The acquisition method is to obtain the current location of the traveling employee, that is, the actual location, in real time through the traveling employee's mobile terminal.
[0145] Then, the employee's movement route within the preset time period is obtained based on the actual position, that is, recording starts from the actual position, and the changing path of the actual position is recorded within the preset time period. The path of the trip is the employee's movement route, wherein the preset time period can be set according to actual conditions.
[0146] Next, the preset moving route is obtained based on the business trip information. The specific method may be that the business trip information includes the booked moving route, that is, the business trip information includes the starting point and end point of the business trip, as well as the specific train number. The moving route, that is, the preset moving route, can be determined based on the train number and the starting point and end point.
[0147] Then, it is determined whether the employee's movement route matches the preset movement route, that is, whether the employee's movement route coincides with the preset movement route. The specific determination method can be performed through an image recognition algorithm. If they coincide, it proves a match, that is, the employee's movement route has not shifted. If they do not coincide, it proves a mismatch, that is, the employee's movement route has shifted.
[0148] If the employee's moving route matches the preset moving route, it proves that the employee on business trip is moving on the preset route, and proves that during the first attendance time period, the employee on business trip is on the way back. Therefore, when the employee clocks in and out from the company's attendance equipment, even if the clock-in time point is not within the attendance time period, it can still be determined that the clock-in time point matches the attendance time period.
[0149] If the employee's movement route does not match the preset movement route, it proves that the employee on business trip may have done other things at this time, which will cause the employee's movement route to not match the preset movement route. Therefore, at this time, it is determined that the punch-in time point matches the attendance time period. If further judgment is required, it can be determined manually later.
[0150] It can then determine whether the employee's movement route matches the preset movement route, whether the employee on a business trip is on the way back, and whether the employee on a business trip is on a normal business trip, and then determine whether the clock-in time point matches the attendance time period, which can further improve the accuracy of the judgment.
[0151] Furthermore, in an implementable manner of this embodiment, the employee's moving distance within a preset time period can also be obtained, and then the moving speed is obtained according to the moving distance and the preset time period, and it is determined whether the moving speed matches the preset speed, wherein the preset speed is set according to the moving speed of the train number in the employee information, and the preset speed is a range value. If the moving speed is within the range value, it is proved to be matched, otherwise it is not matched.
[0152] Similarly, if they match, it proves that the punch-in time point matches the attendance time period, otherwise, it proves that the punch-in time point does not match the attendance time period. The above method can also improve the accuracy of judgment.
[0153] Reference Figure 5 In order to further improve the accuracy of the judgment, in another embodiment, before obtaining the employee's movement route within the preset time period based on the actual position, it also includes:
[0154] S41. Get the business trip location of the employee on business trip;
[0155] S42. Determine whether the actual location is the same as the business trip location;
[0156] S43. If they are the same, then determine that the clock-in time point matches the attendance time period;
[0157] S44. If different, execute the step of obtaining the employee's movement route within a preset time period based on the actual position.
[0158] Specifically, before obtaining the employee's moving route within a preset time period based on the actual location, the business trip location of the employee on business trip is obtained, that is, the employee information includes the business trip location of the employee on business trip, and the system can directly read the business trip location.
[0159] Then, it is determined whether the business trip location is the same as the actual location, so as to determine whether the business traveler is still at the business trip location during the first attendance time period. If the business trip location is the same as the actual location, it proves that the business traveler is still at the business trip location and has not moved during the first attendance time period, which also proves that the business trip task has not been completed at this time. If the business trip location is different from the actual location, it proves that the business traveler is no longer at the business trip location during the first attendance time period.
[0160] If the business trip location is the same as the actual location, when the employee clocks in from the company's attendance device, even if the clock-in time is not within the attendance time period, it can still be determined that the clock-in time matches the attendance time period.
[0161] If the business trip location is different from the actual location, further determination is required, that is, the step of obtaining the employee's movement route within the preset time period based on the actual location is executed, and then subsequent judgment can be made, which can further improve the accuracy of judging whether the punch-in time point matches the attendance time period.
[0162] Reference Figure 6 In another embodiment, after recording the punch-in information of the employee based on the punch-in recording instruction, the method further includes:
[0163] S51. Obtain employee contact information based on employee information;
[0164] S52. Send the clock-in information to the employee based on the employee's contact information.
[0165] Specifically, after recording the employee's punch-in information based on the punch-in record instruction, in order to facilitate the employees to view their attendance records, the employee's contact information can also be obtained based on the employee information. The specific method is that the employee information includes a mobile phone number, and the employee's mobile phone number is bound to the attendance punch-in public account. If the employee follows the attendance punch-in public account, the system can send the attendance punch-in information to the employee through the public account. Of course, it can also be a link to directly send the punch-in information via the mobile phone number, and the employee can click the link to enter the web page to view it.
[0166] The punch-in information includes the employee's punch-in records and whether there are any absences. Employees can confirm their attendance records through the punch-in information they send, which is convenient for subsequent attendance and card-replacement work. At the same time, the company's relevant managers can also export the attendance records for viewing.
[0167] Reference Figure 7 Further, in order to facilitate employees on business trips to clock in, in another embodiment, it also includes:
[0168] S61. Obtain application information of employees on business trip;
[0169] S62. Obtaining the business trip location based on the application information;
[0170] S63. Get the current location of the traveling employee;
[0171] S64. Determine whether the current location is the same as the business trip location;
[0172] S65. If they are the same, obtain a punch-in permission instruction to allow the traveling employee to obtain the face image and punch in via the mobile terminal.
[0173] Specifically, when there are employees on business trips, the application information of the employees on business trips is obtained, wherein the application information includes the starting point and the end point of the business trip. The system can obtain the business trip location by reading the application information, wherein the end point is the business trip location, that is, the business trip location is obtained based on the application information.
[0174] Then, the current location of the employee on business trip can be obtained through the employee's terminal device such as a mobile phone, and then it can be determined whether the current location is the same as the business trip location, so as to determine whether the employee on business trip has gone to the business trip destination, and then whether the employee is lazy.
[0175] If they are the same, a punch-in instruction is obtained to allow the employee on business trip to obtain the face image and punch in through the mobile terminal. That is, at this time, the system allows the employee on business trip to obtain the employee's personal face image through the camera of the mobile terminal and perform the punch-in operation, so that the employee on business trip can punch in for work. It should be understood that the operation of clocking in and out through the mobile terminal in this embodiment refers to the operation performed when the employee on business trip just arrives at the business trip location. The specific method can be that the application information also includes the expected arrival time period at the business trip location. Only in this arrival time period and at the business trip location can the punch-in permission instruction be obtained and the attendance punch-in can be performed.
[0176] Of course, if the current location is different from the business trip location, and / or the time of punching in is not within the arrival time period, the punching permission instruction will not be obtained. Thus, through the above method, the possibility of illegal operations such as business travelers punching in but not going on a business trip can be avoided as much as possible.
[0177] The implementation principle of the attendance management method based on face recognition in the embodiment of the present application is as follows: first, a face image is obtained, then employee information is obtained based on the face image, and the attendance time period is obtained based on the employee information. At the same time, the time point when the face image is obtained is recorded as the punch-in time point, and then it is determined whether the punch-in time point matches the attendance time period. If they match, the door opening instruction and the punch-in recording instruction are obtained. If they do not match, the door opening instruction is obtained. The attendance device is controlled to open the door according to the door opening instruction, and the attendance device is controlled to record the employee's punch-in information according to the punch-in recording instruction. Then, attendance punching in by face recognition can prevent the occurrence of punching in instead as much as possible, and the attendance device is linked with the door to increase the utilization of the attendance device.
[0178] The embodiment of the present application also discloses an attendance management system based on face recognition, which can achieve the same technical effect as the above-mentioned attendance management method based on face recognition.
[0179] Reference Figure 8 , the attendance management system based on face recognition includes:
[0180] Image acquisition module 1, used to acquire face images;
[0181] Information acquisition module 2, used to acquire employee information based on face images;
[0182] The time period acquisition module 3 is used to obtain the attendance time period based on the employee information;
[0183] The time point acquisition module 4 is used to record the time point when the face image is acquired as the clock-in time point;
[0184] Time judgment module 5, used to judge whether the punch-in time point matches the attendance time period;
[0185] A first instruction acquisition module 6, for acquiring a door opening instruction based on employee information if the clock-in time point does not match the attendance time period;
[0186] The second instruction acquisition module 7 is used to obtain the door opening instruction and the punch-in record instruction if the punch-in time point matches the attendance time period;
[0187] The command control module 8 is used to open the door based on the door opening command; and is also used to record the employee's punch-in information based on the punch-in record command.
[0188] Specifically, when clocking in for attendance, the image acquisition module 1 acquires the facial image and sends it to the information acquisition module 2 and the time point acquisition module 4 connected to it. Then the information acquisition module 2 acquires the employee information based on the facial image and sends it to the time period acquisition module 3 connected to it. Then the time period acquisition module 3 acquires the attendance time period based on the employee information and sends it to the time judgment module 5 connected to it.
[0189] Next, the time point acquisition module 4 records the time point when the face image is acquired as the punch-in time point, and sends it to the time judgment module 5 connected thereto. Then the time judgment module 5 judges whether the punch-in time point matches the attendance time period, and sends the judgment result to the first instruction acquisition module 6 and the second instruction acquisition module 7 connected thereto.
[0190] If the punch-in time does not match the attendance time period, the first instruction acquisition module 6 acquires the door opening instruction based on the employee information and sends it to the instruction control module 8 connected thereto. If the punch-in time matches the attendance time period, the second instruction acquisition module 7 acquires the door opening instruction and the punch-in record instruction and sends them to the instruction control module 8 connected thereto.
[0191] Finally, the command control module 8 opens the door according to the door opening command, and records the employee's punch-in information according to the punch-in record command. Then, by using face recognition to clock in and out, it is possible to prevent the occurrence of punch-in substitution as much as possible. At the same time, the attendance device is linked with the door, which can increase the utilization of the attendance device, so that the attendance device can not only perform attendance, but also control the opening of the door.
[0192] In another embodiment, the time period acquisition module 3 includes:
[0193] A judgment submodule 31 is used to judge whether there is an employee on a business trip based on the employee information;
[0194] The information acquisition submodule 32 is used to obtain the business trip information of the employee on business trip if there is an employee on business trip;
[0195] The first time period acquisition submodule 33 is used to acquire the expected return time period based on the business trip information;
[0196] A first time period generating submodule 34, for generating a first attendance time period based on the return time period;
[0197] The second time period acquisition submodule 35 is used to obtain the second attendance time period of employees who are not on a business trip;
[0198] The second time period generating submodule 36 is used to generate an attendance time period based on the first attendance time period and the second attendance time period.
[0199] Specifically, the information acquisition module 2 sends the employee information to the judgment submodule 31 connected thereto, and then the judgment submodule 31 judges whether there is an employee on a business trip based on the employee information, and sends the judgment result to the information acquisition submodule 32 connected thereto. Then, when there is an employee on a business trip, the information acquisition submodule 32 obtains the business trip information of the employee on a business trip, and sends it to the first time period acquisition submodule 33 connected thereto. The first time period acquisition submodule 33 obtains the expected return time period based on the business trip information, and sends it to the first time period generation submodule 34 connected thereto, and then the first time period generation submodule 34 generates a first attendance time period based on the return time period, and sends it to the second time period generation submodule 36 connected thereto.
[0200] At the same time, the second time period acquisition submodule 35 acquires the second attendance time period of employees who are not on a business trip, and sends it to the second time period generation submodule 36 connected thereto. Then the second time period generation submodule 36 generates an attendance time period according to the first attendance time period and the second attendance time period, and sends it to the time judgment module 5 connected thereto.
[0201] Furthermore, by setting two different attendance time periods, the attendance time of employees can be divided more humanely, making the acquisition of attendance time periods more accurate and diversified.
[0202] The above are all preferred embodiments of the present application, and the protection scope of the present application is not limited thereto. Therefore, any equivalent changes made according to the structure, shape, and principle of the present application should be included in the protection scope of the present application.
Claims
1. An attendance management method based on face recognition, characterized in that: include: Get face image; Acquiring employee information based on the facial image; Acquire attendance time period based on the employee information; Recording the time point when the facial image is acquired as the clock-in time point; Determine whether the clock-in time point matches the attendance time period; If there is no match, obtaining a door opening instruction based on the employee information; If they match, the door opening instruction and clock-in record instruction are obtained; Controlling the attendance device to open the door based on the door opening instruction; Based on the clock-in record instruction, the attendance device is controlled to record the clock-in information of the employee; The acquiring of the attendance time period based on the employee information includes: Determining whether there is an employee on a business trip based on the employee information; If so, obtain the business trip information of the employee on business trip; Acquire an estimated return time period based on the business trip information; generating a first attendance time period based on the return time period; Get the second attendance time period of employees who are not on business trips; generating the attendance time period based on the first attendance time period and the second attendance time period; The determining whether the punch-in time point matches the attendance time period includes: When there is the employee on business trip, the punch-in time point of the facial image of the employee on business trip is obtained as the first time point; Determining whether the first time point matches the first attendance time period; If they match, it is determined that the clock-in time point matches the attendance time period; If they do not match, it is determined that the clock-in time point does not match the attendance time period; The clock-in time point of the facial image of the employee who is not on a business trip is obtained as the second time point; Determining whether the second time point matches the second attendance time period; If they match, it is determined that the clock-in time point matches the attendance time period; If they do not match, it is determined that the clock-in time point does not match the attendance time period; If the first time point does not match the first attendance time period, before determining that the clock-in time point does not match the attendance time period, the method further includes: Obtaining the actual location of the employee on business trip during the first attendance time period; Acquire the employee's movement route within a preset time period based on the actual location; Acquire a preset moving route based on the business trip information; Determining whether the employee's moving route matches the preset moving route; If they match, it is determined that the clock-in time point matches the attendance time period; If they do not match, it is determined that the clock-in time point does not match the attendance time period.
2. The attendance management method according to claim 1, characterized in that: Before acquiring the employee's movement route within a preset time period based on the actual position, the method further includes: Obtaining the travel location of the traveling employee; Determining whether the actual location is the same as the business trip location; If they are the same, it is determined that the clock-in time point matches the attendance time period; If different, proceed to the next step.
3. The attendance management method according to claim 1, characterized in that: After recording the employee's punch-in information based on the punch-in record instruction, the method further includes: Obtaining employee contact information based on the employee information; The clock-in information is sent to the employee based on the employee contact information.
4. The attendance management method according to claim 1, characterized in that: Also includes: Obtain application information of employees on business trips; Acquire the business trip location based on the application information; Obtaining the current location of the employee on business trip; Determining whether the current location is the same as the business trip location; If they are the same, a punch-in permission instruction is obtained to allow the traveling employee to obtain the facial image and punch in through the mobile terminal.
Citation Information
Patent Citations
Position-based attendance system and method
CN102819877A
Integrated management and control method for attendance, application server and computer readable storage medium
CN108428102A
Attendance access control method and system based on distributed data interaction and wireless connection
CN111951451A
Attendance checking method and system based on Internet of Things
CN114898480A
Access control system based on palm vein recognition
WO2022095092A1
