Business process verification method and device, electronic equipment and readable storage medium
By matching page components and verification components in the business approval process, the verification process of approval nodes is simplified, and the problems of heavy configuration and low efficiency in the existing technology are solved, and efficient process verification and development efficiency is achieved.
Patent Information
- Application Number
- CN202411034562.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-31
- Publication Date
- 2024-11-22
AI Technical Summary
In the existing business approval process, the data verification rules for each approval node are heavily configured, which affects development efficiency and verification efficiency. The page is poorly customized, not very versatile, and it is difficult to modify flexibly. The process is defined as text or table form, which is inconvenient. Intuitive display.
By receiving verification requests initiated by the approval node page, matching the page component and the associated verification components, verifying the content of the verification field based on the verification component, reducing the complexity of field verification, improving verification efficiency, and passing Page component configuration simplifies process configuration and improves development efficiency.
It has achieved simplified configuration of business approval process, improved the verification efficiency and development efficiency of approval nodes, enhanced the universality and flexibility of the process, and made the process intuitively displayed.
Smart Images

Figure CN119005173A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and more specifically, to a business process verification method, device, electronic device, and readable storage medium. Background Art
[0002] With the rapid development of information technology, online business approval processes have been widely used in process management systems.
[0003] Each approval node in the business approval process generally involves the verification of at least one type of data. In the related art, verification rules are generally configured for various data involved in the approval node. When verifying the approval node, it is necessary to match the corresponding verification rules for various data involved in the approval node, and use the matching verification rules for verification. The process of configuring verification rules for various data involved in the approval node will cause heavy work in configuring the business approval process and affect the development efficiency of the business approval process. In addition, when verifying the approval node, the process of matching the corresponding verification rules for various data involved in the approval node will also affect the verification efficiency of the approval node.
[0004] In the related art, the pages corresponding to each approval node in the business approval process are mostly specially customized based on actual business needs, which makes them less versatile and inconvenient for flexible modification, resulting in low development efficiency of the business approval process.
[0005] In addition, the definitions of the processes in the business approval process connection system in the related technology are all in text or table form, which is not convenient for the intuitive display of the business approval process. Summary of the invention
[0006] The present application provides a business process verification method, device, electronic device and readable storage medium, aiming to solve at least one of the above technical defects. The technical solution adopted by the present application is as follows:
[0007] In a first aspect, an embodiment of the present application provides a business process verification method, the method comprising:
[0008] Receive a verification request initiated by a node page based on the current approval node, the node page includes at least one page component, the page component corresponds to at least one field to be verified, and the page component is used to enter the field content of the field to be verified;
[0009] Determine a validation component associated with the page component, the validation component including a field validation rule associated with the field to be validated;
[0010] Based on the verification component, the field content of the field to be verified entered based on the page component is verified to determine the verification result of the current approval node.
[0011] In a second aspect, an embodiment of the present application provides a business process verification device, the device comprising:
[0012] A verification request receiving module is used to receive a verification request initiated by a node page based on a current approval node, wherein the node page includes at least one page component, and the page component corresponds to at least one field to be verified, and the page component is used to enter the field content of the field to be verified;
[0013] A verification component determination module, used to determine a verification component associated with a page component, wherein the verification component includes a field verification rule associated with a field to be verified;
[0014] The verification module is used to verify the field content of the field to be verified entered based on the page component based on the verification component, and determine the verification result of the current approval node.
[0015] In a third aspect, an embodiment of the present application provides an electronic device, the electronic device comprising: a processor and a memory;
[0016] A memory, used for storing operation instructions;
[0017] The processor is used to execute the business process verification method shown in any implementation of the first aspect of the present application by calling an operation instruction.
[0018] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the business process verification method shown in any implementation of the first aspect of the present application.
[0019] The beneficial effects of the technical solution provided by the embodiment of the present application are:
[0020] The solution provided by the embodiment of the present application receives a verification request initiated by a node page based on the current approval node, the node page includes at least one page component, the page component corresponds to at least one field to be verified, and the page component is used to enter the field content of the field to be verified; determines the verification component associated with the page component, the verification component includes a field verification rule associated with the field to be verified; verifies the field content of the field to be verified entered based on the page component based on the verification component, and determines the verification result of the current approval node. In this solution, the verification component associated with the page component is matched, and the field to be verified is verified based on the verification component, which reduces the processing complexity of the field verification and improves the verification efficiency of the approval node. At the same time, by using the page component to configure the node page, the business approval process configuration work can be streamlined, and the development efficiency of the business approval process can be effectively improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in describing the embodiments of the present application are briefly introduced below.
[0022] Figure 1 A flowchart of a business process verification method provided in an embodiment of the present application;
[0023] Figure 2 A schematic diagram of the structure of a business process management system provided in an embodiment of the present application;
[0024] Figure 3 A flowchart of a specific implementation method of the business process verification method provided in an embodiment of the present application;
[0025] Figure 4 1 is a flowchart of another specific implementation method of the business process verification method provided in an embodiment of the present application;
[0026] Figure 5 A schematic diagram of the business approval process provided in this application embodiment;
[0027] Figure 6 A schematic diagram of the structure of a business process verification device provided in an embodiment of the present application;
[0028] Figure 7 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0029] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application, and cannot be interpreted as limiting the present invention.
[0030] It will be understood by those skilled in the art that, unless expressly stated, the singular forms "one", "said", and "the" used herein may also include plural forms. It should be further understood that the term "comprising" used in the specification of the present application refers to the presence of the features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or groups thereof. It should be understood that when we refer to an element as being "connected" or "coupled" to another element, it may be directly connected or coupled to the other element, or there may be an intermediate element. In addition, the "connection" or "coupling" used herein may include wireless connection or wireless coupling. The term "and / or" used herein includes all or any unit and all combinations of one or more associated listed items.
[0031] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.
[0032] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0033] Figure 1 A flow chart of a business process verification method provided by an embodiment of the present application is shown, such as Figure 1 As shown, the method may mainly include:
[0034] Step S110: receiving a verification request initiated by a node page based on the current approval node, the node page includes at least one page component, the page component corresponds to at least one field to be verified, and the page component is used to enter the field content of the field to be verified;
[0035] Step S120: determining a verification component associated with the page component, the verification component including a field verification rule associated with the field to be verified;
[0036] Step S130: Based on the verification component, the field content of the field to be verified entered based on the page component is verified to determine the verification result of the current approval node.
[0037] The current approval node may be any approval node in the business approval process, and the current approval node may involve verification of multiple fields to be verified.
[0038] As an example, when a user initiates an application to purchase a financial product, a business approval process for the corresponding financial product can be initiated. The business approval process can include multiple approval nodes. After completing the verification of each approval node in turn, the final business approval result can be obtained.
[0039] The node page of the current approval node can be understood as a detail page corresponding to the current approval node, and can be used to enter and submit data of the fields to be verified involved in the current approval node.
[0040] The node page includes at least one page component, and the page component can be used to enter the field content of the field to be verified. For example, the page component can be an input box, and the user can enter the field content of the field to be verified in the input box.
[0041] The fields to be checked entered in the page component can be configured according to actual needs. The page component can be used to enter one or more fields to be checked. When the page component is used to enter multiple fields to be checked, these multiple fields to be checked can be checked together as a whole.
[0042] In the embodiment of the present application, after the user completes entering the field content of the field to be checked through the page component, a check request can be initiated through the node page. For example, the node page includes a submit button for initiating a check request, and the user can initiate a check request by triggering the submit button.
[0043] After receiving the verification request, the server can verify the fields to be verified involved in the current approval node.
[0044] When a page component is used to enter multiple fields to be checked, these multiple fields to be checked can be treated as a whole, and the associated verification components are matched with the page component as the granularity. The verification components include field verification rules associated with the fields to be checked, thereby enabling verification of the fields to be checked.
[0045] As an example, an association relationship may be established between the identifier of the page component and the identifier of the verification component, thereby determining the verification component associated with the page component.
[0046] In an embodiment of the present application, the verification component can be understood as a rule group composed of at least one field verification rule associated with the field to be verified. When the page-based component is verified based on the verification component, the field verification rules in the verification component can be used to verify the field content of the corresponding field to be verified respectively.
[0047] In the embodiment of the present application, when configuring the field verification rules, it is not necessary to configure the field-level field verification rules for each field to be verified involved in the approval node, but to configure the associated verification components at the granularity of the page component. Compared with configuring the field verification rules separately at the field level, in this case, by configuring the verification components at the page component level, the workload of configuring the verification rules is greatly reduced, the business approval process configuration work is streamlined, and the development efficiency of the business approval process is effectively improved.
[0048] In the embodiment of the present application, when verifying the approval node, it is not necessary to match the corresponding field verification rules for each field to be verified, but by matching the associated verification component for the page component, the corresponding field to be verified is verified based on the field verification rules included in the verification component. Compared with matching the field verification rules for the field level, in this case, by matching the associated verification components at the page component level, the processing complexity of the step of matching the field verification rules during verification is reduced, and the verification efficiency of the approval node is improved.
[0049] In the embodiment of the present application, the page component can be developed in advance according to the actual business situation for use in the configuration of the node page. Specifically, one or more fields to be checked entered through a certain page component can be pre-specified, and then the input configuration of these fields to be checked can be implemented in the page component. As an example, the fields x, y, and z to be checked are all entered through the page component A, and the input boxes corresponding to the fields x, y, and z to be checked can be created respectively, and these input boxes are used as subcomponents of the page component A and assembled into the page component A together. The page component A is used as a whole to facilitate the rapid configuration of the node page. Specifically, when a node page needs to be configured to enter the field content of the fields x, y, and z to be checked, the page component A can be configured as a whole to the node page, and the entry of the field content of the fields x, y, and z to be checked can be realized through the page component A by using the node page.
[0050] In the embodiment of the present application, by providing a universal page component, the node page configuration can be performed directly at the page component level, which facilitates the user's configuration of the node page. It also facilitates the flexible modification of the node page by modifying or replacing the page component, thereby improving the development efficiency of the business approval process.
[0051] The method provided in the embodiment of the present application receives a verification request initiated by a node page based on the current approval node, the node page includes at least one page component, the page component corresponds to at least one field to be verified, and the page component is used to enter the field content of the field to be verified; determines the verification component associated with the page component, the verification component includes a field verification rule associated with the field to be verified; verifies the field content of the field to be verified entered based on the page component based on the verification component, and determines the verification result of the current approval node. In this solution, the verification component associated with the page component is matched, and the field to be verified is verified based on the verification component, which reduces the processing complexity of the field verification and improves the verification efficiency of the approval node. At the same time, by using the page component to configure the node page, the business approval process configuration work can be streamlined, and the development efficiency of the business approval process can be effectively improved.
[0052] In an optional manner of the embodiment of the present application, in response to the page components including a plurality of components, each of which has a corresponding verification priority, the field content of the field to be verified entered based on the page component is verified based on the verification component, including:
[0053] Determine the order of verification based on verification priority;
[0054] According to the verification order, the verification components associated with the page components are called in sequence to verify the field contents of the fields to be verified that are entered based on the page components.
[0055] In the embodiment of the present application, each page component has a corresponding verification priority, that is, different verification orders are configured for different page components. The verification order can be determined from high to low based on the verification priority, and the field content of the field to be verified in each page component is verified in turn according to the verification order.
[0056] In the embodiment of the present application, the field contents of the fields to be checked in multiple page components of the same priority can be checked in parallel. After all the fields to be checked in the page component of the previous priority are checked, the field contents of the fields to be checked in the page component of the next priority can be checked.
[0057] In an embodiment of the present application, when the field content verification of a field to be verified in a certain page component fails, the exception information can be stored in an exception queue. After the field content of the field to be verified in the page component is repaired, the verification can be re-initiated through the exception queue.
[0058] In an optional manner of the embodiment of the present application, the verification component further includes a field verification rule associated with the external field, and the method further includes:
[0059] Get the field content of the external field;
[0060] Validate the field content of external fields based on the validation component.
[0061] In an embodiment of the present application, when verifying an approval node, in addition to the fields to be verified entered by the user through the page component in the node page, some related external fields may also be involved, and the field verification rules of the external fields can be configured in the verification component.
[0062] The fields of the external fields may be stored in a specified location, for example, in a specified data table of a specified database, so that the external fields can be obtained in a timely manner when performing verification.
[0063] As an example, the field to be verified may be a business field entered by the user, and the external field may be some known data fields, such as the business channel information to which the user belongs, the user level, and the like.
[0064] In an optional manner of the embodiment of the present application, determining a verification component associated with a page component includes:
[0065] Get the approval method corresponding to the current approval node, which includes automatic approval and manual approval;
[0066] In response to the approval mode corresponding to the current approval node being automatic approval, a verification component associated with the page component is determined.
[0067] In the embodiment of the present application, the approval methods include automatic approval and manual approval, and a corresponding approval method can be set for each approval node.
[0068] Among them, manual approval is to review the data manually by the auditor. Automatic review is to match the page component with the associated verification component and conduct review based on the field verification rules contained in the verification component.
[0069] In an optional manner of the embodiment of the present application, the above method further includes:
[0070] Receiving a request for obtaining page component configuration information of a node page of a current approval node sent by a terminal device;
[0071] Determine the page component configuration information corresponding to the current approval node, where the page component configuration information is used to specify the component properties of the page component and the fields to be checked corresponding to the page component;
[0072] The page component configuration information is returned to the terminal device, so that the terminal device configures the template component in the preset page template based on the page component configuration information to obtain the page component.
[0073] In an embodiment of the present application, when a user enters a current approval node during a business approval process on a terminal device, the terminal device (ie, the front end) may initiate a request to the back end to obtain configuration information of a page component corresponding to the current approval node.
[0074] After receiving the request to obtain the page component configuration information, the backend can determine the page component configuration information corresponding to the current approval node and return it to the frontend.
[0075] The page component configuration information is used to specify the component properties of the page component and the fields to be verified corresponding to the page component. Among them, the component properties may include but are not limited to the style of the page component, the location of the page component in the node page, the layout of each subcomponent in the page component and other information. By setting the component properties, the display of the page component in the node page can be specified. The field to be verified is used to specify the field to which the field content entered through the page component belongs.
[0076] In an embodiment of the present application, the terminal device can obtain a preset page template, which can be understood as a blank template. The aforementioned page components can be implemented in the page template. For example, the page template can support providing an input box.
[0077] After receiving the page component configuration information, the terminal device can configure the page component in the page template, thereby obtaining a node page corresponding to the current approval node.
[0078] In the embodiment of the present application, the front end configures the page components by requesting the page component configuration information from the back end, and can obtain the node page corresponding to the current approval node. There is no need to customize the pages of each approval node of the process, but to automatically generate the node page by configuring the page component configuration information. It has strong versatility and is easy to modify flexibly, which greatly improves the development efficiency of the business approval process. Based on this solution, the node page corresponding to the approval node can be quickly generated, which greatly improves the development efficiency of the business approval process.
[0079] In an optional manner of the embodiment of the present application, after determining the page component configuration information corresponding to the current approval node, the method further includes:
[0080] Establish the association relationship between the page component and the verification component.
[0081] In the embodiment of the present application, after the page component is constructed, the page component can be associated with the verification component to quickly match the associated verification component for verification. For example, the page component identifier and the verification component identifier can be obtained, and the page component identifier and the verification component identifier can be associated.
[0082] By establishing an association relationship between the page component and the verification component, when verifying the field content of the field to be verified, the associated verification component can be called to realize automatic verification.
[0083] In an optional manner of the embodiment of the present application, the component attribute includes a field attribute of the field to be checked, and at least one of the following field attributes includes:
[0084] Read-only properties;
[0085] Required attributes
[0086] Display mode properties.
[0087] In an embodiment of the present application, component attributes may also include field attributes of the field to be checked. The field attributes of the field to be checked may include read-only attributes, mandatory attributes, and display attributes. Among them, the field attribute is read-only, indicating that the field to be checked is read-only and cannot be modified. The field attribute is mandatory, indicating that the field to be checked must be filled with a field value. The display attribute is the attribute of the field to be checked when it is displayed in the node page, which may include but is not limited to font color, font size, etc.
[0088] In an optional manner of the embodiment of the present application, the above method further includes:
[0089] The page configuration information corresponding to the current approval node is determined, and the page configuration information is returned to the terminal device, so that the terminal device performs page configuration in the page template based on the page configuration information.
[0090] In the embodiment of the present application, the backend may also return page configuration information to the frontend, and the page configuration information is used to perform overall configuration of the node page.
[0091] As an example, the page configuration information includes at least one of the following:
[0092] The page layout information corresponding to the current approval node;
[0093] Menu information corresponding to the current approval node;
[0094] Node navigation information: Node navigation information is used to guide the jump of approval nodes.
[0095] In the embodiment of the present application, the page configuration information may include at least one of page layout information, menu information and node navigation information. At least one of the page layout information, menu information and node navigation information may be returned to the terminal device so that the terminal device configures the page template accordingly.
[0096] Specifically, different approval nodes may correspond to different page layouts and menu styles, and corresponding page layout information and menu information may be configured for each approval node.
[0097] The node navigation information is used to configure the jump components of each approval node in the business approval process. Users can jump to the node page of different approval nodes by clicking.
[0098] In an optional manner of the embodiment of the present application, determining the page component configuration information corresponding to the current approval node includes:
[0099] Determine the relevant information of the business approval process to which the current approval node belongs;
[0100] Determine the page component configuration information corresponding to the relevant information of the business approval process.
[0101] In the embodiment of the present application, the relevant information of the business approval process is multi-dimensional information of the business approval process. As an example, the relevant information of the business approval process is any of the following:
[0102] The identification information of the business product corresponding to the business approval process;
[0103] User category information of users corresponding to the business approval process;
[0104] The channel for initiating the business approval process.
[0105] The relevant information of the business approval process may include product identification, that is, the page configuration information may be configured for different products. The relevant information of the business approval process may include user categories, that is, the page configuration information may be configured for different user categories. As an example, user categories may be divided based on age.
[0106] The relevant information of the business approval process can express information of different dimensions of the business approval process. Therefore, the relevant information of the business approval process can be used to establish a correspondence with the page component configuration information, so as to determine the page component configuration information corresponding to the current approval node based on the correspondence.
[0107] In an optional manner of the embodiment of the present application, after obtaining the page component, the method further includes at least one of the following:
[0108] After the user enters the field content of the field to be checked into the page component, in response to receiving the temporary storage request, the field content of the field to be checked is subjected to a first basic check, and the first basic check does not include a check of required items;
[0109] After the user enters the field content of the field to be checked into the page component, in response to receiving a save request, a second basic check is performed on the field content of the field to be checked, and the second basic check does not include a check for required items.
[0110] In the embodiment of the present application, the functions of temporary storage and saving can be provided. When the user initiates a temporary storage request, the first basic check can be performed on the field content of the field to be checked. Since it is a temporary storage, the subsequent user may need to continue to supplement the entered fields, so the first basic check may not include the mandatory item check. Correspondingly, when the user initiates a save request, it means that the user has preliminarily completed the entry of the field to be checked. At this time, the field content of the field to be checked can be performed on the second basic check. The second basic check needs to include the mandatory item check to avoid the omission of mandatory items and affect the normal progress of subsequent approval nodes.
[0111] As an example, Figure 2 It is a structural diagram of a business process management system provided in an embodiment of the present application.
[0112] like Figure 2 As shown in , the personal loan microservice cluster is a specific business cluster, and the process connection framework SDK is used to implement the business approval process in this application. The shared process center is independent of the business cluster and is used to manage and transfer each approval node in the business approval process.
[0113] Specifically, the process connection framework SDK is developed for specific business scenarios and is built into the corresponding business cluster. The process connection framework SDK contains page configuration information. The business cluster can obtain page configuration information from the process connection framework SDK, and then configure the page template based on the page configuration information to display the corresponding node page. The process connection framework SDK can also verify the fields to be verified and return the verification results.
[0114] The shared process center contains information about each approval node in the business approval process. After completing the current approval node, the process connection framework SDK can request the shared process center to transfer to the next node. The shared process center can also display each approval node and approval progress in a graphical way, so that users can understand the business approval process more intuitively.
[0115] As an example, Figure 3 It is a flowchart of a specific implementation method of the business process verification method provided in an embodiment of the present application.
[0116] like Figure 3 As shown in the figure, the front end (i.e., the terminal device) requests the interface configuration information from the back end, and the process is connected in series. Figure 2 The process connection framework SDK in the SDK can be used as the backend. The backend obtains product configuration information, navigation information under the current approval node, fields to be verified, display settings for each field to be verified, and maps verification rules with entered fields. Finally, the page configuration information is returned to the frontend as the page display rule, so that the frontend configures the page template based on the page configuration information and obtains the node page of the current approval node.
[0117] As an example, Figure 4 It is a flowchart of another specific implementation method of the business process verification method provided in an embodiment of the present application.
[0118] like Figure 4 As shown in , O1, O2, O3, and O4 represent the information entry components in the node page. The front end initiates a temporary storage or save request to the process connection. The process connection temporarily stores or saves the input fields corresponding to each information entry component, and performs a first basic check before temporary storage, and a second basic check before saving, and finally combines the check results of each input field and saves it.
[0119] As an example, Figure 5 It is a structural diagram of the business approval process provided in the embodiment of the present application.
[0120] like Figure 5As shown in , users can purchase salable products in the product center. Each salable product has a corresponding business approval process. The business approval process can include multiple tasks (i.e., approval nodes). Each task can include multiple steps (i.e., separate verification of different fields to be verified in the approval node). The result of the business approval process can be returned to the front end.
[0121] As an example, in a typical business scenario, the implementation steps of this solution are as follows:
[0122] (1) First, the operator initiates a product purchase request.
[0123] (2) After receiving the purchase request, the corresponding business module will call the process connection framework SDK to initiate the creation of a business approval process.
[0124] (3) After receiving the request to create a business approval process, the business module initiates an application to start the business approval process to the process center;
[0125] (4) The process center starts the business approval process and returns the start result and relevant information of the first approval node to the business module.
[0126] (5) After receiving the data returned by the process center, the process connection framework SDK determines the type of the first approval node. If it is an automatic node, it executes the sixth step. If it is a manual node, the framework ends the process and waits for manual triggering of the submission operation.
[0127] (6) If it is an automatic node, the process connection framework SDK directly triggers the execution of the first approval node. First, the configuration module is queried to obtain the combination list of the data to be verified. Then, according to the obtained list, the verification of the data to be verified is performed concurrently according to the configured priority. The execution result of each verification operation is placed in the memory. If the verification operations in the same priority level are all executed successfully, the verification operation of the next priority level will continue to be executed. If there is an exception, the operation will be terminated and the exception information will fall into the exception queue. After being repaired, it will be retried through the exception queue. If the execution result is that the verification operation rule fails, the process will be terminated. If all execution results pass, the process will flow to the next node.
[0128] Based on Figure 1 The same principle as shown in the method, Figure 6 A schematic diagram of the structure of a business process verification device provided in an embodiment of the present application is shown. Figure 6 As shown, the business process verification device 60 may include:
[0129] The verification request receiving module 610 is used to receive a verification request initiated based on a node page of the current approval node, the node page includes at least one page component, the page component corresponds to at least one field to be verified, and the page component is used to enter the field content of the field to be verified;
[0130] A verification component determination module 620 is used to determine a verification component associated with a page component, wherein the verification component includes a field verification rule associated with a field to be verified;
[0131] The verification module 630 is used to verify the field content of the field to be verified entered based on the page component based on the verification component, and determine the verification result of the current approval node.
[0132] The device provided in the embodiment of the present application receives a verification request initiated by a node page based on the current approval node, the node page includes at least one page component, the page component corresponds to at least one field to be verified, and the page component is used to enter the field content of the field to be verified; determines the verification component associated with the page component, the verification component includes a field verification rule associated with the field to be verified; verifies the field content of the field to be verified entered based on the page component based on the verification component, and determines the verification result of the current approval node. In this solution, the verification component associated with the page component is matched, and the field to be verified is verified based on the verification component, which reduces the processing complexity of the field verification and improves the verification efficiency of the approval node. At the same time, by using the page component to configure the node page, the business approval process configuration work can be streamlined, and the development efficiency of the business approval process can be effectively improved.
[0133] Optionally, in response to the page components including a plurality of components, each of which has a corresponding verification priority, the verification module is specifically used to:
[0134] Determine the order of verification based on verification priority;
[0135] According to the verification order, the verification components associated with the page components are called in sequence to verify the field contents of the fields to be verified that are entered based on the page components.
[0136] Optionally, the verification component further includes a field verification rule associated with the external field, and the above device further includes an auxiliary verification module, the auxiliary verification module is used to:
[0137] Get the field content of the external field;
[0138] Validate the field content of external fields based on the validation component.
[0139] Optionally, when determining the verification component associated with the page component, the verification component determination module is used to:
[0140] Get the approval method corresponding to the current approval node, which includes automatic approval and manual approval;
[0141] In response to the approval mode corresponding to the current approval node being automatic approval, a verification component associated with the page component is determined.
[0142] Optionally, the above device further includes a page component generation module, and the page component generation module is used to:
[0143] Receiving a request for obtaining page component configuration information of a node page of a current approval node sent by a terminal device;
[0144] Determine the page component configuration information corresponding to the current approval node, where the page component configuration information is used to specify the component properties of the page component and the fields to be checked corresponding to the page component;
[0145] The page component configuration information is returned to the terminal device, so that the terminal device configures the template component in the preset page template based on the page component configuration information to obtain the page component.
[0146] Optionally, the above device further includes:
[0147] The association relationship establishment module is used to establish an association relationship between the page component and the verification component after determining the page component configuration information corresponding to the current approval node.
[0148] Optionally, the component attributes include field attributes of the field to be checked, and at least one of the following field attributes includes:
[0149] Read-only properties;
[0150] Required attributes
[0151] Display mode properties.
[0152] Optionally, the above device further includes:
[0153] The page configuration information returning module is used to determine the page configuration information corresponding to the current approval node and return the page configuration information to the terminal device so that the terminal device performs page configuration in the page template based on the page configuration information.
[0154] Optionally, the page configuration information includes at least one of the following:
[0155] The page layout information corresponding to the current approval node;
[0156] Menu information corresponding to the current approval node;
[0157] Node navigation information: Node navigation information is used to guide the jump of approval nodes.
[0158] Optionally, determining the page component configuration information corresponding to the current approval node includes:
[0159] Determine the relevant information of the business approval process to which the current approval node belongs;
[0160] Determine the page component configuration information corresponding to the relevant information of the business approval process.
[0161] Optionally, the relevant information of the business approval process is any of the following:
[0162] The identification information of the business product corresponding to the business approval process;
[0163] User category information of users corresponding to the business approval process;
[0164] The channel for initiating the business approval process.
[0165] Optionally, the above device further comprises at least one of the following:
[0166] A first basic verification module, configured to perform a first basic verification on the field content of the field to be verified in response to receiving a temporary storage request after the user enters the field content of the field to be verified into the page component, wherein the first basic verification does not include a mandatory item verification;
[0167] The second basic verification module is used to perform a second basic verification on the field content of the field to be verified in response to receiving a save request after the user enters the field content of the field to be verified into the page component. The second basic verification does not include a mandatory item verification.
[0168] It can be understood that the above modules of the business process verification device in this embodiment have the function of implementing Figure 1 The functions of the corresponding steps of the business process verification method in the embodiment shown in . This function can be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions. The above modules can be software and / or hardware, and the above modules can be implemented separately or integrated with multiple modules. For the functional description of each module of the above business process verification device, please refer to Figure 1 The corresponding description of the business process verification method in the embodiment shown in will not be repeated here.
[0169] An embodiment of the present application provides an electronic device, including a processor and a memory;
[0170] A memory, used for storing operation instructions;
[0171] The processor is used to execute the business process verification method provided in any implementation manner of the present application by calling an operation instruction.
[0172] As an example, Figure 7 A schematic diagram of the structure of an electronic device applicable to an embodiment of the present application is shown. Figure 7 As shown, the electronic device 2000 includes: a processor 2001 and a memory 2003. The processor 2001 and the memory 2003 are connected, such as through a bus 2002. Optionally, the electronic device 2000 may also include a transceiver 2004. It should be noted that in actual applications, the transceiver 2004 is not limited to one, and the structure of the electronic device 2000 does not constitute a limitation on the embodiments of the present application.
[0173] The processor 2001 is applied in the embodiment of the present application to implement the method shown in the above method embodiment. The transceiver 2004 may include a receiver and a transmitter. The transceiver 2004 is applied in the embodiment of the present application to implement the function of the electronic device of the embodiment of the present application communicating with other devices when executed.
[0174] Processor 2001 may be a CPU (Central Processing Unit), a general purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. It may implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of this application. Processor 2001 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc.
[0175] The bus 2002 may include a path to transmit information between the above components. The bus 2002 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The bus 2002 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 7 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0176] The memory 2003 can be a ROM (Read Only Memory) or other types of static storage devices that can store static information and instructions, a RAM (Random Access Memory) or other types of dynamic storage devices that can store information and instructions, or an EEPROM (Electrically Erasable Programmable Read Only Memory), a CD-ROM (Compact Disc Read Only Memory) or other optical disk storage, optical disk storage (including compressed optical disk, laser disk, optical disk, digital versatile disk, Blu-ray disk, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited to these.
[0177] Optionally, the memory 2003 is used to store application code for executing the solution of the present application, and the execution is controlled by the processor 2001. The processor 2001 is used to execute the application code stored in the memory 2003 to implement the business process verification method provided in any embodiment of the present application.
[0178] The electronic device provided in the embodiment of the present application is applicable to any embodiment of the above method and will not be described in detail here.
[0179] The embodiment of the present application provides an electronic device. Compared with the prior art, by receiving a verification request initiated by a node page based on the current approval node, the node page includes at least one page component, the page component corresponds to at least one field to be verified, and the page component is used to enter the field content of the field to be verified; determine the verification component associated with the page component, the verification component includes a field verification rule associated with the field to be verified; based on the verification component, the field content of the field to be verified entered based on the page component is verified to determine the verification result of the current approval node. In this solution, the verification component associated with the page component is matched, and the field to be verified is verified based on the verification component, which reduces the processing complexity of the field verification and improves the verification efficiency of the approval node. At the same time, by using the page component to configure the node page, the business approval process configuration work can be streamlined, and the development efficiency of the business approval process can be effectively improved.
[0180] An embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the program is executed by a processor, the business process verification method shown in the above method embodiment is implemented.
[0181] The computer-readable storage medium provided in the embodiments of the present application is applicable to any embodiment of the above method and will not be described in detail here.
[0182] The embodiment of the present application provides a computer-readable storage medium. Compared with the prior art, by receiving a verification request initiated by a node page based on the current approval node, the node page includes at least one page component, the page component corresponds to at least one field to be verified, and the page component is used to enter the field content of the field to be verified; determine the verification component associated with the page component, the verification component includes a field verification rule associated with the field to be verified; based on the verification component, the field content of the field to be verified entered based on the page component is verified to determine the verification result of the current approval node. In this solution, the verification component associated with the page component is matched, and the field to be verified is verified based on the verification component, which reduces the processing complexity of the field verification and improves the verification efficiency of the approval node. At the same time, by using the page component to configure the node page, the business approval process configuration work can be streamlined, and the development efficiency of the business approval process can be effectively improved.
[0183] It should be understood that, although the steps in the flowchart of the accompanying drawings are displayed in sequence as indicated by the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least a part of the steps in the flowchart of the accompanying drawings may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.
[0184] The above descriptions are only some embodiments of the present invention. It should be pointed out that, for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A business process verification method, characterized in that: include: Receiving a verification request initiated by a node page based on a current approval node, wherein the node page includes at least one page component, the page component corresponds to at least one field to be verified, and the page component is used to enter the field content of the field to be verified; Determining a verification component associated with the page component, the verification component including a field verification rule associated with the field to be verified; Based on the verification component, the field content of the field to be verified entered based on the page component is verified to determine the verification result of the current approval node.
2. The method according to claim 1, characterized in that In response to the page components including a plurality of components, each of which has a corresponding verification priority, the verification of the field content of the field to be verified entered based on the page component based on the verification component includes: Determining a verification order based on the verification priority; According to the verification order, the verification components associated with the page components are called in sequence to verify the field content of the field to be verified entered based on the page component.
3. The method according to claim 1, characterized in that The validation component also includes a field validation rule associated with the external field, and the method further includes: Obtaining the field content of the external field; The field content of the external field is verified based on the verification component.
4. The method according to claim 1, characterized in that The determining of the verification component associated with the page component includes: Obtaining the approval method corresponding to the current approval node, wherein the approval method includes automatic approval and manual approval; In response to the approval mode corresponding to the current approval node being automatic approval, a verification component associated with the page component is determined.
5. The method according to any one of claims 1 to 4, characterized in that Also includes: Receiving a request for obtaining page component configuration information of a node page of a current approval node sent by a terminal device; Determine page component configuration information corresponding to the current approval node, where the page component configuration information is used to specify component properties of the page component and fields to be checked corresponding to the page component; The page component configuration information is returned to the terminal device, so that the terminal device configures the template component in the preset page template based on the page component configuration information to obtain the page component.
6. The method according to claim 5, characterized in that in, After determining the page component configuration information corresponding to the current approval node, the method further includes: An association relationship between the page component and the verification component is established.
7. The method according to claim 6, characterized in that The component attributes include field attributes of the field to be checked, and at least one of the following field attributes includes: Read-only properties; Required attributes Display mode properties.
8. The method according to claim 5, characterized in that Also includes: Determine page configuration information corresponding to the current approval node, and return the page configuration information to the terminal device, so that the terminal device performs page configuration in the page template based on the page configuration information.
9. The method according to claim 8, characterized in that The page configuration information includes at least one of the following: Page layout information corresponding to the current approval node; Menu information corresponding to the current approval node; Node navigation information, where the node navigation information is used to guide the jump of the approval node.
10. The method according to claim 5, characterized in that The determining of the page component configuration information corresponding to the current approval node includes: Determine relevant information of the business approval process to which the current approval node belongs; Determine the page component configuration information corresponding to the relevant information of the business approval process.
11. The method according to claim 10, characterized in that The relevant information of the business approval process is any of the following: The identification information of the business product corresponding to the business approval process; User category information of users corresponding to the business approval process; The channel for initiating the business approval process.
12. The method according to claim 5, characterized in that After obtaining the page component, the method further includes at least one of the following: After the user enters the field content of the field to be checked into the page component, in response to receiving the temporary storage request, a first basic check is performed on the field content of the field to be checked, wherein the first basic check does not include a check of mandatory items; After the user enters the field content of the field to be checked into the page component, in response to receiving a save request, a second basic check is performed on the field content of the field to be checked, and the second basic check does not include a check for required items.
13. A business process verification device, characterized in that: include: A verification request receiving module, used to receive a verification request initiated based on a node page of a current approval node, wherein the node page includes at least one page component, the page component corresponds to at least one field to be verified, and the page component is used to enter the field content of the field to be verified; A verification component determination module, used to determine a verification component associated with the page component, wherein the verification component includes a field verification rule associated with the field to be verified; The verification module is used to verify the field content of the field to be verified entered based on the page component based on the verification component, and determine the verification result of the current approval node.
14. The device according to claim 13, characterized in that In response to the page components including a plurality of components, each of which has a corresponding verification priority, the verification module is specifically used to verify the field content of the field to be verified entered based on the page component based on the verification component: Determining a verification order based on the verification priority; According to the verification order, the verification components associated with the page components are called in sequence to verify the field content of the field to be verified entered based on the page component.
15. The device according to claim 13, characterized in that The verification component further includes a field verification rule associated with the external field, and the device further includes an auxiliary verification module, wherein the auxiliary verification module is used to: Obtaining the field content of the external field; The field content of the external field is verified based on the verification component.
16. The device according to claim 13, characterized in that When determining the verification component associated with the page component, the verification component determination module is used to: Obtaining the approval method corresponding to the current approval node, wherein the approval method includes automatic approval and manual approval; In response to the approval mode corresponding to the current approval node being automatic approval, a verification component associated with the page component is determined.
17. The device according to any one of claims 13 to 16, characterized in that It also includes a page component generation module, which is used to: Receiving a request for obtaining page component configuration information of a node page of a current approval node sent by a terminal device; Determine page component configuration information corresponding to the current approval node, where the page component configuration information is used to specify component properties of the page component and fields to be checked corresponding to the page component; The page component configuration information is returned to the terminal device, so that the terminal device configures the template component in the preset page template based on the page component configuration information to obtain the page component.
18. The device according to claim 17, characterized in that Also includes: The association relationship establishing module is used to establish an association relationship between the page component and the verification component after determining the page component configuration information corresponding to the current approval node.
19. The device according to claim 18, characterized in that The component attributes include field attributes of the field to be checked, and at least one of the following field attributes includes: Read-only properties; Required attributes Display mode properties.
20. The device according to claim 17, characterized in that Also includes: The page configuration information returning module is used to determine the page configuration information corresponding to the current approval node, and return the page configuration information to the terminal device, so that the terminal device performs page configuration in the page template based on the page configuration information.
21. The device according to claim 20, characterized in that The page configuration information includes at least one of the following: Page layout information corresponding to the current approval node; Menu information corresponding to the current approval node; Node navigation information, where the node navigation information is used to guide the jump of the approval node.
22. The device according to claim 17, characterized in that The determining of the page component configuration information corresponding to the current approval node includes: Determine relevant information of the business approval process to which the current approval node belongs; Determine the page component configuration information corresponding to the relevant information of the business approval process.
23. The device according to claim 22, characterized in that The relevant information of the business approval process is any of the following: The identification information of the business product corresponding to the business approval process; User category information of users corresponding to the business approval process; The channel for initiating the business approval process.
24. The device according to claim 17, characterized in that Also includes at least one of the following: A first basic verification module, configured to perform a first basic verification on the field content of the field to be verified in response to receiving a temporary storage request after the user enters the field content of the field to be verified into the page component, wherein the first basic verification does not include a mandatory item verification; The second basic verification module is used to perform a second basic verification on the field content of the field to be verified in response to receiving a save request after the user enters the field content of the field to be verified into the page component, and the second basic verification does not include a mandatory item verification.
25. An electronic device, characterized in that: including a processor and a memory; The memory is used to store operation instructions; The processor is used to execute the method according to any one of claims 1 to 12 by calling the operation instruction.
26. A computer-readable storage medium, characterized in that: The 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 12 is implemented.
Citation Information
Cited By
A data processing and storage method for building an equipment monitoring page
CN122692283A
