Attendance Data Processing Method, Device, Electronic Device and Storage Medium

By responding to user's operation requests on the attendance interface and determining the response result based on the relationship between the time difference and the reference trigger interval, the problem of mis-clocking in the existing attendance method is solved, and the accuracy of attendance results is improved.

CN114722071BActive Publication Date: 2025-05-30TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110003483.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-01-04
Publication Date
2025-05-30
Estimated Expiration
2041-01-04

AI Technical Summary

Technical Problem

The existing attendance methods are prone to mis-clocking, resulting in inaccurate attendance results.

Method used

By displaying the function control keys on the attendance interface, in response to the user's second operation request, the response result of the second operation request is determined based on the relationship between the time difference and the reference trigger interval, so as to avoid the user's continuous triggering of two operation requests as being misidentified as going to work and leaving get off work.

Benefits of technology

It reduces the probability of users accidentally checking in and improves the accuracy of attendance results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114722071B_ABST
    Figure CN114722071B_ABST
Patent Text Reader

Abstract

This application relates to the field of data processing and artificial intelligence technologies, and discloses an attendance data processing method, apparatus, electronic device, and storage medium. The attendance data processing method includes: displaying an attendance interface including function control keys; in response to a second operation request triggered by a user received through the function control keys, displaying a prompt message indicating whether the second operation request is successful; wherein, the prompt message is generated based on the relationship between the time difference and the reference trigger interval, and the time difference is the time difference between a first time point corresponding to a first operation request triggered by the user and a second time point corresponding to the second operation request triggered by the user; the first operation request is the first trigger request issued by the user in a preset attendance period, and the second operation request is the next trigger request of the first operation request in the same preset attendance period. Using the attendance data processing solution provided by this application can improve the attendance accuracy rate.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical fields of data processing and artificial intelligence. Specifically, this application relates to an attendance data processing method, apparatus, electronic device, and storage medium. Background Art

[0002] Managers usually need to understand the operation status of an enterprise at any time. Taking attendance as an example, employees need to sign in and out for attendance before starting work, so that managers can understand the arrival situation and work status of employees.

[0003] There are various existing attendance methods. Taking the punching method as an example, after receiving an employee's punch-in for work, the next punch in the existing attendance method is considered as a punch-out for work, and there is likely to be a situation of incorrect punching. For example, if a user punches twice in a row, the first punch is considered as a punch-in for work, and the second punch is considered as a punch-out for work, resulting in inaccurate attendance results. Summary of the Invention

[0004] The purpose of this application aims to solve at least one of the above technical defects, and the following technical solutions are specifically proposed to solve the problem of inaccurate attendance results.

[0005] One aspect of this application provides an attendance data processing method, including:

[0006] Display an attendance interface including function control keys;

[0007] In response to a second operation request triggered by a user received through the function control key, display a prompt message indicating whether the second operation request is successful; wherein, the prompt message is generated based on the relationship between the time difference and the reference trigger interval, and the time difference is the time difference between the first time point corresponding to the first operation request triggered by the user and the second time point corresponding to the second operation request triggered by the user; wherein, the first operation request is the first operation request issued by the user within a preset attendance cycle, and the second operation request is the next operation request of the first operation request within the same preset attendance cycle.

[0008] Another aspect of this application provides an attendance data processing method, including:

[0009] In response to a second operation request of a user, determine the reference trigger interval of the first operation request received before the second operation request and the adjacent two operation requests that have been determined. The first operation request is the first operation request issued by the user within a preset attendance cycle, and the second operation request is the next operation request of the first operation request within the same preset attendance cycle;

[0010] Determine the response result of the second operation request based on the relationship between the time difference and the reference trigger interval, where the time difference is the time difference between the first time point corresponding to the first operation request and the second time point corresponding to the second operation request.

[0011] Another aspect of the present application provides an attendance data processing device, which includes:

[0012] A first display module for displaying an attendance interface including function control keys;

[0013] A second display module for displaying a prompt message indicating whether the second operation request is successful in response to a second operation request triggered by the user received through the function control key; the prompt message is generated based on the relationship between the time difference and the reference trigger interval, where the time difference is between the first time point corresponding to the first operation request triggered by the user and the second time point corresponding to the second operation request triggered by the user; wherein, the first operation request is the first operation request issued by the user in a preset attendance period, and the second operation request is the next operation trigger request of the first operation request in the same preset attendance period.

[0014] Another aspect of the present application provides an attendance data processing device, which includes:

[0015] A response module for determining the first operation request received before the second operation request and the reference trigger interval of two adjacent operation requests that have been determined in response to the second operation request of the user, where the first operation request is the first operation request issued by the user in a preset attendance period, and the second operation request is the next operation request of the first operation request in the same preset attendance period;

[0016] A response result determination module for determining the response result of the second operation request based on the relationship between the time difference and the reference trigger interval, where the time difference is the time difference between the first time point corresponding to the first operation request and the second time point corresponding to the second operation request.

[0017] Yet another aspect of the present application provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the attendance data processing method shown in the first aspect of the present application when executing the program.

[0018] Another aspect of the present application provides a computer-readable storage medium, on which a computer program is stored, and the computer program implements the attendance data processing method shown in the first aspect of the present application when executed by a processor.

[0019] The beneficial effects brought by the technical solution provided by the present application are:

[0020] The attendance data processing method provided by this application pre-sets a reference trigger interval, and determines the response result of the second operation request according to the relationship between the trigger time difference between the first operation request and the second operation request and the reference trigger interval, so that the time point interval corresponding to the first operation request and the second operation request refers to the reference trigger interval, which can avoid the following scenario: the user continuously triggers two operation requests, the first is recognized as an operation request representing going to work, and the second is recognized as an operation request representing getting off work. Therefore, the attendance data processing method provided by this application reduces the probability of users punching in by mistake and is conducive to improving the accuracy of attendance results.

[0021] Additional aspects and advantages of this application will be given in part in the following description, which will become apparent from the following description, or will be understood through the practice of this application. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] The above and / or additional aspects and advantages of this application will become apparent and easy to understand from the following description of the embodiments in conjunction with the drawings, where:

[0023] Figure 1 is a flowchart of an attendance data processing method provided by an embodiment of this application;

[0024] Figure 2-1 is a diagram of an attendance rule setting interface provided by an embodiment of this application;

[0025] Figure 2-2 is a diagram of an attendance rule setting interface provided by another embodiment of this application;

[0026] Figure 3 is a diagram of an off-work attendance interface provided by an embodiment of this application, which focuses on showing the prompt information of the reference trigger time point corresponding to off-work punching on the attendance interface;

[0027] Figure 4 is a timing diagram of setting a reference trigger interval provided by an embodiment of this application;

[0028] Figure 5 is a flowchart of an attendance data processing solution provided by another embodiment of this application, and the application scenario of this attendance data processing solution is an attendance diagram for going to work and getting off work;

[0029] Figure 6 is a timing diagram of an attendance data processing solution corresponding to an attendance scenario for going to work and getting off work provided by another embodiment of this application;

[0030] Figure 7 is a schematic structural diagram of an attendance data processing device provided by an embodiment of this application, and this device can implement the attendance data processing solution executed by the terminal;

[0031] Figure 8It is a schematic structural diagram of an attendance data processing device provided by another embodiment of the present application. This device can implement an attendance data processing solution executed on the server side;

[0032] Figure 9 It is a schematic structural diagram of an electronic device provided by an embodiment of the present application. Detailed implementation manners

[0033] The embodiments of the present application will be described in detail below. The examples of the embodiments are shown in the accompanying drawings, where the same or similar reference numerals represent the same or similar elements or elements with the same or similar functions throughout. The embodiments described below by referring to the accompanying drawings are exemplary and are only used to explain the present application, and cannot be construed as a limitation to the present application.

[0034] Those skilled in the art of the present technology can understand that unless specifically stated otherwise, the singular forms "a", "an", "the" and "said" used herein may also include the plural forms. It should be further understood that the term "including" used in the specification of the present application means the presence of features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or their combinations. It should be understood that when we say that an element is "connected" or "coupled" to another element, it can be directly connected or coupled to other elements, or there may also be intermediate elements. In addition, the "connection" or "coupling" used herein may include wireless connection or wireless coupling. The phrase "and / or" used herein includes all or any unit and all combinations of one or more related listed items.

[0035] Those skilled in the art can understand that unless otherwise defined, all terms (including technical terms and scientific terms) used herein have the same meaning as the general understanding of those of ordinary skill in the art to which the present invention belongs. It should also be understood that terms such as those defined in a general dictionary should be understood to have a meaning consistent with the meaning in the context of the prior art, and will not be interpreted with an idealized or overly formal meaning unless specifically defined as here.

[0036] Flexible working hours. In this clock-in mode, users can clock in at any time. The current first clock-in record is for work start, the next one is for work end, and the next one after that is for work start again, and so on.

[0037] Automatic clock-in. In this clock-in mode, there is no need for users to manually clock in. After the clock-in device determines that the user has arrived at the designated work location, it automatically clocks in for the user.

[0038] The solution provided by the embodiments of the present application can be executed by any electronic device, such as a terminal device or a server. Among them, the server can be an independent physical server, a server cluster or a distributed system composed of multiple physical servers, or a cloud server providing cloud computing services. The terminal can be a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, etc., but is not limited thereto. The terminal and the server can be directly or indirectly connected through wired or wireless communication methods, which are not limited in this application. Regarding the technical problems existing in the prior art, the attendance data processing method, device, electronic device and storage medium provided by the present application aim to solve at least one of the technical problems in the prior art.

