Working time length approval method and storage medium

By combining task execution time and attendance data, the working hours approval system automates the approval of outsourced personnel's working hours, solving the problem of inaccurate calculation of outsourced personnel's working hours and improving approval efficiency and accuracy.

CN121903564APending Publication Date: 2026-04-21CHINA SOUTHERN AIRLINES DIGITAL TECHNOLOGY (GUANGDONG) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
CHINA SOUTHERN AIRLINES DIGITAL TECHNOLOGY (GUANGDONG) CO LTD
Filing Date
2025-12-11
Publication Date
2026-04-21

AI Technical Summary

Technical Problem

When approving the working hours of outsourced personnel, companies sometimes make false or incorrect reports and lack objective basis for calculating working hours, resulting in inaccurate calculations.

Method used

The system obtains task execution time and attendance data of outsourced personnel through the work hour approval system. Based on this data, the application status of work hour application requests is updated and business processes are processed to achieve automated approval of work hours for outsourced personnel.

Benefits of technology

It improves the efficiency of approving the working hours of outsourced personnel, ensures the accuracy and transparency of working hour calculation, reduces manual review costs, and lowers the risk of settlement disputes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121903564A_ABST
    Figure CN121903564A_ABST
Patent Text Reader

Abstract

The invention provides a working duration approval method and a storage medium, relates to the technical field of data processing, and is used for solving the technical problem of how to approve the working duration of outsourcing personnel. The method comprises the steps that in response to a man-hour application request received from a man-hour application system, task execution duration data of outsourcing personnel and attendance data of the outsourcing personnel in a preset work period are obtained, and the task execution duration data are used for indicating the work duration of the outsourcing personnel executing a distributed task in the preset work period; the man-hour application request comprises a target application man-hour, and the target application man-hour is a working duration applied by the outsourcing personnel in a preset working period. And based on the task execution data and the attendance data, updating an application state of the man-hour application request, and carrying out business circulation corresponding to the application state to complete approval of the man-hour application request.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of data processing technology, and in particular to a method for approving working hours and a storage medium. Background Technology

[0002] Businesses often face staff shortages in their operations, and recruiting and training new employees requires significant human and material resources. Therefore, companies often outsource non-core business tasks to save on human capital.

[0003] Currently, companies need to determine the work completion status of outsourced personnel by their working hours. Therefore, how to approve the working hours of outsourced personnel has become a pressing technical problem that needs to be solved. Summary of the Invention

[0004] The purpose of this application is to provide a method and storage medium for approving working hours, aiming to solve the technical problem of how to approve the working hours of outsourced personnel.

[0005] To achieve the above objectives, firstly, this application provides a method for approving working hours, applied to a working hours approval system. The working hours approval system is used to approve whether the working hours applied for by outsourced personnel through a working hours application system are normal. The method includes: in response to receiving a working hours application request from the working hours application system, obtaining task execution time data and attendance data of the outsourced personnel within a preset work cycle. The task execution time data is used to indicate the working hours for which the outsourced personnel perform assigned tasks within the preset work cycle. The working hours application request includes a target working hours, which is the working hours applied for by the outsourced personnel within the preset work cycle. Based on the task execution data and attendance data, the application status of the working hours application request is updated, and the corresponding business flow is performed to complete the approval of the working hours application request.

[0006] Based on the above technical solution, by responding to the work hour application request received from the work hour application system, obtaining the task execution time data and attendance data of the outsourced personnel in the preset work cycle, and updating the application status of the work hour application request based on the task execution data and attendance data, and performing the business flow corresponding to the application status, it is possible to approve the work hours of outsourced personnel and improve approval efficiency.

[0007] In some embodiments, updating the application status of a time request based on task execution duration data and attendance data includes: obtaining the actual working hours of the outsourced personnel based on attendance data, and obtaining the total task execution time of the outsourced personnel based on task execution duration data. If the actual working hours are less than the total task execution time, and the target requested time is less than or equal to the actual working hours, the application status of the time request is set to "Task Execution Time Abnormal," and a first time modification request is sent to the outsourced personnel, indicating that the total task execution time should be modified. If the actual working hours are less than the total task execution time, and the target requested time is greater than the actual working hours, the application status of the time request is set to "Time Request Abnormal," and a second time modification request is sent to the outsourced personnel, indicating that the target requested time and the total task execution time should be modified. If the actual working hours are greater than the total task execution time, and the target requested time is less than or equal to the actual working hours, the application status of the time request is set to "Approved," and the corresponding business flow is initiated.

[0008] In some embodiments, before approving a work hour request, the method further includes: obtaining the remaining working hours, where the remaining working hours are the difference between the predicted working hours and the applied working hours, and the predicted working hours are the predicted total time to complete the assigned tasks. Based on attendance data and the target applied working hours, the target working hours for outsourced personnel are obtained. It is then determined whether the remaining working hours are less than the target working hours. If the remaining working hours are less than the target working hours, the application status of the work hour request is set to "stop applying for working hours," and a remaining working hours exception message is sent to the approver, indicating that there is insufficient remaining working hours.

[0009] In some embodiments, the target working hours for outsourced personnel are obtained based on attendance data and target requested working hours, including: obtaining the normal working hours and additional working hours of outsourced personnel based on attendance data and target requested working hours; calculating the target normal working hours based on the normal working hours of outsourced personnel using a first preset working coefficient, and calculating the target additional working hours based on the additional working hours of outsourced personnel using a second preset working coefficient; and finally obtaining the target working hours based on the target normal working hours and the target additional working hours, whereby the target working hours are the sum of the target normal working hours and the target additional working hours.

[0010] In some embodiments, before approving the work hour application request, the method further includes: obtaining the extra working hours of the outsourced personnel. If the extra working hours of the outsourced personnel are greater than 0, an extra work approval request is sent to the approver so that the approver can approve whether the extra working hours applied for by the outsourced personnel are normal. The extra work approval request includes at least one of the following: target applied working hours, extra working hours of the outsourced personnel, task execution time data, and attendance data. The task execution time data includes: type task execution time, which is the working time of the outsourced personnel in performing the corresponding type of assigned task in a preset work cycle.

[0011] In some embodiments, obtaining the extra working hours of outsourced personnel includes: obtaining a first check-in time and a second check-in time based on attendance data, wherein the attendance data includes multiple check-in times, the first check-in time being the earliest among the multiple check-in times, and the second check-in time being the latest among the multiple check-in times; obtaining a first extra working time based on the first check-in time and a first preset extra working time, wherein the first preset extra working time is earlier than a first preset work start time, and the first preset work start time is the work start time of a first preset work period within a preset work cycle; obtaining a second extra working time based on the second check-in time and the second preset extra working time, wherein the second preset extra working time is later than or equal to a second preset work end time, and the second preset work end time is the work end time of a second preset work period within a preset work cycle, and the work start time of the second preset work period is later than the work end time of the first preset work period; and obtaining the extra working hours of outsourced personnel based on the first extra working time and the second extra working time.

