Data Processing Method, Device, Computer Equipment and Storage Medium in Approval Business
By identifying the fake data components in the approval application and automatically updating the fake data according to the review reply, the problem of untimely update of fake data in the existing attendance system has been solved, and management efficiency and accuracy have been improved.
Patent Information
- Application Number
- CN202010306005.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-04-17
- Publication Date
- 2025-07-11
- Estimated Expiration
- 2040-04-17
AI Technical Summary
The existing attendance management system cannot update fake data in a timely and effective manner, resulting in inefficient management.
By obtaining the approval application information, identifying the pre-proposed false information component, forwarding it to the review target, and automatically updating false information data based on the review reply information.
实现了假勤数据的及时自动更新,提高了数据更新效率和管理的准确性。
Smart Images

Figure CN113537914B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technologies, and particularly to a data processing method, apparatus, computer device, and storage medium in an approval service. Background Art
[0002] With the development of computer technologies, in order to strengthen the management of company employees, most companies apply an attendance management system to initially manage the attendance of employees. The attendance system may specifically include a clock-in management system, and the clock-in management system may manage the false attendance information of employees based on the clock-in records of employees.
[0003] Due to the nature and type of work, it is not applicable to all employees to manage attendance by means of clock-in and the like. In addition, for existing false attendance operations such as making up a missed punch, employees need to submit corresponding false attendance applications, and then the auditors conduct corresponding audits on the false attendance applications. After the audits are completed, the administrative personnel related to false attendance update the relevant attendance management data according to the audit results. However, in this management mode, the attendance management data cannot be updated in a timely and effective manner. Summary of the Invention
[0004] Based on this, in view of the above technical problems, it is necessary to provide a data processing method, apparatus, computer device, and storage medium in an approval service that can improve the data update efficiency.
[0005] A data processing method in an approval service, the method comprising:
[0006] Obtaining approval application information;
[0007] When the approval application information carries a preset false attendance component, forwarding the approval application information according to the audit target in the preset false attendance component;
[0008] Obtaining approval reply information corresponding to the forwarded approval application information;
[0009] Updating false attendance data corresponding to the approval application information according to the approval reply information.
[0010] A data processing apparatus in an approval service, the apparatus comprising:
[0011] An approval application obtaining module, configured to obtain approval application information;
[0012] An approval application forwarding module, configured to forward the approval application information according to the audit target in the preset false attendance component when the approval application information carries the preset false attendance component;
[0013] An approval reply obtaining module, configured to obtain approval reply information corresponding to the forwarded approval application information;
[0014] A data update module, configured to update the attendance data corresponding to the approval application information according to the approval reply information.
[0015] A computer device includes a memory and a processor. The memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0016] Obtain approval application information;
[0017] When the approval application information carries a preset attendance component, forward the approval application information according to the review target in the preset attendance component;
[0018] Obtain the approval reply information corresponding to the forwarded approval application information;
[0019] Update the attendance data corresponding to the approval application information according to the approval reply information.
[0020] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0021] Obtain approval application information;
[0022] When the approval application information carries a preset attendance component, forward the approval application information according to the review target in the preset attendance component;
[0023] Obtain the approval reply information corresponding to the forwarded approval application information;
[0024] Update the attendance data corresponding to the approval application information according to the approval reply information.
[0025] In the above data processing method, device, computer device and storage medium for approval services, by obtaining approval application information; when the approval application information carries a preset attendance component, forwarding the approval application information according to the review target in the preset attendance component; obtaining the approval reply information corresponding to the forwarded approval application information; and updating the attendance data corresponding to the approval application information according to the approval reply information. In this application, by detecting the user's approval application, when the approval application submitted by the user carries an attendance component, the approval application is directly forwarded, and after the approval application is replied to, the attendance data is automatically updated in a timely manner according to the content of the reply, which can effectively ensure the update efficiency of the attendance data. Description of the Drawings
[0026] Figure 1 It is an application environment diagram of the data processing method in approval services in one embodiment;
[0027] Figure 2Schematic flowchart of the data processing method in the approval service in one embodiment;
[0028] Figure 3 Schematic flowchart of the steps for identifying preset false attendance components in one embodiment;
[0029] Figure 4 Schematic diagram of the process of selecting false attendance components in one embodiment;
[0030] Figure 5 Schematic diagram of the information to be filled in the false attendance component in one embodiment;
[0031] Figure 6 Schematic diagram of the interface for submitting approval application information in one embodiment;
[0032] Figure 7 Schematic flowchart of the process for verifying approval application information in one embodiment;
[0033] Figure 8 Schematic flowchart of the steps for updating the false attendance data corresponding to the approval application information in one embodiment;
[0034] Figure 9 Schematic diagram of the interface for the processed result of the false attendance data feedback in one embodiment;
[0035] Figure 10 Schematic flowchart of the steps for updating the false attendance data corresponding to the approval application information according to the preset data update method and time characteristic parameters in one embodiment;
[0036] Figure 11 Schematic flowchart of the processing of the data processing method in the approval service in one embodiment;
[0037] Figure 12 Schematic flowchart of the data processing method in the approval service in another embodiment;
[0038] Figure 13 Block diagram of the structure of the data processing device in the approval service in one embodiment;
[0039] Figure 14 Internal structure diagram of a computer device in one embodiment. Detailed implementation manners
[0040] In order to make the objectives, technical solutions and advantages of the present application clearer and more understandable, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0041] The data processing method in the approval service provided by the present application can be applied to, for example, Figure 1In the application environment shown. Among them, the first terminal 102 where the applying user is located communicates with the data processing server 104 through the network, and the second terminal 106 where the auditing user is located also communicates with the data processing server 104 through the network. When the applying user corresponding to the first terminal 102 hopes to process the attendance data application, the approval application information can be sent to the data processing server 104 through the first terminal 102 to request the data processing server 104 to process the approval application, and the data processing server 104 can obtain the approval application information; when the approval application information carries a preset false attendance component, the approval application information is forwarded to the second terminal 106 where the auditing user is located according to the audit target in the preset false attendance component. After the auditing user completes the approval, the approval reply information is fed back to the data processing server 104, and the data processing server 104 receives the approval reply information; then, the false attendance data corresponding to the approval application information is updated according to the approval reply information. Among them, the first terminal 102 and the second terminal 106 can be, but are not limited to, various personal computers, laptop computers, smart phones, tablet computers, and portable wearable devices, and the data monitoring server 104 can be implemented by an independent server or a server cluster composed of multiple servers.
[0042] In one embodiment, as Figure 2 shown, a data processing method in an approval service is provided. Taking the data processing server 104 in Figure 1 as an example, the method includes the following steps:
[0043] Step 201, obtain approval application information.
[0044] Among them, the approval application information can specifically refer to a completed electronic approval form. The data processing method of the present application can be applied to an enterprise communication and office system. In this system, enterprise employees can also send corresponding approval requests to the superior approval personnel by filling out the approval application form and then submitting the approval application form. Various preset business components can be attached to the approval application form to submit various types of business applications, and these business applications include, but are not limited to: false attendance applications, payment applications, reimbursement applications, personnel processing applications, and operation and maintenance applications, etc.
[0045] Specifically, in some existing attendance systems, the false attendance data of employees is generally counted based on data such as employees' clock-in records, and these false attendance data are stored in a dedicated false attendance database. When needed, the corresponding false attendance data can be directly extracted from the false attendance database. When the applying user of the approval application information needs to carry out activities that will affect the false attendance data, such as business trips, in order to ensure that their false attendance data does not become abnormal due to these activities, the corresponding approval application information can be submitted to the data processing server 104 through the first terminal 102.
[0046] S203. When the approval application information carries a preset attendance component, forward the approval application information according to the review target in the preset attendance component.
[0047] Among them, the preset attendance component refers to a content component that can be attached to the approval application information. The preset attendance component can include components such as leave components, business trip components, out-of-office components, overtime components, shift adjustment components, and clock-in make-up components, etc. When the applying user needs to request a change in attendance data through an approval application, the corresponding preset attendance component can be added to the approval application, and then by filling in the content within the preset attendance component and submitting the approval application, the request for changing the attendance data can be completed. The review target corresponds to the review user corresponding to the applying user who submits the approval application information. The applying user can fill in or select the corresponding review target in the preset attendance component, and then the data processing server can forward the approval application information to the second terminal 106 where the review target is located according to the preset attendance component.
[0048] Specifically, the data processing server 104 can first parse the approval application information submitted by the applying user, and identify the approval application information according to the component feature information obtained from the parsing. When it is determined that the approval application information carries a preset attendance component, the data processing server 104 can forward the approval application information to the second terminal 106 corresponding to the review target according to the review target in the preset attendance component obtained from the parsing. In one embodiment, the data processing method for the approval service in this application is applied to a system for enterprise communication and office. In the system, there is an approval application, and at the same time, there are various preset approval components corresponding to the approval application on the system, and the preset attendance component is some of the preset approval components. The super administrator or hierarchical administrator of the system can add the corresponding attendance components to the approval application according to the needs of the enterprise business, and at the same time set the scope of employees in the enterprise who can use these attendance components. When an employee needs to submit an attendance-related application, an electronic approval application form can be established through the approval application, and then the corresponding preset attendance component can be added to the electronic approval application form. By submitting and filling in the corresponding attendance request content and review target in the electronic approval application form, the attendance application can be completed. The data processing server 104 is the processing server corresponding to the approval application. The data processing server can parse the electronic approval application form submitted by the applying employee and obtain the component information contained therein. When the electronic approval application form contains a preset attendance component, the electronic approval application form is forwarded to the corresponding review target of the preset attendance component.
[0049] S205. Obtain the approval reply information corresponding to the forwarded approval application information.
[0050] Among them, the approval reply information corresponding to the forwarded approval application information refers to a confirmation message fed back by the second terminal 106 corresponding to the auditing user to the data processing server.
[0051] Specifically, when the auditing user obtains the approval application information through the second terminal 106, the auditing user can confirm the leave application content on the preset leave component in the approval application information and send the corresponding approval reply content to the data processing server 104. After the data processing server 104 forwards the approval application information to the auditing target, it can obtain the approval reply information corresponding to the current approval application information after the auditing target feeds back the approval reply.
[0052] S207, update the leave data corresponding to the approval application information according to the approval reply information.
[0053] The leave data refers to the data stored in the preset leave database, specifically including data such as the user's work check-in time, work check-out time, working hours, compensatory leave hours, and overtime hours. The preset leave component in the approval application information contains leave adjustment data such as the time point or duration for which the user hopes to adjust the leave data. The data processing server 104 can update the leave data in the preset leave database according to these leave adjustment data carried in the preset leave component.
[0054] Specifically, the approval reply information fed back by the auditing target can specifically include opinions such as fully agreeing, partially agreeing, and disagreeing. The data processing server 104 can find out which parts of the leave adjustment data are agreed by the auditing target, and then update and process the corresponding leave data in the leave database according to the agreed parts of the leave adjustment data. Among them, when the generation time of the updated leave data is before the current update time, updating the leave data corresponding to the approval application information according to the approval reply information means updating the historical leave data corresponding to the approval application information saved in the leave database according to the approval reply information. When the generation time of the updated leave data is after the current update time, updating the leave data corresponding to the approval application information according to the approval reply information means generating the leave data corresponding to the approval application information in the leave database according to the approval reply information and locking this newly generated part of the leave data to prevent interference from subsequent attendance anomalies to these newly generated leave data. For example, if employee A submits a leave application for tomorrow, after the auditing target approves it today, the data processing server will add the corresponding check-in data of employee A to the leave data for tomorrow and lock these check-in data to prevent the generation of new missing check-in data tomorrow.
[0055] The above data processing method for approval services involves obtaining approval application information; when the approval application information carries a preset false attendance component, forwarding the approval application information according to the review target in the preset false attendance component; obtaining the approval response information corresponding to the forwarded approval application information; and updating the false attendance data corresponding to the approval application information according to the approval response information. In this application, by detecting the user's approval application, when the approval application submitted by the user carries a false attendance component, the approval application is directly forwarded, and after the approval application is approved and replied, the false attendance data is automatically updated in a timely manner according to the content of the reply, which can effectively ensure the update efficiency of the false attendance data.
[0056] In one embodiment, as Figure 3 shown, before step 203, it further includes:
[0057] Step 302, obtaining the component feature information corresponding to the approval application information.
[0058] Step 304, determining whether the approval application information carries a preset false attendance component according to the component feature information.
[0059] Among them, the component feature information refers to a set of information used to summarize the type to which the component belongs. Each component contains its corresponding feature information, and the data processing server can identify the type of the component according to the component feature information.
[0060] Specifically, the data processing server 104 can obtain the component feature information included in the approval application information by parsing the approval application information. Among them, the component feature information can exist in the approval application information in the form of data such as feature codes. After the data processing server 104 parses the approval application information, it can query the preset component information table according to the parsed feature codes, and then determine the type to which the component belongs. In one embodiment, when the approval application user submits the corresponding approval application, a component corresponding to the application type can be added to the approval application information, and the component is specifically used to implement the corresponding application function. The component includes a type of false attendance component, and the process of selecting the component type can refer to Figure 4 . As Figure 4 shown, the false attendance components include components of types such as leave, going out, business trip, overtime, shift adjustment, and clock-in make-up. When creating the approval application information, the application user can select the corresponding false attendance component from the component library provided by the approval application and add it to the corresponding position of the approval application information. For example, when submitting an overtime application, the corresponding development application title can be filled in to generate an overtime application form (approval application information), and then the overtime component in the preset false attendance component is selected. Then as Figure 5 shown, after selecting the overtime component, information such as start time, end time, and overtime duration will be displayed in the overtime component for the approval application user to fill in. As Figure 6As shown, after filling in the information, the application can also add the corresponding approval target and the information of the corresponding carbon copy recipient in the subsequent form. In this embodiment, the data processing server 104 can identify the preset false attendance component carried by the approval application information by identifying the component feature information corresponding to the approval application information, and then identify the approval application type corresponding to the approval application information.
[0061] As Figure 7 shown, in one embodiment, step 203 includes:
[0062] Step 401, when the approval application information carries a preset false attendance component, extract the false attendance type feature, false attendance time feature, and review target corresponding to the approval application information.
[0063] Step 403, find the application time corresponding to the approval application information according to the false attendance time feature.
[0064] Step 405, verify the false attendance application according to the time attribute corresponding to the false attendance type feature and the application time.
[0065] Step 407, when the verification passes, forward the approval application information according to the review target in the preset false attendance component.
[0066] Among them, the false attendance type feature refers to the false attendance type corresponding to the current approval application information. For an approval application information, it corresponds to a preset false attendance component. The false attendance type can specifically include leave, going out, business trip, overtime, shift change, and clock-in replacement. The false attendance time feature refers to the false attendance time period specified by the current approval application information, or a specific duration. For example, for an approval application information including an overtime component, the false attendance time feature can include the start time point of overtime, the end time point of overtime, and the overtime duration, etc. For an approval application information of a clock-in replacement component, its false attendance time feature can be the time point of clock-in replacement. The review target corresponds to the review node of the current approval application information, and can specifically be a designated reviewer. The application time refers to the specific time corresponding to this approval application information.
[0067] Specifically, in the attendance system, each time period is regulated. For example, the working hours are from A o'clock to B o'clock on the Yth day of X month, and the rest time is from C o'clock to D o'clock. The time attribute corresponding to the application time refers to whether the time point or time period specified by the user meets the attendance types applied by the user. The attendance types that can be received for change are different within each time period with different time attributes. For example, for the working hours from A o'clock to B o'clock, if the user submits an application for going out during this time period, then it meets the requirements and can be determined to pass the verification. If the user submits an application for punching card to make up for a missed punch, making up a missed punch during the working hours does not meet the verification requirements and will be determined to fail the verification. For the approval application information that passes the verification, the data processing server 104 can directly forward the approval application information to the second terminal 106 according to the approval target in the preset attendance component. For the approval application information that fails the verification, the error information of the application can be directly fed back to the user who submitted the application. In this embodiment, according to the attendance type characteristics and attendance time characteristics in the approval application information submitted by the user, the approval application information is preliminarily verified to determine whether the approval application information submitted by the user meets the attendance requirements, which can effectively filter out the approval applications filled in incorrectly, thereby improving the efficiency of data processing.
[0068] In one of the embodiments, step 405 includes: obtaining the supported attendance type information corresponding to the application time according to the time attribute corresponding to the application time; when the attendance type characteristics match the supported attendance type information, determining that the approval application information passes the verification; when the attendance type characteristics do not match the supported attendance type information, determining that the approval application information fails the verification.
[0069] Among them, the time attribute corresponding to the application time specifically refers to the type of time attribute corresponding to the attendance time period applied by the user. The supported attendance type information corresponding to the application time refers to the attendance types that can match the time attribute of the application time. For example, in a specific embodiment, the time attribute includes whether the application time belongs to the rest time or the working time. If the application time belongs to the rest time, the supported attendance types corresponding to it include types such as overtime and punching card to make up for a missed punch. If the application time belongs to the normal working time, the supported attendance types corresponding to it include leave, going out, business trip, and shift adjustment.
[0070] Specifically, the data processing server 104 can first confirm the application time corresponding to the approval application information, obtain the time attribute corresponding to the application time, and then obtain the supported leave type information corresponding to the application time; then determine whether the leave type corresponding to the leave type feature included in the approval application information submitted by the user is the supported leave type corresponding to the application time. When the leave type feature is the supported leave type information, it is determined that the approval application information passes the verification; when the leave type feature is not the supported leave type information, it is determined that the approval application information fails to pass the verification. In particular, for the approval application information that passes the verification in some time periods and fails to pass the verification in some time periods, it can be determined that the verification fails. In this embodiment, through the time attribute corresponding to the application time, the approval application information submitted by the user is effectively verified to prevent the occurrence of abnormal applications, which can effectively improve the efficiency of data processing.
[0071] In one of the embodiments, step 207 includes: updating the leave data corresponding to the approval application information according to the time feature parameter corresponding to the approved item in the approval reply information.
[0072] Among them, for the same approval application information, the applying user can submit multiple applications on it. For example, for the approval application information of adding a leave component. The first application is to take leave from the Yth day of the Xth month to the Zth day of the Xth month. The second application is to take leave from the Ath day of the Xth month to the Bth day of the Xth month. For the leave-related approval application information submitted by the applying user, the reviewing user can choose to approve all or part of it. The leave application item corresponds to the specific leave application. For example, "taking leave from the Yth day of the Xth month to the Zth day of the Xth month" can be regarded as a leave application item. The time feature parameter refers to the time point corresponding to the leave application in the leave application time. For example, for a leave application, the corresponding time feature parameters include the start time point and the end time point of the leave.
[0073] Specifically, after the review target confirms the approval application information, it will feedback the corresponding approval reply information to the data processing server 104 through the second terminal 106. The approval reply information can include all passed or partially passed. If all are passed, the data processing server 104 will update the attendance data corresponding to the approval application information in the preset attendance database according to the time characteristic parameters corresponding to all the attendance application items submitted by the user. For the approval reply information of partially passed, the data processing server 104 will only update the attendance data corresponding to the passed attendance application items. In addition, it can also include the approval reply information that all are not passed by the review target. For the approval reply information that all are not passed, the data processing server 104 will not update the attendance data. In this embodiment, by determining the type of the approval reply information and then updating the attendance data corresponding to the approval application information according to the type of the approval reply information, the accuracy of the attendance data update can be effectively guaranteed.
[0074] As Figure 8 shown, in one embodiment, updating the attendance data corresponding to the approval application information according to the time characteristic parameters corresponding to the passed items in the approval reply information includes:
[0075] Step 502, extract the attendance type characteristic corresponding to the approval application information, and find the preset data update method corresponding to the attendance type characteristic.
[0076] Step 504, find the attendance data corresponding to the approval application information in the preset attendance database according to the time characteristic parameters.
[0077] Step 506, update the attendance data corresponding to the approval application information according to the preset data update method and the time characteristic parameters.
[0078] Among them, the attendance type specifically includes types such as leave, going out, business trip, overtime, shift adjustment, and clock-in card replacement. The attendance type characteristic is the characteristic data used by the approval application information to specify the application type corresponding to the current approval application information. When the user adds a preset attendance component to the preset approval template, the attendance type characteristic corresponding to the preset attendance component will also be added to the approval template, so that the attendance type characteristic will also be carried in the approval application information submitted by the user. The preset data update method specifically refers to a data replacement method used to update and replace the original attendance data in the attendance database. Each attendance type has its corresponding preset data update method. And finding the attendance data corresponding to the approval application information in the preset attendance database according to the time characteristic parameters specifically means finding and positioning the target attendance data to be replaced in the attendance database according to the application time point added by the user in the approval application information, and then the found target attendance data can be updated based on the preset data update method.
[0079] Specifically, after the data processing server 104 extracts and obtains the time feature parameter, in order to update the false attendance data in the preset false attendance database, it can first determine the preset data update method corresponding to the false attendance type feature by extracting the false attendance type feature corresponding to the approval application information. In one embodiment, the process of extracting the false attendance type feature corresponding to the approval application information may specifically include determining the false attendance type feature corresponding to the approval application information by extracting the type feature keyword in the approval type information. Then, based on the false attendance type feature data, search the data update method list to determine the preset data update method corresponding to the current type of approval application information. Then, search for the false attendance data corresponding to the approval application information in the preset false attendance database, that is, the false attendance data that needs to be updated. Finally, update the false attendance data corresponding to the approval application information according to the preset data update method and the time feature parameter. At the same time, the data processing server can also generate a corresponding false attendance data processing result and feedback the processing result to the first terminal 102 and the second terminal 106. The specific false attendance data processing result feedback can refer to Figure 9 . In this embodiment, determining the preset data update method corresponding to the approval application according to the false attendance type feature extracted from the approval application information, and then completing the update operation of the false attendance data in the preset false attendance database through the preset data processing method can effectively ensure the processing efficiency of the false attendance data processing process.
[0080] As Figure 10 shown, in one embodiment, step 506 includes:
[0081] Step 601, search for the data replacement template corresponding to the approval application information according to the preset data update method.
[0082] Step 603, generate false attendance update data according to the time feature parameter and the data replacement template.
[0083] Step 605, update the false attendance data corresponding to the approval application information according to the false attendance update data.
[0084] The data replacement template refers to a processing tool used to replace the original false attendance data with new false attendance data. The false attendance update data is the new false attendance data newly generated to replace the original false attendance data.
[0085] Specifically, the process of the data processing server updating the attendance data corresponding to the approval application information according to the preset data update method and the time characteristic parameters specifically includes that the data processing server first searches for the data replacement template corresponding to the previous approval application information according to the preset data update method. Then, according to the time characteristic parameters and the data replacement template, the corresponding attendance update data is generated. Finally, the attendance data corresponding to the approval application information is replaced with the attendance update data. For example, in the preset database, a set of original attendance data of the attendance applicant is: on X month X day, the first clock-in time: 8:55, the second clock-in time: missing clock-in. Remarks: None. After the employee submits an attendance application for making up a missed clock-in, the data processing server can search for the data replacement template for making up a missed clock-in according to the approval application submitted by the attendance applicant. Specifically, in the approval application information submitted by the user, the time characteristic parameter corresponding to making up a missed clock-in is the off-work time of 18:00. The newly generated attendance update data can be: the second clock-in time: 18:00. At the same time, add the corresponding remarks that the second clock-in is for making up a missed clock-in. For other types of attendance application types, such as leave, business trip, and out-of-office types of attendance data, the corresponding data update method is to add the corresponding clock-in records at the clock-in time points during the application period and mark the attendance type. For overtime types of attendance data, new overtime type attendance data can be generated according to the data replacement template for the overtime type and added to the corresponding time node in the preset attendance database. For shift adjustment types of attendance data, the shift information of the two employees involved in the shift adjustment attached to the approval application information can be extracted, and then their shift information is swapped. In particular, for the attendance data whose application time point is after the current time point, after directly replacing the attendance data corresponding to the approval application information with the attendance update data, the replaced attendance data can be directly locked to prevent data anomalies. In this embodiment, by using the data replacement template to implement the processing and update of the attendance data, the efficiency of data processing can be effectively guaranteed.
[0086] In one embodiment, the application scenario of the data processing method in the approval service of this application is an enterprise communication and office system, and the data processing method in the approval service of this application exists in the system in the form of an audit application in the system. The specific processing flow of the data processing method can refer to Figure 11. It includes three parties. The data processing server corresponding to the management party executes the data processing method. The employee is the user who submits the approval application information, and the approver is the user who approves the approval application information submitted by the employee. The processing process includes: First, the administrator of the enterprise communication and office system can set the approval template, add the attendance component to the approval template, and set which employees can use these attendance components. Then the employee can add the attendance component to the approval template, and then submit the completed approval application information, that is, the attendance application form, to the approver through the data processing server at the management end. The approver can review the attendance application form submitted by the employee, and then directly feedback the corresponding approval reply information to the data processing server 104 at the management end. After the data processing server 104 obtains the approval reply information and recognizes the change in the review status, it will update the attendance data of the original clock-in system according to the attendance application form submitted by the user, and adjust the attendance data related to the attendance application form. The process of adjusting the attendance data specifically includes first confirming whether the approval reply is all passed. If it is all passed, the attendance data corresponding to all items in the approval application information will be updated. If it is partially passed, only the attendance data corresponding to the passed items in the approval application information will be updated. Then the data processing server can extract the attendance type characteristics corresponding to the approval application information, search for the preset data update method corresponding to the attendance type characteristics; search for the attendance data corresponding to the approval application information in the preset attendance database according to the time characteristic parameters; search for the data replacement template corresponding to the previous approval application information according to the preset data update method; generate the attendance update data according to the time characteristic parameters and the data replacement template, and then update the attendance data corresponding to the approval application information according to the attendance update data.
[0087] Figure 12 It is a schematic flowchart of the data processing method in the approval business in an embodiment. It should be understood that although Figure 12 the steps in the flowchart are shown in sequence according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless there is a clear description in this article, the execution of these steps has no strict order limit, and these steps can be executed in other orders. Moreover, Figure 12 at least a part of the steps in
[0088] In an embodiment, as Figure 13As shown, a data processing device in an approval service is provided. This device can be a software module, a hardware module, or a combination of both to become part of a computer device. Specifically, the device includes: an approval application acquisition module 702, an approval application forwarding module 704, an approval reply acquisition module 706, and a data update module 708, where:
[0089] The approval application acquisition module 702 is used to acquire approval application information.
[0090] The approval application forwarding module 704 is used to forward the approval application information according to the review target in the preset leave component when the approval application information carries the preset leave component.
[0091] The approval reply acquisition module 706 is used to acquire the approval reply information corresponding to the forwarded approval application information.
[0092] The data update module 708 is used to update the leave data corresponding to the approval application information according to the approval reply information.
[0093] The above data processing device in the approval service acquires approval application information; when the approval application information carries a preset leave component, forwards the approval application information according to the review target in the preset leave component; acquires the approval reply information corresponding to the forwarded approval application information; and updates the leave data corresponding to the approval application information according to the approval reply information. In this application, by detecting the user's approval application, when the approval application submitted by the user carries a leave component, the approval application is directly forwarded, and after the approval application is replied to, the leave data is automatically updated in a timely manner according to the content of the reply, thereby ensuring the update efficiency of the leave data.
[0094] In one embodiment, it further includes a component identification module, which is used to: acquire the component feature information corresponding to the approval application information; and judge whether the approval application information carries a preset leave component according to the component feature information.
[0095] In one embodiment, the approval application forwarding module 704 is specifically used to: when the approval application information carries a preset leave component, extract the leave type feature, leave time feature, and review target corresponding to the approval application information; find the application time corresponding to the approval application information according to the leave time feature; verify the leave application according to the time attribute corresponding to the leave type feature and the application time; and when the verification passes, forward the approval application information according to the review target in the preset leave component.
[0096] In one embodiment, the approval application forwarding module 704 is further configured to: obtain the supported leave type information corresponding to the application time according to the time attribute corresponding to the application time; determine that the approval application information passes the verification when the leave type feature matches the supported leave type information; and determine that the approval application information fails to pass the verification when the leave type feature does not match the supported leave type information.
[0097] In one embodiment, the data update module 708 is configured to: update the leave data corresponding to the approval application information according to the time feature parameter corresponding to the approved item in the approval reply information.
[0098] In one embodiment, the data update module 708 is configured to: extract the leave type feature corresponding to the approval application information, and find the preset data update method corresponding to the leave type feature; find the leave data corresponding to the approval application information in the preset leave database according to the time feature parameter; and update the leave data corresponding to the approval application information according to the preset data update method and the time feature parameter.
[0099] In one embodiment, the data update module 708 is configured to: find the data replacement template corresponding to the approval application information according to the preset data update method; generate the leave update data according to the time feature parameter and the data replacement template; and update the leave data corresponding to the approval application information according to the leave update data.
[0100] For the specific limitations of the data processing device in the approval service, reference may be made to the limitations of the data processing method in the approval service described above, which will not be elaborated here. Each module in the above data processing device in the approval service can be implemented in whole or in part by software, hardware, and their combination. The above modules can be embedded in the processor of the computer device in hardware form or independent of it, or stored in the memory of the computer device in software form, so that the processor can call and execute the operations corresponding to the above modules.
[0101] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as Figure 14 shown. The computer device includes a processor, a memory, and a network interface connected by a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store leave data. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, it implements a data processing method in an approval service.
[0102] Those skilled in the art can understand that Figure 14 The structure shown in Figure 14 is only a block diagram of some structures related to the solution of this application, and does not constitute a limitation on the computer device to which the solution of this application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine some components, or have different component arrangements.
[0103] In one embodiment, a computer device is further provided, including a memory and a processor. A computer program is stored in the memory, and when the processor executes the computer program, the steps in the above method embodiments are implemented.
[0104] In one embodiment, a computer-readable storage medium is provided, storing a computer program, and when the computer program is executed by a processor, the steps in the above method embodiments are implemented.
[0105] Those of ordinary skill in the art can understand that all or part of the processes of implementing the above method embodiments can be completed by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the above method embodiments. Among them, any reference to a memory, storage, database or other medium used in the various embodiments provided in this application can include at least one of non-volatile and volatile memories. Non-volatile memory may include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc.
[0106] The technical features of the above embodiments can be combined arbitrarily. For the sake of brevity of description, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered as the scope described in this specification.
[0107] The above embodiments only represent several implementation manners of the present application. The description thereof is relatively specific and detailed, but it should not be construed as a limitation on the scope of the invention patent. It should be noted that for those of ordinary skill in the art, without departing from the concept of the present application, several modifications and improvements can still be made, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the appended claims.
Claims
1. A data processing method in an approval service, the method comprising: Obtaining approval application information; When the approval application information carries a preset false attendance component, extracting the false attendance type feature, false attendance time feature, and review target corresponding to the approval application information; Searching for the application time corresponding to the approval application information according to the false attendance time feature; According to the time attribute corresponding to the application time, obtaining the supported false attendance type information corresponding to the application time, where the time attribute includes whether the application time belongs to rest time or working time; when the false attendance type feature matches the supported false attendance type information, determining that the approval application information passes the verification; when the false attendance type feature does not match the supported false attendance type information, determining that the approval application information fails the verification; When the verification passes, forwarding the approval application information according to the review target in the preset false attendance component; Obtaining the approval reply information corresponding to the forwarded approval application information; Updating the false attendance data corresponding to the approval application information according to the approval reply information.
2. The method according to claim 1, characterized in that Further comprising: Obtaining the component feature information corresponding to the approval application information; Judging whether the approval application information carries a preset false attendance component according to the component feature information.
3. The method according to claim 1, wherein The updating the false attendance data corresponding to the approval application information according to the approval reply information includes: Updating the false attendance data corresponding to the approval application information according to the time feature parameter corresponding to the approved item in the approval reply information.
4. The method according to claim 3, wherein The updating the false attendance data corresponding to the approval application information according to the time feature parameter corresponding to the approved item in the approval reply information includes: Extracting the false attendance type feature corresponding to the approval application information, and searching for the preset data update method corresponding to the false attendance type feature; Searching for the false attendance data corresponding to the approval application information in the preset false attendance database according to the time feature parameter; Updating the false attendance data corresponding to the approval application information according to the preset data update method and the time feature parameter.
5. The method according to claim 4, characterized in that The updating the false attendance data corresponding to the approval application information according to the preset data update method and the time feature parameter includes: Searching for the data replacement template corresponding to the approval application information according to the preset data update method; Generating false attendance update data according to the time feature parameter and the data replacement template; Updating the false attendance data corresponding to the approval application information according to the false attendance update data.
6. A data processing device in an approval service, characterized in that, The device includes: An approval application acquisition module, configured to obtain approval application information; An approval application forwarding module, configured to, when the approval application information carries a preset false attendance component, extract the false attendance type feature, false attendance time feature, and review target corresponding to the approval application information; find the application time corresponding to the approval application information according to the false attendance time feature; obtain the supported false attendance type information corresponding to the application time according to the time attribute corresponding to the application time; determine that the approval application information passes the verification when the false attendance type feature matches the supported false attendance type information; determine that the approval application information fails to pass the verification when the false attendance type feature does not match the supported false attendance type information; and forward the approval application information according to the review target in the preset false attendance component when the verification passes. An approval reply obtaining module, configured to obtain the approval reply information corresponding to the forwarded approval application information. A data update module, configured to update the false attendance data corresponding to the approval application information according to the approval reply information.
7. The device according to claim 6, characterized in that, It further includes a component identification module, configured to: obtain the component feature information corresponding to the approval application information; and determine whether the approval application information carries a preset false attendance component according to the component feature information.
8. The device according to claim 6, characterized in that, The data update module is configured to: update the false attendance data corresponding to the approval application information according to the time feature parameter corresponding to the approved item in the approval reply information.
9. The device according to claim 8, wherein The data update module is configured to: extract the false attendance type feature corresponding to the approval application information, and find the preset data update method corresponding to the false attendance type feature; find the false attendance data corresponding to the approval application information in the preset false attendance database according to the time feature parameter; and update the false attendance data corresponding to the approval application information according to the preset data update method and the time feature parameter.
10. The device according to claim 9, characterized in that, The data update module is configured to: find the data replacement template corresponding to the approval application information according to the preset data update method; generate false attendance update data according to the time feature parameter and the data replacement template; and update the false attendance data corresponding to the approval application information according to the false attendance update data.
11. A computer device, comprising a memory and a processor, the memory storing a computer program, characterized in that, When the processor executes the computer program, the steps of the method according to any one of claims 1 to 5 are implemented.
12. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, the steps of the method according to any one of claims 1 to 5 are implemented.
Citation Information
Patent Citations
Attendance check system based on tracks and sensor data
CN107274503A
Enterprise approval process management method and enterprise approval process management system
CN107609846A