Status processing method and device for approval data
By using the pre -configured control relationship in the approval process to automatically update the approval status of the client, it solves the high cost and inefficient problem caused by specific interface calls in each link in the existing technology, and achieves low -cost and high efficiency approval approval. Data status processing.
Patent Information
- Application Number
- CN202211480408.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-24
- Publication Date
- 2025-01-28
- Estimated Expiration
- 2042-11-24
AI Technical Summary
In the approval process of enterprises or agencies, a specific state processing interface call is formed for each link, resulting in high development and operation and maintenance costs and low business processing efficiency.
By obtaining the approval status logo of the current approval process when listening to the results of the service side, and according to the comparison relationship of the pre -configuration, determine the approval status logo of the current process link of the client, generate and send the approval state update instruction to the client, update the customer Approval status in the end.
The state processing of low -cost and efficient approval data is achieved, and specific state processing interface calls are avoided for each link, reducing development and operation and maintenance costs, and improving business processing efficiency.
Smart Images

Figure CN115796774B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of workflow processing, and in particular to a method and device for processing the status of approval data. Background Art
[0002] This section is intended to provide a background or context to the embodiments of the invention recited in the claims. No admission is made that the description herein is prior art by inclusion in this section.
[0003] At present, the approval of cases such as filing of enterprises and agencies is implemented based on the activiti workflow engine. When designing the process, activiti allows custom interface calls in each link to handle data changes related to filing and other businesses, such as status processing of approval data. In addition, since the filing and other business requirements of approval centers in various places are different, if a specific status processing interface call is formed for each link, the cost of development and operation and maintenance will be increased, and the business processing efficiency will also be low. Summary of the invention
[0004] The embodiment of the present invention provides a method for processing the status of approval data, which is used to process the status of approval data at low cost and high efficiency. The method includes:
[0005] When monitoring the approval result of the current approval process link of the current case by the approver, obtain the approval status identifier corresponding to the current approval process link on the server side;
[0006] Determine the approval status identifier corresponding to the current approval process link of the client according to the approval status identifier corresponding to the current approval process link of the server, and the pre-configured comparison relationship between the different approval status identifiers corresponding to different process links of the server and the different approval status identifiers corresponding to different process links of the client; the comparison relationship is pre-configured according to all approval business requirements of all approval centers;
[0007] According to the approval status identifier corresponding to the current process link of the client, an approval status update instruction corresponding to the current process link of the client is generated, and the status update instruction is sent to the client corresponding to the current case; the update instruction is used to update the approval status of the current case in the client according to the relationship between the approval status identifier corresponding to the pre-configured client process link and the approval status.
[0008] The embodiment of the present invention provides a method for processing the status of approval data, which is used to process the status of approval data at low cost and high efficiency. The method includes:
[0009] Receive an approval status update instruction corresponding to the current process link of the client; the status update instruction is generated by the server according to the approval status identifier corresponding to the current process link of the client; the approval status identifier corresponding to the current process link of the client is determined according to the approval status identifier corresponding to the current approval process link of the server, and the pre-configured comparison relationship between different approval status identifiers corresponding to different process links of the server and different approval status identifiers corresponding to different process links of the client; the approval status identifier corresponding to the current approval process link of the server is obtained when the approval result of the current approval process link of the current case by the approving personnel is monitored;
[0010] According to the status update instruction and the relationship between the approval status identifier and the approval status corresponding to the pre-configured client process link, the approval status of the current case in the client is updated.
[0011] The embodiment of the present invention further provides a status processing device for approval data, which is used to process the status of approval data at low cost and high efficiency. The processing device is applied to a server, and the processing device is configured at a preset approval process link of the server. The processing device includes:
[0012] The acquisition unit is used to acquire the approval status identifier corresponding to the current approval process link of the server when monitoring the approval result of the current approval process link of the current case by the approval personnel;
[0013] A determination unit is used to determine the approval status identifier corresponding to the current approval process link of the client according to the approval status identifier corresponding to the current approval process link of the server and the pre-configured comparison relationship between different approval status identifiers corresponding to different process links of the server and different approval status identifiers corresponding to different process links of the client; the comparison relationship is pre-configured according to all approval business requirements of all approval centers;
[0014] The sending unit is used to generate an approval status update instruction corresponding to the current process link of the client according to the approval status identifier corresponding to the current process link of the client, and send the status update instruction to the client corresponding to the current case; the update instruction is used to update the approval status of the current case in the client according to the relationship between the approval status identifier corresponding to the pre-configured client process link and the approval status.
[0015] The embodiment of the present invention further provides a status processing device for approval data, which is used to process the status of approval data at low cost and high efficiency. The processing device is applied to a client, and the processing device is configured at a preset approval process link of the client. The processing device includes:
[0016] A receiving unit is used to receive an approval status update instruction corresponding to a current process link of a client; the status update instruction is generated by the server according to the approval status identifier corresponding to the current process link of the client; the approval status identifier corresponding to the current process link of the client is determined according to the approval status identifier corresponding to the current approval process link of the server, and the pre-configured comparison relationship between different approval status identifiers corresponding to different process links of the server and different approval status identifiers corresponding to different process links of the client; the approval status identifier corresponding to the current approval process link of the server is obtained when the approval result of the current approval process link of the current case by the approving personnel is monitored;
[0017] The second updating unit is used to update the approval status of the current case in the client according to the status update instruction and the relationship between the approval status identifier and the approval status corresponding to the pre-configured client process link.
[0018] An embodiment of the present invention further provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned status processing method of approval data when executing the computer program.
[0019] An embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the above-mentioned method for processing the status of approval data is implemented.
[0020] An embodiment of the present invention further provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the above-mentioned status processing method of approval data is implemented.
[0021] In the embodiment of the present invention, the status processing scheme of approval data is compared with the technical scheme of high cost and low efficiency in the prior art in which a specific interface call is formed for each link: first, when the approval result of the current approval process link of the current case by the approval personnel is monitored, the approval status identifier corresponding to the current approval process link of the server is obtained; second, according to the approval status identifier corresponding to the current approval process link of the server, and the pre-configured comparison relationship between different approval status identifiers corresponding to different process links of the server and different approval status identifiers corresponding to different process links of the client, the approval status identifier corresponding to the current process link of the client is determined; the comparison relationship is pre-configured according to all approval business requirements of all approval centers. First configure; finally, generate the approval status update instruction corresponding to the current process link of the client according to the approval status identifier corresponding to the current process link of the client, and send the status update instruction to the client corresponding to the current case; the update instruction is used to update the approval status of the current case in the client according to the relationship between the approval status identifier and the approval status corresponding to the pre-configured client process link. The comparison relationship of this solution is a comparison relationship pre-configured according to the full amount of approval business needs. There is no need to form a specific status processing interface call for each link. It can realize the comparison relationship between different approval statuses corresponding to different process links according to the pre-configured comparison relationship, and perform the status processing of approval data at low cost and high efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the prior art descriptions. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In the drawings:
[0023] Figure 1 A schematic diagram of the structure of a status processing system for approval data in an embodiment of the present invention;
[0024] Figure 2 Schematic diagram of a flow chart of a method for processing status of approval data applied to a server in an embodiment of the present invention;
[0025] Figure 3 It is a flowchart of a method for processing the status of approval data applied to a server in another embodiment of the present invention;
[0026] Figure 4 It is a flowchart of a method for processing the status of approval data applied to a server in another embodiment of the present invention;
[0027] Figure 5It is a flowchart of a method for processing the status of approval data applied to a client in an embodiment of the present invention;
[0028] Figure 6 It is a structural schematic diagram of a state processing device for approval data applied to a server in an embodiment of the present invention;
[0029] Figure 7 It is a structural schematic diagram of a status processing device for approval data applied to a server in another embodiment of the present invention;
[0030] Figure 8 It is a structural schematic diagram of a status processing device for approval data applied to a server in another embodiment of the present invention;
[0031] Fig. 9 It is a structural diagram of a status processing device for approval data applied to a client in an embodiment of the present invention. DETAILED DESCRIPTION
[0032] To make the purpose, technical solution and advantages of the embodiments of the present invention more clear, the embodiments of the present invention are further described in detail below in conjunction with the accompanying drawings. Here, the exemplary embodiments of the present invention and their descriptions are used to explain the present invention, but are not intended to limit the present invention.
[0033] The embodiment of the present invention provides a status processing solution for approval data. Figure 1 FIG. 1 is a schematic diagram of the structure of the status processing system of the approval data in an embodiment of the present invention. Figure 1As shown, the system includes: a server 01 and multiple clients 02, wherein the server may be a server of an approval center, and the client may be a client of an applicant or an agency. A status processing device for approval data applied to the server is pre-configured at each approval process link (node) of the server, and a status processing device for approval data applied to the client is pre-configured at each approval process link (node) of the client. When working: the status processing device of the server: when monitoring the approval result of the current approval process link of the current case by the approving personnel, obtains the approval status identifier corresponding to the current approval process link of the server; determines the approval status identifier corresponding to the current process link of the client according to the approval status identifier corresponding to the current approval process link of the server, and the pre-configured comparison relationship between different approval status identifiers corresponding to different process links of the server and different approval status identifiers corresponding to different process links of the client; the comparison relationship is pre-configured according to all approval business requirements of all approval centers; generates an approval status update instruction corresponding to the current process link of the client according to the approval status identifier corresponding to the current process link of the client, and sends the status update instruction to the client corresponding to the current case; at this time, the status processing device of the client: receives the approval status update instruction corresponding to the current process link of the client; updates the approval status of the current case in the client according to the status update instruction and the relationship between the approval status identifier corresponding to the pre-configured client process link and the approval status. This solution does not need to form a specific status processing interface call for each link. It can realize the comparison relationship between different approval statuses corresponding to different process links of the pre-configured full volume, and perform status processing of approval data at low cost and high efficiency. The status processing solution for approval data is introduced in detail below.
[0034] Figure 2 FIG. 1 is a flow chart of a method for processing the status of approval data applied to a server in an embodiment of the present invention. Figure 2 As shown, the method comprises the following steps:
[0035] Step 101: when monitoring the approval result of the current approval process link of the current case by the approval personnel, obtaining the approval status identifier corresponding to the current approval process link of the server;
[0036] Step 102: Determine the approval status identifier corresponding to the current approval process link of the client according to the approval status identifier corresponding to the current approval process link of the server and the pre-configured comparison relationship between different approval status identifiers corresponding to different process links of the server and different approval status identifiers corresponding to different process links of the client; the comparison relationship is pre-configured according to all approval business requirements of all approval centers;
[0037] Step 103: Generate an approval status update instruction corresponding to the current process link of the client according to the approval status identifier corresponding to the current process link of the client, and send the status update instruction to the client corresponding to the current case; the update instruction is used to update the approval status of the current case in the client according to the relationship between the approval status identifier corresponding to the pre-configured client process link and the approval status.
[0038] The state processing method of approval data provided by the embodiment of the present invention works as follows: first, when monitoring the approval result of the current approval process link of the current case by the approving personnel, the approval state identifier corresponding to the current approval process link of the server is obtained; secondly, according to the approval state identifier corresponding to the current approval process link of the server, and the pre-configured comparison relationship between different approval state identifiers corresponding to different process links of the server and different approval state identifiers corresponding to different process links of the client, the approval state identifier corresponding to the current process link of the client is determined; the comparison relationship is pre-configured according to all approval business requirements of all approval centers; finally, according to the approval state identifier corresponding to the current process link of the client, an approval state update instruction corresponding to the current process link of the client is generated, and the state update instruction is sent to the client corresponding to the current case; the update instruction is used to update the approval state of the current case in the client according to the pre-configured relationship between the approval state identifier corresponding to the process link of the client and the approval state, and the comparison relationship of this scheme is a comparison relationship pre-configured according to the full amount of approval business requirements (the full amount of approval business requirements can be all approval business requirements of all approval centers).
[0039] Compared with the technical solution in the prior art that forms a specific interface call for each link, which is high in cost and low in efficiency, the state processing method of approval data provided by the embodiment of the present invention does not need to form a specific state processing interface call for each link, and can realize the state processing of approval data at low cost and high efficiency according to the pre-configured comparison relationship between different process links and different approval states. The state processing method of approval data is introduced in detail below.
[0040] In the above step 101, the approval data in the embodiment of the present invention may be a case, and the approval result may include passing the formal preliminary review, failing the formal review, etc. The approval process links may include pending review, preliminary review, review, filing, etc. as shown in Table 1 or Table 2 below, and the approval status may include failing the formal preliminary review, failing the formal review, filing passed, passing the formal review, etc. as shown in Table 1 or Table 2 below, and the approval status identifier may include xscs_unpass, xsfs_pass, xscs_pass, etc. as shown in Table 1 or Table 2 below.
[0041] In the above step 102, the approval status identifiers corresponding to different process links of the server can be the approval status identifiers shown in the "management end status" column in Table 1 or Table 2 below, such as xscs_unpass, xsfs_pass, xscs_pass, etc. The approval status identifiers corresponding to different process links of the client can be the approval status identifiers shown in the "user end status" column in Table 1 or Table 2 below, audit_doing, first_pass, unpass, etc. The mapping relationship can be a state mapping table as shown in Table 1 or Table 2 below, that is, the data dictionary mentioned below: ys_company_bpm_mapping. When the status of the approval data is processed, the approval status identifier corresponding to the current approval process link of the server is matched to the pre-configured mapping relationship to obtain the approval status identifier corresponding to the current process link of the client; wherein, the mapping relationship is pre-configured according to all approval business requirements of all approval centers, so that the status identifier corresponding to any business requirement can be obtained, without the need to write and maintain different programs for each requirement, thereby reducing the cost of status processing of the approval data.
[0042] In the above step 103, the relationship between the approval status identifier corresponding to the client process link and the approval status can be the relationship shown in the "User-side Status" column in Table 1 or Table 2 below, that is, the data dictionary ys_company_front_status mentioned below. The client can match the approval status identifier corresponding to the client's current process link with the relationship between the approval status identifier corresponding to the client process link and the approval status to determine the approval status of the current case, thereby helping the client update the approval status of the current case.
[0043] In one embodiment, Figure 3 As shown, the above-mentioned approval data status processing method may further include step 104: updating the approval status corresponding to the current approval process link of the server according to the approval status identifier corresponding to the current approval process link of the server, and the relationship between the approval status identifier corresponding to the approval process link of the server and the approval status pre-configured.
[0044] In specific implementation, the relationship between the approval status identifier corresponding to the approval process link on the server side and the approval status can be the relationship shown in the "Management Side Status" column in Table 1 or Table 2 below, that is, the data dictionary ys_company_bpm_status, which matches the approval status identifier corresponding to the current approval process link on the server side with the relationship between the approval status identifier and the approval status corresponding to the approval process link on the server side to determine the approval status of the current case, thereby automatically updating the approval status on the server side, further improving the efficiency of status processing of approval data.
[0045] In one embodiment, Figure 4 As shown, the above-mentioned status processing method of approval data may also include:
[0046] Step 105: Determine the current message template according to the approval status identifier corresponding to the current approval process link of the server and the pre-configured relationship between different approval status identifiers corresponding to different process links and message templates;
[0047] Step 106: Generate a reminder message of the approval result of the current approval process link of the current case for the approver according to the current message template;
[0048] Step 107: Send the reminder message to the client corresponding to the current case.
[0049] During specific implementation, according to the pre-configured relationship between different approval status identifiers and message templates corresponding to different process links, the message template is determined to send the approval result reminder message, which further improves the efficiency of status processing of approval data and user experience.
[0050] In order to further understand how to implement the present invention, a detailed description is given below.
[0051] The embodiment of the present invention aims to uniformly solve the different requirements of different links in the filing and approval process of enterprises and agencies: 1. Whether to send reminder SMS and the content of sending are different and flexibly configurable; 2. The status of the approval link is different, and the common parts of the personalized filing requirements of various places are abstracted into a unified interface call. The following is a detailed introduction.
[0052] The embodiment of the present invention needs to abstract a system that meets the needs of 20+ different project sites and different approval centers, that is, to productize it. Since the approval process link design itself is flexible and can be dragged and dropped by itself, if it is necessary to associate the approval process link design with a specific approval business requirement, it can be done through an interface call method, that is, the processing device applied to the server (equivalent to the call interface) is configured at the preset approval process link of the server. Therefore, the business requirements for filing are abstracted into different approval states corresponding to different links, and different SMS contents are sent at different links. For example, only when the initial review and re-review are not passed, the SMS content is: [(XX) Center] [Company Name]'s main filing information, the initial review is unqualified. Please log in to the system to view the specific reasons. The modification time is until [deadline]. If the review is passed, a SMS is sent, and the SMS content is: [(XX) Center] [Company Name]'s main filing information has passed the initial review. Please download the "(XX) Center Application for Main Filing Application Form", print and stamp it, upload it to the system, and bind a copy of the user filing materials and mail it to the (XX) Center. Please log in to the system and view the mailing address on the filing information details page.
[0053] Therefore, the SMS template management and status comparison table are abstracted, and two general interfaces are extracted based on these two contents: changing the status of approval data (steps 101 to 104 above) and sending different business SMS according to the SMS template number (steps 105 to 107 above). The status comparison table is shown in Table 1 and Table 2 below:
[0054] Table 1: Comparison table of user-side status and management-side status of applicant units (ys_company_bpm_mapping)
[0055]
[0056] Table 2: Comparison table of agent user-side status and management-side status (ys_agent_front_mapping)
[0057]
[0058] In the embodiment of the present invention, according to business needs (for example, updating the case status in the server to an approval status of not passing the initial review, and accordingly, sending the updated status of not passing the initial review to the client, and updating the case status in the client), the system is divided into front-end users (client users) and back-end users (server users).
[0059] In the face of two different user groups, the content of concern is naturally different, but the different status content in the two user groups has commonality, so according to special business needs, each comparison table is divided into 3 data dictionaries. The data dictionary ys_company_front_status (the relationship between the approval status identifier and the approval status corresponding to the pre-configured client process link) is the content seen by the front-end (client) user group, and the data dictionary ys_company_bpm_status (the relationship between the approval status identifier and the approval status corresponding to the pre-configured server-side approval process link) is the status seen by the back-end (server-side) user group. The data dictionary: ys_company_bpm_mapping identifies the comparison relationship between the front-end and back-end user data dictionaries (the comparison relationship between the pre-configured different approval status identifiers corresponding to different process links of the server and the different approval status identifiers corresponding to different process links of the client). Since the approval process link design itself is flexible and can be dragged and dropped by itself, if it is necessary to associate the approval process link design with the filing business needs, it can be done by configuring the call interface on the link (for example, the processing device applied to the server is configured at the preset approval process link of the server). Therefore, the business needs of the record are abstracted into different approval states corresponding to different links. By configuring the status of the background, the status of the front end is found according to the mapping relationship provided in the above table, and each status is stored and presented to different user groups. Through three different data dictionaries, the business needs corresponding to the variable process approval diagram become flexible and controllable.
[0060] In addition, according to business needs, different approval process links and different approval conclusions (results) in the links need to give corresponding SMS reminders to front-end users. Therefore, SMS template management is designed, and an interface for sending SMS messages based on SMS template numbers is abstracted, and configured on different flow charts, thereby achieving flexible and configurable SMS content.
[0061] In addition, the user end in Table 1 and Table 2 is the client end, and the management end is the server end.
[0062] An example of the call configuration for updating different front-end and back-end status fields in different approval stages is as follows:
[0063] Through the above configuration of passing / failure of the preliminary review (approval result operation of the approver), it can be found that the interfaces called in the two places are the same, but the configured bpmStatusCode parameter values are different. Then you can see that the comparison status field value of the preliminary review is: xscs_pass. Through the above comparison table "Table 2: Comparison table of agent user-side status and management-side status (ys_agent_front_mapping)", the comparison relationship is found: the front-end display status corresponding to the formal preliminary review xscs_pass is pending audit_doing; the front-end display status corresponding to the formal preliminary review xscs_unpass is: first_unpass failed to pass the preliminary review. Therefore, through a parameter configuration, the audit status seen by the front-end filing user (client user, such as applicant, process clerk, etc.) can be determined (such as the audit status shown in the "user-side status" column in Table 1 or Table 2 above), and the background audit status required by the back-end administrator (server user, such as the approver) can be determined (such as the audit status shown in the "management-side status" column in Table 1 or Table 2 above).
[0064] In addition, the SMS configuration method is to configure the message content through events at the stage where SMS needs to be sent, and then find the SMS content numbered xsfs_unpass in the SMS template table, and send it to notify the registrant of the review result.
[0065] In summary, the embodiment of the present invention is implemented through the above configuration, and can quickly meet the requirements of different review processes of different approval centers through implementation work, and also simplifies the subsequent maintenance work.
[0066] The embodiment of the present invention also provides a method for processing the status of approval data applied to the client, as described in the following embodiment. Since the principle of solving the problem by this method is similar to that of the method for processing the status of approval data applied to the server, the implementation of this method can refer to the implementation of the method for processing the status of approval data applied to the server, and the repeated parts will not be repeated.
[0067] Figure 5 FIG. 1 is a flow chart of a method for processing the status of approval data applied to a client in an embodiment of the present invention. Figure 5 As shown, the method comprises the following steps:
[0068] Step 201: receiving an approval status update instruction corresponding to the current process link of the client; the status update instruction is generated by the server according to the approval status identifier corresponding to the current process link of the client; the approval status identifier corresponding to the current process link of the client is determined according to the approval status identifier corresponding to the current approval process link of the server, and the pre-configured comparison relationship between different approval status identifiers corresponding to different process links of the server and different approval status identifiers corresponding to different process links of the client; the approval status identifier corresponding to the current approval process link of the server is obtained when monitoring the approval result of the current approval process link of the current case by the approving personnel;
[0069] Step 202: According to the status update instruction and the relationship between the approval status identifier and the approval status corresponding to the pre-configured client process link, the approval status of the current case in the client is updated.
[0070] The embodiment of the present invention also provides a state processing device for approval data applied to the server, as described in the following embodiment. Since the principle of solving the problem by the device is similar to the state processing method for approval data applied to the server, the implementation of the device can refer to the implementation of the state processing method for approval data applied to the server, and the repeated parts will not be repeated.
[0071] The embodiment of the present invention further provides a state processing device for approval data, which is applied to a server. Figure 6 FIG. 1 is a schematic diagram of a state processing device for approval data applied to a server in an embodiment of the present invention. Figure 6 As shown, the processing device includes:
[0072] The acquisition unit 011 is used to acquire the approval status identifier corresponding to the current approval process link of the server when monitoring the approval result of the approval personnel on the current approval process link of the current case;
[0073] The determination unit 012 is used to determine the approval status identifier corresponding to the current approval process link of the client according to the approval status identifier corresponding to the current approval process link of the server and the pre-configured comparison relationship between different approval status identifiers corresponding to different process links of the server and different approval status identifiers corresponding to different process links of the client; the comparison relationship is pre-configured according to all approval business requirements of all approval centers;
[0074] The sending unit 013 is used to generate an approval status update instruction corresponding to the current process link of the client according to the approval status identifier corresponding to the current process link of the client, and send the status update instruction to the client corresponding to the current case; the update instruction is used to update the approval status of the current case in the client according to the relationship between the approval status identifier corresponding to the pre-configured client process link and the approval status.
[0075] In one embodiment, Figure 7 As shown, the status processing device applied to the approval data of the server side may also include a first updating unit 014, which is used to: update the approval status corresponding to the current approval process link of the server side according to the approval status identifier corresponding to the current approval process link of the server side, and the relationship between the approval status identifier corresponding to the approval process link of the server side and the approval status pre-configured.
[0076] In one embodiment, Figure 8 As shown, the status processing device for approval data applied to the server may also include:
[0077] The template matching unit 015 is used to determine the current message template according to the approval status identifier corresponding to the current approval process link of the server, and the pre-configured relationship between different approval status identifiers corresponding to different process links and message templates;
[0078] The message generation unit 016 is used to generate a reminder message of the approval result of the current approval process link of the current case to the approval personnel according to the current message template;
[0079] The message sending unit 017 is used to send the reminder message to the client corresponding to the current case.
[0080] The embodiment of the present invention also provides a state processing device for approval data applied to a client, as described in the following embodiment. Since the principle of solving the problem by the device is similar to the state processing method for approval data applied to a client, the implementation of the device can refer to the implementation of the state processing method for approval data applied to a client, and the repeated parts will not be repeated.
[0081] The embodiment of the present invention further provides a state processing device for approval data, which is applied to a client and is configured at a preset approval process link of the client. Fig. 9 FIG. 1 is a schematic diagram of a state processing device for approval data applied to a client in an embodiment of the present invention. Fig. 9 As shown, the processing device includes:
[0082] The receiving unit 021 is used to receive an approval status update instruction corresponding to the current process link of the client; the status update instruction is generated by the server according to the approval status identifier corresponding to the current process link of the client; the approval status identifier corresponding to the current process link of the client is determined according to the approval status identifier corresponding to the current approval process link of the server, and the pre-configured comparison relationship between different approval status identifiers corresponding to different process links of the server and different approval status identifiers corresponding to different process links of the client; the approval status identifier corresponding to the current approval process link of the server is obtained when the approval result of the current approval process link of the current case by the approving personnel is monitored;
[0083] The second updating unit 022 is used to update the approval status of the current case in the client according to the status update instruction and the relationship between the approval status identifier and the approval status corresponding to the pre-configured client process link.
[0084] An embodiment of the present invention further provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned status processing method of approval data when executing the computer program.
[0085] An embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the above-mentioned method for processing the status of approval data is implemented.
[0086] An embodiment of the present invention further provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the above-mentioned status processing method of approval data is implemented.
[0087] In the embodiment of the present invention, the status processing scheme of approval data is compared with the technical scheme in the prior art in which the specific interface call cost and efficiency are low. Firstly, when the approval result of the current approval process link of the current case by the approval personnel is monitored, the approval status identifier corresponding to the current approval process link of the server is obtained; secondly, according to the approval status identifier corresponding to the current approval process link of the server, and the pre-configured comparison relationship between the different approval status identifiers corresponding to different process links of the server and the different approval status identifiers corresponding to different process links of the client, the approval status identifier corresponding to the current process link of the client is determined; the comparison relationship is pre-configured according to all approval business requirements of all approval centers. finally, according to the approval status identifier corresponding to the current process link of the client, an approval status update instruction corresponding to the current process link of the client is generated, and the status update instruction is sent to the client corresponding to the current case; the update instruction is used to update the approval status of the current case in the client according to the relationship between the approval status identifier corresponding to the pre-configured client process link and the approval status. The comparison relationship of this solution includes the comparison relationship pre-configured according to the full amount of approval business needs. There is no need to form a specific status processing interface call for each link. It can realize the comparison relationship between different approval statuses corresponding to different process links according to the pre-configured comparison relationship, and perform the status processing of approval data at low cost and high efficiency.
[0088] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0089] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0090] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0091] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0092] The specific embodiments described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.
Claims
1. A method for processing the status of approval data, characterized in that: The method is applied to a status processing device of approval data on the server side, and the processing device is configured at each approval process link on the server side. The method includes: When monitoring the approval result of the current approval process link of the current case by the approver, obtain the approval status identifier corresponding to the current approval process link on the server side; According to the approval status identifier corresponding to the current approval process link of the server, and the pre-configured comparison relationship between different approval status identifiers corresponding to different process links of the server and different approval status identifiers corresponding to different process links of the client, the approval status identifier corresponding to the current process link of the client is determined; the comparison relationship is pre-configured according to all approval business requirements of all approval centers, and the configuration process of the comparison relationship is: configuring a front-end user data dictionary, the front-end user is the client user, and the front-end user data dictionary represents the relationship between the approval status identifier corresponding to the client process link and the approval status; configuring a back-end user data dictionary, the back-end user is the server user, and the back-end user data dictionary represents the relationship between the approval status identifier corresponding to the approval process link of the server and the approval status; configuring the comparison relationship between the front-end user data dictionary and the back-end user data dictionary as the comparison relationship; According to the approval status identifier corresponding to the current process link of the client, an approval status update instruction corresponding to the current process link of the client is generated, and the approval status update instruction is sent to the client corresponding to the current case; the approval status update instruction is used to update the approval status of the current case in the client according to the relationship between the approval status identifier corresponding to the pre-configured client process link and the approval status.
2. The method according to claim 1, characterized in that Also includes: According to the approval status identifier corresponding to the current approval process link of the server, and the pre-configured relationship between the approval status identifier corresponding to the approval process link of the server and the approval status, the approval status corresponding to the current approval process link of the server is updated.
3. The method according to claim 1, characterized in that Also includes: Determine the current message template according to the approval status identifier corresponding to the current approval process link of the server, and the pre-configured relationship between different approval status identifiers corresponding to different process links and message templates; Generate a reminder message of the approval result of the current approval process link of the current case for the approver according to the current message template; The reminder message is sent to the client corresponding to the current case.
4. A method for processing the status of approval data, characterized in that: The method is applied to a status processing device of approval data of a client, and the processing device is configured at each approval process link of the client. The method includes: Receive an approval status update instruction corresponding to the current process link of the client; the approval status update instruction is generated by the server according to the approval status identifier corresponding to the current process link of the client; the approval status identifier corresponding to the current process link of the client is determined according to the approval status identifier corresponding to the current approval process link of the server, and the pre-configured comparison relationship between different approval status identifiers corresponding to different process links of the server and different approval status identifiers corresponding to different process links of the client; the approval status identifier corresponding to the current approval process link of the server is obtained when the approval result of the current approval process link of the current case by the approving personnel is monitored; the configuration process of the comparison relationship is: configure a front-end user data dictionary, the front-end user is the client user, the front-end user data dictionary represents the relationship between the approval status identifier corresponding to the client process link and the approval status; configure a back-end user data dictionary, the back-end user is the server user, the back-end user data dictionary represents the relationship between the approval status identifier corresponding to the approval process link of the server and the approval status; configure the comparison relationship between the front-end user data dictionary and the back-end user data dictionary as the comparison relationship; According to the approval status update instruction and the relationship between the approval status identifier corresponding to the pre-configured client process link and the approval status, the approval status of the current case in the client is updated.
5. A status processing device for approval data, characterized in that: The processing device is applied to the server side. The processing device is configured at each approval process link of the server side. The processing device includes: The acquisition unit is used to acquire the approval status identifier corresponding to the current approval process link of the server when monitoring the approval result of the current approval process link of the current case by the approval personnel; The determination unit is used to determine the approval status identifier corresponding to the current approval process link of the client according to the approval status identifier corresponding to the current approval process link of the server, and the pre-configured comparison relationship between different approval status identifiers corresponding to different process links of the server and different approval status identifiers corresponding to different process links of the client; the comparison relationship is pre-configured according to all approval business requirements of all approval centers, and the configuration process of the comparison relationship is: configuring a front-end user data dictionary, the front-end user is the client user, and the front-end user data dictionary represents the relationship between the approval status identifier corresponding to the client process link and the approval status; configuring a back-end user data dictionary, the back-end user is the server user, and the back-end user data dictionary represents the relationship between the approval status identifier corresponding to the approval process link of the server and the approval status; configuring the comparison relationship between the front-end user data dictionary and the back-end user data dictionary as the comparison relationship; The sending unit is used to generate an approval status update instruction corresponding to the current process link of the client according to the approval status identifier corresponding to the current process link of the client, and send the approval status update instruction to the client corresponding to the current case; the approval status update instruction is used to update the approval status of the current case in the client according to the relationship between the approval status identifier corresponding to the pre-configured client process link and the approval status.
6. The device according to claim 5, characterized in that It also includes a first updating unit, which is used to update the approval status corresponding to the current approval process link of the server according to the approval status identifier corresponding to the current approval process link of the server and the pre-configured relationship between the approval status identifier corresponding to the approval process link of the server and the approval status.
7. A status processing device for approval data, characterized in that: The processing device is applied to the client, and is configured at each approval process link of the client. The processing device includes: The receiving unit is used to receive an approval status update instruction corresponding to the current process link of the client; the approval status update instruction is generated by the server according to the approval status identifier corresponding to the current process link of the client; the approval status identifier corresponding to the current process link of the client is determined according to the approval status identifier corresponding to the current approval process link of the server, and the pre-configured comparison relationship between different approval status identifiers corresponding to different process links of the server and different approval status identifiers corresponding to different process links of the client; the approval status identifier corresponding to the current approval process link of the server is obtained when the approval result of the current approval process link of the current case by the approving personnel is monitored; the configuration process of the comparison relationship is: configuring a front-end user data dictionary, the front-end user is the client user, the front-end user data dictionary represents the relationship between the approval status identifier corresponding to the client process link and the approval status; configuring a back-end user data dictionary, the back-end user is the server user, the back-end user data dictionary represents the relationship between the approval status identifier corresponding to the approval process link of the server and the approval status; configuring the comparison relationship between the front-end user data dictionary and the back-end user data dictionary as the comparison relationship; The second updating unit is used to update the approval status of the current case in the client according to the approval status update instruction and the relationship between the approval status identifier corresponding to the pre-configured client process link and the approval status.
8. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 4 is implemented.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 4 is implemented.
10. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 4 is implemented.
Citation Information
Patent Citations
Approval method and device, apparatus and computer readable storage medium
CN110310091A
Video production method and device, electronic equipment and storage medium
CN113923515A
Examination and approval information synchronization method and device, equipment and medium
CN115293738A