[0012] In some embodiments, obtaining a first additional working time based on a first check-in time and a first preset work start time includes: determining whether the first check-in time is earlier than the first preset work start time. If the first check-in time is earlier than the first preset work start time, then an initial additional working period is obtained based on the first check-in time and the start time of a preset work cycle, and this initial additional working period is used as the first additional working time. The initial additional working period is the working time between the start time and the first check-in time, and the start time of the preset work cycle is earlier than the first check-in time. If the first check-in time is later than the first preset work start time, the first additional working time is determined to be 0.

[0013] In some embodiments, obtaining a second additional working time based on a second check-in time and a second preset work start time includes: determining whether the second check-in time is later than a second preset additional working time. If the second check-in time is later than the second preset work start time, then a final additional working period is obtained based on the second check-in time and the second preset work start time, and this final additional working period is used as the second additional working time, which is the working time between the second check-in time and the second preset work start time. If the second check-in time is earlier than or equal to the second preset work start time, then the second additional working time is determined to be 0.

[0014] Secondly, this application provides a working hours approval device for use in a working hours approval system. The working hours approval system is used to approve whether the working hours applied for by outsourced personnel through a working hours application system are normal. The device includes an acquisition module and a processing module.

[0015] The acquisition module is used to respond to work hour application requests received from the work hour application system, acquire task execution time data and attendance data of outsourced personnel within a preset work cycle. The task execution time data indicates the work duration for which outsourced personnel perform assigned tasks within the preset work cycle. The work hour application request includes a target work hour, which is the work hour requested by the outsourced personnel within the preset work cycle. The processing module is used to update the application status of the work hour application request based on the task execution data and attendance data, and to perform the corresponding business flow to complete the approval of the work hour application request.

[0016] In some embodiments, the processing module is configured to obtain the actual working hours of the outsourced personnel based on attendance data, and to obtain the total task execution time of the outsourced personnel based on task execution time data. The processing module is further configured to, if the actual working hours are less than the total task execution time, and the target requested working hours are less than or equal to the actual working hours, set the application status of the working hours request to "total task execution time abnormal" and send a first working hours modification request to the outsourced personnel, the first working hours modification request indicating modification of the total task execution time. The processing module is further configured to, if the actual working hours are less than the total task execution time, and the target requested working hours are greater than the actual working hours, set the application status of the working hours request to "working hours application abnormal" and send a second working hours modification request to the outsourced personnel, the first working hours modification request indicating modification of both the target requested working hours and the total task execution time. The processing module is further configured to, if the actual working hours are greater than the total task execution time, and the target requested working hours are less than or equal to the actual working hours, set the application status of the working hours request to "approved" and perform the business flow corresponding to the "approved" status.

[0017] In some embodiments, before approving a work hour application request, an acquisition module is used to acquire the remaining working hours, which is the difference between the predicted working hours and the applied working hours, and the predicted working hours are the predicted total time to complete the assigned tasks. A processing module is used to obtain the target working hours for outsourced personnel based on attendance data and the target applied working hours. The processing module is also used to determine whether the remaining working hours are less than the target working hours. If the remaining working hours are less than the target working hours, the processing module is also used to set the application status of the work hour application request to "stop applying for working hours" and send a remaining working hours exception message to the approver, indicating insufficient remaining working hours.

[0018] In some embodiments, the processing module is configured to obtain the normal working hours and the additional working hours of outsourced personnel based on attendance data and target requested working hours. The processing module is further configured to calculate a target normal working hours based on a first preset working coefficient for the normal working hours of outsourced personnel, and to calculate a target additional working hours based on a second preset working coefficient for the additional working hours of outsourced personnel. The processing module is also configured to obtain a target working time based on the target normal working hours and the target additional working hours, wherein the target working time is the sum of the target normal working hours and the target additional working hours.

[0019] In some embodiments, before approving a work hour application request, an acquisition module is used to acquire the extra working hours of outsourced personnel. A processing module is used to send an extra work approval request to an approver if the extra working hours of the outsourced personnel are greater than 0, so that the approver can approve whether the extra working hours applied for by the outsourced personnel are normal. The extra work approval request includes at least one of the following: target applied working hours, extra working hours of the outsourced personnel, task execution time data, and attendance data. The task execution time data includes: type task execution time, which is the working time of the outsourced personnel in performing the corresponding type of assigned task within a preset work cycle.

[0020] In some embodiments, the processing module is configured to obtain a first check-in time and a second check-in time based on attendance data, wherein the attendance data includes multiple check-in times, the first check-in time being the earliest among the multiple check-in times, and the second check-in time being the latest among the multiple check-in times. The processing module is further configured to obtain a first additional working time based on the first check-in time and a first preset additional working time, wherein the first preset additional working time is earlier than a first preset working start time, and the first preset working start time is the working start time of a first preset working period within a preset working cycle. The processing module is further configured to obtain a second additional working time based on the second check-in time and the second preset additional working time, wherein the second preset additional working time is later than or equal to a second preset working end time, and the second preset working end time is the working end time of a second preset working period within a preset working cycle, and the working start time of the second preset working period is later than the working end time of the first preset working period. The processing module is further configured to obtain the additional working time for outsourced personnel based on the first additional working time and the second additional working time.

[0021] In some embodiments, the processing module is configured to determine whether the first clock-in time is earlier than the first preset work start time. If the first clock-in time is earlier than the first preset work start time, the processing module is configured to obtain a starting extra working period based on the first clock-in time and the start time of a preset work cycle, and use this starting extra working period as the first extra working duration. The starting extra working period is the working duration between the start time and the first clock-in time, and the start time of the preset work cycle is earlier than the first clock-in time. The processing module is further configured to determine that the first extra working duration is 0 if the first clock-in time is later than the first preset work start time.

[0022] In some embodiments, the processing module is configured to determine whether the second clock-in time is later than a second preset extra working time. The processing module is further configured to, if the second clock-in time is later than the second preset working start time, obtain a final extra working period based on the second clock-in time and the second preset working start time, and use the final extra working period as the second extra working duration, wherein the final extra working period is the working duration between the second clock-in time and the second preset working start time. The processing module is further configured to, if the second clock-in time is earlier than or equal to the second preset working start time, determine that the second extra working duration is 0.

