Attendance and charging comprehensive processing system based on identity authentication and behavior capture
The attendance and billing system, which combines identity authentication and behavior tracking, solves the problem of insufficient correlation between employee working hours and tasks in traditional attendance systems. It enables accurate collection of human resource costs and benefit analysis, and improves the precision and flexibility of management.
Patent Information
- Application Number
- CN202511034946.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-25
- Publication Date
- 2025-10-31
AI Technical Summary
The existing attendance system cannot link employee working hours with specific work tasks, resulting in the inaccurate collection of labor costs and affecting the accurate calculation of profit per order, cost per task, and departmental efficiency.
Design an attendance and billing integrated processing system based on identity authentication and behavior capture. The system obtains entry and exit signals with accurate timestamps through the identity authentication and access control modules. Combined with the personnel and task information management modules, the system divides the employee's stay time in the warehouse into task execution timing units and aggregates the costs to specific business documents. Two independent accounting models are set up: beginning and end billing and in-warehouse billing.
It enables precise insight into employee on-duty time and specific value output, transforming it into refined cost collection and benefit analysis, improving the management efficiency of human resource allocation and cost control, providing management diagnosis and incentive functions, and supporting real-time status awareness and flexible scheduling.
Smart Images

Figure CN120875824A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to an attendance and billing integrated processing system based on identity authentication and behavior capture, belonging to the field of human resource management and cost accounting technology. Background Technology
[0002] In current warehousing, logistics and manufacturing management practices, electronic attendance systems have been widely used as a basic management tool. They typically record employees' entry and exit times through methods such as access control card swiping, fingerprint or facial recognition, which serves as the basic basis for calculating total working hours and issuing salaries. This method can meet basic administrative management needs in scenarios with relatively simple management structures and fixed work tasks.
[0003] However, with the increasing complexity of modern supply chain management, especially when faced with the mixed employment of formal and temporary workers, dynamic and ever-changing work tasks, and the high-level management needs of finely allocating costs to specific business orders or projects, the limitations of traditional attendance systems that only record the total time of entry and exit become apparent. There is a lack of direct correlation between the attendance data generated and the actual warehouse operations, forming a kind of "dumb data" that cannot reflect the true value creation process.
[0004] Specifically, existing technologies have the following shortcomings: 1. The system can only record the total time employees are on duty, but cannot distinguish the specific tasks they perform in different time periods, making the validity and value of working hours unclear; 2. Because working hours cannot be linked to specific tasks or business documents, enterprises can only distribute labor costs in a rough, average manner, which directly affects the reliability of accurate calculation of profit per order, cost per task, and departmental efficiency. Therefore, how to build a data processing system that can automatically and accurately correlate employees' physical on-duty time with dynamically changing work tasks and accurately and timely collect working hour costs to specific business units is the technical problem to be solved by this invention. Summary of the Invention
[0005] This invention provides a comprehensive attendance and billing system based on identity authentication and behavior capture. Its main purpose is to solve the problem that existing attendance systems cannot associate employee working hours with specific work tasks, resulting in the inaccurate collection of labor costs.
[0006] To achieve the above objectives, the present invention provides an attendance and billing integrated processing system based on identity authentication and behavior capture, the system comprising: The identity authentication and access control module is configured to acquire the identity authentication information of personnel entering and leaving the warehouse; and generate entry and exit signals with timestamps. The personnel and task information management module is configured to store basic employee information and job task information associated with business documents; The behavior capture and cost aggregation processing module, connected to the identity authentication and access control module and the personnel and task information management module, is configured to divide an employee's warehouse stay period within a single day—defined by the first entry signal and the last exit signal—into one or more task execution timing units corresponding to the work tasks assigned to the employee during that warehouse stay period, based on the work tasks stored in the personnel and task information management module. The cost of each task execution timing unit is then aggregated to the corresponding business document.
[0007] Preferably, the behavior capture and cost collection processing module is further configured to: calculate the first and last billing durations based on the employee's first entry signal and last exit signal within a single billing cycle; and calculate the warehouse billing duration by accumulating all the employee's warehouse stay time within a single billing cycle; thereby generating two independent accounting data for first and last duration billing and warehouse duration billing, respectively.
[0008] Preferably, the identity authentication and access control module is configured as follows: for formal employees, authentication is completed by matching their virtual card number preset in the external OA system through a facial recognition device; for temporary workers, authentication is completed by reading the physical card number through a card reader, thereby realizing differentiated authentication management for different types of employees.
[0009] Preferably, the behavior capture and cost collection processing module is further configured to: combine and verify an authentication success signal generated by the identity authentication and access control module with a turnout success signal fed back by the gate hardware; only when the authentication success signal and the turnout success signal are successfully matched into a group according to the time window parameters stored in the system is it confirmed as a valid entry signal or exit signal.
[0010] Preferably, the behavior capture and cost collection processing module is also configured to maintain and record the status of each employee in real time, including: warehouse occupancy, which is defined as the employee has entered the warehouse and has been associated with one or more work tasks; warehouse vacancy, which is defined as the employee has entered the warehouse but has not been associated with any work task; no warehouse vacancy, which is defined as temporary workers who have not yet been assigned to any warehouse; and off-duty.
[0011] Preferably, the behavior capture and cost aggregation processing module is further configured to calculate the unit task cost efficiency based on the task execution timing unit. : ,in, For the unit task cost efficiency of the operation task; The hourly cost rate associated with each employee, obtained from the personnel and task information management module; The total duration of the task execution timing unit for executing this job task, calculated by the behavior capture and cost collection processing module; The workload recorded in the business documents associated with the task, obtained from the personnel and task information management module.
[0012] Preferably, the system also includes a card replacement processing interface; the behavior capture and cost collection processing module is configured to: when a valid entry signal for an employee is detected but a corresponding exit signal is missing, respond to a manual card replacement instruction input through the card replacement processing interface, which includes the specified employee and exit time, generate a corrected exit signal based on the exit time in the manual card replacement instruction, and recalculate the employee's warehouse stay period based on the corrected exit signal.
[0013] Preferably, the behavior capture and cost collection processing module is also configured to generate a time consumption record for each employee. The time consumption record records each state transition event of the employee in a timeline manner, and records the start time, end time, duration, associated job task number, and event type that triggered the state transition for each state transition.
[0014] Preferably, the behavior capture and cost collection processing module is also configured to: when an attendance cycle crosses midnight according to the night shift time stored in the system, automatically associate the entry and exit signals belonging to two different dates into the same group of valid entry and exit records, and accurately assign all working hours to the workday corresponding to the night shift.
[0015] Preferably, the personnel and task information management module is also configured to manage warehouse support tasks; when an employee is assigned to perform a warehouse support task, the behavior capture and cost collection processing module is configured to transfer and collect the cost of the task execution time unit generated by the employee during the support period from the cost center of the original warehouse to the cost center of the target warehouse to which the employee is supported.
[0016] Compared with the prior art, the beneficial effects of the present invention are: 1. This invention constructs a system architecture that tightly couples identity authentication, personnel and task information management, behavior capture, and cost aggregation. It transforms the isolated entry and exit timestamp data in traditional attendance systems into effective work hour units that are deeply bound to specific business documents and tasks. This allows enterprise managers not only to know whether employees are on duty, but also to accurately understand the specific value output of each on-duty time. Thus, it transforms the previous extensive human resource cost management based on total time into a refined cost aggregation and benefit analysis method centered on tasks, providing a new management perspective for optimizing human resource allocation and cost control in warehousing.
[0017] 2. This invention sets up two independent billing models, namely, end-of-day billing and warehouse billing, in parallel within the system, allowing managers to choose according to the nature of employment or management needs. This avoids the rigidity of management under the traditional single billing model. The warehouse billing model directly links employees' salaries to their actual working time in the warehouse, forming a payroll basis directly related to employees' behavior in the warehouse. This can effectively guide employees to reduce unnecessary off-duty time. The comparative analysis of data from the two billing models also provides objective data support for managers to assess workload and identify potential efficiency bottlenecks. This elevates attendance management from a simple administrative record to a tool with management diagnostic and incentive functions.
[0018] 3. The mechanism proposed in this invention, which dynamically divides employees' time spent in the warehouse into task execution timing units based on assigned tasks, is essentially based on establishing a clear system for tracking and tracing working hours. When complex warehousing operations occur with multiple tasks running concurrently or personnel frequently switching tasks, this mechanism can automatically and objectively map employees' working time accurately to each specific task. This effectively addresses the inaccuracies and disputes caused by traditional manual recording or post-event allocation methods, ensuring the accuracy and traceability of quantitative calculations of key performance indicators such as average cost per unit and average productivity per employee based on business documents.
[0019] 4. This invention makes employee behavior transparent by establishing a real-time monitoring and display function for employee status. Managers can instantly distinguish between different states such as warehouse occupancy and vacancy, and associate them with specific tasks. This changes the slow approach of traditional management, which can only understand the situation on-site through inspections or spot checks. This real-time status perception capability makes task scheduling and personnel allocation more flexible and efficient. For example, managers can quickly reassign employees who are vacant in the warehouse to new urgent tasks, which helps reduce idle human resources and improves the responsiveness of the entire warehousing operation system to dynamic business needs. Attached Figure Description
[0020] Figure 1This is a schematic diagram of the functional architecture of the attendance and billing integrated processing system of the present invention; Figure 2 This is a schematic diagram illustrating the relationship between task execution time and workload for different task types according to the present invention; Figure 3 This is a data processing flowchart of the attendance and billing integrated processing system of the present invention; Figure 4 This is a schematic diagram of the system integration and data interaction of the attendance and billing integrated processing system of the present invention.
[0021] The objectives, features, and advantages of this invention will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0022] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be described in further detail below. Obviously, the described embodiments are only some embodiments of this invention, not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention.
[0023] This invention discloses a comprehensive attendance and billing system based on identity authentication and behavior capture. Its overall architecture comprises three collaborative core modules: an identity authentication and access control module, a personnel and task information management module, and a behavior capture and cost aggregation processing module. The identity authentication and access control module, acting as the data acquisition front-end, generates entry and exit signals with precise timestamps and transmits these raw signals to the behavior capture and cost aggregation processing module. Simultaneously, the personnel and task information management module, as a dynamically updated central database, continuously provides the behavior capture and cost aggregation processing module with real-time information on employees and their associated tasks. Finally, the behavior capture and cost aggregation processing module segments, times, and aggregates employee time spent in the warehouse, outputting the processed structured data to a statistical summary center. In highly dynamic operational environments like warehousing and logistics, a common management challenge lies in how to uniformly and effectively control the access of all personnel under a mixed employment model, especially when dealing with both permanent employees and a large number of temporary workers. When both service personnel and temporary workers are present, a single authentication method is insufficient to balance the seriousness of management procedures with operational flexibility. To address this challenge, the identity authentication and access control module in this invention is configured with a differentiated authentication strategy. For formal employees with long-term contracts and whose information has been entered into the company's external OA system, the system uses facial recognition devices deployed at the entrance for identity verification. After successful authentication, the facial recognition device matches the employee's pre-set virtual card number in the OA system and uses this as an identity identifier to generate a successful authentication signal. For temporary workers with high mobility and unstable personnel information, physical cards are pre-produced and distributed in batches, and authentication is completed by reading the physical card number through card readers deployed at the same entrance. By constructing two complementary interaction paths—facial recognition and physical card reading—the system not only covers different types of workers but also ensures that authentication can still be completed by swiping cards even when facial recognition is obstructed by environmental factors such as lighting or angle. This ensures efficient passage while comprehensively capturing the entry and exit behavior of all personnel.
[0024] Furthermore, successful identity authentication alone is insufficient to constitute legal and financial entry / exit in a legally and financially sound manner, as there may be a time lag or even a disconnect between authentication and physical passage. For example, an employee might not immediately enter after authentication or might linger at the entrance, causing inaccurate timing. Therefore, the behavior capture and cost aggregation module is configured to execute a combined verification procedure. This procedure is triggered by an authentication success signal generated by the identity authentication and access control module, carrying the employee's identification and authentication timestamp. Simultaneously, a physical sensor installed on the turnstile will feed back a signal indicating that the turnstile has flipped and the employee has actually passed through. The system only activates this signal upon receiving this information. Within a preset time window after the successful authentication signal, only when a corresponding successful gate flipping signal is successfully received are the two signals confirmed as a valid entry or exit signal. The time window parameter is determined through an offline experimental process. In the early stages of system deployment, 100 normal personnel passage samples are collected, and the time interval from successful authentication to gate flipping is recorded each time. The 95th percentile of all sample time intervals is used as the fixed setting of this parameter. This verification mechanism, which links electronic authentication with physical behavior in a time sequence, eliminates the interference of invalid stay time. The resulting timestamp accurately defines the moment when personnel physically enter or leave the work area.
[0025] After obtaining high-precision entry and exit timestamps, the core technical challenge shifts to how to convert the total time spent in the physical space into effective working hours closely related to the business value creation process. Traditional attendance only records the first and last clock-in times, and the specific work content in between constitutes a period in which the internal work content is unknown, resulting in the labor cost being roughly allocated. To achieve accurate attribution of working hours, the behavior capture and cost collection processing module executes a dynamic working hour segmentation and collection algorithm. For an employee's time period defined by the first entry signal and the last exit signal within a single day, the system first identifies each independent warehouse dwell time period formed by any two consecutive entry and exit signals. Subsequently, for any warehouse dwell time period, the system queries the personnel and task information management module in real time to obtain the work task information assigned to the employee during this time period and associated with specific business documents. Based on the start and end times or status transition events of the obtained work tasks, the system automatically segments the complete warehouse dwell time period into one or more tasks that precisely correspond to specific work tasks. The system executes time-based units and directly aggregates the time cost of each task's execution time-based unit onto its associated business document. Through this series of automated processes, the system transforms the isolated entry and exit timestamps in traditional attendance into a series of effective working hours deeply bound to specific business value, realizing a shift from extensive human resource cost management to refined cost aggregation and benefit analysis. Furthermore, to provide managers with different perspectives on cost accounting and efficiency analysis, the system sets up two independent billing models in parallel: initial and final billing and warehouse-based billing. For the same employee's data within a single billing cycle, the behavior capture and cost aggregation processing module calculates the initial and final billing duration based on their first entry signal and last exit signal. Simultaneously, it calculates the warehouse-based billing duration by accumulating all the employee's warehouse stay times within that cycle. The system ultimately generates two independent accounting data sets for initial and final billing and warehouse-based billing, respectively. Comparative analysis of these two billing models provides objective data support for managers to assess employee workload and identify potential efficiency bottlenecks.
[0026] To further enhance the immediacy and flexibility of on-site management, managers not only need post-event cost reports but also a clear understanding of the real-time status of manpower within the warehouse to respond to potential emergency task scheduling needs. Therefore, the behavior capture and cost aggregation processing module is configured to maintain and record the status of each employee in real time. This status is rigorously defined into four types: Warehouse Occupied (employee has entered the warehouse and has been associated with one or more work tasks through the personnel and task information management module); Warehouse Idle (employee has entered the warehouse but has not yet been associated with any work tasks); and No Warehouse Idle (this status is specifically for temporary workers). An employee is defined as someone who has not yet been assigned to any warehouse and has already finished get off work. The system uses a time-based recording module to meticulously record each employee's status transition event throughout the day, including the start time, end time, duration, associated task number, and the type of event triggering the status transition. This real-time status awareness and recording capability allows task scheduling and personnel allocation to be based on real-time data, helping to reduce idle human resources. To quantitatively evaluate operational efficiency, the system is further configured to calculate unit task cost efficiency based on task execution timing units. The calculation follows the formula: ,in, It is the hourly cost rate associated with that employee, obtained from the personnel and task information management module. This is the total duration of the task execution timing unit, calculated by the behavior capture and cost aggregation processing module, for executing the task. This refers to the workload recorded in the business documents associated with the task, obtained from the personnel and task information management module. The dimension on the right side of the equation is × time / workload, and the dimension of the result is the cost per unit workload, which conforms to the physical meaning of cost efficiency. This indicator provides managers with an objective and clear decision-making basis for optimizing resource allocation and conducting performance evaluation.
[0027] In practice, due to equipment malfunction or human error, employees may have valid entry signals but lack corresponding exit signals, preventing them from properly closing their warehouse stay period. To address this anomaly, the system provides a card replacement interface. When the behavior capture and cost collection module detects this missing exit signal anomaly, authorized administrators can input a manual card replacement command containing the specified employee and actual exit time through this interface. Upon receiving the command, the system generates a corrected exit signal based on the exit time in the command and recalculates the employee's warehouse stay period and corresponding billing duration based on this corrected exit signal, thereby restoring the integrity and accuracy of attendance data. When a company's scheduling involves night shifts that cross midnight, traditional attendance systems often incorrectly split a complete attendance record into two independent records due to date changes. This invention addresses this by managing night shifts through the personnel and task information management module. The preset time allows the behavior capture and cost aggregation processing module to automatically identify and associate entry and exit signals belonging to two different dates but logically belonging to the same attendance session when processing attendance data. It accurately assigns the total working hours of that attendance session to the corresponding workday of the night shift, achieving accurate aggregation of cross-day working hours. In large-scale multi-warehouse collaborative operations, temporary personnel transfers and support are common, posing a challenge to accurate cost allocation. This invention adds a warehouse support task management function to the personnel and task information management module. When an employee is assigned to perform a warehouse support task, the behavior capture and cost aggregation processing module can automatically transfer and aggregate the cost of the task execution time unit generated during the support period from the cost center of the original warehouse to the cost center of the target warehouse, achieving accurate dynamic tracking of labor costs as tasks move.
[0028] Example 1: A third-party logistics center providing warehousing and delivery services for multiple independent e-commerce brands faces a cyclical operational pressure during major annual promotional events. To cope with the sudden surge in orders, the center needs to urgently hire nearly 500 temporary workers from several different labor companies within a week, mixing them with over 100 full-time employees for high-intensity operations. Previously, the center's payment settlements with the labor companies were based on the total entry time recorded at the turnstiles, but this led to ongoing accounting disputes. Simultaneously, the e-commerce brand clients requested precise reports on the allocation of additional labor costs generated by the promotional activities, while the center could only provide rough estimates based on overall labor costs, impacting client relationships and the center's own profit margins. Against this backdrop... The logistics center deployed the aforementioned technical solution. For newly added temporary workers, the system uses their physical card numbers to complete identity authentication and signal generation for the access control module. For regular employees, facial recognition is used to match virtual card numbers. The entry and exit signals generated by the two authentication methods are uniformly sent to the behavior capture and cost collection processing module. For the settlement of fees with the labor company, the center has adopted an in-warehouse billing model. The settlement basis has changed from the traditional first and last clock-in time to the in-warehouse billing duration calculated by the behavior capture and cost collection processing module. Since the start and end of each in-warehouse stay period used for calculation are verified by a combination of authentication success signal and roll-over success signal, the validity of the working hour data is accepted by the labor company.
[0029] Meanwhile, the parallel operation of the two billing models provides a new data dimension for the management of regular employees. By comparing the difference between the billing time at the beginning and end of the shift and the billing time within the warehouse, managers identified inefficiencies in the pre-shift preparation and post-shift organization stages of some work groups and adjusted the shift handover process accordingly. Within a single architecture, the system simultaneously accommodates two seemingly conflicting needs: high flexibility in staffing and refined cost control. When a temporary worker enters the warehouse, their status is marked as idle by the behavior capture and cost aggregation module. Once the warehouse manager assigns them a picking task for brand A via a handheld terminal, their status immediately switches to occupied, and the subsequent time is recorded as idle. The time unit is initially recorded as a task execution time unit associated with Brand A's business documents until the task is completed or reassigned. In this way, the anonymous labor cost originally belonging to a certain labor service company is automatically and in real time aggregated to Brand A's specific business documents. The original management problem of how to accurately calculate the total working hours of temporary workers is replaced by a new perspective on how to measure the labor cost of completing an order. After the promotional activity ends, the logistics center is able to provide Brand A with a detailed cost report, which clearly lists the total time of task execution time units consumed for processing each batch of business documents, as well as the unit task cost efficiency calculated accordingly. This data report replaced the previous estimated bills; ultimately, the logistics center's management data system was transformed from an attendance system that could only record the entry and exit status of personnel into a dynamic cost accounting system that could penetrate the labor hour costs to the end business units in real time, and the basis of its collaborative relationship with labor companies and brand customers was transformed into shared data.
[0030] Example 2: This comparative experiment was conducted to verify the effectiveness of the present invention in distinguishing between effective working hours and non-working idle time, and thus achieving accurate collection of labor costs. The experimental platform was built in a closed warehouse simulating a real working environment. The entrance of the warehouse was equipped with an identity authentication and access control module that included facial recognition and physical card reading functions. The internal working area was completely covered by a wireless network to support the real-time transmission of task scheduling information. The experiment set up a control group A and an experimental group B, each consisting of five workers with similar skill levels. They performed a series of pre-set standardized work tasks within a complete eight-hour workday.
[0031] Control group A used traditional attendance management methods, recording only the first entry and last exit timestamps of each person's workday through the identity authentication and access control module, using this as the sole basis for calculating work hours. Experimental group B, however, implemented the complete technical solution of this invention. In this solution, the behavior capture and cost collection processing module was configured to poll the personnel and task information management module every 5 seconds to obtain the latest association status between personnel and tasks. This period was designed to balance the immediacy of status updates with the system's data processing load. Given that the shortest duration of a single task in this experiment was set to be no less than 5 minutes, the 5-second polling period was sufficient to ensure no status was missed. Under the premise of changing events, the system load was maintained at a reasonable level. After the experiment started, the two groups of people simultaneously executed the same work task sequence. Several idle waiting periods with unspecified tasks, ranging from 10 to 30 minutes in length, were deliberately interspersed in the sequence. An independent observer used a time-synchronized timer to manually record the moment of each task start, task end, and state switch for all personnel, which served as the benchmark data for measuring the accuracy of the system. After the eight-hour test cycle, a representative employee from test group B was used as a sample for data analysis. The composition of their working hours on that day showed differences from that of control group A, as detailed in Table 1.
[0032] Table 1: Comparison of eight-hour work hours for a single employee.
[0033] Experimental data shows that control group A counted all of the employee's 480 minutes of warehouse stay as effective working hours, while experimental group B, through the operation of the behavior capture and cost aggregation processing module, identified the employee's effective working hours, i.e., the total time of task execution timing units, as 408 minutes, a deviation of 2 minutes from the manually recorded baseline of 410 minutes. This deviation mainly stemmed from the cumulative error caused by the failure of the system polling cycle and the moment of state switching to coincide. Control group A's recording method aggregated the 70 minutes of idle time in the warehouse as effective working hour costs. The experimental results confirm that the present invention, by dynamically dividing the employee's warehouse stay time into task execution timing units based on its associated work tasks, can separate idle time that is not directly related to specific business value from the total working hours. This capability provides an effective and engineerable approach to solving the technical problem that traditional attendance systems cannot penetrate the black box of working hours, resulting in the inaccurate aggregation of labor costs.
[0034] Example 3: This example combines Figures 1 to 3 This document describes a comprehensive attendance and billing system based on identity authentication and behavior tracking. Figure 1 As shown, formal employees and temporary workers, acting as signal inputs, are identified through two differentiated authentication strategies: facial recognition and physical card reading. The identity authentication and access control module generates initial signals, which are then compared and matched by a combined verification mechanism to form valid entry / exit signals. These signals are then sent to the core behavior capture and cost aggregation processing module. This core module queries and retrieves data from the personnel and task information management module to identify warehouse dwell time periods, dynamically segment tasks into task execution timing units based on work tasks, and accurately translate labor costs into business documents. These three key processes are aggregated, and their final outputs are four types of information with management value: a refined cost report that aggregates labor costs into specific business documents; multi-dimensional billing and accounting that provides two independent data sets: beginning and end billing and warehouse billing; real-time status monitoring and scheduling for tracking warehouse occupancy or idleness; and quantitative performance evaluation (KPI) for calculating key indicators such as unit task cost efficiency. The personnel and task information management module also interacts with an exception handling and rule adaptation unit to handle special situations such as card replacement, night shifts across midnight, and inter-warehouse support.
[0035] like Figure 2 As shown in the figure, this graph presents empirical data on the relationship between the task execution time (in minutes) of four different work tasks and the number of items handled. The graph uses different line types and markers to represent the four work types: picking, packing, sorting, and loading, clearly indicating the task execution time of each type of work. All of them are related to their workload The existence of a stable positive correlation provides a basis for constructing and calculating efficiency such as unit task cost efficiency. Key performance indicators such as these provide data model support.
[0036] like Figure 3 As shown, the system's complete processing logic for converting raw signals into structured cost data begins with the raw authentication and turnaround signals generated by the identity authentication and gate hardware. In step 1.0, these signals are captured and verified to generate valid entry / exit timestamps. Subsequently, in step 2.0, the warehouse dwell time is defined based on these timestamps. Based on this, the process enters two parallel branches. One branch, via step 3.0, reads the work task information from the personnel and task information management module to dynamically segment the effective working hours during the warehouse dwell time, generating task execution timing units and warehouse idle time. Finally, in step 4.0, it combines the read cost rates and business document information to complete the accounting and collection of labor costs, aggregating the costs to specific documents or treating them as indirect costs. The other branch, in step 5.0, generates multi-dimensional billing data based on the warehouse dwell time and the first and last timestamps, generating warehouse billing time and first and last billing time. The processing results of both branches are finally merged into the statistical summary center / manager interface.
[0037] like Figure 4 As shown, the external OA system, serving as the data source for formal employee data, interfaces with the facial recognition attendance machine. The AMS basic information system, which includes employee basic information, gate device information, warehouse information, and company information including labor service companies, interacts directly with the gate device. The Wiegand signal generated by the facial recognition attendance machine is sent to the gate device, which uniformly performs the physical actions of identity recognition and access / passage. All behavioral data passing through the gate is ultimately sent to the statistics and summary center, where structured data reports such as gate signal flow, valid entry and exit records, daily attendance reports, monthly attendance reports, and daily work hour settlements are generated.
[0038] Example 4: In a high-density, multi-tasking parallel warehousing and sorting center, the complexity of operations lies in the fact that a single employee needs to frequently switch between processing tasks belonging to different business documents within a short period of time. Under such conditions, a core technical challenge is how to accurately parse and attribute various signals received by the system, which may be closely related in time sequence, into segments of non-overlapping, complete, and auditable time cost units. To address this situation, the behavior capture and cost aggregation processing module internally executes a queue-based and event-driven processing procedure. First, when confirming physical access behavior, the system maintains a first-in-first-out queue for each entrance channel. When identity authentication and exit... When the access control module sends an authentication success signal, the employee's identification and timestamp carried by the signal are pushed into the queue of the corresponding channel, and a timer of the same length as the time window parameter is started. When the gate hardware sends a successful turn-over signal, the system pops an identification from the head of the queue and checks whether the time difference between its entry time and the current turn-over signal is within the time window parameter. If the check passes, a valid entry or exit signal is generated, and the identification is cleared from the queue. If the timer times out or one turn-over signal corresponds to multiple authentication signals, the abnormal entry in the queue will be marked and moved to the log. This procedure matches each physical passage with a unique valid authentication.
[0039] Secondly, for employees entering the warehouse, the allocation of each second of their time is determined by an event-driven clock slicing logic. The core of this logic is a task stack maintained independently for each employee. Initially, the employee is idle in the warehouse. When the employee sends an event signal to the task information management module assigning the employee to task T1, the identifier for task T1 is pushed onto the top of the employee's task stack, and their state immediately switches from idle to occupied, and the generation of task execution timing units for task T1 begins. If the employee is then assigned to execute task T2, the identifier for task T2 is pushed onto the stack, above task T1, and the system's time allocation logic then assigns the time unit generation... For example, when switching from task T1 to the new top task T2; when an event signal indicating task completion or pause arrives, the corresponding task identifier is popped from the stack. If the stack becomes empty, the employee's status returns to idle in the warehouse. If the stack is not empty, the generated object of the timing unit is automatically assigned to the new top task. Through this processing procedure, the entire duration of any employee's stay in the warehouse is completely and non-overlappingly segmented and assigned to idle in the warehouse or a specific task execution timing unit. Even in scenarios with frequent task switching, the employee's work time consumption record output by the system can reproduce each status switch and the start and end time and duration of each task execution timing unit with a granularity of seconds.
[0040] When handling high-concurrency or unstable network environments, to ensure that the segmentation of task timing units always accurately corresponds to the physical sequence of tasks, this system employs an event stream reordering and consistency verification procedure based on source timestamps. This procedure first adds a high-precision and tamper-proof event source timestamp to each task status change event issued by the source device, such as a warehouse keeper's handheld terminal. This timestamp is defined as the moment a physical event occurs locally; secondly, after receiving an event signal, the behavior capture and cost aggregation processing module does not execute it immediately, but instead places it in a queue of pending events maintained independently for each employee, and processes it according to the information carried by each event. A forced ascending order is performed to restore the event stream to a unique, true sequence of physical occurrences. Finally, the module updates the employee's task stack and status according to this sorted queue, while performing a logical consistency check. If, for example, a task's completion event is found to be... Earlier than the events it assigned The system automatically marks events with logical conflicts and their associated time periods as abnormal working hours awaiting manual auditing, thereby ensuring that the accuracy and traceability of cost collection are guaranteed even in the face of millisecond-level task switching in a high-density automated warehousing environment.
[0041] Example 5: Before deployment, the system executes a standardized data population procedure to establish basic rate data for cost accounting. For full-time employees, the hourly cost rate is... Importing data in batches from the enterprise's human resources system via an interface, the rate is calculated based on the employee's salary structure and legal working hours. For temporary workers, different work batches are created in the personnel and task information management module. Each batch corresponds to a contract signed with a specific labor company, and the uniform hourly cost rate stipulated in the contract is entered. Subsequently, the physical card number range distributed to the labor company is bound to the corresponding work batch in the system. Thus, when any temporary worker swipes their card to generate an entry signal, the behavior capture and cost collection processing module can trace back to the work batch to which they belong based on their card number and retrieve the data already marked for that batch. Used for subsequent task execution timing unit cost calculation.
[0042] Furthermore, the allocation of work hours across midnight is managed through a set of shift configuration procedures. Administrators define different night shift modes in the night shift configuration interface provided by the personnel and task information management module. Each mode includes a shift start time, a shift end time, and a work hour allocation date rule, which is set to belong to the date of the shift start time or the date of the shift end time. In actual scheduling, the administrator associates the employees or labor batches that need to perform night shift tasks with their applicable night shift mode. When the behavior capture and cost aggregation processing module processes an entry and exit signal pair spanning two days, it first retrieves the night shift mode associated with the employee and, according to the preset work hour allocation date rule in that mode, aggregates all the warehouse stay time and related costs of that attendance into a specified single workday. This procedure can avoid errors in work hour and cost allocation caused by natural date changes.
[0043] Example 6: At the start of each workday, the system executes a standardized data synchronization and status self-check procedure. This procedure first sends a request to the upstream warehouse management system through a preset data interface to obtain all planned work instructions for the day. For each work instruction, a corresponding business document containing a unique document number and planned work quantity is generated in the system's internal business document pool. After data synchronization is complete, the system automatically scans the status tables of all employees. For all employees who had valid entry signals in the previous workday but lacked a last departure signal, their status is set to pending, and a reminder requiring manual status confirmation is pushed to the management terminal. This procedure synchronizes the data source of the work tasks and provides the system with a self-check mechanism for non-normal operations. The system provides a fault-tolerant and corrective mechanism for status data recovery after frequent interruptions. For all working hours generated within a single billing cycle, the cost attribution follows a set of accounting principles preset in the behavior capture and cost aggregation processing module. According to these principles, the cost of all working hours defined as task execution time units is directly aggregated to the business document associated with that time unit. Meanwhile, the total duration of all working hours defined as idle time in the warehouse is separately accumulated at the end of the billing cycle, and the corresponding total cost is uniformly aggregated into a preset indirect cost account associated with the warehouse or cost center to which the employee belongs. Through these accounting principles, the labor costs generated by the employee during each period of warehouse stay are assigned a clear and auditable attribution path.
[0044] In addition, to address response delay drift that may be caused by gate hardware wear or access controller firmware changes during long-term system operation, time window parameters are used. The value is not statically fixed, but is continuously and dynamically optimized through an online adaptive calibration procedure. This procedure deploys a Kalman filter in the system, which is defined as a mathematical algorithm for recursively estimating the optimal state of the dynamic system from a series of noisy measurements. The filter uses the time interval between each successfully matched authentication signal and the roll turning success signal as a reference. As the observation input, through the built-in system state equation With observation equation Perform iterative calculations, where and These represent the covariances of process noise and observation noise, respectively. Their initial values are set based on the statistical standard deviation of 100 samples at the time of deployment. This recursive process is performed in each sampling period. Both will output an optimal estimate of the true value of the time window parameter. This estimated value then becomes the new time window parameter that takes effect in the system, thus forming a parameter closed-loop adaptive system that does not require manual intervention, ensuring the stability of the verification logic throughout the entire life cycle of the device.
[0045] It will be apparent to those skilled in the art that the present invention is not limited to the details of the exemplary embodiments described above, and that the present invention can be implemented in other specific forms without departing from the spirit or essential characteristics of the present invention.
[0046] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit it. Although the present invention has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can be made to the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention.
Claims
1. A comprehensive attendance and billing processing system based on identity authentication and behavior capture, characterized in that, The system includes: The identity authentication and access control module is configured to acquire the identity authentication information of personnel entering and leaving the warehouse; and generate entry and exit signals with timestamps. The personnel and task information management module is configured to store basic employee information and job task information associated with business documents; The behavior capture and cost aggregation processing module, connected to the identity authentication and access control module and the personnel and task information management module, is configured to divide an employee's warehouse stay period within a single day—defined by the first entry signal and the last exit signal—into one or more task execution timing units corresponding to the work tasks assigned to the employee during that warehouse stay period, based on the work tasks stored in the personnel and task information management module. The cost of each task execution timing unit is then aggregated to the corresponding business document.
2. The attendance and billing integrated processing system based on identity authentication and behavior capture according to claim 1, characterized in that, The behavior capture and cost collection processing module is also configured to calculate the first and last billing durations based on the employee's first entry signal and last exit signal within a single billing cycle. Furthermore, by accumulating all the employee's time spent in the warehouse within a single billing cycle, the warehouse billing duration is calculated; thus generating two independent accounting data sets for billing the first and last durations and for billing the duration within the warehouse, respectively.
3. The attendance and billing integrated processing system based on identity authentication and behavior capture according to claim 1, characterized in that, The identity authentication and access control module is configured as follows: for formal employees, authentication is completed by matching their virtual card number preset in the external OA system with a facial recognition device; for temporary workers, authentication is completed by reading the physical card number with a card reader.
4. The attendance and billing integrated processing system based on identity authentication and behavior capture according to claim 1, characterized in that, The behavior capture and cost collection processing module is also configured to combine and verify an authentication success signal generated by the identity authentication and access control module with a turnout success signal fed back by the gate hardware; only when the authentication success signal and the turnout success signal are successfully matched into a group according to the time window parameters stored in the system is it confirmed as a valid entry signal or exit signal.
5. The attendance and billing integrated processing system based on identity authentication and behavior capture according to claim 1, characterized in that, The behavior capture and cost collection processing module is also configured to maintain and record the status of each employee in real time, including: warehouse occupied, which is defined as the employee has entered the warehouse and has been associated with one or more work tasks; warehouse idle, which is defined as the employee has entered the warehouse but has not been associated with any work task; no warehouse idle, which is defined as temporary workers who have not yet been assigned to any warehouse; and off-duty.
6. The attendance and billing integrated processing system based on identity authentication and behavior capture according to claim 1, characterized in that, The behavior capture and cost aggregation processing module is also configured to calculate the unit task cost efficiency based on the task execution timing unit. , ,in, For the unit task cost efficiency of the operation task; The hourly cost rate associated with each employee, obtained from the personnel and task information management module; The total duration of the task execution timing unit for executing this job task, calculated by the behavior capture and cost collection processing module; The workload recorded in the business documents associated with the task, obtained from the personnel and task information management module.
7. The attendance and billing integrated processing system based on identity authentication and behavior capture according to claim 1, characterized in that, The system also includes a card replacement processing interface; the behavior capture and cost collection processing module is configured to: when a valid entry signal for an employee is detected but a corresponding exit signal is missing, respond to a manual card replacement instruction input through the card replacement processing interface, which includes the specified employee and exit time, generate a corrected exit signal based on the exit time in the manual card replacement instruction, and recalculate the employee's warehouse stay period based on the corrected exit signal.
8. The attendance and billing integrated processing system based on identity authentication and behavior capture according to claim 5, characterized in that, The behavior capture and cost collection processing module is also configured to generate a time consumption record for each employee. This time consumption record records each state transition event of the employee in a timeline manner, and records the start time, end time, duration, associated job task number, and event type that triggered the state transition for each state transition.
9. The attendance and billing integrated processing system based on identity authentication and behavior capture according to claim 1, characterized in that, The behavior capture and cost aggregation processing module is also configured to automatically associate entry and exit signals belonging to two different dates into the same valid entry and exit records when an attendance cycle crosses midnight based on the night shift time stored in the system, and accurately assign all working hours to the corresponding workday of the night shift.
10. The attendance and billing integrated processing system based on identity authentication and behavior capture according to claim 1, characterized in that, The personnel and task information management module is also configured to manage warehouse support tasks; when an employee is assigned to perform a warehouse support task, the behavior capture and cost aggregation processing module is configured to transfer and aggregate the cost of the task execution time unit generated by the employee during the support period from the cost center of the original warehouse to the cost center of the target warehouse to which the employee is supported.