[0039] Among them, optionally, the solution provided by the embodiments of the present application can be implemented based on cloud technology. The data processing involved in each alternative embodiment (including but not limited to data calculation, etc.) can be implemented using cloud computing. Cloud technology is a hosting technology that unifies a series of resources such as hardware, software, and networks within a wide area network or a local area network to achieve data calculation, storage, processing, and sharing. Cloud technology is the general term for network technology, information technology, integration technology, management platform technology, application technology, etc. based on the cloud computing business model, which can form a resource pool, be used on demand, and be flexible and convenient. Cloud computing technology will become an important support. The background services of the technical network system require a large amount of computing and storage resources, such as video websites, picture websites, and more portal websites. With the high development and application of the Internet industry, in the future, each item may have its own identification mark and needs to be transmitted to the background system for logical processing. Data at different levels will be processed separately, and various industry data requires a powerful system support, which can only be achieved through cloud computing.

[0040] Cloud computing is a computing model that distributes computing tasks on a resource pool composed of a large number of computing devices, enabling various application systems to obtain computing power, storage space, and information services as needed. The network that provides resources is called the "cloud". The resources in the "cloud" seem to be infinitely expandable to users, and can be obtained at any time, used on demand, expanded at any time, and paid according to usage.

[0041] As a basic cloud computing service provider, a cloud computing resource pool (referred to as the cloud platform, generally known as the IaaS (Infrastructure as a Service) platform) will be established. Multiple types of virtual resources are deployed in the resource pool for external customers to select and use. The cloud computing resource pool mainly includes: computing devices (virtual machines containing operating systems), storage devices, and network devices. Logically, the PaaS (Platform as a Service) layer can be deployed on the IaaS (Infrastructure as a Service) layer, and the SaaS (Software as a Service) layer can be deployed on top of the PaaS layer. Alternatively, the SaaS can be directly deployed on the IaaS. PaaS is a platform for software operation, such as databases, web containers, etc. SaaS is various business software, such as web portals, mass text message senders, etc. Generally speaking, SaaS and PaaS are the upper layers relative to IaaS.

[0042] The following uses specific embodiments to elaborate in detail on the technical solutions of this application and how the technical solutions of this application solve the above technical problems. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of this application will be described below with reference to the accompanying drawings.

[0043] An implementation manner provided by the embodiments of this application is as follows Figure 1 As shown, a flowchart of an attendance data processing method is provided. This solution can be executed by any electronic device. For example, the solution of the embodiments of this application can be executed on a terminal or a server. By obtaining the attendance records of users, the attendance situation of users can be understood. For the convenience of description, the method provided by the embodiments of this application will be described below with the terminal as the execution subject. As Figure 1 shown in the flowchart, the method may include the following steps:

[0044] Step S110, display an attendance interface including function control keys;

[0045] Step S120, in response to a second operation request triggered by the user received through the function control key, display a prompt message indicating whether the second operation request is successful; wherein, the prompt message is generated based on the relationship between the time difference and the reference trigger interval. The time difference is the time difference between the first time point corresponding to the first operation request triggered by the user and the second time point corresponding to the second operation request triggered by the user; the first operation request is the first trigger request issued by the user within a preset attendance period, and the second operation request is the next trigger request of the first operation request within the same preset attendance period.

[0046] The solution provided by this embodiment can be directly carried out on the terminal interface. In the attendance scenario, the attendance interface is displayed on the terminal interface, and the attendance interface contains function control keys. The function control keys can exist in the form of buttons, keys, or prompt boxes. Through the function control keys, an operation request can be sent. In the attendance scenario, the operation request can be a work start request, a work end request, etc.

[0047] Receive the first operation request and the second operation request triggered by the user through the function control keys on the operation interface. The first operation request is the first operation request sent by the user within the preset attendance cycle, and the second operation request is the next operation request of the first operation request within the same preset attendance cycle. For example, if the preset attendance cycle is the whole day of Tuesday and three operation requests from the user are received on the same day at 9:00, 12:00, and 18:00 respectively, then the operation request sent at 9:00 is the first operation request within the preset attendance cycle, and this first operation request is the first operation request. The second operation request sent at 12:00 within the preset attendance cycle is the next operation request of the first operation request, and it is the second operation request in the embodiment of this application.

[0048] In response to the second operation request triggered by the user received through the function control key, display a prompt message indicating whether the second operation request is successful. The prompt message is generated based on the time difference between the first time point corresponding to the first operation request and the second time point corresponding to the second operation request, and the relationship with the reference trigger interval.

[0049] Among them, the reference trigger interval is the preset time difference between the first operation request and the second operation request. For example, in the attendance scenario, the reference trigger interval corresponding to the attendance user is the interval between going to work and getting off work for the user, that is, the shortest interval time between going to work and getting off work.

[0050] When receiving the first operation request triggered by the user, record the first time point corresponding to the first operation request. Similarly, record the second time point corresponding to the second operation request, and calculate the time difference between the first time point and the second time point. Determine the response result of the second operation request according to the relationship between the time difference between the first time point and the second time point and the preset reference trigger interval. The response result includes that the second operation request is successful and the second operation request fails, and display the response result on the attendance interface.

[0051] In the attendance scenario, in response to the second operation request triggered by the user, a prompt message indicating the success of the second operation request or a prompt message indicating the failure of the second operation request can be displayed on the attendance interface. The display of a prompt message indicating the success of the second operation request on the attendance interface can include the following situations: a prompt message indicating the success of the second operation request can be displayed when the time difference is greater than the reference trigger interval, or a prompt message indicating the success of the second operation request can be displayed when the time difference is within the preset threshold range of the reference trigger interval, etc.

[0052] The reference trigger interval is set in advance, and the response result of the second operation request is determined according to the relationship between the trigger time difference between the first operation request and the second operation request and the reference trigger interval, so that the time point interval between the first operation request and the second operation request refers to the trigger interval, which can avoid the following scenario: the user triggers two operation requests continuously, the first is recognized as an operation request representing going to work, and the second is recognized as an operation request representing getting off work. Therefore, the attendance data processing method provided by this application reduces the probability of users punching in by mistake and is beneficial to improving the accuracy of attendance.

[0053] To facilitate the clarification of the technical solution provided by this application, the solution provided by this application will be elaborated below through specific examples:

[0054] In an alternative embodiment, the following steps can also be performed on the attendance interface including function control keys:

[0055] A1. Display an attendance rule setting interface, which includes a reference trigger interval setting interface and at least two attendance rule setting interfaces;

[0056] A2. Receive the rule data input by the user in each attendance rule setting interface and the time interval input by the user in the reference trigger interval setting interface;

[0057] A3. Display a prompt message indicating that the attendance rules and reference interval corresponding to the user have taken effect.

[0058] Combined with Figure 2-1 and Figure 2-2 the settings of the attendance rules and the reference trigger interval are described, Figure 2-1 and Figure 2-2 are two attendance rule setting interfaces provided for an embodiment, Figure 2-1 is an attendance rule setting interface, which includes multiple attendance rule setting interfaces, such as Figure 2-1 the assistance management interface, the reporting object interface, the whitelist interface, the holiday and special date interface, the photo taking and face recognition interface, etc. The attendance rule setting interface also includes a reference trigger interval setting interface (corresponding to Figure 2-1the "punch-in interval time" interface). Each attendance rule setting interface corresponds to a detailed setting interface, and the rule data corresponding to the attendance rule setting interface can be set on the detailed setting interface. For example, Figure 2-1 The lower part of Figure 2-1 is the detailed setting interface for the punch-in interval time. On this detailed setting interface, a pre-set time interval can be selected, such as Figure 2-1 0, 5, 10, etc. in Figure 2-1 . The time unit can be set to minutes, hours, etc. By swiping up and down on the detailed setting interface corresponding to the punch-in interval time, the selected time interval is placed between Figure 2-1 the two parallel lines shown in Figure 2-1 . Then, click the OK button in the upper right corner of this detailed setting interface to set the punch-in interval time, that is, to set the reference trigger interval. Similarly, the setting of each attendance rule can be achieved through the detailed setting interface corresponding to each attendance rule setting interface.

[0059] Figure 2-2 Figure Figure 2-2 shows another attendance rule setting interface and reference trigger interval setting interface. On this setting interface, each attendance rule setting interface includes a rule type interface, a punch-in personnel interface, a whitelist interface, a reporting object interface, a punch-in method interface, a punch-in location interface, a punch-in time interface, a special date interface, etc. A punch-in interval time module is also displayed on this setting interface. On this setting interface, the detailed setting interface corresponding to each attendance rule setting interface is displayed in the form of options on the setting interface. For example, the detailed setting interface corresponding to the rule type interface includes the following three options: fixed time to go to and from work, shift-based to go to and from work, and flexible to go to and from work. The detailed setting interface corresponding to the punch-in method interface includes the following three options: mobile phone + intelligent attendance machine, mobile phone, and intelligent attendance machine. The reference trigger interval (corresponding to Figure 2-2 the punch-in interval time in Figure 2-2 ) also displays multiple options in the form of a drop-down box on the setting interface. After the user sets each attendance rule and the reference trigger interval on this setting interface, the rule data can be saved by clicking the save button on the setting interface.

[0060] After completing the setting of the attendance rules and the reference trigger interval, a prompt message indicating that the attendance rules and the reference trigger interval have taken effect is displayed on the attendance interface, so that the user can determine that the set attendance rules and the reference trigger interval have taken effect through this prompt message. The terminal can re-obtain new attendance rules and reference trigger intervals during the effective period of the current attendance rules and reference trigger interval.

[0061] In an alternative embodiment, an attendance interface including function control keys is displayed on the terminal interface, and it can also be done in the following way: when the attendance rule corresponding to the user is a specific rule type, function control keys in a triggerable state are displayed on the attendance interface to send an operation request through the function control keys in the triggerable state.