[0023] Thirdly, this application provides a working time approval device, the device comprising: a processor and a memory; the processor and the memory being coupled; the memory being used to store one or more programs, the one or more programs including computer-executable instructions, wherein when the working time approval device is running, the processor executes the computer-executable instructions stored in the memory to implement the method as described in the first aspect and any possible implementation thereof.

[0024] Fourthly, this application provides a computer-readable storage medium storing instructions that, when executed on a computer, cause the computer to perform the methods described in the first aspect and any possible implementation thereof.

[0025] Fifthly, this application provides a chip including a processor and a communication interface, the communication interface being coupled to the processor, the processor being used to run computer programs or instructions to implement the methods described in the first aspect and any possible implementation thereof.

[0026] Sixthly, this application provides a computer program product containing instructions that, when executed by a computer, cause the computer to perform the methods described in the first aspect and any possible implementation thereof.

[0027] The technical problems that the approval device for working hours, computer equipment, computer storage medium, chip or computer program product can solve and the technical effects that can be achieved in the above solution can be found in the technical problems and effects solved in the first aspect above, and will not be repeated here. Attached Figure Description

[0028] Various other advantages and benefits will become apparent to those skilled in the art upon reading the following detailed description of preferred embodiments. The accompanying drawings are for illustrative purposes only and are not intended to limit the invention. Furthermore, the same reference numerals denote the same parts throughout the drawings. In the drawings: Figure 1 A system architecture diagram of a time management system provided in this application embodiment; Figure 2 A system architecture diagram of a working hour approval system provided in this application embodiment; Figure 3 A flowchart illustrating a method for approving working hours provided in an embodiment of this application; Figure 4 A schematic diagram of a working time approval device provided in this application embodiment; Figure 5 A schematic diagram of another working time approval device provided in this application embodiment; Figure 6 A conceptual partial view of a computer program product provided for an embodiment of this application. Detailed Implementation

[0029] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0030] In the description of this application, it should be understood that the terms "upper," "lower," "left," "right," "front," "rear," "inner," and "outer," etc., indicate the orientation or positional relationship based on the orientation or relative positional relationship shown in the accompanying drawings. They are used only for the convenience of describing this application and for simplification, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on this application. Unless otherwise specified, the above-mentioned orientational descriptions can be flexibly set in practical applications, provided that the relative positional relationships shown in the accompanying drawings are satisfied.

[0031] The terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this application, unless otherwise stated, "a plurality of" means two or more.

[0032] In embodiments of this application, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, article, or apparatus that includes that element.

[0033] In the embodiments of this application, the terms "exemplary" or "for example" are used to indicate that something is an example, illustration, or description. Any embodiment or design that is described as "exemplary" or "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design. Specifically, the use of the terms "exemplary" or "for example" is intended to present the relevant concepts in a specific manner.

[0034] In traditional methods, the approval of outsourced workers' working hours relies mainly on manual entry, which can lead to problems such as false or incorrect reporting. Furthermore, the lack of objective criteria for calculating working hours makes it impossible to determine the correlation between the actual working time of outsourced workers and the progress of tasks, resulting in inaccurate calculation of outsourced workers' working hours.

[0035] To address the aforementioned technical problems, this application provides a method for approving working hours. In this method, in response to receiving a working hours application request from a working hours application system, the method obtains the task execution time data and attendance data of outsourced personnel within a preset work cycle. Based on the task execution data and attendance data, the method updates the application status of the working hours application request and performs the corresponding business flow, thereby enabling the approval of outsourced personnel's working hours and improving approval efficiency.

[0036] The implementation environment of the embodiments of this application is described below.

[0037] For example, such as Figure 1 As shown in the figure, this application provides a work hour management system, which includes: an image recognition system, an attendance system, a work hour application system, a work hour approval system, and a project management system.

[0038] The image recognition system is used to identify outsourced personnel and obtain employee image data.

[0039] In one possible design, the image recognition system can match the identified employee image data with image data in the image database, and after a successful match, send the employee image data and the successful match time to the work hour application system and / or work hour approval system.

[0040] The attendance tracking system is used to obtain the attendance data of outsourced personnel and send the attendance data of outsourced personnel to the work hour application system and / or work hour approval system.

[0041] Optionally, attendance data includes: geographic check-in data, which is the check-in data of outsourced personnel in the target area and at the target time.

[0042] The work hour application system is used to obtain task execution time data and work hour application requests from outsourced personnel, and then send these data to the work hour approval system.

[0043] In one possible design, the work hour application system can receive employee image data from an image recognition system and attendance data of outsourced personnel from an attendance tracking system. In response to an outsourced personnel's work hour application, the system then determines whether the outsourced personnel's attendance data and employee image data are abnormal. If the system determines that both the outsourced personnel's attendance data and employee image data are normal, it displays a work hour application page to allow the outsourced personnel to apply for work hours. If the system determines that either the outsourced personnel's attendance data or employee image data is abnormal, it displays an attendance processing window, which includes a card replacement component and a leave application component. The card replacement component instructs the outsourced personnel to perform the card replacement procedure corresponding to the abnormal attendance data, and the leave application component instructs the outsourced personnel to perform the leave application procedure.

[0044] For example, when outsourced personnel access the time request system's display page via a terminal, they can call the interface to query task execution duration data. Afterwards, they can fill in the task's time cost on the time request system, and enter the target time request for the day into the system. Once the time entry is complete, the day's time is saved. Then, the outsourced personnel click the "Apply for Time Hours" button, causing the terminal's display page to redirect from the time request system's display page to the time approval system's request submission completion page. In this way, the outsourced personnel can submit a time request to the time approval system. After the outsourced personnel submit their time request to the time approval system, the time request is locked in the time request system, and the outsourced personnel cannot modify the time request through the time request system.

[0045] In the time frame of the time frame application system, the time frame application request of outsourced personnel is locked can be any point in time after the time frame application is submitted, depending on the status of the time frame approval system.

[0046] For example, after an outsourced worker's work hour application is approved, if the outsourced worker needs to modify their work hours, they can send a modification request to the work hour approval system through the work hour application system. After the modification request is approved, the work hours that the outsourced worker has already applied for will be invalidated, the outsourced worker's work hour application request in the work hour application system will be unlocked, and the outsourced worker can modify the target applied work hours and then resubmit the modified work hour application request to the work hour approval system.

[0047] If a work hour application has already been forwarded to the monthly work hour submission stage (meaning all work hours applied for by all outsourced personnel in the current month have been calculated), the outsourced personnel cannot modify their work hours. After the monthly work hour submission is approved, the data will be synchronized to the project management system. The process then ends.

