Automated management system and method for attendance information for human resources
By designing an automated management system for attendance information for human resources, the problem that the existing system cannot adjust the scheduling according to the actual situation of employees is solved, and intelligent monitoring of employee attendance information and optimization of scheduling situations is achieved, improving the efficiency and adaptability of employee scheduling.
Patent Information
- Application Number
- CN202210372285.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-11
- Publication Date
- 2025-05-09
- Estimated Expiration
- 2042-04-11
AI Technical Summary
The existing attendance information management system cannot make shift adjustments based on the actual situation of employees, resulting in insufficient intelligent management.
An automatic management system for attendance information for human resources is designed, including attendance information acquisition module, attendance abnormal information acquisition module, intelligent shift scheduling module, etc. Through the collaboration of these modules, the monitoring of employee attendance information and intelligent management of shift scheduling situation is realized.
It realizes intelligent monitoring and analysis of employee attendance information, determines employee absence periods and switch periods, and analyzes the impact of these periods on the business, thereby optimizing employee scheduling results to make them more in line with employees' living habits and ensuring work efficiency.
Smart Images

Figure CN114862339B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of attendance management, in particular to an automatic attendance information management system and method for human resources. Background Art
[0002] With the rapid development of computer technology, people are using it more and more widely, and it plays an increasingly important role in people's production and life. For enterprises, people can obtain people's attendance information through computer technology, which makes it easier for enterprises to monitor employees' working hours.
[0003] The existing attendance information management system simply monitors the attendance of employees and cannot change the shift schedule of employees according to their actual situation. Therefore, the existing attendance information management system is not very intelligent.
[0004] In view of the above situation, we need an automated attendance information management system and method for human resources. Summary of the invention
[0005] The purpose of the present invention is to provide an automated attendance information management system and method for human resources to solve the problems raised in the above background technology.
[0006] In order to solve the above technical problems, the present invention provides the following technical solutions: an automatic management system for attendance information for human resources, comprising:
[0007] An attendance information acquisition module, which is used to obtain the attendance information of each employee, and the attendance information includes the attendance time period;
[0008] An attendance abnormality information acquisition module, wherein the attendance abnormality information acquisition module obtains the attendance abnormality information corresponding to each employee according to the attendance information corresponding to each employee and the corresponding shift schedule of the corresponding employee;
[0009] The intelligent scheduling module includes an absence time period planning module, a time period change business impact value acquisition module, a time period change priority confirmation module and a scheduling planning determination module.
[0010] The absence time period planning module obtains each absence time period of each employee in the first time period, and obtains a corresponding replacement time period of each employee's corresponding absence time period;
[0011] The transfer time period business impact value acquisition module analyzes the impact value of the employee's transfer time period on the business relative to the absence time period according to the employee's corresponding position;
[0012] The transfer time period priority confirmation module is used to determine the priority of each employee corresponding to the same transfer time period;
[0013] The shift planning determination module determines the shift scheduling result for each employee according to the priority of each employee in the time period priority confirmation module.
[0014] The present invention realizes the monitoring of employee attendance information through the collaborative cooperation of various modules, and further analyzes the monitored employee attendance data, determines the employee's adjusted absence time period and the corresponding exchange time period, and analyzes the impact value of the exchange time period on the business, thereby obtaining the priority of each employee corresponding to the same exchange time period, confirming the scheduling results of each employee, and realizing intelligent management of employee scheduling.
[0015] Furthermore, the attendance abnormality information acquisition module records the starting working time of each day in the employee's corresponding shift schedule as the first time point.
[0016] The starting and ending time of each day in the employee's corresponding shift schedule is recorded as the second time point.
[0017] The attendance abnormality information acquisition module obtains the distance of each employee from the attendance point at the first time point and the distance of each employee from the attendance point at the second time point every day.
[0018] The abnormal attendance information includes the absence time period, the distance between the employee's first time point and the second time point and the attendance point on the day of abnormal attendance, and the absence time period is the employee's late arrival time period and the employee's early departure time period.
[0019] The absence time period obtained by the present invention refers to the time period corresponding to the employee's late arrival at work and the time period when the employee leaves early before leaving get off work, that is, what is monitored is the beginning and end of the daily shift schedule. For example, if an employee comes to work on time and is absent during the shift but returns before leaving get off work, it is not within the monitoring scope of the absence time period. The first time point and the second time point are set to monitor the distance between the two time points and the attendance point, thereby providing a data reference for the subsequent acquisition of the average moving speed of employees during commuting.
[0020] Furthermore, the absence time period planning module obtains each absence time period of each employee in the first time period, counts each absence time period corresponding to each employee in the first time period, and numbers each employee.
[0021] Get the function fn1(t n2 ), where fn1(t n2 ) n2The value range of is the shift schedule of the n1th employee on the n2th day in the first time period.
[0022] When the n1th employee is in the n2th day of the first time period, t n2 When the attendance status is absent, then fn1(t n2 )=1;
[0023] When the n1th employee is in the n2th day of the first time period, t n2 When the attendance status is attendance, then fn1(t n2 )=0;
[0024] The functions of the attendance status of the n1th employee changing with time when n2 is different in the first time period are integrated to obtain the first attendance status function Fn1(t) of the n1th employee.
[0025] When n2 is obtained for different values, the n1th employee is in the first time period t n2 The minimum value of is denoted as tmin.
[0026] When n2 is obtained for different values, the n1th employee is in the first time period t n2 The maximum value of is denoted as tmax,
[0027] Then the value range of t in Fn1(t) is tmin≤t≤tmax;
[0028] For the n1th employee, when n2 has different values in the first time period, corresponding to fn1(t n2 ) n2 The value range of fn1(t n2 ) is expanded to correspond to the function gn1(t n2 ), where gn1(t n2 ) n2 The value range is tmin≤t n2 ≤tmax,
[0029] When gn1(t n2 ) n2 With fn1(t n2 ) n2 When gn1(t n2 )=fn1(t n2 ),
[0030] When gn1(t n2 ) n2 With fn1(t n2 ) n2 When they are not equal, gn1(t n2 )=0;
[0031] Said Where n3 is the total number of days in the first time period.
[0032] The absence time period planning module of the present invention obtains fn1(t n2 ) and then further obtain gn1(t n2 ),for gn1(t n2 ) n2 The value range of gn1(t n2 ) n2 The expanded value range is the union of the time periods corresponding to the morning shift, the afternoon shift, and the evening shift of the employees; get gn1(t n2 ) is to ensure that gn1(t n2 ) n2 The value range of is the same as that of t in Fn1(t), and then through In the process of obtaining Fn1(t), ensure that the corresponding function values of Fn1(t) are meaningful when t is different; set t n2 When the attendance status is different, fn1(t n2 )=1 or 0, because the attendance status of employees is distinguished by function, and fn1(t n2 ) is set to 0, and the obtained Fn1(t) is not affected by the total number of days in the first time period, so that when the attendance status corresponding to the same time t in different days of the first time period is all attendance, the corresponding Fn1(t) value is still 0.
[0033] Furthermore, the absence time period planning module compares the first attendance status function Fn1(t) of the n1th employee with the first threshold, and selects the value range of t corresponding to which Fn1(t) is greater than or equal to the first threshold, which is recorded as tn1.
[0034] Get the time periods of absence of the n1th employee in the first time period that overlap with tn1, and get the first absence time period set corresponding to the n1th employee. Add the absence time periods of the n1th employee in the first time period to a blank set one by one, and get the second absence time period set.
[0035] Obtain the relationship between the absence time periods corresponding to each element in the first absence time period set corresponding to the n1th employee, associate each element whose corresponding time is the same day in the first time period, and obtain the exchange time period corresponding to each element in the first absence time period set corresponding to the n1th employee.
[0036] The absence time period planning module of the present invention compares the first attendance status function Fn1(t) of the n1th employee with the first threshold value in order to preliminarily screen out the employee's absence time period set (the first absence time period set and the second absence time period set); the first absence time period set is obtained in order to subsequently obtain the employee's adjusted absence time periods and the corresponding exchange time periods; the first absence time period set is obtained in order to subsequently obtain the corresponding exchange duration of each absence time period of the employee.
[0037] Furthermore, the method for obtaining the switching time period includes the following steps:
[0038] S1.1. Get the m1th element in the first absence time period set corresponding to the n1th employee;
[0039] S1.2, determine whether there are other elements in the first absence time period set corresponding to the n1th employee that form an association relationship with the m1th element,
[0040] If there is no other element in the set of the first absence time period corresponding to the n1th employee that is associated with the m1th element, the m1th element is used as a reference element for obtaining the exchange time period corresponding to the m1th element.
[0041] If there are other elements in the first absence time period set corresponding to the n1th employee that are associated with the m1th element, then compare the durations of the absence time periods corresponding to the m1th element and the elements that are associated with it, and use the element corresponding to the maximum duration as the reference element for obtaining the exchange time period corresponding to the m1th element.
[0042] If the duration of the absence time period corresponding to the m1th element and the element forming an associated relationship with it is equal, then compare the integral value of Fn1(t) in the absence time period corresponding to the m1th element and the element forming an associated relationship with it.
[0043] If the integral values obtained are not equal, the element corresponding to the maximum integral value is used as the reference element for obtaining the exchange time period corresponding to the m1th element.
[0044] If the integral values are equal, then one element is randomly selected from the m1th element and the elements associated with it as a reference element for obtaining the exchange time period corresponding to the m1th element;
[0045] S1.3, obtain the reference element of the exchange time period corresponding to the m1th element, and record the corresponding duration as Tm1;
[0046] S1.4. Obtain the distance between the first time point and the second time point of the employee's location and the attendance point on each abnormal attendance day of the n1th employee, and form a data pair with the absence duration corresponding to each abnormal attendance of the n1th employee and the maximum distance between the employee and the attendance point during the corresponding absence.
[0047] Divide the difference between the maximum distance of the employee from the attendance point during absence in each data pair and the attendance range threshold L0 by the absence duration in the corresponding data pair to obtain the movement speed of the n1th employee during absence.
[0048] Calculate the average of the corresponding moving speeds of each data pair corresponding to the n1th employee, and obtain the average moving speed of the n1th employee, recorded as Vn1.
[0049] When the absence period corresponding to the employee's abnormal attendance is the employee's lateness period, the maximum distance between the employee and the attendance point during the corresponding absence is the distance between the employee's first time point on the day of the abnormal attendance and the attendance point.
[0050] When the absence period corresponding to the employee's abnormal attendance is the employee's early leave period, the maximum distance between the employee and the attendance point during the corresponding absence is the distance between the employee's location at the second time point on the day of the abnormal attendance and the attendance point;
[0051] S1.5. Obtain the absence time period corresponding to the reference element in the second absence time period set, and obtain the maximum distance L between the employee and the attendance point during the absence time period, and obtain the replacement duration corresponding to the reference element
[0052] S1.6. Obtain the corresponding shift schedule of the reference element on that day and record it as T1~T2;
[0053] S1.7, when tmax-tmin=T2-T1, further determine whether the absence time period corresponding to the reference element is the employee's late arrival time period or the employee's early departure time period,
[0054] If the absence time period corresponding to the reference element is the employee's late arrival time period, the adjusted shift time of the reference element on that day in the first time period is
[0055] If the absence period corresponding to the reference element is the employee's early leave period, the adjusted shift schedule of the reference element on the first time period is
[0056] S1.8, when tmax-tmin>T2-T1, further determine whether the absence time period corresponding to the reference element is the employee's late arrival time period or the employee's early departure time period,
[0057] If the absence period corresponding to the reference element is the employee's late period, compare tmax-T2 with The size of
[0058] if The adjusted shift schedule for the reference element on the first time period is:
[0059] if The adjusted shift schedule of the reference element on the first time period is tmax-(T2-T1)~tmax.
[0060] If the absence period corresponding to the reference element is the employee's early leave period, compare T1-tmin with The size of
[0061] if The adjusted shift schedule for the reference element on the first time period is:
[0062] if The adjusted shift schedule of the reference element on the day in the first time period is tmin~tmin+(T2-T1);
[0063] S1.9. Calculate the time difference between the adjusted scheduling time and the scheduling time before the adjustment, record the time period in the time difference that coincides with the corresponding reference element as the adjusted absence time period, and record the time period in the time difference that does not coincide with the corresponding reference element as the exchange time period corresponding to the reference element, and then obtain the exchange time period corresponding to each element in the first absence time period set corresponding to the n1th employee.
[0064] In the process of obtaining the exchange time period of the present invention, it is judged whether there are other elements in the first absence time period set that form an association relationship with the m1th element in order to determine the reference element corresponding to the m1th element. At the same time, it is judged that there are other elements in the first absence time period set that form an association relationship with the m1th element, which means that the absence time periods corresponding to the other elements in the first absence time period set and the m1th element belong to the same day; for the situation that there are other elements in the first absence time period set that form an association relationship with the m1th element, it means that on the date corresponding to the m1th element, there are two absence time periods, and when obtaining the reference element, the reference elements corresponding to the two need to be unified; the length of the absence time periods corresponding to the m1th element and the elements forming an association relationship with it The reason why the integral value of Fn1(t) corresponding to the m1th element and the element associated with it is set to compare in the absence time period is that the integral value of Fn1(t) represents the area enclosed by the function Fn1(t) and the horizontal axis in the corresponding absence time period, and the duration of the absence time periods corresponding to the m1th element and the element associated with it are equal, that is, the length of the horizontal axis is equal, and the vertical axis of Fn1(t) reflects the number of absences of the n1th employee in the first time period at time point t, and thus the integral value of Fn1(t) can intuitively reflect the severity of the employee's absence corresponding to a certain absence time period; the reason why the average moving speed Vn1 of the n1th employee is obtained is to predict the theoretical absence duration of the employee at the time of absence in combination with the maximum distance from the attendance point when the employee is absent. Get the swap duration corresponding to the reference element This is because Tm1 and are all theoretical durations. In order to minimize the adjustment time of employees in the subsequent shift scheduling process, Tm1 and The minimum value of these two theoretical durations; comparing tmax-tmin with T2-T1 is to distinguish the work mode of employees. When tmax-tmin=T2-T1, it means that the employee's daily shift schedule is fixed. Therefore, when changing time periods, it can only be adjusted back and forth according to the shift schedule; and when tmax-tmin>T2-T1, it means that the employee's work situation is fluctuating. In this case, it is more suitable to make adaptive adjustments when scheduling.
[0065] Furthermore, the time period switching service impact value acquisition module divides a day into e time nodes.
[0066] Get the total number of business volumes received by the n1th employee from the beginning of each day to the pth time node of the day in the historical data, and calculate the average value of the total number of business volumes received by the n1th employee from the beginning of each day to the pth time node of the day in the historical data.
[0067] Then we can get the average value of the total number of business volumes received by the n1th employee from the beginning of the day to the pth time node of the day in the historical data when p is different. And constitute the business volume data pair The business volume data corresponding to different p values are marked one by one in the plane rectangular coordinate system in order from small to large, and the marked points in the plane rectangular coordinate system are fitted according to the preset linear fitting model in the database to obtain the business volume fitting function Qn1(t1) corresponding to the n1th employee, 0≤t1<24,
[0068] The horizontal axis in the plane rectangular coordinate system represents the distance between each time node in a day and the starting point of the day, in hours.
[0069] The ordinate in the plane rectangular coordinate system is the total number of services received within the corresponding time length from each time node in a day to the starting point of the day.
[0070] By taking the derivative of Qn1(t1), we can obtain the function Wn1(t1) of the change of the business volume per unit time of the n1th employee over time.
[0071] The module for obtaining the business impact value of the exchange time period obtains each adjusted absence time period of the n1th employee and its corresponding exchange time period, and then obtains the business impact value of each exchange time period corresponding to the n1th employee relative to the corresponding adjusted absence time period, and records the business impact value of the dth exchange time period corresponding to the n1th employee relative to the corresponding adjusted absence time period as Rn1 d .
[0072] In the process of obtaining the business volume fitting function Qn1(t1) corresponding to the n1th employee, the time period change business impact value acquisition module of the present invention further performs linear fitting based on the business volume obtained in different time periods in a day, and then To further obtain the derivative function Wn1(t1) of Qn1(t1), and then combine each adjusted absence period and its corresponding exchange period, it is possible to predict the impact of each exchange period on the business relative to the corresponding adjusted absence period. In the process of linear fitting, different business volume data have are different reference points for linear fitting. The more reference points there are, the more accurate the corresponding linear fitting result will be. Qn1(t1) corresponds to the average value of the total number of business volumes received by the n1th employee from the beginning of the day to the time node t1 of the day, which is equivalent to a cumulative value. By taking its derivative, we get the instantaneous change value of the business volume, that is, the function Wn1(t1) of the change of the business volume per unit time of the n1th employee over time. Furthermore, according to each adjusted absence time period of the n1th employee and its corresponding exchange time period, the business values corresponding to each adjusted absence time period and its corresponding exchange time period can be predicted respectively.
[0073] Furthermore, the service impact value acquisition module for the replacement time period obtains the service impact value Rn1 d The method comprises the following steps:
[0074] S2.1. Predict the business volume received by the n1th employee during the dth adjusted absence period, denoted as Said Wherein, d1 represents the start time point of the adjusted absence period, and d2 represents the end time point of the adjusted absence period;
[0075] S2.2. Predict the business volume received by the n1th employee in the dth transfer period, denoted as
[0076] Said Wherein, d3 represents the starting time point of the exchange time period, and d4 represents the ending time point of the exchange time period;
[0077] S2.3. Calculation of Rn1 d ,
[0078] when and When Rn1 d =0,
[0079] when and When
[0080] The service impact value acquisition module of the present invention obtains the service impact value Rn1 by exchanging the time period d In the process of calculating It can directly reflect the difference between the received business volume corresponding to the exchange time period and the corresponding adjusted absence time period. d = 0, it means that there is no difference between the received business volume corresponding to the exchange time period and the corresponding adjusted absence time period; when Rn1 d>0, it means that the business volume corresponding to the exchange time period is greater than the business volume corresponding to the corresponding adjustment of the absence time period, and the exchange time period can bring more benefits to the enterprise; when Rn1 d When <0, it means that the business volume received corresponding to the exchange time period is less than the business volume received corresponding to the corresponding adjusted absence time period, and the exchange time period will damage the interests of the enterprise.
[0081] Furthermore, the method for the transfer time period priority confirmation module to determine the priority of each employee corresponding to the same transfer time period includes the following steps:
[0082] S3.1. Obtain the ID of each employee corresponding to the same transfer period and the business impact value of each employee corresponding to the transfer period;
[0083] S3.2, respectively obtaining the replaced absence time period corresponding to the replaced time period and the integral value of the first attendance status function in the corresponding absence time period for each employee;
[0084] S3.3. Calculate the product of the business impact value corresponding to each employee in the transfer time period and the integral value of the corresponding first attendance status function;
[0085] S3.4. Sort the obtained products in descending order. The sorting number of each product is the priority of the employee corresponding to the product in the transfer time period.
[0086] Furthermore, the shift planning determination module obtains each employee's corresponding absence time period and corresponding replacement time period.
[0087] In the case where the same transfer period corresponds to one employee, the transfer period is determined to be normal;
[0088] If there are multiple employees corresponding to the same transfer time period, obtain the number of employees corresponding to the transfer time period and the priority of each employee, and compare the number of employees corresponding to the transfer time period with the transfer number threshold.
[0089] When the number of employees corresponding to the replacement time period is less than or equal to the replacement number threshold, the replacement time period is determined to be normal;
[0090] When the number of employees corresponding to the exchange time period is greater than the exchange number threshold, the priorities of the employees corresponding to the exchange time period are selected one by one in descending order, and the exchange time period corresponding to the employees whose number is equal to the exchange number threshold and whose priority is high is determined to be normal, and the exchange time period corresponding to the employees whose priority is low and whose number is equal to the difference between the number of employees corresponding to the exchange time period and the exchange number threshold is determined to be abnormal.
[0091] During the shift scheduling process, employees
[0092] When the swap time period is abnormal, the swap time period will not be changed.
[0093] When the exchange time period is normal, the adjusted absence time period is replaced by the exchange time period.
[0094] A method for automatically managing attendance information for human resources, the method comprising the following steps:
[0095] S1. Obtaining the attendance information of each employee through the attendance information acquisition module, wherein the attendance information includes the attendance time period;
[0096] S2, the attendance abnormality information acquisition module obtains the attendance abnormality information corresponding to each employee according to the attendance information corresponding to each employee and the corresponding shift schedule of the corresponding employee;
[0097] S3. Obtaining each absence time period of each employee in the first time period through the absence time period planning module, counting the employees corresponding to the same or partially overlapping absence time periods, and obtaining the corresponding replacement time period of the absence time period corresponding to each employee;
[0098] S4. The business impact value acquisition module of the transfer time period analyzes the impact value of the employee's transfer time period on the business relative to the absence time period according to the corresponding position of the employee;
[0099] S5. Determine the priority of each employee corresponding to the same transfer time period through the transfer time period priority confirmation module;
[0100] S6. The shift planning determination module determines the shift scheduling result for each employee according to the priority of each employee in the time period priority confirmation module.
[0101] Compared with the prior art, the beneficial effects achieved by the present invention are as follows: the present invention not only realizes the monitoring of employee attendance information, but also further analyzes the monitored employee attendance data, determines the employee's adjusted absence time period and the corresponding exchange time period, and analyzes the impact value of the exchange time period on the business, thereby obtaining the priority of each employee corresponding to the same exchange time period, confirming the scheduling results of each employee, and realizing intelligent management of the employee's scheduling situation, so that the employee's scheduling results are more in line with the employee's living habits, ensuring the employee's work efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0102] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:
[0103] Figure 1It is a structural diagram of the automatic management system for attendance information for human resources of the present invention;
[0104] Figure 2 The business impact value Rn1 is obtained by the business impact value acquisition module for changing the time period in the human resources attendance information automatic management system of the present invention. d A flow chart of the method;
[0105] Figure 3 It is a flow chart of a method for determining the priority of each employee corresponding to the same exchange time period by a exchange time period priority confirmation module in the human resources attendance information automatic management system of the present invention;
[0106] Figure 4 It is a flow chart of the method for automatically managing attendance information for human resources of the present invention. DETAILED DESCRIPTION
[0107] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0108] See also Figure 1-Figure 4 The present invention provides a technical solution: an automated attendance information management system for human resources, comprising:
[0109] An attendance information acquisition module, which is used to obtain the attendance information of each employee, and the attendance information includes the attendance time period;
[0110] An attendance abnormality information acquisition module, wherein the attendance abnormality information acquisition module obtains the attendance abnormality information corresponding to each employee according to the attendance information corresponding to each employee and the corresponding shift schedule of the corresponding employee;
[0111] The intelligent scheduling module includes an absence time period planning module, a time period change business impact value acquisition module, a time period change priority confirmation module and a scheduling planning determination module.
[0112] The absence time period planning module obtains each absence time period of each employee in the first time period, and obtains a corresponding replacement time period of each employee's corresponding absence time period;
[0113] The transfer time period business impact value acquisition module analyzes the impact value of the employee's transfer time period on the business relative to the absence time period according to the employee's corresponding position;
[0114] The transfer time period priority confirmation module is used to determine the priority of each employee corresponding to the same transfer time period;
[0115] The shift planning determination module determines the shift scheduling result for each employee according to the priority of each employee in the time period priority confirmation module.
[0116] The present invention realizes the monitoring of employee attendance information through the collaborative cooperation of various modules, and further analyzes the monitored employee attendance data, determines the employee's adjusted absence time period and the corresponding exchange time period, and analyzes the impact value of the exchange time period on the business, thereby obtaining the priority of each employee corresponding to the same exchange time period, confirming the scheduling results of each employee, and realizing intelligent management of employee scheduling.
[0117] The attendance abnormality information acquisition module records the starting working time of each day in the employee's corresponding shift schedule as the first time point.
[0118] The starting and ending time of each day in the employee's corresponding shift schedule is recorded as the second time point.
[0119] The attendance abnormality information acquisition module obtains the distance of each employee from the attendance point at the first time point and the distance of each employee from the attendance point at the second time point every day.
[0120] The abnormal attendance information includes the absence time period, the distance between the employee's first time point and the second time point and the attendance point on the day of abnormal attendance, and the absence time period is the employee's late arrival time period and the employee's early departure time period.
[0121] The absence time period obtained by the present invention refers to the time period corresponding to the employee's late arrival at work and the time period when the employee leaves early before leaving get off work, that is, what is monitored is the beginning and end of the daily shift schedule. For example, if an employee comes to work on time and is absent during the shift but returns before leaving get off work, it is not within the monitoring scope of the absence time period. The first time point and the second time point are set to monitor the distance between the two time points and the attendance point, thereby providing a data reference for the subsequent acquisition of the average moving speed of employees during commuting.
[0122] The absence time period planning module obtains each absence time period of each employee in the first time period, counts each absence time period corresponding to each employee in the first time period, and numbers each employee.
[0123] Get the function fn1(t n2 ), where fn1(t n2 ) n2The value range of is the shift schedule of the n1th employee on the n2th day in the first time period.
[0124] When the n1th employee is in the n2th day of the first time period, t n2 When the attendance status is absent, then fn1(t n2 )=1;
[0125] When the n1th employee is in the n2th day of the first time period, t n2 When the attendance status is attendance, then fn1(t n2 )=0;
[0126] The functions of the attendance status of the n1th employee changing with time when n2 is different in the first time period are integrated to obtain the first attendance status function Fn1(t) of the n1th employee.
[0127] When n2 is obtained for different values, the n1th employee is in the first time period t n2 The minimum value of is denoted as tmin.
[0128] When n2 is obtained for different values, the n1th employee is in the first time period t n2 The maximum value of is denoted as tmax,
[0129] Then the value range of t in Fn1(t) is tmin≤t≤tmax;
[0130] For the n1th employee, when n2 has different values in the first time period, corresponding to fn1(t n2 ) n2 The value range of fn1(t n2 ) is expanded to correspond to the function gn1(t n2 ), where gn1(t n2 ) n2 The value range is tmin≤t n2 ≤tmax,
[0131] When gn1(t n2 ) n2 With fn1(t n2 ) n2 When gn1(t n2 )=fn1(t n2 ),
[0132] When gn1(t n2 ) n2 With fn1(t n2 ) n2 When they are not equal, gn1(t n2 )=0;
[0133] Said Where n3 is the total number of days in the first time period.
[0134] In this embodiment, the first time period includes two days.
[0135] Function of employee No. 01's attendance status on the first day changing over time
[0136] Function of employee No. 01's attendance status on the second day changing with time
[0137] but
[0138]
[0139] Then the first attendance status function of employee No. 01
[0140]
[0141] The absence time period planning module of the present invention obtains fn1(t n2 ) and then further obtain gn1(t n2 ),for gn1(t n2 ) n2 The value range of gn1(t n2 ) n2 The expanded value range is the union of the time periods corresponding to the morning shift, the afternoon shift, and the evening shift of the employees; get gn1(t n2 ) is to ensure that gn1(t n2 ) n2 The value range of is the same as that of t in Fn1(t), and then through In the process of obtaining Fn1(t), ensure that the corresponding function values of Fn1(t) are meaningful when t is different; set t n2 When the attendance status is different, fn1(t n2 )=1 or 0, because the attendance status of employees is distinguished by function, and fn1(t n2 ) is set to 0, and the obtained Fn1(t) is not affected by the total number of days in the first time period, so that when the attendance status corresponding to the same time t in different days of the first time period is all attendance, the corresponding Fn1(t) value is still 0.
[0142] The absence time period planning module compares the first attendance status function Fn1(t) of the n1th employee with the first threshold, and selects the value range of t corresponding to which Fn1(t) is greater than or equal to the first threshold, which is recorded as tn1.
[0143] Get the time periods of absence of the n1th employee in the first time period that overlap with tn1, and get the first absence time period set corresponding to the n1th employee. Add the absence time periods of the n1th employee in the first time period to a blank set one by one, and get the second absence time period set.
[0144] Obtain the relationship between the absence time periods corresponding to each element in the first absence time period set corresponding to the n1th employee, associate each element whose corresponding time is the same day in the first time period, and obtain the exchange time period corresponding to each element in the first absence time period set corresponding to the n1th employee.
[0145] The absence time period planning module of the present invention compares the first attendance status function Fn1(t) of the n1th employee with the first threshold value in order to preliminarily screen out the employee's absence time period set (the first absence time period set and the second absence time period set); the first absence time period set is obtained in order to subsequently obtain the employee's adjusted absence time periods and the corresponding exchange time periods; the first absence time period set is obtained in order to subsequently obtain the corresponding exchange duration of each absence time period of the employee.
[0146] The method for obtaining the swap time period includes the following steps:
[0147] S1.1. Get the m1th element in the first absence time period set corresponding to the n1th employee;
[0148] S1.2, determine whether there are other elements in the first absence time period set corresponding to the n1th employee that form an association relationship with the m1th element,
[0149] If there is no other element in the set of the first absence time period corresponding to the n1th employee that is associated with the m1th element, the m1th element is used as a reference element for obtaining the exchange time period corresponding to the m1th element.
[0150] If there are other elements in the first absence time period set corresponding to the n1th employee that are associated with the m1th element, then compare the durations of the absence time periods corresponding to the m1th element and the elements that are associated with it, and use the element corresponding to the maximum duration as the reference element for obtaining the exchange time period corresponding to the m1th element.
[0151] If the duration of the absence time period corresponding to the m1th element and the element forming an associated relationship with it is equal, then compare the integral value of Fn1(t) in the absence time period corresponding to the m1th element and the element forming an associated relationship with it.
[0152] If the integral values obtained are not equal, the element corresponding to the maximum integral value is used as the reference element for obtaining the exchange time period corresponding to the m1th element.
[0153] If the integral values obtained are equal, then an element is randomly selected from the m1th element and the elements associated with it as a reference element for obtaining the exchange time period corresponding to the m1th element;
[0154] S1.3, obtain the reference element of the exchange time period corresponding to the m1th element, and record the corresponding duration as Tm1;
[0155] S1.4. Obtain the distance between the first time point and the second time point of the employee's location and the attendance point on each abnormal attendance day of the n1th employee, and form a data pair with the absence duration corresponding to each abnormal attendance of the n1th employee and the maximum distance between the employee and the attendance point during the corresponding absence.
[0156] Divide the difference between the maximum distance of the employee from the attendance point during absence in each data pair and the attendance range threshold L0 by the absence duration in the corresponding data pair to obtain the movement speed of the n1th employee during absence.
[0157] Calculate the average of the corresponding moving speeds of each data pair corresponding to the n1th employee, and obtain the average moving speed of the n1th employee, recorded as Vn1.
[0158] When the absence period corresponding to the employee's abnormal attendance is the employee's lateness period, the maximum distance between the employee and the attendance point during the corresponding absence is the distance between the employee's first time point on the day of the abnormal attendance and the attendance point.
[0159] When the absence period corresponding to the employee's abnormal attendance is the employee's early leave period, the maximum distance between the employee and the attendance point during the corresponding absence is the distance between the employee's location at the second time point on the day of the abnormal attendance and the attendance point;
[0160] S1.5. Obtain the absence time period corresponding to the reference element in the second absence time period set, and obtain the maximum distance L between the employee and the attendance point during the absence time period, and obtain the replacement duration corresponding to the reference element
[0161] S1.6. Obtain the corresponding shift schedule of the reference element on that day and record it as T1~T2;
[0162] S1.7, when tmax-tmin=T2-T1, further determine whether the absence time period corresponding to the reference element is the employee's late arrival time period or the employee's early departure time period,
[0163] If the absence time period corresponding to the reference element is the employee's late arrival time period, the adjusted shift time of the reference element on that day in the first time period is
[0164] If the absence period corresponding to the reference element is the employee's early leave period, the adjusted shift schedule of the reference element on the first time period is
[0165] S1.8, when tmax-tmin>T2-T1, further determine whether the absence time period corresponding to the reference element is the employee's late arrival time period or the employee's early departure time period,
[0166] If the absence period corresponding to the reference element is the employee's late period, compare tmax-T2 with The size of
[0167] if The adjusted shift schedule for the reference element on the first time period is:
[0168] if The adjusted shift schedule of the reference element on the first time period is tmax-(T2-T1)~tmax.
[0169] If the absence period corresponding to the reference element is the employee's early leave period, compare T1-tmin with The size of
[0170] if The adjusted shift schedule for the reference element on the first time period is:
[0171] if The adjusted shift schedule of the reference element on the day in the first time period is tmin~tmin+(T2-T1);
[0172] S1.9. Calculate the time difference between the adjusted scheduling time and the scheduling time before the adjustment, record the time period in the time difference that coincides with the corresponding reference element as the adjusted absence time period, and record the time period in the time difference that does not coincide with the corresponding reference element as the exchange time period corresponding to the reference element, and then obtain the exchange time period corresponding to each element in the first absence time period set corresponding to the n1th employee.
[0173] In the process of obtaining the exchange time period of the present invention, it is judged whether there are other elements in the first absence time period set that form an association relationship with the m1th element in order to determine the reference element corresponding to the m1th element; in the case where there are other elements in the first absence time period set that form an association relationship with the m1th element, it means that there are two absence time periods on the date corresponding to the m1th element. When obtaining the reference element, the reference elements corresponding to the two elements need to be unified; the duration of the absence time periods corresponding to the m1th element and the elements forming an association relationship with it are equal, and a comparison is set between the absence time periods corresponding to the m1th element and the elements forming an association relationship with it. t), because the integral value of Fn1(t) represents the area enclosed by the function Fn1(t) and the horizontal axis during the corresponding absence period, and the absence periods corresponding to the m1th element and the elements associated with it are equal in length, that is, the lengths of the horizontal axes are equal, and the vertical axis of Fn1(t) reflects the number of absences of the n1th employee in the first time period at time point t, and thus the integral value of Fn1(t) can intuitively reflect the severity of the employee's absence corresponding to a certain absence period; the average moving speed Vn1 of the n1th employee is obtained in order to predict the theoretical absence duration of the employee at the time of absence in combination with the maximum distance from the attendance point when the employee is absent. Get the swap duration corresponding to the reference element This is because Tm1 and are all theoretical durations. In order to minimize the adjustment time of employees in the subsequent shift scheduling process, Tm1 and The minimum value of these two theoretical durations; comparing tmax-tmin with T2-T1 is to distinguish the work mode of employees. When tmax-tmin=T2-T1, it means that the employee's daily shift schedule is fixed. Therefore, when changing time periods, it can only be adjusted back and forth according to the shift schedule; and when tmax-tmin>T2-T1, it means that the employee's work situation is fluctuating. In this case, it is more suitable to make adaptive adjustments when scheduling.
[0174] The module for obtaining the service impact value of the time period change divides a day into e time nodes.
[0175] Get the total number of business volumes received by the n1th employee from the beginning of each day to the pth time node of the day in the historical data, and calculate the average value of the total number of business volumes received by the n1th employee from the beginning of each day to the pth time node of the day in the historical data.
[0176] Then we can get the average value of the total number of business volumes received by the n1th employee from the beginning of the day to the pth time node of the day in the historical data when p is different. And constitute the business volume data pair The business volume data corresponding to different p values are marked one by one in the plane rectangular coordinate system in order from small to large, and the marked points in the plane rectangular coordinate system are fitted according to the preset linear fitting model in the database to obtain the business volume fitting function Qn1(t1) corresponding to the n1th employee, 0≤t1<24,
[0177] The horizontal axis in the plane rectangular coordinate system represents the distance between each time node in a day and the starting point of the day, in hours.
[0178] The ordinate in the plane rectangular coordinate system is the total number of services received within the corresponding time length from each time node in a day to the starting point of the day.
[0179] By taking the derivative of Qn1(t1), we can obtain the function Wn1(t1) of the change of the business volume per unit time of the n1th employee over time.
[0180] The module for obtaining the business impact value of the exchange time period obtains each adjusted absence time period of the n1th employee and its corresponding exchange time period, and then obtains the business impact value of each exchange time period corresponding to the n1th employee relative to the corresponding adjusted absence time period, and records the business impact value of the dth exchange time period corresponding to the n1th employee relative to the corresponding adjusted absence time period as Rn1 d .
[0181] In this embodiment, if the business volume fitting function corresponding to employee No. 02 is Q02(t1)=5*t1,
[0182] Since the result of the derivation of the function y=5*x is y'=5,
[0183] Then the function of employee No. 02's business volume per unit time changing with time is W02(t1)=5.
[0184] In the process of obtaining the business volume fitting function Qn1(t1) corresponding to the n1th employee, the time period change business impact value acquisition module of the present invention further performs linear fitting based on the business volume obtained in different time periods in a day, and then To further obtain the derivative function Wn1(t1) of Qn1(t1), and then combine each adjusted absence time period and its corresponding replacement time period, it is possible to predict the impact value of each replacement time period on the business relative to the corresponding adjusted absence time period.
[0185] Furthermore, the service impact value acquisition module for the replacement time period obtains the service impact value Rn1 d The method comprises the following steps:
[0186] S2.1. Predict the business volume received by the n1th employee during the dth adjusted absence period, denoted as Said Wherein, d1 represents the start time point of the adjusted absence period, and d2 represents the end time point of the adjusted absence period;
[0187] S2.2. Predict the business volume received by the n1th employee in the dth transfer period, denoted as
[0188] Said Wherein, d3 represents the starting time point of the exchange time period, and d4 represents the ending time point of the exchange time period;
[0189] S2.3. Calculation of Rn1 d ,
[0190] when and When Rn1 d =0,
[0191] when and When
[0192] In this embodiment, if the business volume fitting function corresponding to employee No. 02 is Q02(t1)=5*t1,
[0193] The start time of the third adjusted absence period for employee No. 02 is 8, and the end time of the third adjusted absence period is 8.5.
[0194] The starting time point of the third exchange period for employee No. 02 is 13.5, and the ending time point of the third exchange period is 14;
[0195] but
[0196]
[0197] Because 2.5>0, then R02 3 =(2.5-2.5) / (2.5+2.5)=0.
[0198] The service impact value acquisition module of the present invention obtains the service impact value Rn1 by exchanging the time period d In the process of calculating It can directly reflect the difference between the received business volume corresponding to the exchange time period and the corresponding adjusted absence time period. d= 0, it means that there is no difference between the received business volume corresponding to the exchange time period and the corresponding adjusted absence time period; when Rn1 d >0, it means that the business volume corresponding to the exchange time period is greater than the business volume corresponding to the corresponding adjustment of the absence time period, and the exchange time period can bring more benefits to the enterprise; when Rn1 d When <0, it means that the business volume received corresponding to the exchange time period is less than the business volume received corresponding to the corresponding adjusted absence time period, and the exchange time period will damage the interests of the enterprise.
[0199] The method for determining the priority of each employee corresponding to the same exchange time period by the exchange time period priority confirmation module comprises the following steps:
[0200] S3.1. Obtain the ID of each employee corresponding to the same transfer period and the business impact value of each employee corresponding to the transfer period;
[0201] S3.2, respectively obtaining the replaced absence time period corresponding to the replaced time period and the integral value of the first attendance status function in the corresponding absence time period for each employee;
[0202] S3.3. Calculate the product of the business impact value corresponding to each employee in the transfer time period and the integral value of the corresponding first attendance status function;
[0203] S3.4. Sort the obtained products in descending order. The sorting number of each product is the priority of the employee corresponding to the product in the transfer time period.
[0204] The shift planning and determination module obtains each employee's corresponding absence time period and corresponding replacement time period.
[0205] In the case where the same transfer period corresponds to one employee, the transfer period is determined to be normal;
[0206] If there are multiple employees corresponding to the same transfer time period, obtain the number of employees corresponding to the transfer time period and the priority of each employee, and compare the number of employees corresponding to the transfer time period with the transfer number threshold.
[0207] When the number of employees corresponding to the replacement time period is less than or equal to the replacement number threshold, the replacement time period is determined to be normal;
[0208] When the number of employees corresponding to the exchange time period is greater than the exchange number threshold, the priorities of the employees corresponding to the exchange time period are selected one by one in descending order, and the exchange time period corresponding to the employees whose number is equal to the exchange number threshold and whose priority is high is determined to be normal, and the exchange time period corresponding to the employees whose priority is low and whose number is equal to the difference between the number of employees corresponding to the exchange time period and the exchange number threshold is determined to be abnormal.
[0209] During the shift scheduling process, employees
[0210] When the swap time period is abnormal, the swap time period will not be changed.
[0211] When the exchange time period is normal, the adjusted absence time period is replaced by the exchange time period.
[0212] A method for automatically managing attendance information for human resources, the method comprising the following steps:
[0213] S1. Obtaining the attendance information of each employee through the attendance information acquisition module, wherein the attendance information includes the attendance time period;
[0214] S2, the attendance abnormality information acquisition module obtains the attendance abnormality information corresponding to each employee according to the attendance information corresponding to each employee and the corresponding shift schedule of the corresponding employee;
[0215] S3. Obtaining each absence time period of each employee in the first time period through the absence time period planning module, counting the employees corresponding to the same or partially overlapping absence time periods, and obtaining the corresponding replacement time period of the absence time period corresponding to each employee;
[0216] S4. The business impact value acquisition module of the transfer time period analyzes the impact value of the employee's transfer time period on the business relative to the absence time period according to the corresponding position of the employee;
[0217] S5. Determine the priority of each employee corresponding to the same transfer time period through the transfer time period priority confirmation module;
[0218] S6. The shift planning module determines the shift scheduling results for each employee based on the priority of each employee in the shift time priority confirmation module.
[0219] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.
[0220] Finally, it should be noted that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art can still modify the technical solutions described in the aforementioned embodiments or replace some of the technical features therein by equivalents. 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. The attendance information automation management system for human resources is characterized by: include: An attendance information acquisition module, which is used to obtain the attendance information of each employee, and the attendance information includes the attendance time period; An attendance abnormality information acquisition module, wherein the attendance abnormality information acquisition module obtains the attendance abnormality information corresponding to each employee according to the attendance information corresponding to each employee and the corresponding shift schedule of the corresponding employee; The intelligent scheduling module includes an absence time period planning module, a time period change business impact value acquisition module, a time period change priority confirmation module and a scheduling planning determination module. The absence time period planning module obtains each absence time period of each employee in the first time period, and obtains a corresponding replacement time period of each employee's corresponding absence time period; The transfer time period business impact value acquisition module analyzes the impact value of the employee's transfer time period on the business relative to the absence time period according to the employee's corresponding position; The transfer time period priority confirmation module is used to determine the priority of each employee corresponding to the same transfer time period; The shift planning determination module determines the scheduling results for each employee based on the priority of each employee in the time period priority confirmation module. The attendance abnormality information acquisition module records the starting working time of each day in the employee's corresponding shift schedule as the first time point. The starting and ending time of each day in the employee's corresponding shift schedule is recorded as the second time point. The attendance abnormality information acquisition module obtains the distance of each employee from the attendance point at the first time point and the distance of each employee from the attendance point at the second time point every day. The abnormal attendance information includes the absence time period, the distance between the employee's first time point and the second time point and the attendance point on the day of abnormal attendance, and the absence time period is the employee's late arrival time period and the employee's early departure time period.
2. The human resources attendance information automated management system according to claim 1, characterized in that: The absence time period planning module obtains each absence time period of each employee in the first time period, counts each absence time period corresponding to each employee in the first time period, and numbers each employee. Get the function fn1(t n2 ), where fn1(t n2 ) n2 The value range of is the shift schedule of the n1th employee on the n2th day in the first time period. When the n1th employee is in the n2th day of the first time period, t n2 When the attendance status is absent, then fn1(t n2 )=1; When the n1th employee is in the n2th day of the first time period, t n2 When the attendance status is attendance, then fn1(t n2 )=0; The functions of the attendance status of the n1th employee changing with time when n2 is different in the first time period are integrated to obtain the first attendance status function Fn1(t) of the n1th employee. When n2 is obtained for different values, the n1th employee is in the first time period t n2 The minimum value of is denoted as tmin. When n2 is obtained for different values, the n1th employee is in the first time period t n2 The maximum value of is denoted as tmax, Then the value range of t in Fn1(t) is tmin≤t≤tmax; For the n1th employee, when n2 has different values in the first time period, corresponding to fn1(t n2 ) n2 The value range of fn1(t n2 ) is expanded to correspond to the function gn1(t n2 ), where gn1(t n2 ) n2 The value range is tmin≤t n2 ≤tmax, When gn1(t n2 ) n2 With fn1(t n2 ) n2 When gn1(t n2 )=fn1(t n2 ), When gn1(t n2 ) n2 With fn1(t n2 ) n2 When they are not equal, gn1(t n2 )=0; Said Where n3 is the total number of days in the first time period.
3. The human resources attendance information automated management system according to claim 2, characterized in that: The absence time period planning module compares the first attendance status function Fn1(t) of the n1th employee with the first threshold, and selects the value range of t corresponding to which Fn1(t) is greater than or equal to the first threshold, which is recorded as tn1. Get the time periods of absence of the n1th employee in the first time period that overlap with tn1, and get the first absence time period set corresponding to the n1th employee. Add the absence time periods of the n1th employee in the first time period to a blank set one by one, and get the second absence time period set. Obtain the relationship between the absence time periods corresponding to each element in the first absence time period set corresponding to the n1th employee, associate each element whose corresponding time is the same day in the first time period, and obtain the exchange time period corresponding to each element in the first absence time period set corresponding to the n1th employee.
4. The human resources attendance information automated management system according to claim 3, characterized in that: The method for obtaining the swap time period includes the following steps: S1.
1. Get the m1th element in the first absence time period set corresponding to the n1th employee; S1.2, determine whether there are other elements in the first absence time period set corresponding to the n1th employee that form an association relationship with the m1th element, If there is no other element in the set of the first absence time period corresponding to the n1th employee that is associated with the m1th element, the m1th element is used as a reference element for obtaining the exchange time period corresponding to the m1th element. If there are other elements in the first absence time period set corresponding to the n1th employee that are associated with the m1th element, then compare the durations of the absence time periods corresponding to the m1th element and the elements that are associated with it, and use the element corresponding to the maximum duration as the reference element for obtaining the exchange time period corresponding to the m1th element. If the duration of the absence time period corresponding to the m1th element and the element forming an associated relationship with it is equal, then compare the integral value of Fn1(t) in the absence time period corresponding to the m1th element and the element forming an associated relationship with it. If the integral values obtained are not equal, the element corresponding to the maximum integral value is used as the reference element for obtaining the exchange time period corresponding to the m1th element. If the integral values are equal, then one element is randomly selected from the m1th element and the elements associated with it as a reference element for obtaining the exchange time period corresponding to the m1th element; S1.3, obtain the reference element of the exchange time period corresponding to the m1th element, and record the corresponding duration as Tm1; S1.
4. Obtain the distance between the first time point and the second time point of the employee's location and the attendance point on each abnormal attendance day of the n1th employee, and form a data pair with the absence duration corresponding to each abnormal attendance of the n1th employee and the maximum distance between the employee and the attendance point during the corresponding absence. Divide the difference between the maximum distance of the employee from the attendance point during absence in each data pair and the attendance range threshold L0 by the absence duration in the corresponding data pair to obtain the movement speed of the n1th employee during absence. Calculate the average of the corresponding moving speeds of each data pair corresponding to the n1th employee, and obtain the average moving speed of the n1th employee, recorded as Vn1. When the absence period corresponding to the employee's abnormal attendance is the employee's lateness period, the maximum distance between the employee and the attendance point during the corresponding absence is the distance between the employee's first time point on the day of the abnormal attendance and the attendance point. When the absence period corresponding to the employee's abnormal attendance is the employee's early leave period, the maximum distance between the employee and the attendance point during the corresponding absence is the distance between the employee's location at the second time point on the day of the abnormal attendance and the attendance point; S1.
5. Obtain the absence time period corresponding to the reference element in the second absence time period set, and obtain the maximum distance L between the employee and the attendance point during the absence time period, and obtain the replacement duration corresponding to the reference element S1.
6. Obtain the corresponding shift schedule of the reference element on that day and record it as T1~T2; S1.7, when tmax-tmin=T2-T1, further determine whether the absence time period corresponding to the reference element is the employee's late arrival time period or the employee's early departure time period, If the absence time period corresponding to the reference element is the employee's late arrival time period, the adjusted shift time of the reference element on that day in the first time period is If the absence period corresponding to the reference element is the employee's early leave period, the adjusted shift schedule of the reference element on the first time period is S1.8, when tmax-tmin>T2-T1, further determine whether the absence time period corresponding to the reference element is the employee's late arrival time period or the employee's early departure time period, If the absence period corresponding to the reference element is the employee's late period, compare tmax-T2 with The size of if The adjusted shift schedule for the reference element on the first time period is: if The adjusted shift schedule of the reference element on the first time period is tmax-(T2-T1)~tmax. If the absence period corresponding to the reference element is the employee's early leave period, compare T1-tmin with The size of if The adjusted shift schedule for the reference element on the first time period is: if The adjusted shift schedule of the reference element on the day in the first time period is tmin~tmin+(T2-T1); S1.
9. Calculate the time difference between the adjusted scheduling time and the scheduling time before the adjustment, record the time period in the time difference that coincides with the corresponding reference element as the adjusted absence time period, and record the time period in the time difference that does not coincide with the corresponding reference element as the exchange time period corresponding to the reference element, and then obtain the exchange time period corresponding to each element in the first absence time period set corresponding to the n1th employee.
5. The automatic management system for attendance information for human resources according to claim 4, characterized in that: The module for obtaining the service impact value of the time period change divides a day into e time nodes. Get the total number of business volumes received by the n1th employee from the beginning of each day to the pth time node of the day in the historical data, and calculate the average value of the total number of business volumes received by the n1th employee from the beginning of each day to the pth time node of the day in the historical data. Then we can get the average value of the total number of business volumes received by the n1th employee from the beginning of the day to the pth time node of the day in the historical data when p is different. And constitute the business volume data pair The business volume data corresponding to different p values are marked one by one in the plane rectangular coordinate system in order from small to large, and the marked points in the plane rectangular coordinate system are fitted according to the preset linear fitting model in the database to obtain the business volume fitting function Qn1(t1) corresponding to the n1th employee, 0≤t1<24, The horizontal axis in the plane rectangular coordinate system represents the distance between each time node in a day and the starting point of the day, in hours. The ordinate in the plane rectangular coordinate system is the total number of services received within the corresponding time length from each time node in a day to the starting point of the day. By taking the derivative of Qn1(t1), we can obtain the function Wn1(t1) of the change of the business volume per unit time of the n1th employee over time. The module for obtaining the business impact value of the exchange time period obtains each adjusted absence time period of the n1th employee and its corresponding exchange time period, and then obtains the business impact value of each exchange time period corresponding to the n1th employee relative to the corresponding adjusted absence time period, and records the business impact value of the dth exchange time period corresponding to the n1th employee relative to the corresponding adjusted absence time period as Rn1 d .
6. The automated attendance information management system for human resources according to claim 5, characterized in that: The service impact value acquisition module of the replacement time period obtains the service impact value Rn1 d The method comprises the following steps: S2.
1. Predict the business volume received by the n1th employee during the dth adjusted absence period, denoted as Said Wherein, d1 represents the start time point of the adjusted absence period, and d2 represents the end time point of the adjusted absence period; S2.
2. Predict the business volume received by the n1th employee in the dth transfer period, denoted as Said Wherein, d3 represents the starting time point of the exchange time period, and d4 represents the ending time point of the exchange time period; S2.
3. Calculation of Rn1 d , when and When Rn1 d =0, when and When 7. The automated attendance information management system for human resources according to claim 6, characterized in that: The method for determining the priority of each employee corresponding to the same exchange time period by the exchange time period priority confirmation module comprises the following steps: S3.
1. Obtain the ID of each employee corresponding to the same transfer period and the business impact value of each employee corresponding to the transfer period; S3.2, respectively obtaining the replaced absence time period corresponding to the replaced time period and the integral value of the first attendance status function in the corresponding absence time period for each employee; S3.
3. Calculate the product of the business impact value corresponding to each employee in the transfer time period and the integral value of the corresponding first attendance status function; S3.
4. Sort the obtained products in descending order. The sorting number of each product is the priority of the employee corresponding to the product in the transfer time period.
8. The automated attendance information management system for human resources according to claim 7, characterized in that: The shift planning and determination module obtains each employee's corresponding absence time period and corresponding replacement time period. In the case where the same transfer period corresponds to one employee, the transfer period is determined to be normal; If there are multiple employees corresponding to the same transfer time period, obtain the number of employees corresponding to the transfer time period and the priority of each employee, and compare the number of employees corresponding to the transfer time period with the transfer number threshold. When the number of employees corresponding to the replacement time period is less than or equal to the replacement number threshold, the replacement time period is determined to be normal; When the number of employees corresponding to the exchange time period is greater than the exchange number threshold, the priorities of the employees corresponding to the exchange time period are selected one by one in descending order, and the exchange time period corresponding to the employees whose number is equal to the exchange number threshold and whose priority is high is determined to be normal, and the exchange time period corresponding to the employees whose priority is low and whose number is equal to the difference between the number of employees corresponding to the exchange time period and the exchange number threshold is determined to be abnormal. During the shift scheduling process, employees When the swap time period is abnormal, the swap time period will not be changed. When the exchange time period is normal, the adjusted absence time period is replaced by the exchange time period.
9. A method for automatically managing attendance information for human resources using the automated management system for attendance information for human resources according to any one of claims 1 to 8, characterized in that: The method comprises the following steps: S1. Obtaining the attendance information of each employee through the attendance information acquisition module, wherein the attendance information includes the attendance time period; S2, the attendance abnormality information acquisition module obtains the attendance abnormality information corresponding to each employee according to the attendance information corresponding to each employee and the corresponding shift schedule of the corresponding employee; S3. Obtaining each absence time period of each employee in the first time period through the absence time period planning module, counting the employees corresponding to the same or partially overlapping absence time periods, and obtaining the corresponding replacement time period of the absence time period corresponding to each employee; S4. The business impact value acquisition module of the transfer time period analyzes the impact value of the employee's transfer time period on the business relative to the absence time period according to the corresponding position of the employee; S5. Determine the priority of each employee corresponding to the same transfer time period through the transfer time period priority confirmation module; S6. The shift planning determination module determines the shift scheduling result for each employee according to the priority of each employee in the time period priority confirmation module.
Citation Information
Patent Citations
Scheduling and attendance management method, system and equipment based on priority order
CN111160779A
Control system and method for attendance management
CN113450068A