[0062] The rule types in the attendance rules corresponding to different users may be different, and the display states of the function control keys corresponding to different rule types are also different. For example, if the rule type corresponding to User A is to commute to and from work at fixed times, then during the punch-in period corresponding to the fixed time, the function control keys on the attendance interface are in a triggerable state, and during non-punch-in periods, the function control keys on the attendance interface are in a non-triggerable state; if the rule type of the attendance rule corresponding to User B is flexible commuting, then the function control keys on User B's attendance interface can always be in a triggerable state. Among them, when the function control keys are in a triggerable state, on the interface, it can be presented that the function control key area is bright, with a chromaticity difference from the background color. Clicking on the function control key will give a corresponding response result, while when the function control keys are in a non-triggerable state, on the interface, it can be presented that the function control key area shows a grayscale image, or there is no chromaticity difference from the background color. Clicking on the function control key will give no feedback.

[0063] Optionally, in response to a second operation request triggered by the user received through the function control key, displaying a prompt message indicating whether the second operation request is successful may include the following situations:

[0064] When the time difference between the first time point corresponding to the first operation request triggered by the user and the second time point corresponding to the second operation request triggered by the user is less than the reference trigger interval, display a prompt message indicating that the second operation request fails;

[0065] When the time difference between the first time point corresponding to the first operation request triggered by the user and the second time point corresponding to the second operation request triggered by the user is not less than the reference trigger interval, display a prompt message indicating that the second operation request is successful.

[0066] The solution provided by this embodiment clarifies the conditions for the success and failure of the second operation request. The condition for the success of the second operation request includes that the time difference between the first time point and the second time point is not less than the reference trigger interval. Then, the trigger time points of the first operation request and the second operation request must be separated by the reference trigger interval to display a prompt message indicating the success of the second operation request.

[0067] In the scenario of commuting attendance, the operation is a punch-in event. The first operation request is a request for punching in to work, the corresponding first time is the time for punching in to work, and the corresponding reference trigger interval is the interval between punching in to work and punching out. The solution provided by this embodiment is as follows: when the time difference between the time for punching out and the time for punching in to work is not less than the interval between punching in to work and punching out, display a prompt message indicating successful punching out; when the time difference between the time for punching out and the time for punching in to work is less than the interval between punching in to work and punching out, display a prompt message indicating failed punching out on the attendance interface.

[0068] It should be noted that the above attendance data processing method can be applied not only to work attendance, but also to task scenarios that require a certain time interval before they can be executed again. For example, in the case of washing machines and dishwashers, the user may press the button twice in a row, but the task takes a certain amount of time to complete. Therefore, a certain check-in interval needs to be set between the start and the end to prevent the washing machine from malfunctioning.

[0069] On this basis, another embodiment of the present application further provides an attendance data processing method. When the time difference between the first time corresponding to the first operation request of the user and the second time corresponding to the second operation request is less than the reference trigger interval, it includes:

[0070] Displaying a prompt message for the reference trigger time point corresponding to the second operation request, where the reference trigger time point is the recommended time point of the second time point when the time difference between the first time point and the second time point is equal to the reference trigger interval.

[0071] In the solution provided by this embodiment, when the second operation request fails, a prompt message for the reference trigger time point corresponding to the second operation request is displayed, that is, the reference trigger time point corresponding to the successful second operation request is displayed. In the commuting attendance scenario, the operation is a check-in event, the first operation request is the work check-in request, the corresponding first time is the work check-in time, and the corresponding reference trigger interval is the commuting check-in interval. The solution provided by this embodiment is to display the recommended check-out time on the attendance interface. As Figure 3 shown in the check-out attendance interface diagram, it mainly shows the prompt message for the reference trigger time point corresponding to the check-out on the attendance interface. The current check-out time point is 20:29, and the prompt message displayed on the attendance interface is "Please check out after 20:31". That is to say, 20:31 is the recommended check-out time point and the reference trigger time point corresponding to the second operation request.

[0072] The solution provided by this embodiment reminds the user of the time point at which the second operation request can be successfully triggered through the reference trigger time point, so that the user can successfully trigger the second operation request after the reference trigger time point, improving the user experience and the probability of the success of the second operation request.

[0073] It should be noted that the solution of displaying the prompt message for the reference trigger time point provided by this embodiment can be carried out in an alternative manner with the solution of displaying the prompt message indicating the failure of the second operation request, or the prompt message for the reference trigger time point corresponding to the second operation request can also be displayed simultaneously when the prompt message indicating the failure of the second operation request is displayed.

[0074] An alternative embodiment of the present application further provides an attendance data processing method. This method can be executed on the server side and can include the following steps:

[0075] B1, in response to a second operation request of a user, determine the first operation request received before the second operation request and the reference trigger interval of two adjacent operation requests that have been determined; wherein, the first operation request is the first operation request issued by the user in a preset attendance period, and the second operation request is the next operation request of the first operation request in the same preset attendance period;

[0076] B2, based on the relationship between the time difference and the reference trigger interval, determine the response result of the second operation request, where the time difference is the time difference between the first time point corresponding to the first operation request and the second time point corresponding to the second operation request.

[0077] The server receives a second operation request sent by a certain user from a terminal, obtains the first operation request in the same preset attendance period of the second operation request, and the reference trigger interval of two adjacent operation requests in the same preset attendance period, where the first operation request is the first operation request issued by the user in the preset attendance period, and the second operation request is the next operation request of the first operation request in the same preset attendance period.

[0078] Among them, the reference trigger interval can be the reference time interval in time between the second operation request and the first operation request in the same preset attendance period. In the scenario of commuting attendance, the reference trigger interval is the commuting interval, that is, in the same preset attendance period, the shortest interval time between punching in for work and punching out for work. The reference trigger interval can be obtained by looking up the reference trigger interval associated with the user who issued the second operation request in the database.

[0079] After receiving the second operation request, obtain the time information of the second operation request, that is, the second time point corresponding to the second operation request. Determine the attendance period where the second time point of the second operation request is located, obtain the first operation request received in this attendance period, that is, obtain the first operation request in the same preset attendance period, and at the same time obtain the first time point corresponding to the first operation request.

[0080] Determine the time difference between the first time point and the second time point, compare this time difference with the reference trigger interval, and determine the response result of the second operation request according to the comparison result between the time difference and the reference trigger interval. The response result includes that the second operation request is successful and the second operation request fails.

[0081] Based on the relationship between the time difference between the first time point corresponding to the first operation request and the second time point corresponding to the second operation request, and the reference trigger interval, the response result of the second operation request is determined. When the response result is that the second operation request is successful, the following situations may be included: The response result of the successful second operation request can be determined when the time difference is not less than the reference trigger interval, or the response result of the successful second operation request can be determined when the time difference is within the preset threshold range of the reference trigger interval, etc.

[0082] The solution provided by the embodiments of the present application pre-sets a reference trigger interval, and determines the response result of the second operation request according to the relationship between the trigger time difference between the first operation request and the second operation request and the reference trigger interval, so that the time point interval between the first operation request and the second operation request refers to the reference trigger interval, which can avoid the following scenario: The user continuously triggers two operation requests, the first is recognized as an operation request representing going to work, and the second is recognized as an operation request representing getting off work. Therefore, the attendance data processing method provided by the present application reduces the probability of the user punching in by mistake and is beneficial to improving the accuracy of attendance.

[0083] To more clearly understand the attendance data processing solution provided by the present application and its technical effects, the following elaborates on its specific implementation schemes with multiple alternative embodiments.

[0084] In an alternative embodiment, the first operation request is the first trigger request sent by the user in a preset attendance period. The first operation request can be determined in the following manner:

[0085] B11. Determine the preset attendance period where the second time point corresponding to the second operation request sent by the user is located;

[0086] B12. Obtain the previous operation request of the second operation request received in the preset attendance period, and use the previous operation request as the first operation request in the preset attendance period.

[0087] The embodiments of the present application provide a solution for determining the first operation request. After obtaining the second operation request, according to the identification information of the user who sent the second operation request, determine the attendance period of the user, determine the preset attendance period where the second time point corresponding to the second operation request is located, and obtain the previous operation request of the second operation request received in the preset attendance period. The previous operation request can be the first operation request received in the preset attendance period, and determine the previous operation request as the first operation request.

[0088] The method provided by using this solution can accurately determine the first operation request, so as to subsequently determine the response result of the second operation request based on the accurate first operation request and the corresponding first time point.

[0089] An example is as follows: a second operation request sent by user A is received, identification information of user A is obtained, a database storing user identification information and attendance rules is queried, and the attendance rules corresponding to the user are determined. The attendance rules include attendance cycles, which can be days, weeks, months, etc. If the second time point corresponding to the second operation request is 16:00 on Tuesday, the first operation request received before 16:00 on Tuesday is determined, and the first operation request received on Tuesday is determined as the first operation request in chronological order.

[0090] The reference trigger interval in each embodiment of the present application can be determined by setting or by background calculation. Next, the schemes of setting the reference trigger interval and background calculation of the reference trigger interval are explained in detail through multiple embodiments.

[0091] In an optional embodiment, the reference trigger interval between two adjacent operation requests may be obtained in the following manner, including:

[0092] C11, receiving the rule data input by the user in each attendance rule setting interface on the attendance interface, and the time interval input in the reference trigger interval setting interface;

[0093] C12, determining the attendance rules according to the rule data and the corresponding effectiveness logic of the attendance rule setting interface, and determining the reference trigger interval according to the time interval input by the reference trigger interval setting interface.