[0048] The card replacement process includes: replacing employee image data, replacing attendance data, and replacing check-out data.

[0049] Optionally, abnormal employee image data includes: missing employee image data; abnormal attendance data includes: missing sign-in and sign-out data, missing only sign-in data, and missing only sign-out data. Once the time-based work application system determines that the outsourced personnel's attendance data is abnormal, the outsourced personnel will be unable to apply for work hours through the time-based work application system.

[0050] For example, the image recognition system can synchronize employee image data from the office building's downstairs with the work hour request system to determine the presence of outsourced personnel. If outsourced personnel 1 does not have employee image data stored on date 1, then the employee image data is determined to be abnormal, indicating missing employee image data.

[0051] For example, if the current outsourced worker selects to apply for working hours on date 1, the working hours application system can obtain the current outsourced worker's attendance data for date 1. If the current outsourced worker's attendance data for date 1 includes both clock-in and clock-out data, the working hours application system determines that the current outsourced worker is eligible to apply for working hours. If the current outsourced worker's attendance data for date 1 only includes clock-in data, the system determines that the outsourced worker's attendance data is abnormal because only clock-out data is missing. If the current outsourced worker's attendance data for date 1 only includes clock-out data, the system determines that the outsourced worker's attendance data is abnormal because only clock-in data is missing. If the current outsourced worker's attendance data for date 1 does not include either clock-in or clock-out data, the system determines that the outsourced worker's attendance data is abnormal because both clock-in and clock-out data are missing.

[0052] Optionally, after the timekeeping application system confirms that the outsourced personnel's attendance data is normal, the outsourced personnel's attendance duration can be obtained based on the attendance data. The timekeeping application operation page includes a timekeeping application component, which is used to obtain the target application time filled in by the outsourced personnel. The timekeeping application component is set to ensure that the time filled in by the outsourced personnel is less than or equal to the attendance duration.

[0053] The working hours approval system is used to approve requests to modify working hours and requests to apply for working hours.

[0054] Optionally, such as Figure 2 As shown, the work hour approval system includes: a data acquisition module, a work hour calculation module, and a result output module.

[0055] The data acquisition module receives employee image data from the image recognition system and attendance data of outsourced personnel from the attendance tracking system. It also receives task logs from the work hour application system and project forecast resources from the work hour approval system.

[0056] Optionally, the data acquisition module can obtain image recognition records based on employee image data, and then obtain employee clock-in records, leave data, and work shift configurations based on attendance data.

[0057] Optionally, the data acquisition module can obtain project work hour records based on task logs.

[0058] The working hours calculation module is used to calculate normal working hours and extra working hours based on an independent accounting algorithm, a dynamic working hours quota generator, and a working hours verification matrix.

[0059] The results output module is used to automatically generate normal working hours, extra working hours, man-days corresponding to normal working hours, man-days corresponding to extra working hours, and total man-days when entering the work hour application page, so as to complete the real-time early warning dashboard.

[0060] For example, the attendance ratio between normal working hours and required working hours (required working hours greater than 0) can be obtained. Then, the additional working hours and the conversion factor (e.g., 8 hours per day) can be obtained. Finally, based on the attendance ratio and the additional difference, the total person-days can be obtained, which is the sum of the attendance ratio and the additional difference.

[0061] For example, if an employee is in the assessment period, the total person-days need to be multiplied by the preset assessment ratio (e.g., 0.5) to obtain the converted total person-days.

[0062] This allows for differentiated processing of man-day calculations. The calculation of man-days takes into account the rule of halving the assessment period and allows for adjustment of the settlement month.

[0063] For example, the time approval system is an Operations Management (OM) system.

[0064] The project management system is used to send project forecast resources to the work hour approval system. It also displays the work hours already requested for a project.

[0065] For example, the project management system is an Information Technology Project Management (ITPM) system.

[0066] For example, every hour, the time approval system connects to the database to retrieve approved project budget resources from the project management system. Then, the time approval system allocates these approved project budget resources according to pre-stored contracts, obtaining the contract-allocated resources for that contract. After outsourced personnel participate in the project, they can submit a target requested work hours to the time approval system to obtain the resources corresponding to that target requested work hours. Specifically, based on the resources corresponding to the approved work hours and the resources corresponding to the target requested work hours, a target requested resource is obtained. The sum of the resources corresponding to the approved work hours and the resources corresponding to the target requested work hours must be less than the contract-allocated resources.

[0067] Optionally, the work hour approval system also includes a remaining work time calculation module. This remaining work time calculation module is configured to calculate the remaining work time.

[0068] For a specific implementation method of calculating the remaining working time in the remaining working time calculation module, please refer to Formula 1, Formula 2, Formula 3 and Formula 4.

[0069] Among them, the resource allocation in the contract satisfies Formula 1.

[0070] Formula 1.

