Method, device, electronic device and medium for displaying approval data
By displaying the method of pending approval requests in the asset tree change application, conflicts between multiple change applications are resolved, approval interference is reduced, and user decision-making is assisted by displaying the approved asset tree.
Patent Information
- Application Number
- CN202211381622.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-03
- Publication Date
- 2025-06-06
- Estimated Expiration
- 2042-11-03
AI Technical Summary
When the asset tree is changed, there may be conflicts in the change application of multiple users, and the complete changed asset tree cannot be displayed during approval, which will affect the approval decision.
Provide a method for displaying approval data. By obtaining the target data information in the approved documents, a display list is constructed, allowing users to determine the target pending approval request in the list and perform approval. After the approval is approved, delete the mismatched pending approval requests, adjust the asset list, and display the target second asset tree.
Reduce interfering requests during approval, avoid artificially screening mismatch requests, ensure that requests do not pass conflicts, and help users make better approval decisions by displaying the approved asset tree.
Smart Images

Figure CN115587803B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computer technology and can be applied to the field of financial technology. More specifically, it relates to a method, device, equipment, medium and program product for displaying approval data. Background Art
[0002] When the asset tree is changed, multiple users may submit changes to the tree structure based on their own needs, and the changes need to be approved by authorized approval users before they can take effect.
[0003] However, in general, only one person is allowed to apply for changes to the tree structure of the asset tree at a time. In order to avoid conflicts between different applications, other users are not allowed to apply for changes to the asset tree before the approval of the application is completed. At the same time, during the approval process, the complete changed asset tree cannot be displayed to provide approval reference for the approving user. Summary of the invention
[0004] In view of the above problems, the present disclosure provides a method, device, equipment, medium and program product for displaying approval data, which can enable users to delete the pending approval requests that do not match the target pending approval requests from the multiple pending approval requests when processing multiple pending approval requests, so as to reduce interference requests during approval for users, avoid manual screening of pending approval requests that do not match the target pending approval requests, and avoid conflicting requests from being approved at the same time. At the same time, by displaying the target second asset tree, users can understand the specific situation of the asset tree after approval, which is more user-friendly and helpful to assist users in making approval decisions.
[0005] According to a first aspect of the present disclosure, a method for displaying approval data is provided, comprising: in response to receiving a to-be-approved document, obtaining target data information in the to-be-approved document, the target data information including a target asset table identifier, a target node identifier and an adjustment type identifier; constructing a to-be-approved request in a first display list according to the target node identifier and the adjustment type identifier; in response to a user determining a target to-be-approved request in the first display list, approving the target to-be-approved request; wherein the first display list includes a plurality of to-be-approved requests, the plurality of to-be-approved requests including a plurality of adjustment requests for nodes of a target first asset tree, the target first asset tree including a tree structure established with information of each node and status of each node in an asset table corresponding to the target asset table identifier; in the case of determining that the target to-be-approved request is approved, deleting, according to the target node identifier and the adjustment type identifier corresponding to the target to-be-approved request, the to-be-approved request that does not match the target to-be-approved request from the plurality of to-be-approved requests, to obtain a second display list; adjusting information of each node and status of each node in the asset table according to the target node identifier and the adjustment type identifier, to obtain a target second asset tree; and displaying the second display list and the target second asset tree to the user.
[0006] According to an embodiment of the present disclosure, in the case where it is determined that the target pending approval request has passed the approval, based on the target node identifier and the adjustment type identifier corresponding to the target pending approval request, the pending approval request that does not match the target pending approval request is deleted from multiple pending approval requests to obtain a second display list, including: for the multiple pending approval requests, respectively determining the node identifier and the adjustment type identifier corresponding to each pending approval request; and based on the target node identifier and the adjustment type identifier corresponding to the target pending approval request and the target node identifier and the adjustment type identifier corresponding to each pending approval request, deleting the pending approval request that does not match the target pending approval request from multiple pending approval requests to obtain the second display list.
[0007] According to an embodiment of the present disclosure, the step of deleting a pending approval request that does not match the target pending approval request from multiple pending approval requests according to the target node identifier and the adjustment type identifier corresponding to the target pending approval request and the target node identifier and the adjustment type identifier corresponding to each pending approval request to obtain a second display list includes: obtaining a predetermined adjustment type detail table, the predetermined adjustment type detail table including multiple adjustment type identifiers and an unmatched adjustment type identifier corresponding to each adjustment type identifier; and based on the predetermined adjustment type detail table, deleting a pending approval request that does not match the target pending approval request from multiple pending approval requests according to the target node identifier and the adjustment type identifier corresponding to the target pending approval request and the target node identifier and the adjustment type identifier corresponding to each pending approval request to obtain a second display list.
[0008] According to an embodiment of the present disclosure, the method for displaying approval data also includes: adding the pending approval requests that do not match the target pending approval requests to a rejection list; and updating the application status of each pending approval request in the rejection list to rejected approval.
[0009] According to an embodiment of the present disclosure, the method for displaying approval data further includes: adding the target pending approval request in an approved list; and updating the application status of each target pending approval request in the approved list to approved.
[0010] According to an embodiment of the present disclosure, the adjustment type corresponding to the adjustment type identifier includes: one or more of adding a new node, deleting a node, and updating a node.
[0011] A second aspect of the present disclosure provides a display device for approval data, comprising: an acquisition module, for, in response to receiving a to-be-approved document, acquiring target data information in the to-be-approved document, wherein the target data information includes a target asset table identifier, a target node identifier, and an adjustment type identifier; a construction module, for constructing a to-be-approved request in a first display list according to the target node identifier and the adjustment type identifier; a determination module, for, in response to a user determining a target to-be-approved request in the first display list, approving the target to-be-approved request; wherein the first display list includes a plurality of to-be-approved requests, wherein the plurality of to-be-approved requests include a plurality of adjustment requests for nodes of a target first asset tree, The target first asset tree includes a tree structure established by the node information and node status in the asset table corresponding to the target asset table identifier; a deletion module, which is used to delete the pending approval request that does not match the target pending approval request from multiple pending approval requests according to the target node identifier and adjustment type identifier corresponding to the target pending approval request when it is determined that the target pending approval request has passed the approval, so as to obtain a second display list; an adjustment module, which is used to adjust the node information and node status in the asset table according to the target node identifier and adjustment type identifier, so as to obtain a target second asset tree; and a display module, which is used to display the second display list and the target second asset tree to the user.
[0012] A third aspect of the present disclosure provides an electronic device, comprising: one or more processors; and a memory for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors execute the above-mentioned method for displaying approval data.
[0013] The fourth aspect of the present disclosure further provides a computer-readable storage medium having executable instructions stored thereon, which, when executed by a processor, causes the processor to execute the above-mentioned method for displaying approval data.
[0014] The fifth aspect of the present disclosure also provides a computer program product, including a computer program, which implements the above-mentioned method for displaying approval data when executed by a processor.
[0015] The method for displaying approval data provided in this embodiment can enable the user to delete the pending approval requests that do not match the target pending approval requests from the multiple pending approval requests when processing multiple pending approval requests, thereby reducing interference requests during approval for the user, avoiding manual screening of pending approval requests that do not match the target pending approval requests, and avoiding conflicting requests from being approved at the same time. At the same time, by displaying the target second asset tree, the user can understand the specific situation of the asset tree after approval, which is more user-friendly and helpful in assisting the user in making approval decisions. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] The above contents and other objects, features and advantages of the present disclosure will become more apparent through the following description of the embodiments of the present disclosure with reference to the accompanying drawings, in which:
[0017] Figure 1 A schematic diagram showing an application scenario of a method, apparatus, device, medium, and program product for displaying approval data according to an embodiment of the present disclosure;
[0018] Figure 2 A flowchart schematically shows a method for displaying approval data according to an embodiment of the present disclosure;
[0019] Figure 3 A schematic diagram of an asset tree according to an embodiment of the present disclosure is schematically shown;
[0020] Figure 4 A structural block diagram schematically showing a device for displaying approval data according to an embodiment of the present disclosure; and
[0021] Figure 5 A block diagram of an electronic device suitable for implementing the method for displaying approval data according to an embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION
[0022] Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the present disclosure. In the following detailed description, for ease of explanation, many specific details are set forth to provide a comprehensive understanding of the embodiments of the present disclosure. However, it is apparent that one or more embodiments may also be implemented without these specific details. In addition, in the following description, descriptions of known structures and technologies are omitted to avoid unnecessary confusion of the concepts of the present disclosure.
[0023] The terms used herein are only for describing specific embodiments and are not intended to limit the present disclosure. The terms "comprise", "include", etc. used herein indicate the existence of the features, steps, operations and / or components, but do not exclude the existence or addition of one or more other features, steps, operations or components.
[0024] All terms (including technical and scientific terms) used herein have the meanings commonly understood by those skilled in the art, unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification, and should not be interpreted in an idealized or overly rigid manner.
[0025] When using expressions such as "at least one of A, B, and C, etc.", they should generally be interpreted according to the meaning of the expression commonly understood by those skilled in the art (for example, "a system having at least one of A, B, and C" should include but is not limited to a system having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, C, etc.).
[0026] The embodiment of the present disclosure provides a method and device for displaying approval data. In response to receiving a to-be-approved document, target data information in the to-be-approved document is obtained, the target data information including a target asset table identifier, a target node identifier and an adjustment type identifier; a to-be-approved request in a first display list is constructed according to the target node identifier and the adjustment type identifier; in response to a user determining a target to-be-approved request in the first display list, the target to-be-approved request is approved; wherein the first display list includes a plurality of to-be-approved requests, the plurality of to-be-approved requests include a plurality of adjustment requests for nodes of a target first asset tree, the target first asset tree includes a tree structure established with information of each node in an asset table corresponding to the target asset table identifier and a state of each node; when it is determined that the target to-be-approved request is approved, the to-be-approved request that does not match the target to-be-approved request is deleted from the plurality of to-be-approved requests according to the target node identifier and the adjustment type identifier corresponding to the target to-be-approved request, to obtain a second display list; information of each node in the asset table and the state of each node are adjusted according to the target node identifier and the adjustment type identifier, to obtain a target second asset tree; and the second display list and the target second asset tree are displayed to the user.
[0027] Figure 1 The application scenario diagram of the method, apparatus, device, medium and program product for displaying approval data according to an embodiment of the present disclosure is schematically shown.
[0028] like Figure 1 As shown, the application scenario 100 according to this embodiment may include terminal devices 101, 102, 103, a network 104 and a server 105. The network 104 is used to provide a medium for a communication link between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.
[0029] Users can use terminal devices 101, 102, 103 to interact with server 105 through network 104 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 101, 102, 103, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc. (only examples).
[0030] The terminal devices 101 , 102 , and 103 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, and desktop computers.
[0031] The server 105 may be a server that provides various services, such as a background management server (only an example) that provides support for websites browsed by users using the terminal devices 101, 102, and 103. The background management server may analyze and process the received data such as user requests, and feed back the processing results (such as web pages, information, or data obtained or generated according to user requests) to the terminal device.
[0032] It should be noted that the method for displaying approval data provided in the embodiment of the present disclosure can generally be executed by the server 105. Accordingly, the device for displaying approval data provided in the embodiment of the present disclosure can generally be set in the server 105. The method for displaying approval data provided in the embodiment of the present disclosure can also be executed by a server or server cluster that is different from the server 105 and can communicate with the terminal devices 101, 102, 103 and / or the server 105. Accordingly, the device for displaying approval data provided in the embodiment of the present disclosure can also be set in a server or server cluster that is different from the server 105 and can communicate with the terminal devices 101, 102, 103 and / or the server 105.
[0033] It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.
[0034] The following will be based on Figure 1 The scene described by Figure 2 The method for displaying approval data in the disclosed embodiment is described in detail.
[0035] Figure 2 The flowchart of the method for displaying approval data according to an embodiment of the present disclosure is schematically shown.
[0036] like Figure 2 As shown, this embodiment includes operations S210 to S260, and the method for displaying approval data can be executed by a server.
[0037] In the technical solution disclosed in the present invention, the acquisition, collection, storage, use, processing, transmission, provision, disclosure and application of data are in compliance with the provisions of relevant laws and regulations, necessary confidentiality measures are taken, and do not violate public order and good morals.
[0038] In operation S210, in response to receiving the document to be approved, target data information in the document to be approved is acquired, where the target data information includes a target asset table identifier, a target node identifier, and an adjustment type identifier.
[0039] When necessary, users who apply for asset adjustment can fill in blank documents for approval through the client. For example, fill in the asset table field, node field, and adjustment type field in the blank document, so as to enter the target data information in the blank document. It can be understood that the information entered for the asset table field includes the target asset table identifier, which is used to determine the asset table maintained in the database; the information entered for the node field includes the target node identifier, which is used to determine the node information in the asset table; the information entered for the adjustment type field includes the adjustment type identifier, which is used to determine the adjustment type of the target node, such as adding a new node, deleting a node, or updating a node. It can be understood that after the target data information is entered into the blank document, a document for approval is generated.
[0040] In operation S220, the pending approval requests in the first display list are constructed according to the target node identifier and the adjustment type identifier.
[0041] For example, a request for approval corresponding to the target node identifier and the adjustment type identifier can be generated according to a generation template of the request for approval. The generation template may include predefined characters and two blank fields. After obtaining the target node identifier (such as A, which indicates node A) and the adjustment type identifier (00, which indicates deletion), the target node information and the specific adjustment type are determined. Then, the corresponding content is filled in the corresponding two blank fields to generate a complete string, such as requesting node A to be deleted.
[0042] In operation S230, in response to the user determining the target pending approval request in the first display list, the target pending approval request is approved; wherein the first display list includes multiple pending approval requests, the multiple pending approval requests include multiple adjustment requests for nodes of the target first asset tree, and the target first asset tree includes a tree structure established by the node information and node status of each node in the asset table corresponding to the target asset table identifier.
[0043] The user in this step can be an approval user, that is, a user who has approval authority for pending approval requests. The pending approval request in this step can refer to a change application for an asset initiated by an applicant (such as a user who applies for asset adjustment). If the application is approved, the content will take effect and the asset table and asset tree will be modified; if the application is not approved, the content will not take effect and the asset table and asset tree cannot be modified.
[0044] It can be understood that the asset tree may include a tree structure established by the node information and the node status in the asset table. The node status may include nodes in a display state and nodes in a non-display state. In order to better cope with different management requirements and avoid refreshing a large amount of asset data information, the asset tree may be adjusted by the node status.
[0045] For example, asset adjustments are sometimes more detailed and sometimes more general. For example, for mainframe nodes, midrange nodes, and minicomputer nodes, sometimes it is necessary to merge the mainframe nodes, midrange nodes, and minicomputer nodes into computers and delete the mainframe nodes, midrange nodes, and minicomputer nodes. Sometimes it is necessary to add the mainframe nodes, midrange nodes, and minicomputer nodes again, so it is necessary to adjust the asset table through the node status, thereby adjusting the asset tree.
[0046] Figure 3 A schematic diagram of an asset tree according to an embodiment of the present disclosure is schematically shown, see Figure 3 , fixed assets are classified and defined, such as the root node is the first-level asset (fixed assets); the child nodes of the root node are the second-level assets (computers, houses); and there can also be third-level assets, such as mainframes, minicomputers, medium-sized computers, high-end buildings and ordinary buildings. The tree structure is an important nonlinear data structure. It is a structure in which data elements (called nodes in the tree) are organized according to branching relationships, much like a tree in nature.
[0047] For example, multiple applicants initiate approval requests based on their respective needs, and the approval requests are all for adjusting multiple nodes of the target first asset tree that can be controlled by the applicants. For example, the first request includes adjusting the first node A, and the adjustment type is deleting node A; for example, the second request includes adjusting the first node A, and the adjustment type is adding a child node A1 to node A; for example, the third request includes adjusting the second node B, and the adjustment type is adding a child node B1 to node B; for example, the fourth request includes adjusting the first node A, and the adjustment type is updating node A to node A1;...; for example, the 100th request includes adjusting the 100th node Z, and the adjustment type is updating node Z to node GG, and so on.
[0048] A user with approval authority selects a target request to be reviewed in the first display list, such as the first request, and then approves the first request. The approval result can be passed or not passed.
[0049] In operation S240, when it is determined that the target pending approval request is approved, based on the target node identifier and the adjustment type identifier corresponding to the target pending approval request, the pending approval request that does not match the target pending approval request is deleted from the multiple pending approval requests to obtain a second display list.
[0050] If the approval result of the first request is approved, the adjustment type (deletion) of the target node (node A) corresponding to the first request is first obtained; then, the application request that conflicts with the first request is deleted from the first display list, that is, the pending approval request that does not match the target pending approval request, and the second display list is obtained. For example, the second request and the fourth request, because they are both for node A and have the same node identifier, if the request with the adjustment type of deletion is approved, the corresponding new and updated requests will not need to be approved because there is a conflict in the adjustment type.
[0051] In operation S250, the information and status of each node in the asset table are adjusted according to the target node identifier and the adjustment type identifier to obtain a target second asset tree.
[0052] For the passed target request, the node information and node status in the asset table can be adjusted according to the target node identifier and the adjustment type identifier, and then a tree structure is established according to the node information and node status in the adjusted asset table to generate a target second asset tree.
[0053] In operation S260 , the second display list and the target second asset tree are displayed to the user.
[0054] The second display list and the target second asset tree can be displayed to the user in real time to assist the reviewer in making the next decision.
[0055] For example, the asset tree of the entire bank is configured, such as the first-level asset node is fixed assets; the second-level asset nodes include houses and buildings, computer equipment; the third-level nodes under computer equipment are large, medium and small computers, servers and workstations; the fourth-level server node is under the server workstation node; and the fifth-level nodes under the server node include rack servers, blade servers, and large-capacity servers.
[0056] According to management requirements, the asset tree is common to the whole bank. Levels 1 to 4 of the asset tree are unified accounting requirements and cannot be modified. Each branch can initiate a change application for adding, deleting, and modifying level 5 and level 6 nodes according to the management needs of each branch. The application form is approved by the approval personnel of the head office. If the approval is passed, the change application will take effect, the asset tree will be modified, and the corresponding changes will take effect on the whole bank; if the approval is not passed, the asset directory tree will not be changed. For example, when adding, Branch A applies to add a level 5 node all-in-one machine under the level 4 node server, and Branch B applies to add a level 5 node dedicated all-in-one machine under the level 4 node server. In fact, there is an overlap between the two applications, and the all-in-one machine includes a dedicated all-in-one machine. For example, when deleting, Branch C applies to delete the level 5 node blade server, and Branch D applies to add two level 6 nodes, a high-end blade server and a low-end blade server, under the blade server node. Since the asset directory tree is common to the whole bank, it is impossible to add child nodes to the deleted node. For example, when modifying, if Branch E applies to modify the rack server to a large-capacity rack server, and Branch F applies to modify the rack server to a high-end rack server, there is a conflict between the two. At the same time, deleting an asset node conflicts with adding new assets under the node and modifying the node. Due to the above conflicts, the approval work of the head office approval personnel is complicated and not intuitive.
[0057] The method for displaying approval data provided in this embodiment allows for multiple in-transit application forms for the same asset tree, and the submission of each application form is independent of each other and does not interfere with each other. During approval, for application content that needs to be rejected, such as pending approval requests that do not match the target pending approval request, there is no need to manually compare and select one by one, and the deletion can be automatically determined. The updated pending approval request and the asset tree corresponding to the approved request are displayed in real time. It is more friendly to the approvers and assists the approvers in making decisions. For example, the pending approval request that conflicts with the approved target pending approval request can be automatically deleted to reduce interference; for example, the specific situation after the approval is understood through the displayed asset tree.
[0058] The method for displaying approval data provided in this embodiment can enable the user to delete the pending approval requests that do not match the target pending approval requests from the multiple pending approval requests when processing multiple pending approval requests, thereby reducing interference requests during approval for the user, avoiding manual screening of pending approval requests that do not match the target pending approval requests, and avoiding conflicting requests from being approved at the same time. At the same time, by displaying the target second asset tree, the user can understand the specific situation of the asset tree after approval, which is more user-friendly and helpful in assisting the user in making approval decisions.
[0059] In the case that it is determined that the target pending approval request is approved, based on the target node identifier and the adjustment type identifier corresponding to the target pending approval request, the pending approval request that does not match the target pending approval request is deleted from the multiple pending approval requests to obtain a second display list, including: for the multiple pending approval requests, respectively determining the node identifier and the adjustment type identifier corresponding to each pending approval request; and based on the target node identifier and the adjustment type identifier corresponding to the target pending approval request and the target node identifier and the adjustment type identifier corresponding to each pending approval request, deleting the pending approval request that does not match the target pending approval request from the multiple pending approval requests to obtain the second display list.
[0060] It can be understood that each pending request includes a specific application target, that is, to make some adjustments to a node in the first asset tree, such as the adjustment type corresponding to the adjustment type identifier includes: adding a node, deleting a node, and updating a node. Therefore, the adjustment type of the node corresponding to each pending request can be obtained.
[0061] Furthermore, the request identical to the target node can be found in the node corresponding to each pending request, and this part of the requests can be screened out, just like the node type request. Then, for the adjustment type corresponding to the same node type request, the adjustment type that does not match the adjustment type of the target node can be screened out, such as the type that conflicts with the new addition is deletion, and the type that conflicts with the update is deletion. Thus, based on the adjustment type of the target node corresponding to the target pending request and the adjustment type of the node corresponding to each pending request, the pending request that does not match the target pending request can be deleted from the multiple pending requests to obtain a second display list.
[0062] The method for displaying approval data provided in this embodiment can respectively determine the adjustment type of the node corresponding to each pending approval request, and can delete the pending approval request that does not match the target pending approval request from multiple pending approval requests according to the adjustment type of the target node corresponding to the target pending approval request and the adjustment type of the node corresponding to each pending approval request, thereby obtaining a second display list.
[0063] The method comprises: obtaining a predetermined adjustment type detail table, wherein the predetermined adjustment type detail table includes multiple adjustment type identifiers and unmatched adjustment type identifiers corresponding to each adjustment type identifier; and based on the predetermined adjustment type detail table, deleting the unmatched request for approval from the multiple requests for approval according to the target node identifier and the adjustment type identifier corresponding to the target request for approval and the target node identifier and the adjustment type identifier corresponding to each request for approval, to obtain the second display list.
[0064] In order to quickly confirm pending approval requests that do not match target pending approval requests, a predetermined adjustment type detail table may be configured, for example, the adjustment types include α, β, γ, and δ, and the conflict types include 0 for conflict and 1 for match.
[0065] Adjustment Type Details
[0066] α β γ δ α 1 0 1 β 1 0 1 γ 0 0 1 δ 1 1 1
[0067] The method for displaying approval data provided in this embodiment can determine the unmatched adjustment types corresponding to each adjustment type in a predetermined adjustment type detail table, and then quickly delete the pending approval requests that do not match the target pending approval requests from multiple pending approval requests to obtain a second display list, so as to quickly eliminate interfering requests.
[0068] The method for displaying approval data also includes: adding pending approval requests that do not match the target pending approval requests to a rejection list; and updating the application status of each pending approval request in the rejection list to approval failure.
[0069] It can be understood that the pending approval requests that do not match the target pending approval requests can be obtained first, and then the pending approval requests that do not match the target pending approval requests can be added to the rejection list to facilitate batch processing, that is, the application status of each pending approval request in the rejection list is adjusted to approval failure.
[0070] The method for displaying approval data provided in this embodiment does not require the user to process the requests in the rejection list, and the approval result, such as failure of approval, can be fed back to the applicant corresponding to each request according to the rejection list.
[0071] The method for displaying approval data also includes: adding target pending approval requests in the approval list; and updating the application status of each target pending approval request in the approval list to approved.
[0072] It is understandable that the user can add the selected pending approval request to the approval list, that is, the approval is passed by default, and at the same time update the application status of each target pending approval request in the approval list to approved.
[0073] The method for displaying approval data provided in this embodiment does not require the user to process the requests in the approval list, and can feedback the approval results, such as approval passed, to the applicant corresponding to each request according to the approval list.
[0074] In order to better understand the present disclosure, the contents of the present disclosure are further described below in conjunction with embodiments, but the present disclosure is not limited to the following embodiments.
[0075] For example, each applicant submits their own application according to their own needs, and the asset tree to be changed is the current effective tree. When applying, each application form is independent of each other. In this embodiment, the deletion of tree structure nodes in the application form only allows the deletion of the last node (i.e., the node without child nodes).
[0076] Based on CNS (Clash Node Solve) deletion module: AplList is a list of optional approval application contents for the approver. Get the initial optional approval content list AplList, which is the node in the application form (aplTbl) with the status of pending approval; the confirmation list confirmList is initialized to empty; the rejection list rejectList is initialized to.
[0077] A) The approver selects the selected record (Node) of aplList. The Node is added to the approved list and deleted from AplList at the same time.
[0078] I. If the selected record is of a newly added type (such as Node.type = '02'), the application content is mutually exclusive with the application for deleting the parent node of the node.
[0079] Get the mutually exclusive node list set list, that is, get the parent node change record list of the selected record node whose change type is deletion in aplList;
[0080] II. If the change type of the selected record is update (eg, Node.type='01'), the application content conflicts with any other application content for modifying or deleting the node.
[0081] Get a mutually exclusive node set, that is, get all change lists with the same nodes in aplList as the selected record node;
[0082] III. If the change type of the selected record is deletion (ie, Node.type='00'), the application content is mutually exclusive with any other change application content for the node and is mutually exclusive with the change application for adding a new node under the current node.
[0083] Get a mutually exclusive node set, that is, get a list of change records whose node numbers are the same as the selected node or whose change type is new and whose parent node is the selected node;
[0084] IV. Process mutually exclusive nodes and proceed to the next step.
[0085] i. Add the mutually exclusive node to the reject list rejectList;
[0086] ii. Delete the mutually exclusive node from AplList;
[0087] iii. Jump to B.
[0088] B) The aplList processed by A) is provided for selection by the approver. If no new node is selected for approval confirmation, it will jump to C). If the node continues to be selected, it will jump to A).
[0089] C) For the currently unprocessed nodes in the current aplTbl, the approver can temporarily not process them or add some of them to the rejection list to indicate that the approval is not passed. The approver clicks Confirm to indicate that the application records in the approval list are approved. The application records in the rejection list are not approved.
[0090] i. Process the node records (Node) in the approval list one by one and update treeTbl. If the change type recorded in the approval list is added, the node of the application record is added to the tree (treeTbl); if the change type is deleted, the node is deleted from the tree (treeTbl); if the change type is updated, the tree (treeTbl) node information is updated according to the application content.
[0091] ii. Update aplTbl. For records in the confirmList, update the application status to approved. For records in the rejectList, update the application status to rejected.
[0092] According to the combination of the confirmation list (confirmList) and the effective tree (treeTbl), the approval result tree is pre-displayed. Get the record set of the nodes in the effective tree (treeTbl) whose node numbers are not in the confirmation list (confirmList), and at the same time get the confirmation list set. The union of the two sets is the complete tree record set after the preliminary review. The tree can be constructed according to the parent-child relationship of the nodes.
[0093] Based on the above-mentioned method for displaying approval data, the present disclosure also provides a device for displaying approval data. Figure 4 The device is described in detail.
[0094] Figure 4 The structural block diagram of the apparatus for displaying approval data according to an embodiment of the present disclosure is schematically shown.
[0095] like Figure 4 As shown, the apparatus 400 for displaying approval data of this embodiment includes an acquisition module 410 , a construction module 420 , a determination module 430 , a deletion module 440 , an adjustment module 450 and a display module 460 .
[0096] The acquisition module 410 is used to, in response to receiving a to-be-approved document, acquire target data information in the to-be-approved document, wherein the target data information includes a target asset table identifier, a target node identifier, and an adjustment type identifier; the construction module 420 is used to construct a to-be-approved request in a first display list according to the target node identifier and the adjustment type identifier; the determination module 430 is used to, in response to a user determining a target to-be-approved request in the first display list, approve the target to-be-approved request; wherein the first display list includes a plurality of to-be-approved requests, wherein the plurality of to-be-approved requests include a plurality of adjustment requests for nodes of a target first asset tree, wherein the target first asset tree includes a tree structure established by the node information and node status in the asset table corresponding to the target asset table identifier; a deleting module 440, which is used to delete the pending approval request that does not match the target pending approval request from multiple pending approval requests according to the target node identifier and the adjustment type identifier corresponding to the target pending approval request when it is determined that the target pending approval request has been approved, so as to obtain a second display list; an adjusting module 450, which is used to adjust the node information and node status in the asset table according to the target node identifier and the adjustment type identifier, so as to obtain a target second asset tree; and a display module 460, which is used to display the second display list and the target second asset tree to the user.
[0097] In some embodiments, the deletion module includes: a determination submodule, used to determine, for the multiple pending approval requests, the node identifier and the adjustment type identifier corresponding to each pending approval request respectively; and a deletion submodule, used to delete the pending approval requests that do not match the target pending approval request from the multiple pending approval requests based on the target node identifier and the adjustment type identifier corresponding to the target pending approval request and the target node identifier and the adjustment type identifier corresponding to each pending approval request, to obtain a second display list.
[0098] In some embodiments, the deletion submodule includes: an acquisition unit, used to acquire a predetermined adjustment type detail list, the predetermined adjustment type detail list including multiple adjustment type identifiers and unmatched adjustment type identifiers corresponding to each adjustment type identifier; and a deletion unit, used to delete the pending approval request that does not match the target pending approval request from multiple pending approval requests based on the predetermined adjustment type detail list, according to the target node identifier and adjustment type identifier corresponding to the target pending approval request and the target node identifier and adjustment type identifier corresponding to each pending approval request, to obtain a second display list.
[0099] In some embodiments, the device further includes: a first adding module, used to add the pending approval request that does not match the target pending approval request to the rejection list; and a first updating module, used to update the application status of each pending approval request in the rejection list to rejected approval.
[0100] In some embodiments, the device further includes: a second adding module, used to add the target pending approval request in the approved list; and a second updating module, used to update the application status of each target pending approval request in the approved list to approved.
[0101] In some embodiments, the adjustment type corresponding to the adjustment type identifier includes one or more of: adding a new node, deleting a node, and updating a node.
[0102] According to an embodiment of the present disclosure, any multiple modules among the acquisition module 410, the construction module 420, the determination module 430, the deletion module 440, the adjustment module 450 and the display module 460 can be combined in one module for implementation, or any one of the modules can be split into multiple modules. Alternatively, at least part of the functions of one or more of these modules can be combined with at least part of the functions of other modules and implemented in one module. According to an embodiment of the present disclosure, at least one of the acquisition module 410, the construction module 420, the determination module 430, the deletion module 440, the adjustment module 450 and the display module 460 can be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on a chip, a system on a substrate, a system on a package, an application specific integrated circuit (ASIC), or can be implemented by hardware or firmware such as any other reasonable way of integrating or packaging the circuit, or implemented in any one of the three implementation modes of software, hardware and firmware or in a suitable combination of any of them. Alternatively, at least one of the acquisition module 410, the construction module 420, the determination module 430, the deletion module 440, the adjustment module 450 and the display module 460 may be at least partially implemented as a computer program module, which may perform a corresponding function when executed.
[0103] Figure 5 A block diagram of an electronic device suitable for implementing the method for displaying approval data according to an embodiment of the present disclosure is schematically shown.
[0104] like Figure 5 As shown, the electronic device 500 according to an embodiment of the present disclosure includes a processor 501, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 502 or a program loaded from a storage part 508 into a random access memory (RAM) 503. The processor 501 may include, for example, a general-purpose microprocessor (e.g., a CPU), an instruction set processor and / or a related chipset and / or a special-purpose microprocessor (e.g., an application-specific integrated circuit (ASIC)), etc. The processor 501 may also include an onboard memory for caching purposes. The processor 501 may include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present disclosure.
[0105] In RAM 503, various programs and data required for the operation of electronic device 500 are stored. Processor 501, ROM 502 and RAM 503 are connected to each other via bus 504. Processor 501 performs various operations of the method flow according to the embodiment of the present disclosure by executing the program in ROM 502 and / or RAM 503. It should be noted that the program can also be stored in one or more memories other than ROM 502 and RAM 503. Processor 501 can also perform various operations of the method flow according to the embodiment of the present disclosure by executing the program stored in the one or more memories.
[0106] According to an embodiment of the present disclosure, the electronic device 500 may further include an input / output (I / O) interface 505, which is also connected to the bus 504. The electronic device 500 may further include one or more of the following components connected to the I / O interface 505: an input portion 506 including a keyboard, a mouse, etc.; an output portion 507 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage portion 508 including a hard disk, etc.; and a communication portion 509 including a network interface card such as a LAN card, a modem, etc. The communication portion 509 performs communication processing via a network such as the Internet. A drive 510 is also connected to the I / O interface 505 as needed. A removable medium 511, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 510 as needed, so that a computer program read therefrom is installed into the storage portion 508 as needed.
[0107] The present disclosure also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments; or may exist independently without being assembled into the device / apparatus / system. The above computer-readable storage medium carries one or more programs, and when the above one or more programs are executed, the method according to the embodiment of the present disclosure is implemented.
[0108] According to an embodiment of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium, for example, may include but is not limited to: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, an apparatus or a device. For example, according to an embodiment of the present disclosure, a computer-readable storage medium may include the ROM 502 and / or RAM 503 described above and / or one or more memories other than ROM 502 and RAM 503.
[0109] The embodiment of the present disclosure also includes a computer program product, which includes a computer program, and the computer program contains program code for executing the method shown in the flowchart. When the computer program product is run in a computer system, the program code is used to enable the computer system to implement the method for displaying approval data provided by the embodiment of the present disclosure.
[0110] The above functions defined in the system / device of the embodiment of the present disclosure are performed when the computer program is executed by the processor 501. According to the embodiment of the present disclosure, the system, device, module, unit, etc. described above can be implemented by a computer program module.
[0111] In one embodiment, the computer program may rely on tangible storage media such as optical storage devices, magnetic storage devices, etc. In another embodiment, the computer program may also be transmitted and distributed in the form of signals on a network medium, and downloaded and installed through the communication part 509, and / or installed from the removable medium 511. The program code contained in the computer program may be transmitted using any appropriate network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.
[0112] In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 509, and / or installed from the removable medium 511. When the computer program is executed by the processor 501, the above functions defined in the system of the embodiment of the present disclosure are performed. According to the embodiment of the present disclosure, the system, device, means, module, unit, etc. described above can be implemented by a computer program module.
[0113] According to an embodiment of the present disclosure, the program code for executing the computer program provided by the embodiment of the present disclosure can be written in any combination of one or more programming languages. Specifically, these computing programs can be implemented using high-level process and / or object-oriented programming languages, and / or assembly / machine languages. Programming languages include, but are not limited to, Java, C++, python, "C" language or similar programming languages. The program code can be executed entirely on the user computing device, partially on the user device, partially on the remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device can be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (for example, using an Internet service provider to connect through the Internet).
[0114] The flow charts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0115] It will be appreciated by those skilled in the art that the features described in the various embodiments and / or claims of the present disclosure may be combined and / or combined in a variety of ways, even if such combinations and / or combinations are not explicitly described in the present disclosure. In particular, the features described in the various embodiments and / or claims of the present disclosure may be combined and / or combined in a variety of ways without departing from the spirit and teachings of the present disclosure. All of these combinations and / or combinations fall within the scope of the present disclosure.
[0116] The embodiments of the present disclosure are described above. However, these embodiments are only for illustrative purposes and are not intended to limit the scope of the present disclosure. Although the embodiments are described above separately, this does not mean that the measures in the various embodiments cannot be used in combination to advantage. The scope of the present disclosure is defined by the attached claims and their equivalents. Without departing from the scope of the present disclosure, those skilled in the art may make a variety of substitutions and modifications, which should all fall within the scope of the present disclosure.
Claims
1. A method for displaying approval data. include: In response to receiving a document to be approved, acquiring target data information in the document to be approved, the target data information including a target asset table identifier, a target node identifier, and an adjustment type identifier; Constructing the pending approval request in the first display list according to the target node identifier and the adjustment type identifier; In response to the user determining a target pending approval request in the first display list, approving the target pending approval request; wherein the first display list includes a plurality of pending approval requests, the plurality of pending approval requests include a plurality of adjustment requests for nodes of a target first asset tree, the target first asset tree includes a tree structure established by information of each node and status of each node in an asset table corresponding to the target asset table identifier; When it is determined that the target pending approval request is approved, based on the target node identifier and the adjustment type identifier corresponding to the target pending approval request, the pending approval request that does not match the target pending approval request is deleted from the multiple pending approval requests to obtain a second display list; Adjusting the information and status of each node in the asset table according to the target node identifier and the adjustment type identifier to obtain a target second asset tree; and The second display list and the target second asset tree are displayed to the user.
2. The method according to claim 1, in, In the case where it is determined that the target pending approval request has been approved, based on the target node identifier and the adjustment type identifier corresponding to the target pending approval request, a pending approval request that does not match the target pending approval request is deleted from the multiple pending approval requests to obtain a second display list, including: For the plurality of requests to be approved, determining a node identifier and an adjustment type identifier corresponding to each request to be approved; and According to the target node identifier and adjustment type identifier corresponding to the target pending approval request and the target node identifier and adjustment type identifier corresponding to each pending approval request, pending approval requests that do not match the target pending approval request are deleted from multiple pending approval requests to obtain a second display list.
3. The method according to claim 2, in, The step of deleting, from the plurality of pending approval requests, pending approval requests that do not match the target pending approval request according to the target node identifier and adjustment type identifier corresponding to the target pending approval request and the target node identifier and adjustment type identifier corresponding to each pending approval request, to obtain a second display list, includes: Acquire a predetermined adjustment type detail list, the predetermined adjustment type detail list including a plurality of adjustment type identifiers and an unmatched adjustment type identifier corresponding to each adjustment type identifier; and Based on the predetermined adjustment type detailed table, according to the target node identifier and adjustment type identifier corresponding to the target pending approval request and the target node identifier and adjustment type identifier corresponding to each pending approval request, the pending approval request that does not match the target pending approval request is deleted from multiple pending approval requests to obtain a second display list.
4. The method according to claim 1, further comprising: include: Add the pending approval request that does not match the target pending approval request to a rejection list; as well as The application status of each pending approval request in the rejection list is updated to rejected.
5. The method according to claim 1, further comprising: include: Add the target pending approval request to the approved list; as well as Update the application status of each target pending approval request in the approval list to approved.
6. The method according to claim 1, in, The adjustment type corresponding to the adjustment type identifier includes one or more of: adding a new node, deleting a node, and updating a node.
7. A display device for approval data, include: An acquisition module, configured to acquire target data information in a document to be approved in response to receiving the document to be approved, wherein the target data information includes a target asset table identifier, a target node identifier, and an adjustment type identifier; A construction module, configured to construct the pending approval request in the first display list according to the target node identifier and the adjustment type identifier; a determination module, configured to approve the target pending approval request in response to the user determining the target pending approval request in the first display list; wherein the first display list includes a plurality of pending approval requests, the plurality of pending approval requests include a plurality of adjustment requests for nodes of a target first asset tree, the target first asset tree includes a tree structure established by information of each node and status of each node in the asset table corresponding to the target asset table identifier; a deleting module, configured to, when it is determined that the target pending approval request has been approved, delete the pending approval request that does not match the target pending approval request from the multiple pending approval requests according to the target node identifier and the adjustment type identifier corresponding to the target pending approval request, to obtain a second display list; an adjustment module, configured to adjust the information and status of each node in the asset table according to the target node identifier and the adjustment type identifier to obtain a target second asset tree; and A display module is used to display the second display list and the target second asset tree to the user.
8. An electronic device, include: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors are enabled to execute the method according to any one of claims 1 to 6.
9. A computer-readable storage medium having executable instructions stored thereon, which, when executed by a processor, causes the processor to execute the method according to any one of claims 1 to 6.
10. A computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.
Citation Information
Patent Citations
System, method and tool for collaboratively approving multi-plan integration and one-map projects
CN107516191A
Planning data approval method and system, terminal device and storage medium
CN109034730A