[0094] The user enters the corresponding rule data through the various attendance rule setting interfaces on the attendance interface, and enters the corresponding time interval through the reference trigger interval setting interface. The background (such as the server) receives the rule data entered by the user through the various attendance rule setting interfaces, and determines the attendance rules according to the rule data and the corresponding effectiveness logic of the various attendance rule setting interfaces. For example, the user's attendance rule type can be determined as free on-duty based on the "free on-duty" selection selected in the rule type interface and its underlying effectiveness logic. It can also be determined that the rule type is fixed-time on-duty and the clock-in time is on weekdays. Then, combined with the effectiveness logic of the various attendance rule setting interfaces, the user's corresponding attendance rule can be obtained as clocking in and out at fixed times on weekdays.

[0095] The reference trigger interval is determined according to the time interval received by the reference trigger interval setting interface and the validation logic of the reference trigger interval setting interface.

[0096] After determining the attendance rule and reference trigger interval of the user, a prompt message indicating that the attendance rule and reference trigger interval set by the user have taken effect is sent to the terminal, which can be a sender of the rule data or other client.

[0097] Combination Figure 4 The timing diagram for setting the reference trigger interval shown in the figure illustrates the solution provided by the embodiment of the present application. Figure 4 The solution shown is in the scene of attendance at get off work. In this solution, there are three levels, including: terminal (corresponding to Figure 4 Client / manager in), logic layer, storage layer (corresponding to Figure 4 The user sets the interval between get off work and off-work on the terminal display interface. The terminal sends the punch-in rules set by the terminal to the logic layer. The logic layer determines the attendance rules according to the effective logic of each rule data and the corresponding attendance rule setting interface. This process corresponds to Figure 4 The calculation rules in the logic layer take effect, the logic layer sends the effective attendance rules and reference trigger interval to the storage layer, stores them according to the storage rules, and sends the prompt information indicating that the attendance rules and reference trigger interval are effective to the terminal (corresponding to Figure 4 In the "Calculation Results Effective" section, you can send the "Calculation Results Effective" to the client / manager). During the effective period of the current attendance rules and reference trigger intervals, you can also receive new attendance rules and reference trigger intervals sent by the terminal (corresponding to Figure 4 Pull new punch-in rules in ).

[0098] The attendance data processing solution provided in this embodiment can freely set attendance rules, and the setting of attendance rules and reference trigger intervals is relatively flexible and the setting method is relatively simple.

[0099] In addition, the reference trigger interval can also be calculated by the background, such as the server. When the preset attendance cycle includes at least two preset unit attendance cycles, in an attendance data processing scheme provided by an optional embodiment, the reference trigger interval between two adjacent operation requests can be determined in the following manner, including:

[0100] C21, obtain the total working hours corresponding to the preset attendance cycle;

[0101] C22, obtain the completed working time corresponding to the user within the preset attendance period;

[0102] C23, if the completed working time is shorter than the total working time, determine the reference trigger interval corresponding to each unit attendance cycle remaining in the preset attendance cycle according to the completed working time, the total working time and the number of unit attendance cycles remaining in the preset attendance cycle.

[0103] The preset attendance period includes at least two preset unit attendance periods. If the preset unit attendance period is a day, the preset attendance period can be a week, a month, etc. Obtain the total working hours corresponding to the preset attendance period. If the preset attendance period is a week, the preset total working hours corresponding to the preset attendance period can be 30 hours, 36 hours, 40 hours, 50 hours, etc. Assume that the total working hours corresponding to the preset attendance period is 30 hours and the number of preset unit attendance periods is 5. When the completed working hours is zero, the reference trigger interval corresponding to the preset unit period can be calculated as 6 hours, that is, the minimum interval time between the first operation request and the second operation request within each unit attendance period is 6 hours.

[0104] When the completed working hours is not zero, determine the completed working hours corresponding to the user within the preset attendance period, that is, the first working hours completed outside the current unit attendance period plus the second working hours completed within the current unit attendance period during the current attendance period. The first working hours can be obtained by the sum of the working hours completed in each unit attendance period, and the second working hours can be obtained according to the time difference between the first time point corresponding to the first operation request received within the current unit attendance period and the current time point. The current time point can be the second time point corresponding to the second operation request received within the current unit attendance period. For example, within the current unit attendance period, the first time point corresponding to the first operation request received by the user is 9:00 and the current time point is 12:00, then the second working hours completed within the current unit attendance period is 3 hours. If the first working hours completed in each unit attendance period before the current unit attendance period in terms of time is 20 hours, then the completed working hours corresponding to the user within the preset attendance period is 23 hours.

[0105] Compare the completed working hours corresponding to the preset attendance period with the total working hours. If the completed working hours is shorter than the total working hours, it indicates that the current working hours is not enough and more working hours need to be put in by the user. Then determine the reference trigger interval corresponding to each remaining unit attendance period within the preset attendance period according to the completed working hours, the total working hours and the number of remaining unit attendance periods within the preset attendance period. Assume that the completed working hours is 23 hours, the attendance period is a week, the unit attendance period is a day, the total working hours within the preset attendance period is 30 hours, and there is 1 day remaining for the remaining unit attendance periods within the preset attendance period. Then the remaining working hours within the attendance period is 7 hours, and the reference trigger interval for the remaining unit attendance period is 7 hours.

[0106] It should be noted that the remaining unit attendance periods can be a decimal. For example, if the remaining unit attendance period is 1.5 days, then the reference trigger interval corresponding to the remaining 1 day and the remaining working hours corresponding to the current unit attendance period can be determined.

[0107] The attendance data processing solution provided by this embodiment can automatically calculate the reference trigger interval in the preset unit attendance cycle within the preset attendance cycle, reducing the degree of manual participation.

[0108] In an alternative embodiment, the reference trigger interval can be determined in the following manner, including:

[0109] Adjust the reference trigger interval according to at least one of the user's attribute information, credit information, behavior information, location information, and environmental information.

[0110] The user's attribute information may include the user's personal information, such as: family status, residential address, commuting time, etc. For example, adjust the reference trigger interval according to the user's credit information. For example, if the user's credit information is good, the reference trigger interval can be shortened, that is, the user's working hours can be shortened as a reward for the user. Similarly, the reference trigger interval can also be adjusted according to any one of the user's behavior information, user's location information, and environmental information.

[0111] Optionally, the reference trigger interval can also be adjusted according to any two or more of the user's attribute information, credit information, behavior information, location information, and environmental information. For example, adjust the reference trigger interval according to the user's attribute information, credit information, and the user's behavior information. The following is how it can be achieved, with an example as follows: In this example, the user's credit information represents the credibility of the information sent by the user, the user's attribute information is the user's family status, such as having children, and the user's behavior information is that the user sends a message indicating an emergency. This information is stored in the database. When a message indicating an emergency sent by the user is detected in the database connected to the attendance system, where the criteria for the emergency event and the emergency level of the emergency event can be preset in the database, such as a child being sick, etc., adjust the reference trigger interval accordingly based on this emergency event and / or the emergency level of this emergency event. In this case, the reference trigger interval can also be adjusted in combination with the user's credit data. Use the user's credit data to determine the credibility of the message indicating an emergency sent by the user, and determine the adjustment range of the reference trigger interval according to the user's credit data and the level of the emergency event. For example, if the user's credit data indicates that the credibility of the message sent by the user is 100%, and the emergency level of the user's child being sick is the highest level, then the reference trigger interval can be set to the time difference from when the user goes to work to the current time, that is, the user can punch out immediately.

[0112] Optionally, the reference trigger interval can be adjusted according to the user's attribute information, location information, and environmental information, which can be carried out in the following ways. The examples are as follows: When receiving the work check-in operation sent by the user, obtain the location information of the user when sending the work check-in, and combine the environmental information (such as the weather information updated in real time by the weather forecast system), the location of the user's residential address, and the preset off-work check-in time (which can be determined according to the work check-in time and the reference trigger interval) to determine the environmental information of the user's residential address corresponding to the preset off-work check-in time. According to this environmental information, determine whether to adjust the reference trigger interval. If adjustment is required, determine the adjustment range of the reference trigger interval. The adjustment method can be to extend the reference trigger interval or shorten the reference trigger interval. For example, if the weather forecast shows that there is a typhoon on the same day, and the environmental information of the user's residential address location at the preset off-work check-in time is: wind force 7 and accompanied by heavy rain, but this environmental information of the user's address location lasts for two hours, then the wind force and rain intensity will decrease. In this case, the reference trigger interval can be extended by two hours based on the original reference trigger interval to ensure the safety of the user, and the user will be informed of the adjusted reference trigger interval.

[0113] In an embodiment of the present application, the reference trigger interval can also be adjusted according to four or more of the user's credit information, behavior information, location information, and environmental information, which will not be elaborated here.

[0114] The solution provided in this embodiment adjusts the reference trigger interval according to at least one of the user's credit information, behavior information, location information, and environmental information, realizing the dynamic adjustment of the reference trigger interval, which is beneficial to implementing a flexible attendance system.

[0115] In an optional embodiment, based on the relationship between the time difference and the reference trigger interval, determine the response result of the second operation request, including the following situations:

[0116] When the time difference between the first time point and the second time point is less than the reference trigger interval, send a prompt message indicating that the second operation request fails;

[0117] When the time difference between the first time point and the second time point is not less than the reference trigger interval, send a prompt message indicating that the second operation request is successful.

[0118] The attendance data processing solution provided by this embodiment clarifies the conditions for the success and failure of the second operation request. That is to say, when the time difference between the first time point and the second time point is not less than the reference trigger interval, that is, the trigger time points of the first operation request and the second operation request are separated by a time not shorter than the reference trigger interval in time, the response result of the second operation request is successful, and a prompt message indicating the success of the second operation request is sent to the terminal. Otherwise, the response result of the second operation request is failed, and a prompt message indicating the failure of the second operation request is sent to the terminal.

[0119] In an alternative embodiment, when the time difference between the first time point and the second time point is less than the reference trigger interval, the attendance data processing method provided by this embodiment further includes:

[0120] Sending a prompt message including the reference trigger time point corresponding to the second operation request, where the reference trigger time point is the recommended time point of the second time point when the time difference between the first time point and the second time point is equal to the reference trigger interval.

[0121] According to the above embodiment, when the time difference between the first time point and the second time point is equal to the reference trigger interval, the response result of the second operation request is successful. When the time difference between the first time point and the second time point is less than the reference trigger interval, the response result of the second operation request is failed. Then, in the solution provided by the embodiment of the present application, when the second operation request is failed, a prompt message that can make the response result of the second operation request successful is sent to the terminal. That is, if the user sends the second operation request according to this reference trigger time point, a successful response result of the second operation request can be obtained. This solution can convey the information that it is not yet the normal attendance clock-in time to the user, and at the same time inform the user of the time point when the second operation request can be successfully responded, which is beneficial to increasing the probability that the response result of the second operation request is successful.

[0122] An alternative embodiment also provides a solution for determining the reference trigger time point corresponding to the second operation request, which may include the following steps:

[0123] D1, obtaining the reference trigger interval for each preset unit attendance period within the preset attendance period;

[0124] D2, determining the unit attendance period corresponding to the second operation request, obtaining the completed working hours within this unit attendance period, and determining the remaining working hours of this unit attendance period based on this reference trigger interval;

[0125] D3, determining the reference trigger time point corresponding to the second operation request according to the second time point and this remaining working hours.

[0126] When the preset attendance period includes at least two preset unit attendance periods, for example, when the preset attendance period is a week and the preset unit attendance period is a day, obtain the reference trigger interval for each preset unit attendance period, such as 6 hours, 8 hours, etc. Determine the unit attendance period corresponding to the second operation request. For example, if the unit attendance period corresponding to the second operation request is Wednesday, that is, the third unit attendance period within the attendance period, obtain the completed working hours within this unit attendance period, such as 3 hours. Combining with the reference trigger interval of this unit attendance period, assuming it is 8 hours, then the remaining working hours within this unit attendance period is 5 hours. Determine the reference trigger time point corresponding to the second operation request based on the second time point corresponding to the second operation request and the remaining working hours. For example, if the second time point is 13:00, then the reference trigger time point corresponding to the second operation request can be 18:00.

[0127] Optionally, when the preset attendance period includes only one preset unit attendance period, for example, when both the preset attendance period and the preset unit attendance period are days, then obtain the total working hours corresponding to the preset attendance period, that is, the total duration during which the user needs to be in a working state within the preset attendance period, such as 8 hours. Obtain the completed working hours corresponding to the user within the attendance period. Assuming the working hours are 3 hours, then, since the completed working hours are shorter than the total working hours within the attendance period, the remaining working hours is the total working hours within the attendance period minus the completed working hours. In this example, the remaining working hours is 5 hours. Obtain the remaining total duration within the attendance period. For example, if the current time point is 20:00 (i.e., the second time point is 20:00), then the remaining total duration within the attendance period is 4 hours, which is less than the remaining working hours (5 hours), so the reference trigger time point corresponding to the second operation request is (20 + 5) o'clock, that is, 1:00 am the next day. If the second time point is 16:00, then the remaining total duration within the attendance period is 8 hours, then, the reference trigger time point corresponding to the second operation request is (16 + 5) o'clock, that is, 21:00 on the same day.

[0128] The embodiment of the present application provides a solution to determine the reference trigger time point corresponding to the second operation request. According to this solution, the time point for successfully responding to the second operation request can be determined, which is beneficial to improving the probability of successfully responding to the second operation request.

[0129] Combined with Figure 5 The flowchart of the attendance data processing solution shown to elaborate on the determination of the reference trigger interval and the determination of the reference trigger time point. The scenario provided by this embodiment is commuting attendance, the operation request is a punch - in request, the first operation request is a work - start punch - in request, the second operation request is a work - end punch - in request, the preset unit attendance period is a day, and the rule type in the attendance rules is flexible commuting.

[0130] In this embodiment, the rule type of the user's attendance is flexible working hours. When a punch request sent by the user is received, it is determined whether the punch request is for clocking in or clocking out. If it is for clocking in, the function control key on the attendance interface is in a triggerable state, that is, a clock-in enabled state. Through the function control key in this clock-in enabled state, the user can clock in for work, and a prompt message indicating successful work clock-in can also be sent to the terminal.

[0131] When the punch request is for clocking out, the set attendance period in the attendance rules is determined. If the attendance period is weekly / monthly, the attendance period contains multiple unit attendance periods. It is necessary to calculate whether the working hours already worked within the current attendance period are sufficient, that is, to calculate whether the working hours already worked within the current attendance period are longer than the total working hours within the attendance period. If so (corresponding to Figure 5 "sufficient" in it), it indicates that the working hours already worked within the attendance period are sufficient and no more working time needs to be spent. Then the time remaining until getting off work is zero (corresponding to Figure 5 "commute interval is 0" in it). If not (corresponding to Figure 5 "insufficient" in it), the remaining working hours within the attendance period are determined by using the total working hours and the working hours already worked within the attendance period. Considering factors such as legal holidays and leave requests, the remaining working days of the employee within the current unit attendance period are intelligently calculated. Then, the remaining working hours within the attendance period (corresponding to Figure 5 "remaining working hours to be done" in it) are divided by the remaining working days to obtain the average expected working hours per day. Using the calculated average expected working hours per day as the input, the judgment logic with the attendance period of one day is reused to calculate how long it will take to get off work (corresponding to Figure 5 "commute interval" of it). The judgment logic with the attendance period of one day is as follows: When the attendance period is one day, it is determined whether the working hours already worked on the corresponding day exceed the set working hours, that is, whether it exceeds the reference trigger interval. If it exceeds, it indicates that at least the duration corresponding to the reference trigger interval has been completed on the day, and the user can clock out for work at any time. At this time, the commute interval is 0. If it does not exceed, it indicates that the user has not completed the preset working hours for the day and cannot successfully clock out for work. In this case, it is determined whether the remaining time of the day is sufficient to exceed the remaining working hours. If it is sufficient, that is, the remaining time of the day exceeds the remaining working hours, it can be considered that the user can complete the remaining working hours on the day, and the user can clock out for work at any time, and the commute interval is 0. If the remaining time of the day fails to exceed the remaining working hours, it is determined how long the user still needs to work on the day based on the remaining working hours and the total duration of the day (that is, Figure 5 "commute interval" in it).

[0132] The embodiment of the present application further provides an attendance data processing solution. Before determining the first operation request received before the second operation request and the reference trigger interval of two adjacent operation requests that have been determined in response to the second operation request of the user, the attendance data processing solution may further include:

[0133] E1. Obtain the identification information of the user, and obtain the attendance rules corresponding to the user according to the identification information;

[0134] E2. Determine whether the function control key corresponding to the user is in a triggerable state according to the attendance rules;

[0135] E3. When the function control key is in a triggerable state, receive the operation request sent by the user through the function control key in the triggerable state;

[0136] In this embodiment, after receiving the operation request sent by the user through the function control key in the triggerable state, it is determined whether the operation request is the first operation request or the second operation request. When the operation request is the second operation request, in response to the second operation request of the user, determine the first operation request received before the second operation request and the reference trigger interval of two adjacent operation requests that have been determined.

[0137] In this embodiment, according to the second operation request and / or the first operation request, obtain the identification information of the user who sends the first operation request and / or the second operation request, and obtain the attendance rules corresponding to the user stored in the database according to the identification information. If it is preset that the function control key corresponding to a specific rule type in the attendance rules is in a triggerable state, or is in a triggerable state during a specific time period, for example, it is preset that the function control key corresponding to the free commuting rule type is in a triggerable state, then when it is detected that the rule type of user A is free commuting, the corresponding function control key is in a triggerable state. If it is preset that the function control key corresponding to fixed-time commuting is in a triggerable state during a fixed time period, then when it is detected that the rule type of user B is fixed-time commuting and the current time is within the fixed time period, the corresponding function control key is in a triggerable state.

[0138] When the function control key is in a triggerable state, receive the operation request sent by the user through the function control key in the triggerable state. The operation request may be the first operation request or the second operation request. When the operation request is the second operation request, determine whether the time difference between the first time point and the second time point corresponding to the second operation request is not less than the reference trigger interval, so as to return a corresponding response result based on the judgment result. The judgment result includes that the time difference is not less than the reference trigger interval and that the time difference is less than the reference trigger interval. Determine the corresponding response result according to the judgment result, and return the corresponding response result to the terminal.

[0139] Optionally, when the operation request is the first operation request, a prompt message indicating the success of the first operation request is sent. In the commuting attendance scenario, when the operation request is the first operation request, a prompt message indicating successful work check-in is received and fed back to the terminal.

[0140] In an embodiment of the present application, in the attendance data processing solution provided in any of the above embodiments, the first operation request is a work check-in request, and the second operation request is an off-work check-in request.

[0141] Combined with Figure 6 The timing diagram of the attendance data processing solution shown is used to elaborate the solution provided in this embodiment in the commuting attendance scenario. The scenario provided in this embodiment is commuting attendance, the operation request is a check-in request, the first operation request is a work check-in request, and the second operation request is an off-work check-in request. In this solution, there are three levels, including: the terminal (corresponding to the Figure 6 client in it), the logic layer, and the storage layer (corresponding to the Figure 6 DB in it). The user sets the attendance rules on the display interface of the terminal, corresponding to the Figure 6 personal check-in rules in it. The terminal sends the received personal check-in rules to the logic layer. The logic layer obtains the current check-in type of the user and determines the corresponding current check-in rules of the user through the user's identification information, etc. By comparing the check-in type and the check-in rules, it is judged whether it is possible to check in currently. If the current check-in type conforms to the check-in rules, then it is possible to check in currently, and a judgment result indicating that it is possible to check in is returned to the terminal. If it is not possible to check in, for example, the check-in type does not match the set check-in rules, then a judgment result indicating that it is not possible to check in is returned. The terminal determines whether the check-in button is clickable according to the judgment result. If the judgment result is that it is possible to check in, the check-in button is displayed as clickable, that is, the function control button is displayed as triggerable. If the judgment result is that it is not possible to check in, the check-in button is displayed as non-clickable and continues to wait until the check-in button is in a clickable state. Free commuting check-in is performed through the clickable check-in button, the first time point corresponding to the first operation request and the second time point corresponding to the second operation request are obtained, and according to the relationship between the time difference between the first time point and the second time point (corresponding to the Figure 6 commuting interval in it) and the reference trigger interval, it is judged whether the current check-in is successful, and the corresponding check-in result is returned according to the judgment result. The terminal receives a prompt message indicating successful check-in, or a prompt message indicating failed check-in, or a prompt message including the time information for suggesting check-in.

[0142] Based on the same principle as the method provided in the embodiments of the present application, an attendance data processing device 700 is also provided in the embodiments of the present application. This device can implement the attendance data processing solution executed by the terminal, such as Figure 7As shown in the figure, the device may include: a first display module 710 and a second display module 720, where:

[0143] The first display module 710 is used to display an attendance interface including function keys.

[0144] The second display module 720 is used to display a prompt message indicating whether the second operation request is successful in response to a second operation request triggered by the user received through the function keys; the prompt message is generated based on the relationship between the time difference and the reference trigger interval, and the time difference is the time difference between the first time point corresponding to the first operation request triggered by the user and the second time point corresponding to the second operation request triggered by the user; wherein, the first operation request is the first operation request issued by the user in a preset attendance period, and the second operation request is the next operation trigger request of the first operation request in the same preset attendance period.

[0145] The attendance data processing device provided by this application pre-sets a reference trigger interval, and determines the response result of the second operation request according to the relationship between the trigger time difference between the first operation request and the second operation request and the reference trigger interval, so that the time point interval corresponding to the first operation request and the second operation request refers to the trigger interval, which can avoid the following scenario: the user continuously triggers two operation requests, the first is recognized as an operation request representing going to work, and the second is recognized as an operation request representing getting off work. Therefore, the attendance data processing method provided by this application reduces the probability of the user punching the card by mistake and is beneficial to improving the accuracy of attendance.

[0146] Optionally, the attendance data processing device 700 further includes a reference trigger interval setting module, which is used for:

[0147] Display an attendance rule setting interface, and the attendance rule setting interface includes a reference trigger interval setting interface and at least two attendance rule setting interfaces;

[0148] Receive the rule data input by the user in each attendance rule setting interface and the time interval input by the user in the reference trigger interval setting interface;

[0149] Display a prompt message indicating that the attendance rules and the reference trigger interval corresponding to the user have taken effect.

[0150] Optionally, the first display module 710 is further used for:

[0151] When the attendance rule corresponding to the user is a specific rule type, display the function keys in a triggerable state on the attendance interface to send an operation request through the function keys in the triggerable state.

[0152] Optionally, the second display module 720 is further used for:

[0153] When the time difference between the first time point corresponding to the first operation request triggered by the user and the second time point corresponding to the second operation request triggered by the user is less than the reference trigger interval, a prompt message indicating the failure of the second operation request is displayed;

[0154] When the time difference between the first time point corresponding to the first operation request triggered by the user and the second time point corresponding to the second operation request triggered by the user is not less than the reference trigger interval, a prompt message indicating the success of the second operation request is displayed.

[0155] Optionally, the second display module 720 is further configured to:

[0156] Display a prompt message of the reference trigger time point corresponding to the second operation request, where the reference trigger time point is the recommended time point of the second time point when the time difference between the first time point and the second time point is equal to the reference trigger interval.

[0157] Based on the same principle as the method provided in the embodiments of the present application, the embodiments of the present application further provide an attendance data processing device 800, which can implement the attendance data processing solution executed by the server side, such as Figure 8 As shown, the device may include: a response module 810 and a response result determination module 820, specifically as follows:

[0158] The response module 810 is configured to, in response to a second operation request of a user, determine a first operation request received before the second operation request and a reference trigger interval for two adjacent operation requests that have been determined, where the first operation request is the first operation request issued by the user in a preset attendance period, and the second operation request is the next operation request of the first operation request in the same preset attendance period;

[0159] The response result determination module 820 is configured to determine the response result of the second operation request based on the relationship between the time difference and the reference trigger interval, where the time difference is the time difference between the first time point corresponding to the first operation request and the second time point corresponding to the second operation request.

[0160] Optionally, the response module 810 further includes a first operation request determination unit, configured to:

[0161] Determine the preset attendance period where the second time point corresponding to the second operation request issued by the user is located;

[0162] Obtain the previous operation request of the second operation request received in the preset attendance period, and use the previous operation request as the first operation request in the preset attendance period.

[0163] Optionally, the response module 810 further includes a reference trigger interval obtaining unit, configured to:

[0164] Receive the rule data input by the user through each attendance rule setting interface on the attendance interface, and the time interval input through the reference trigger interval setting interface;

[0165] Determine the attendance rules according to each rule data and the effective logic of the corresponding attendance rule setting interface, and determine the reference trigger interval according to the time interval input through the reference trigger interval setting interface.

[0166] Optionally, when the preset attendance period includes at least two preset unit attendance periods, the reference trigger interval acquisition unit is further configured to:

[0167] Obtain the total working hours corresponding to the preset attendance period;

[0168] Obtain the completed working hours corresponding to the user within the preset attendance period;

[0169] If the completed working hours are shorter than the total working hours, determine the reference trigger interval corresponding to each remaining unit attendance period within the preset attendance period according to the completed working hours, the total working hours, and the number of remaining unit attendance periods within the preset attendance period.

[0170] Optionally, the attendance data processing device 800 further includes an adjustment module, and the adjustment module is configured to:

[0171] Adjust the reference trigger interval according to at least one of the user's attribute information, credit information, behavior information, location information, and environmental information.

[0172] Optionally, the response result determination module 820 is specifically configured to:

[0173] When the time difference between the first time point and the second time point is less than the reference trigger interval, send a prompt message indicating that the second operation request fails;

[0174] When the time difference between the first time point and the second time point is not less than the reference trigger interval, send a prompt message indicating that the second operation request is successful.

[0175] Optionally, the attendance data processing device 800 further includes a reference trigger time point sending module, configured to:

[0176] Send a prompt message including the reference trigger time point corresponding to the second operation request, where the reference trigger time point is the suggested time point of the second time point when the time difference between the first time point and the second time point is equal to the reference trigger interval.

[0177] Optionally, when the preset attendance period includes at least two preset unit attendance periods, the response result determination module 820 is further configured to:

[0178] Obtain the reference trigger interval for each preset unit attendance period within the preset attendance period;

[0179] Determine the unit attendance period corresponding to the second operation request, obtain the completed working hours within this unit attendance period, and determine the remaining working hours of this unit attendance period based on the reference trigger interval;

[0180] Determine the reference trigger time point corresponding to the second operation request according to the second time point and the remaining working hours.

[0181] Optionally, the attendance data processing device 800 further includes an operation request receiving module, which is used for:

[0182] Obtain the identification information of the user, and obtain the attendance rules corresponding to the user according to this identification information;

[0183] Determine whether the function control key corresponding to this user is in a triggerable state according to the attendance rules;

[0184] When the function control key is in a triggerable state, receive the operation request sent by the user through the triggerable function control key;

[0185] The response module 810 is specifically used for: when the operation request is the second operation request, in response to the user's second operation request, determine the first operation request received before the second operation request and the reference trigger interval of two adjacent operation requests that have been determined.

[0186] Optionally, the first operation request in the attendance data processing device 800 is a work check-in request, and the second operation request is a work check-out request.

[0187] The attendance data processing device in the embodiments of the present application can execute the attendance data processing method provided in the embodiments of the present application, and its implementation principle is similar. The actions performed by each module and unit in the attendance data processing device in the embodiments of the present application correspond to the steps in the attendance data processing method in the embodiments of the present application. For the detailed function descriptions of each module of the attendance data processing device, reference can specifically be made to the descriptions in the corresponding attendance data processing method shown above, and details are not described here again.

[0188] Based on the same principle as the method shown in the embodiments of the present application, an electronic device is also provided in the embodiments of the present application. The electronic device may include, but is not limited to: a processor and a memory; the memory is used to store a computer program; the processor is used to execute the attendance data processing method shown in any optional embodiment of the present application by calling the computer program. Compared with the prior art, the attendance data processing method provided by the present application pre-sets a reference trigger interval, and determines the response result of the second operation request according to the relationship between the trigger time difference between the first operation request and the second operation request and the reference trigger interval, so that the time point interval corresponding to the first operation request and the second operation request refers to the reference trigger interval, which can avoid the following scenario: the user continuously triggers two operation requests, the first is recognized as an operation request representing going to work, and the second is recognized as an operation request representing getting off work. Therefore, the attendance data processing method provided by the present application can reduce the probability of the user punching the card by mistake, which is beneficial to improving the accuracy of attendance.

[0189] In an optional embodiment, an electronic device is provided, as Figure 9 shown, Figure 9 The electronic device 4000 shown can be a server, including: a processor 4001 and a memory 4003. Among them, the processor 4001 and the memory 4003 are connected, such as through a bus 4002. Optionally, the electronic device 4000 may further include a transceiver 4004. It should be noted that in practical applications, the transceiver 4004 is not limited to one, and the structure of the electronic device 4000 does not constitute a limitation to the embodiments of the present application.

[0190] The processor 4001 may be a CPU (Central Processing Unit, central processor), a general-purpose processor, a DSP (Digital Signal Processor, data signal processor), an ASIC (Application Specific Integrated Circuit, application-specific integrated circuit), an FPGA (Field Programmable Gate Array, field programmable gate array) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. It can implement or execute various exemplary logic blocks, modules and circuits described in connection with the disclosure of the present application. The processor 4001 may also be a combination for implementing computing functions, such as a combination including one or more microprocessors, a combination of a DSP and a microprocessor, etc.

[0191] The bus 4002 may include a path for transmitting information among the above components. The bus 4002 can be a PCI (Peripheral Component Interconnect) bus, an EISA (Extended Industry Standard Architecture) bus, or the like. The bus 4002 can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 9 only a thick line is used in Figure 9 , but it does not mean that there is only one bus or one type of bus.

[0192] The memory 4003 can be a ROM (Read Only Memory) or other type of static storage device that can store static information and instructions, a RAM (Random Access Memory) or other type of dynamic storage device that can store information and instructions, or it can also be an EEPROM (Electrically Erasable Programmable Read Only Memory), a CD-ROM (Compact Disc Read Only Memory), or other optical disc storage, optical disc storage (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media, or other magnetic storage devices, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto.

[0193] The memory 4003 is used to store the application program code for implementing the solution of this application, and is controlled by the processor 4001 for execution. The processor 4001 is used to execute the application program code stored in the memory 4003 to implement the content shown in the foregoing method embodiments.

[0194] Among them, the electronic device includes but is not limited to: mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Tablet Computers), PMPs (Portable Multimedia Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 9 The shown electronic device is only an example and should not impose any limitations on the functions and usage scopes of the embodiments of this application.

[0195] The server provided by this application can be an independent physical server, a server cluster or a distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. The terminal can be a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, etc., but is not limited thereto. The terminal and the server can be directly or indirectly connected through wired or wireless communication methods, and this application does not make any restrictions here.

[0196] Among them, the attendance data processing method provided by this application can also be implemented through cloud computing. Cloud computing refers to the delivery and usage model of IT infrastructure, which means obtaining the required resources in a on-demand and easily scalable manner through the network; in a broad sense, cloud computing refers to the delivery and usage model of services, which means obtaining the required services in a on-demand and easily scalable manner through the network. Such services can be related to IT and software, the Internet, or other services. Cloud computing is the product of the development and integration of traditional computer and network technologies such as grid computing, distributed computing, parallel computing, utility computing, network storage technologies, virtualization, and load balance.

[0197] With the development of the Internet, real-time data streams, and the diversification of connected devices, as well as the promotion of demands such as search services, social networks, mobile commerce, and open collaboration, cloud computing has developed rapidly. Different from the previous parallel distributed computing, the emergence of cloud computing will drive a revolutionary change in the entire Internet model and enterprise management model conceptually.

[0198] The attendance data processing method provided by this application can achieve the automatic mining of attendance results based on road surface images. This solution can also be implemented through an artificial intelligence cloud service, which is generally also referred to as AIaaS (AI as a Service, Chinese for "AI as a Service"). This is a current mainstream service method for artificial intelligence platforms. Specifically, the AIaaS platform will split several common AI services and provide independent or packaged services in the cloud. This service model is similar to opening an AI-themed mall: all developers can access and use one or more artificial intelligence services provided by the platform through the API interface. Some senior developers can also use the AI framework and AI infrastructure provided by the platform to deploy and operate their own exclusive cloud artificial intelligence services. In this application, the AI framework and AI infrastructure provided by the platform can be used to implement the attendance data processing method provided by this application.

[0199] An embodiment of this application provides a computer-readable storage medium, on which a computer program is stored. When it runs on a computer, it enables the computer to execute the corresponding content in the foregoing method embodiment.

[0200] It should be understood that although the steps in the flowchart of the accompanying drawings are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless there is a clear indication in this article, the execution of these steps has no strict order limit, and they can be executed in other orders. Moreover, at least some of the steps in the flowchart of the accompanying drawings may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be executed alternately or alternately with at least a part of other steps or sub-steps or stages of other steps.

[0201] It should be noted that the computer-readable medium described above in the present application may be a computer-readable signal medium, a computer-readable storage medium, or any combination of the two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, the computer-readable storage medium may be any tangible medium that contains or stores a program, and this program can be used by or in combination with an instruction execution system, apparatus, or device. In the present application, the computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries computer-readable program code. Such a propagated data signal may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer-readable signal medium may also be any computer-readable medium other than the computer-readable storage medium, and this computer-readable signal medium can send, propagate, or transmit a program for use by or in combination with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted by any appropriate medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0202] The above computer-readable medium may be included in the above electronic device; or it may exist separately and not be assembled into the electronic device.

[0203] The above computer-readable medium carries one or more programs. When the above one or more programs are executed by the electronic device, the electronic device is caused to execute the method shown in the above embodiments.

[0204] According to one aspect of the present application, a computer program product or a computer program is provided. The computer program product or the computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, causing the computer device to execute the attendance data processing method provided in the above various optional implementation manners.

[0205] Computer program code for performing the operations of this application can be written in one or more programming languages or combinations thereof. The above-mentioned programming languages include object-oriented programming languages such as Java, Smalltalk, C++, and also include conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, executed as an independent software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (for example, by using an Internet service provider to connect through the Internet).

[0206] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architectures, functions, and operations of systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in the flowchart or block diagram can represent a module, a program segment, or a part of the code, and this module, program segment, or part of the code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks can occur in a different order from that marked in the accompanying drawings. For example, two consecutive blocks shown can actually be executed substantially in parallel, and they can sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagram and / or flowchart, and the combination of blocks in the block diagram and / or flowchart, can be implemented by a dedicated hardware-based system for performing the specified functions or operations, or can be implemented by a combination of dedicated hardware and computer instructions.

[0207] The modules described in the embodiments of this application can be implemented in software or in hardware. Among them, the name of the module does not constitute a limitation on the module itself in some cases. For example, the response result determination module can also be described as "a module for determining the response result of the second operation request based on the relationship between the time difference and the reference trigger interval".

[0208] The above description is only a preferred embodiment of this application and an explanation of the applied technical principles. Those skilled in the art should understand that the scope of disclosure involved in this application is not limited to the technical solutions formed by the specific combination of the above technical features, and should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosure concept. For example, the technical solutions formed by mutually replacing the above features with the (but not limited to) technical features with similar functions disclosed in this application.

Claims

1. An attendance data processing method, characterized in that, the method is executed by the user's terminal, and the method includes: displaying an attendance interface including function control keys. If the attendance rule corresponding to the user is flexible working hours, the status of the function control keys is a triggerable state. If the attendance rule corresponding to the user is fixed working hours, when the display time of the attendance interface belongs to the corresponding clock-in period, the status of the function control keys is a triggerable state; otherwise, the status of the function control keys is a non-triggerable state; responding to a second operation request triggered by the user received through the function control keys in a triggerable state, and displaying a prompt message indicating whether the second operation request is successful; the prompt message is generated based on the relationship between the time difference and the reference trigger interval, and the time difference is the time difference between the first time point corresponding to the first operation request triggered by the user and the second time point corresponding to the second operation request triggered by the user; wherein, the first operation request is the first operation request issued by the user in a preset attendance period, and the second operation request is the next operation request of the first operation request in the same preset attendance period; wherein, the preset attendance period includes at least one preset unit attendance period. When the preset attendance period includes at least two preset unit attendance periods, the following method is used to determine whether the second operation request is successful: obtaining the total working hours corresponding to the preset attendance period; obtaining the completed working hours corresponding to the user within the preset attendance period; if the completed working hours are shorter than the total working hours, determining the difference between the total working hours and the completed working hours; and updating the reference trigger interval corresponding to each remaining unit attendance period within the preset attendance period according to the difference and the number of remaining unit attendance periods within the preset attendance period; determining the remaining working hours of the user within the current unit attendance period according to the updated reference trigger interval corresponding to each remaining unit attendance period and the working hours already worked by the user within the current unit attendance period, and determining whether the second operation request is successful based on the remaining working hours; the remaining unit attendance periods within the preset attendance period include the current unit attendance period.

2. The method according to claim 1, characterized in that, it further includes: displaying an attendance rule setting interface, which includes a reference trigger interval setting interface and at least two attendance rule setting interfaces; receiving the rule data input by the user at each attendance rule setting interface and the time interval input by the user at the reference trigger interval setting interface; displaying a prompt message indicating that the attendance rule and the reference trigger interval corresponding to the user have taken effect.

3. The method according to claim 1, characterized in that, the step of responding to a second operation request triggered by the user received through the function control keys in a triggerable state and displaying a prompt message indicating whether the second operation request is successful includes: When the preset attendance period includes one preset unit attendance period, when the time difference between the first time point corresponding to the first operation request triggered by the user and the second time point corresponding to the second operation request triggered by the user is less than the reference trigger interval, a prompt message indicating the failure of the second operation request is displayed; When the time difference between the first time point corresponding to the first operation request triggered by the user and the second time point corresponding to the second operation request triggered by the user is not less than the reference trigger interval, a prompt message indicating the success of the second operation request is displayed.

4. The method according to claim 3, wherein, when the time difference between the first time corresponding to the first operation request of the user and the second time corresponding to the second operation request is less than the reference trigger interval, the method further includes: displaying a prompt message of the reference trigger time point corresponding to the second operation request, where the reference trigger time point is the recommended time point of the second time point when the time difference between the first time point and the second time point is equal to the reference trigger interval.

5. An attendance data processing method, wherein, including: responding to a second operation request of a user, determining a reference trigger interval of a first operation request received before the second operation request and two adjacent operation requests that have been determined, where the first operation request is the first operation request sent by the user in a preset attendance period, and the second operation request is the next operation request of the first operation request in the same preset attendance period; determining a response result of the second operation request based on the relationship between the time difference and the reference trigger interval, where the time difference is the time difference between the first time point corresponding to the first operation request and the second time point corresponding to the second operation request; before the responding to the second operation request of the user, further including: judging whether the state of the function control key is a triggerable state. Among them, if the attendance rule corresponding to the user is flexible work hours, the state of the function control key is a triggerable state; if the attendance rule corresponding to the user is fixed work hours, when the display time of the attendance interface belongs to the corresponding clock-in period, the state of the function control key is a triggerable state; otherwise, the state of the function control key is a non-triggerable state; when the function control key is in a triggerable state, receiving an operation request sent by the user through the function control key in the triggerable state; wherein, the preset attendance period includes at least one preset unit attendance period. When the preset attendance period includes at least two preset unit attendance periods, the method includes: obtaining the total working hours corresponding to the preset attendance period; obtaining the completed working hours corresponding to the user within the preset attendance period; if the completed working hours are shorter than the total working hours, determining the difference between the total working hours and the completed working hours; and updating the reference trigger interval corresponding to each remaining unit attendance period within the preset attendance period according to the difference and the number of remaining unit attendance periods within the preset attendance period. Determine the remaining working hours of the user in the current unit attendance cycle according to the updated reference trigger interval corresponding to each remaining unit attendance cycle and the working hours already worked by the user in the current unit attendance cycle, and determine whether the second operation request is successful based on the remaining working hours; the remaining unit attendance cycles within the preset attendance cycle include the current unit attendance cycle.

6. The method according to claim 5, wherein, the reference trigger interval between two adjacent operation requests is obtained in the following manner, including: Receiving the rule data input by the user through each attendance rule setting interface on the attendance interface, and the time interval input by the user through the reference trigger interval setting interface; Determining the attendance rules according to each of the rule data and the effective logic of the corresponding attendance rule setting interface, and determining the reference trigger interval according to the time interval input by the reference trigger interval setting interface.

7. The method according to claim 6, wherein, it further includes: Adjusting the reference trigger interval according to at least one of the user's attribute information, credit information, behavior information, location information, and environmental information.

8. The method according to claim 6, wherein, determining the response result of the second operation request based on the relationship between the time difference and the reference trigger interval includes: In the case where the preset attendance cycle includes one preset unit attendance cycle, when the time difference between the first time point and the second time point is less than the reference trigger interval, sending a prompt message indicating that the second operation request fails; When the time difference between the first time point and the second time point is not less than the reference trigger interval, sending a prompt message indicating that the second operation request is successful.

9. The method according to claim 8, wherein, when the time difference between the first time point and the second time point is less than the reference trigger interval, the method further includes: Sending a prompt message including the reference trigger time point corresponding to the second operation request, where the reference trigger time point is the recommended time point of the second time point when the time difference between the first time point and the second time point is equal to the reference trigger interval.

10. An attendance data processing device, wherein, applied to the user's terminal, including: A first display module, configured to display an attendance interface including function control keys; if the attendance rule corresponding to the user is flexible work hours, the state of the function control keys is a triggerable state; if the attendance rule corresponding to the user is fixed work hours, when the display time of the displayed attendance interface belongs to the corresponding clock-in period, the state of the function control keys is a triggerable state, otherwise, the state of the function control keys is a non-triggerable state; A second display module, configured to display a prompt message indicating whether the second operation request is successful in response to a second operation request triggered by a user received through the function control key in a triggerable state; the prompt message is generated based on the relationship between the time difference and the reference trigger interval, where the time difference is the time difference between a first time point corresponding to the first operation request triggered by the user and a second time point corresponding to the second operation request triggered by the user; wherein, the first operation request is the first operation request issued by the user in a preset attendance period, and the second operation request is the next operation trigger request of the first operation request in the same preset attendance period; Wherein, the preset attendance period includes at least one preset unit attendance period. When the preset attendance period includes at least two preset unit attendance periods, the following method is used to determine whether the second operation request is successful: Obtain the total working hours corresponding to the preset attendance period; Obtain the completed working hours corresponding to the user within the preset attendance period; If the completed working hours are shorter than the total working hours, determine the difference between the total working hours and the completed working hours; according to the difference and the number of remaining unit attendance periods within the preset attendance period, update the reference trigger interval corresponding to each remaining unit attendance period within the preset attendance period; Determine the remaining working hours of the user within the current unit attendance period based on the updated reference trigger interval corresponding to each remaining unit attendance period and the working hours already worked by the user within the current unit attendance period, and determine whether the second operation request is successful based on the remaining working hours; the remaining unit attendance periods within the preset attendance period include the current unit attendance period.

11. The apparatus according to claim 10, wherein, the apparatus further includes a reference trigger interval setting module, configured to: display an attendance rule setting interface, where the attendance rule setting interface includes a reference trigger interval setting interface and at least two attendance rule setting interfaces; receive rule data input by the user at each attendance rule setting interface and a time interval input by the user at the reference trigger interval setting interface; display a prompt message indicating that the attendance rules and reference trigger interval corresponding to the user have taken effect.

12. The apparatus according to claim 10, wherein, when the second display module displays a prompt message indicating whether the second operation request is successful in response to a second operation request triggered by a user received through the function control key in a triggerable state, it is specifically configured to: in the case where the preset attendance period includes one preset unit attendance period, when the time difference between the first time point corresponding to the first operation request triggered by the user and the second time point corresponding to the second operation request triggered by the user is less than the reference trigger interval, display a prompt message indicating that the second operation request fails; when the time difference between the first time point corresponding to the first operation request triggered by the user and the second time point corresponding to the second operation request triggered by the user is not less than the reference trigger interval, display a prompt message indicating that the second operation request is successful.

13. The device according to claim 12, wherein, when the time difference between the first time corresponding to the first operation request of the user and the second time corresponding to the second operation request is less than the reference trigger interval, the second display module is further configured to: display a prompt message of a reference trigger time point corresponding to the second operation request, where the reference trigger time point is a suggested time point of the second time point when the time difference between the first time point and the second time point is equal to the reference trigger interval.

14. An attendance data processing device, wherein, comprising: a response module, configured to respond to a second operation request of a user, determine a first operation request received before the second operation request, and a reference trigger interval of two adjacent operation requests that have been determined, where the first operation request is the first operation request sent by the user in a preset attendance period, and the second operation request is the next operation request of the first operation request in the same preset attendance period; a response result determination module, configured to determine a response result of the second operation request based on the relationship between the time difference and the reference trigger interval, where the time difference is the time difference between a first time point corresponding to the first operation request and a second time point corresponding to the second operation request; before responding to the second operation request of the user, the response module is further configured to: determine whether the status of a function control key is a triggerable status, where, if the attendance rule corresponding to the user is flexible working hours, the status of the function control key is a triggerable status, if the attendance rule corresponding to the user is fixed working hours, when the display time of the attendance interface belongs to the corresponding punch-in period, the status of the function control key is a triggerable status, otherwise, the status of the function control key is a non-triggerable status; when the function control key is in a triggerable status, receive an operation request sent by the user through the function control key in the triggerable status; wherein, the preset attendance period includes at least one preset unit attendance period, and when the preset attendance period includes at least two preset unit attendance periods, the response module further includes a reference trigger interval acquisition unit, configured to: acquire the total working hours corresponding to the preset attendance period; acquire the completed working hours corresponding to the user within the preset attendance period; if the completed working hours are shorter than the total working hours, determine the difference between the total working hours and the completed working hours; update the reference trigger interval corresponding to each remaining unit attendance period within the preset attendance period according to the difference and the number of remaining unit attendance periods within the preset attendance period; determine the remaining working hours of the user within the current unit attendance period according to the updated reference trigger interval corresponding to each remaining unit attendance period within the preset attendance period and the working hours of the user within the current unit attendance period, and determine whether the second operation request is successful based on the remaining working hours; the remaining unit attendance periods within the preset attendance period include the current unit attendance period.

15. The device according to claim 14, wherein, the reference trigger interval acquisition unit is further configured to: Receiving rule data input by a user through each attendance rule setting interface on an attendance interface, and a time interval input through a reference trigger interval setting interface; Determining an attendance rule according to each of the rule data and the effective logic of the corresponding attendance rule setting interface, and determining a reference trigger interval according to the time interval input through the reference trigger interval setting interface.

16. The apparatus according to claim 15, wherein, the apparatus further includes an adjustment module, and the adjustment module is configured to: Adjust the reference trigger interval according to at least one of the user's attribute information, credit information, behavior information, location information, and environmental information.

17. The apparatus according to claim 15, wherein, the response result determination module is specifically configured to: In the case where the preset attendance period includes one preset unit attendance period, when the time difference between the first time point and the second time point is less than the reference trigger interval, sending a prompt message indicating that the second operation request fails; When the time difference between the first time point and the second time point is not less than the reference trigger interval, sending a prompt message indicating that the second operation request is successful.

18. The apparatus according to claim 17, wherein, the attendance data processing apparatus further includes a reference trigger time point sending module. When the time difference between the first time point and the second time point is less than the reference trigger interval, the sending module is configured to: Send a prompt message including the reference trigger time point corresponding to the second operation request, where the reference trigger time point is the suggested time point of the second time point when the time difference between the first time point and the second time point is equal to the reference trigger interval.

19. An electronic device, wherein, including a memory, a processor, and a computer program stored on the memory and executable on the processor, and when the processor executes the program, the method according to any one of claims 1-9 is implemented.

20. A computer-readable storage medium, wherein, a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the method according to any one of claims 1-9 is implemented.