[0071] Among them, the ordered resources are the expenditure resources that have been confirmed through procurement, work orders, demand orders, etc. (Cost resources corresponding to each task type's man-days × unit working hours) represents the resources converted from all approved or reported working hours, categorized and summarized by task type. The total labor cost is calculated as (individual man-days × cost resources corresponding to unit working hours of individual task type).

[0072] Specifically, the target requested resources must be less than or equal to the remaining contract allocated resources. The remaining contract allocated resources satisfy Formula 2.

[0073] Formula 2.

[0074] Among them, the remaining available available natural resources satisfy Formula 3.

[0075] Formula 3.

[0076] The remaining working time satisfies Formula 4.

[0077] Formula 4.

[0078] Image-based attendance tracking can only confirm that outsourced personnel are on duty, but cannot determine their work content or efficiency. The task data in the time-sharing system can only determine the task status and time, but cannot confirm whether the actual personnel are present. Simple calculation algorithms lack sufficient dimensions of real data input; traditional budget overruns are often only discovered during settlement, and cannot be intercepted during the time-sharing process.

[0079] This application deeply integrates a work hour application system, image recognition, attendance tracking devices, and calculation algorithms into the outsourced work hour verification scenario, forming a closed-loop verification chain. This chain completes a progressive verification process, from identity verification to task relevance verification, and finally to time consistency verification. This enables the prevention of proxy attendance tracking, ensures the validity of outsourced personnel's work hours, and guarantees the reasonable allocation of workload to outsourced personnel. Furthermore, by introducing a rolling pre-allocation mechanism, resources can be dynamically locked to prevent over-application.

[0080] In this way, by integrating image recognition attendance data, task status data from the work hour application system, basic check-in data, and budget allocation data, and based on multi-dimensional cross-validation rules and dynamic weighting algorithms, the system achieves automated verification and accurate determination of outsourced personnel's work hours, solving the technical problems of false reporting of work hours, data fragmentation, and inefficient manual calculation in traditional outsourcing management. Simultaneously, it can deeply integrate the dynamic constraint mechanism of budget allocation on available work hours, dynamically locking resources to prevent over-application of work hours.

[0081] Furthermore, this application can significantly improve the authenticity, accuracy, and credibility of outsourced work hours. It can also establish a strong correlation between work hour input and task delivery, enhancing management transparency. Moreover, it can reduce manual review costs and improve accounting efficiency and automation levels. Furthermore, it can provide objective, data-driven evidence for outsourcing fee settlement, reducing the risk of settlement disputes. Additionally, it can identify potential management problems (such as idle personnel, unreasonable task allocation, and non-standard system usage). Finally, it can prevent the project management system from becoming disconnected from budget and work hour consumption, thus avoiding the inability to intervene in time after overspending.

[0082] The embodiments of this application will now be described in detail with reference to the accompanying drawings.

[0083] like Figure 3 The illustration shows a method for approving working hours provided in this application, applied to a working hours approval system. This system is used to approve whether the working hours applied for by outsourced personnel through the working hours application system are normal. The method includes: S301. In response to receiving a work hour application request from the work hour application system, obtain the task execution time data of the outsourced personnel and the attendance data of the outsourced personnel in the preset work cycle.

[0084] The work hour request includes: target work hours, which is the amount of work time requested by the outsourced personnel within a preset work cycle. Task execution time data is used to indicate the amount of work time the outsourced personnel will spend executing assigned tasks within the preset work cycle.

[0085] Optionally, the task execution duration data includes: the total task execution duration and the execution duration of at least one type of assigned task. The target requested work hours are less than or equal to the total task execution duration.

[0086] This application does not impose any restrictions on the preset work cycle. For example, the preset work cycle can be 1 day, 2 days, 3 days or 7 days.

[0087] S302. Based on task execution data and attendance data, update the application status of the work hour application request and perform the corresponding business flow to complete the approval of the work hour application request.

[0088] In one possible implementation, the actual working hours of outsourced personnel can be obtained based on attendance data, and the total task execution time can be obtained based on task execution time data. Then, if the actual working hours are less than the total task execution time, and the target requested working hours are less than or equal to the actual working hours, the application status of the working hours request can be set to "Task Execution Time Abnormal," and a first working hours modification request can be sent to the outsourced personnel, instructing them to modify the total task execution time. If the actual working hours are less than the total task execution time, and the target requested working hours are greater than the actual working hours, the application status of the working hours request can be set to "Working Hours Request Abnormal," and a second working hours modification request can be sent to the outsourced personnel, instructing them to modify both the target requested working hours and the total task execution time. If the actual working hours are greater than the total task execution time, and the target requested working hours are less than or equal to the actual working hours, the application status of the working hours request can be set to "Approved," and the corresponding business flow can be initiated.

[0089] Based on the above technical solution, by responding to the work hour application request received from the work hour application system, obtaining the task execution time data and attendance data of the outsourced personnel in the preset work cycle, and updating the application status of the work hour application request based on the task execution data and attendance data, and performing the business flow corresponding to the application status, it is possible to approve the work hours of outsourced personnel and improve approval efficiency.

[0090] In some embodiments, before approving a work hour request, the remaining working hours can be obtained. The remaining working hours are the difference between the predicted working hours and the applied working hours, where the predicted working hours are the predicted total time to complete the assigned tasks. Then, based on attendance data and the target applied working hours, the target working hours for the outsourced personnel can be obtained. Next, it can be determined whether the remaining working hours are less than the target working hours. If the remaining working hours are less than the target working hours, the application status of the work hour request can be set to "stop applying for work hours," and a remaining working hours exception message can be sent to the approver. This exception message indicates that there is insufficient remaining working hours.

[0091] In one possible design, the requested work hours are the sum of all approved work hours, and the approved work hours are the work hours corresponding to the approved work hour request. There are multiple assigned tasks, and the predicted work hours are the predicted total time to complete all assigned tasks.

[0092] Optionally, the normal working hours and extra working hours of outsourced personnel can be obtained based on attendance data and target requested working hours. Then, the target normal working hours can be calculated based on a first preset working coefficient, and the target extra working hours can be calculated based on a second preset working coefficient. Finally, the target working hours can be obtained by combining the target normal working hours and the target extra working hours; the target working hours are the sum of the target normal working hours and the target extra working hours.

[0093] The units of measurement for the target normal working hours, the target extra working hours, and the target normal working hours are the same. The unit of measurement can be either person-days or hours, and this application does not impose any restrictions on this.

[0094] This ensures that all approved working hours fall within the predicted working hours range, thereby making the allocation of resources to outsourced personnel more accurate.

[0095] In some embodiments, the extra working hours of outsourced personnel can be obtained before the approval of the work hour application request is completed. If the extra working hours of outsourced personnel are greater than 0, an extra work approval request can be sent to the approver so that the approver can approve whether the extra working hours applied for by outsourced personnel are normal. The extra work approval request includes at least one of the following: target applied working hours, extra working hours of outsourced personnel, task execution time data, and attendance data. The task execution time data includes: type task execution time, which is the working time of outsourced personnel in performing the corresponding type of assigned task in a preset work cycle.

[0096] Optionally, based on attendance data, a first check-in time and a second check-in time can be obtained. Attendance data includes multiple check-in times, with the first check-in time being the earliest and the second check-in time being the latest. Then, based on the first check-in time and a first preset extra working time, a first extra working duration can be obtained. The first preset extra working time is earlier than the first preset work start time, which is the start time of the first preset work period within a preset work cycle. Next, based on the second check-in time and the second preset extra working time, a second extra working duration can be obtained. The second preset extra working time is later than or equal to the second preset work end time, which is the end time of the second preset work period within a preset work cycle. The start time of the second preset work period is later than the end time of the first preset work period. Finally, based on the first and second extra working durations, the extra working duration for outsourced personnel can be obtained.

[0097] In one possible design, it can be determined whether the first clock-in time is earlier than the first preset work start time. If the first clock-in time is earlier than the first preset work start time, then an initial extra work period can be obtained based on the first clock-in time and the start time of the preset work cycle, and this initial extra work period can be used as the first extra work duration. The initial extra work period is the work duration between the start time and the first clock-in time, and the start time of the preset work cycle is earlier than the first clock-in time. If the first clock-in time is later than the first preset work start time, then the first extra work duration can be determined to be 0.

[0098] In another possible design, it can be determined whether the second clock-in time is later than the second preset extra working time. If the second clock-in time is later than the second preset working start time, then the final extra working period can be obtained based on the second clock-in time and the second preset working start time, and this final extra working period can be used as the second extra working duration. The final extra working period is the working duration between the second clock-in time and the second preset working start time. If the second clock-in time is earlier than or equal to the second preset working start time, then the second extra working duration can be determined to be 0.

[0099] This allows approvers to have a more accurate understanding of the outsourced personnel's work and task execution, thus enabling them to allocate work time more reasonably.

[0100] In some embodiments, a deduction flag can be obtained, and the method for calculating extra working time can be determined based on the deduction flag.

[0101] For example, when the deduction flag is 1, the extra work calculation method can be determined to be a fixed deduction method. Then, the shift time and the number of extra work minutes can be obtained. The shift time includes the morning shift start time (shiftMoBeginTime) and the afternoon shift end time (shiftAfEndTime). Then, the morning shift start time and the afternoon shift end time can be combined to form the specific time points for the day.

[0102] The deduction flag can be obtained based on system configuration (such as rest time deduction configuration). The extra working minutes can be obtained as follows: from the actual attendance time to the calculated minutes, add the extra working minutes in the morning and the extra working minutes in the afternoon, then convert it to hours (e.g., round to two decimal places), and then use NumberUtils.roundHalf to round down (e.g., round down to a multiple of 0.5).

[0103] The system uses a rounding process with 0.5-hour units (e.g., rounding down to the nearest multiple of 0.5), which meets the minimum granularity requirement in actual working hour calculations and ensures the accuracy of the calculations.

[0104] For example, if the deduction flag is not 1, the extra work calculation method can be determined to be a custom deduction work method.

[0105] The custom deduction method allows you to modify the deduction time of the fixed deduction rules. For example, in the fixed deduction method, the deduction time is 1 hour after the work is completed. The custom deduction method can be changed to the deduction time of 2 hours after the work is completed.

[0106] In some embodiments, the work hour approval system can obtain two times from the attendance system: check-in time and check-out time. The work hour approval system can also obtain task hours from the work hour application system. The work hour approval system can obtain pre-stored attendance shifts (e.g., old airport shifts (8:30-11:30, 14:00-18:00)), the required attendance hours determined by the attendance shift (e.g., old airport shifts, required attendance hours are 7 hours), leave duration, in-shift attendance hours, out-of-shift attendance hours, fixed deduction duration, maximum applicable normal working hours, maximum applicable extra working hours, applicable working hours, actual applied normal working hours, actual applied extra working hours, and deducted rest time.

[0107] In this way, by acquiring this data, the working hours approval system can more accurately approve working hours application requests.

[0108] Leave duration can be requested in advance by the outsourced employee. In-shift attendance hours are calculated based on check-in / check-out times and shift number. Out-of-shift attendance hours are calculated based on check-in / check-out times and shift number. The maximum number of working hours that can be requested that day is calculated based on attendance records. Actual requested normal working hours are automatically calculated based on the outsourced employee's hourly work report and cannot be modified. Actual requested extra working hours are also automatically calculated based on the outsourced employee's hourly work report and cannot be modified. Deductions for rest time represent the time the outsourced employee confirms they have not actually worked. When requesting working hours, the employee can choose to request fewer hours; this is only used to calculate and display the fewer hours requested and has no other significance on the approval interface.

[0109] The maximum amount of normal working hours that can be applied for can be calculated as follows: Obtain the first difference between the required attendance time and the leave time, and the attendance time within the shift. Then, determine the minimum of the first difference and the attendance time within the shift as the maximum amount of extra working hours that can be applied for.

[0110] The maximum amount of extra working hours that can be applied for can be calculated as follows: First, obtain the first ratio between the fixed deduction duration and the custom deduction duration. Then, obtain the second difference between the first ratio and the off-shift attendance duration. This second difference can be used as the maximum amount of extra working hours that can be applied for.

[0111] The task hours are less than or equal to the available working hours. The available working hours are the sum of the maximum available additional working hours and the maximum available additional working hours.

[0112] Among them, the actual applied normal working hours are less than or equal to the smaller value between the maximum apply normal working hours and the task working hours.

[0113] The actual additional working hours applied for are the difference between the task working hours and the actual normal working hours applied for.

[0114] The deduction for rest time is the difference between the off-shift attendance time and the actual extra working hours applied for.

[0115] If you need to modify the requested working hours, you must reduce the task hours you enter in the working hours application system, which can be less than the available working hours. Afterwards, the requested normal working hours and requested extra working hours will be automatically calculated and adjusted.

[0116] For example, outsourced personnel work normally, with additional work until 8:00 PM. Check-in time is 8:25 AM, check-out time is 8:08 PM, the total work time is 8 hours, the shift is Old Airport Shift 1 (morning work hours are 8:30 AM - 11:30 AM, afternoon work hours are 2:00 PM - 6:00 PM), the required attendance time is 7 hours, the leave time is 0, the in-shift attendance time is 7 hours (if the check-in time is earlier than the shift start time of 8:30 AM and the check-out time is later than the shift end time of 6:00 PM, then the total required attendance time is used as the in-shift attendance time), the out-of-shift attendance time is 2 hours, the fixed deduction time is 1 hour, the maximum applicable normal working hours is 7 hours, the maximum applicable additional working hours is 1 hour, the applicable working hours are 8 hours, the actual applied normal working hours are 1 hour, the actual applied additional working hours are 1 hour, and the deducted rest time is 1 hour.

[0117] For example, an outsourced worker worked overtime until 3 AM today, took a morning off, and then worked overtime again until 8 PM. Check-in time was 00:00, check-out time was 20:01, the total work hours were 10 hours, the shift was Old Airport Shift 2 (morning work hours 8:30-12:00, afternoon work hours 14:00-17:30), the required attendance time was 7 hours, the leave time was 3.5 hours, the attendance time within the shift was 7 hours, the attendance time outside the shift was 10.5 hours, the fixed deduction time was 1 hour, the maximum applicable normal working hours was 3.5 hours, the maximum applicable extra working hours was 9.5 hours, the total applicable working hours were 13 hours, the actual applied normal working hours were 3.5 hours, the actual applied extra working hours were 6.5 hours, and the deducted rest time was 3 hours.

[0118] For example, an outsourced worker works normally in the morning and takes a 2-hour break in the afternoon. Check-in time is 08:25, check-out time is 16:07, task hours are 4 hours (not filled to 5 hours), attendance shift is Old Airport Shift 1 (morning work hours are 8:30-11:30, afternoon work hours are 14:00-18:00), required attendance hours are 7 hours, leave time is 2 hours, shift attendance hours are 5 hours, off-shift attendance hours are 0 hours, fixed deduction hours are 0 hours, maximum applicable normal working hours are 5 hours, maximum applicable extra working hours are 0 hours, applicable working hours are 5 hours, actual applied normal working hours are 4 hours, actual applied extra working hours are 0 hours, and deducted rest time is 0 hours.

[0119] By taking the smaller of the available normal working hours and the total cost as the actual normal working hours, and the remainder as extra working hours, we can ensure the rationality of the logic.

[0120] Thus, this application, through a flexibly configurable rest time deduction mechanism, can select between fixed deductions and custom deductions based on system configuration. Fixed deductions employ specific rules (e.g., the hour after a shift is not counted as extra work), while custom deductions can be modified based on the fixed deduction rules. This configurable design allows for more flexible adaptation to different attendance scenarios. Furthermore, this application, through a dual calculation path for extra work hours, can employ different calculation paths for different deduction rules. For example, in the fixed deduction method, extra work hours are divided into morning and afternoon work periods, and corresponding deduction conditions are set (e.g., the hour after the afternoon work period is considered a rest period).

[0121] Thus, the outsourced work hours intelligent verification and assessment method proposed in this application, which integrates multi-source data, solves several problems such as work hour data silos (task data, attendance records, and project budgets of the work hour application system belong to independent systems), single verification dimension (relying on manual verification, which carries the risk of false attendance or false work hours (such as attendance signing in other locations)), and lagging budget control (the budget of the project management system is disconnected from work hour consumption, and there is no way to intervene in real time after overspending), forming a closed-loop verification.

[0122] The foregoing primarily describes the solutions provided by the embodiments of this application from a methodological perspective. It is understood that the working time approval device, in order to achieve the aforementioned functions, includes hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should readily recognize that, based on the working time approval method steps described in conjunction with the embodiments disclosed in this application, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed in hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0123] This application also provides a device for approving work hours. This device can be a server, a CPU within the server, a module within the server for approving work hours, or a client within the server for approving work hours.

[0124] This application embodiment can divide the working time approval device into functional modules or functional units according to the above method example. For example, each function can be divided into a separate functional module or functional unit, or two or more functions can be integrated into one processing module. The integrated module can be implemented in hardware or in software functional modules or functional units. The module or unit division in this application embodiment is illustrative and only represents one logical functional division; other division methods may be used in actual implementation.

[0125] This application provides a work duration approval device, applied to a work duration approval system. The work duration approval system is used to approve whether the work duration applied for by outsourced personnel through the work duration application system is normal. Figure 4 As shown, the approval device for the working time may include: an acquisition module 401 and a processing module 402.

[0126] The acquisition module 401 is used to respond to receiving a work hour application request from the work hour application system, acquire the task execution time data of the outsourced personnel and the attendance data of the outsourced personnel in the preset work cycle. The task execution time data is used to indicate the work time of the outsourced personnel in performing the assigned tasks in the preset work cycle. The work hour application request includes: target application time, which is the work time applied for by the outsourced personnel in the preset work cycle.

[0127] Processing module 402 is used in the working hours approval system, which is used to approve whether the working hours applied for by outsourced personnel through the working hours application system are normal.

[0128] Figure 5 This is a schematic diagram illustrating the structure of another work duration approval device according to an exemplary embodiment. The work duration approval device may include a processor 502, which executes application code to implement the work duration approval method of this application.

[0129] The processor 502 may be a central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits used to control the execution of the program of the present application.

[0130] like Figure 5 As shown, the device for approving working hours may further include a memory 503. The memory 503 stores the application code that executes the scheme of this application, and its execution is controlled by the processor 502.

[0131] Memory 503 may be a read-only memory (ROM) or other type of static storage device capable of storing static information and instructions, random access memory (RAM) or other type of dynamic storage device capable of storing information and instructions, or electrically erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical discs, laser discs, optical discs, digital universal optical discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and accessible by a computer, but not limited thereto. Memory 503 may exist independently and be connected to processor 502 via bus 504. Memory 503 may also be integrated with processor 502.

[0132] like Figure 5 As shown, the work duration approval device may further include a communication interface 501, wherein the communication interface 501, processor 502, and memory 503 may be coupled to each other, for example, through a bus 504. The communication interface 501 is used for information exchange with other devices, for example, supporting information exchange between the work duration approval device and other devices.

[0133] It should be pointed out that, Figure 5 The equipment structure shown does not constitute a limitation on the approval device for this working time, except Figure 5 In addition to the components shown, the approval device for the working time may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0134] In actual implementation, the functions implemented by processing module 402 can be provided by... Figure 5 The processor 502 shown calls the program code in memory 503 to implement this.

[0135] This application also provides a computer-readable storage medium storing instructions that, when executed by a processor of a computer device, enable the computer to perform the work duration approval method provided in the embodiments described above. For example, the computer-readable storage medium may be a memory 503 including instructions, which may be executed by a processor 502 of a computer device to complete the method. Optionally, the computer-readable storage medium may be a non-transitory computer-readable storage medium, such as a ROM, RAM, CD-ROM, magnetic tape, floppy disk, or optical data storage device.

[0136] Figure 6 A conceptual partial view of a computer program product provided in an embodiment of this application is shown schematically. The computer program product includes a computer program for executing computer processes on a computing device.

[0137] In one embodiment, the computer program product is provided using a signal bearer medium 600. The signal bearer medium 600 may include one or more program instructions that, when executed by one or more processors, can provide the above-mentioned... Figure 3 The described function or part of the function. Therefore, for example, refer to... Figure 3 In the embodiment shown, one or more features of S301-S302 can be fulfilled by one or more instructions associated with the signal carrying medium 600. Furthermore, Figure 6 The program instructions in the document also describe example instructions.

[0138] In some examples, the signal carrying medium 600 may include a computer-readable medium 601, such as, but not limited to, a hard disk drive, a compact disc (CD), a digital video optical disc (DVD), a digital magnetic tape, a memory, a read-only memory (ROM), or a random access memory (RAM), and so on.

[0139] In some implementations, the signal carrying medium 600 may include a computer recordable medium 602, such as, but not limited to, a memory, a read / write (R / W) CD, an R / W DVD, and so on.

[0140] In some implementations, the signal carrying medium 600 may include a communication medium 603, such as, but not limited to, digital and / or analog communication media (e.g., fiber optic cables, waveguides, wired communication links, wireless communication links, etc.).

[0141] The signal-bearing medium 600 can be transmitted by a wireless communication medium 603. One or more program instructions may be, for example, computer-executable instructions or logical implementation instructions.

[0142] In some examples, the work duration approval device can be configured to provide various operations, functions, or actions in response to one or more program instructions via computer-readable medium 601, computer-recordable medium 602, and / or communication medium 603.

[0143] Through the above description of the embodiments, those skilled in the art can clearly understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0144] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another apparatus, or some features may be ignored or not executed. Furthermore, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.

[0145] The units described as separate components may or may not be physically separate. A component shown as a unit can be one or more physical units; that is, it can be located in one place or distributed in multiple different locations. Some or all of the constituent units can be selected to achieve the purpose of this embodiment, depending on actual needs.

[0146] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0147] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiments of this application, essentially, or the part that contributes to the prior art, or a complete or partial classification of the technical solution, can be embodied in the form of a software product. This software product is stored in a storage medium and includes several instructions to cause a device (which may be a microcontroller, chip, etc.) or processor to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, ROM, RAM, magnetic disks, or optical disks.

[0148] The above are merely specific embodiments of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A method for approving working hours, characterized in that, The method is applied to a work hour approval system, which is used to approve whether the working hours applied for by outsourced personnel through a work hour application system are normal; the method includes: In response to receiving a work hour application request from the work hour application system, the system obtains the task execution time data of the outsourced personnel and the attendance data of the outsourced personnel in a preset work cycle. The task execution time data is used to indicate the work time of the outsourced personnel in performing the assigned tasks in the preset work cycle. The work hour application request includes: target application time, which is the work time applied for by the outsourced personnel in the preset work cycle. Based on the task execution data and the attendance data, the application status of the work hour application request is updated, and the business flow corresponding to the application status is carried out to complete the approval of the work hour application request.

2. The method according to claim 1, characterized in that, The step of updating the application status of the work hour application request based on the task execution duration data and the attendance data includes: The actual working hours of the outsourced personnel are obtained based on the attendance data, and the total task execution time of the outsourced personnel is obtained based on the task execution time data. If the actual working time is less than the total task execution time, and the target requested working time is less than or equal to the actual working time, then the application status of the working time request is set to abnormal total task execution time, and a first working time modification request is sent to the outsourced personnel. The first working time modification request is used to indicate the modification of the total task execution time. If the actual working time is less than the total task execution time, and the target requested working time is greater than the actual working time, then the application status of the working time application request is set to working time application abnormal, and a second working time modification request is sent to the outsourced personnel. The first working time modification request is used to indicate the modification of the target requested working time and the total task execution time. If the actual working time is greater than the total task execution time, and the target requested working time is less than or equal to the actual working time, then the application status of the working time request is set to the approved status, and the business flow corresponding to the approved status is carried out.

3. The method according to claim 1 or 2, characterized in that, Before completing the approval of the work hour request, the method further includes: Obtain the remaining working time, which is the difference between the predicted working time and the applied working time, wherein the predicted working time is the predicted total time to complete the assigned task; Based on the attendance data and the target requested working hours, the target working hours of the outsourced personnel are obtained; Determine whether the remaining working time is less than the target working time; If the remaining working time is less than the target working time, the application status of the working time application request is set to "stop applying for working time", and a remaining working time exception message is sent to the approver. The remaining working time exception message is used to indicate that the remaining working time is insufficient.

4. The method according to claim 3, characterized in that, The process of obtaining the target working hours for the outsourced personnel based on the attendance data and the target requested working hours includes: Based on the attendance data and the target requested working hours, the normal working hours and the extra working hours of the outsourced personnel are obtained. The target normal working hours are calculated based on the first preset working coefficient, and the target additional working hours are calculated based on the second preset working coefficient. Based on the target normal working time and the target extra working time, the target working time is obtained, and the target working time is the sum of the target normal working time and the target extra working time.

5. The method according to claim 1 or 2, characterized in that, Before approving the work hour request, the method further includes: Obtain the additional working hours of the outsourced personnel; If the extra working hours of the outsourced personnel are greater than 0, an extra working hours approval request is sent to the approver so that the approver can approve whether the extra working hours applied for by the outsourced personnel are normal. The extra working hours approval request includes at least one of the following: the target applied working hours, the extra working hours of the outsourced personnel, the task execution time data, and the attendance data. The task execution time data includes: type task execution time, which is the working time of the outsourced personnel in performing the corresponding type of assigned task in a preset work cycle.

6. The method according to claim 5, characterized in that, The process of obtaining the additional working hours of the outsourced personnel includes: Based on the attendance data, a first check-in time and a second check-in time are obtained. The attendance data includes multiple check-in times, where the first check-in time is the earliest check-in time among the multiple check-in times, and the second check-in time is the latest check-in time among the multiple check-in times. Based on the first check-in time and the first preset extra working time, the first extra working duration is obtained. The first preset extra working time is earlier than the first preset working start time. The first preset working start time is the working start time of the first preset working period of the preset working cycle. Based on the second check-in time and the second preset extra working time, a second extra working time is obtained. The second preset extra working time is later than or equal to the second preset working end time. The second preset working end time is the working end time of the second preset working period of the preset working cycle. The working start time of the second preset working period is later than the working end time of the first preset working period. The additional working hours of the outsourced personnel are obtained based on the first additional working hours and the second additional working hours.

7. The method according to claim 6, characterized in that, The process of obtaining the first additional working time based on the first check-in time and the first preset work start time includes: Determine whether the first check-in time is earlier than the first preset work start time; If the first check-in time is earlier than the first preset work start time, then based on the first check-in time and the start time of the preset work cycle, an initial extra work period is obtained, and the initial extra work period is used as the first extra work duration. The initial extra work period is the work duration between the start time and the first check-in time, and the start time of the preset work cycle is earlier than the first check-in time. If the first check-in time is later than the first preset work start time, then the first extra work time is determined to be 0.

8. The method according to claim 6, characterized in that, The process of obtaining the second additional working hours based on the second check-in time and the second preset work start time includes: Determine whether the second check-in time is later than the second preset extra working time; If the second check-in time is later than the second preset work start time, then based on the second check-in time and the second preset work start time, a final extra work period is obtained, and the final extra work period is used as the second extra work duration. The final extra work period is the work duration between the second check-in time and the second preset work start time. If the second check-in time is earlier than or equal to the second preset work start time, then the second extra work duration is determined to be 0.

9. A computer-readable storage medium storing instructions, characterized in that, When the computer executes the instruction, the computer performs the method as described in any one of claims 1-8.

10. A computer program product containing instructions, characterized in that, When the instructions are executed by the computing device, the computing device performs the method as described in any one of claims 1-8.