Data information processing method and device, storage medium and electronic equipment
By obtaining the correspondence between business processes and rule files, decoupling business rules and business codes, the high operation and maintenance costs caused by coupling in the existing technology are solved, and the flexibility and cost-effectiveness are improved.
Patent Information
- Application Number
- CN202411597109.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-08
- Publication Date
- 2025-02-28
AI Technical Summary
In the prior art, the coupling of business rules and business codes leads to high operation and maintenance costs and lack of effective solutions.
By obtaining the correspondence between multiple business processes and multiple rule files and the target business link, the rule files corresponding to the target business link in the business process are determined, and imported into the target system to decouple business rules and business code.
It realizes the decoupling of business rules and business code, reduces operation and maintenance costs, improves the flexibility of application of business rules, and facilitates the separate adjustment of rule files and business code.
Smart Images

Figure CN119536842A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing, and in particular to a data information processing method, device, storage medium and electronic device. Background Art
[0002] As the scale of enterprises continues to expand, they not only pursue efficiency improvements, but also have higher requirements for the sophistication of compliance management. At present, when enterprises carry out compliance management, developers usually write business rules and business codes together to achieve compliance testing of business data. However, the above method will cause a strong coupling between business rules and business codes, resulting in high operation and maintenance costs.
[0003] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention
[0004] The embodiments of the present invention provide a data information processing method, device, storage medium and electronic device to at least solve the technical problem in the related art that business rules and business codes are coupled together to perform compliance detection on business data, which has high operation and maintenance costs.
[0005] According to one aspect of an embodiment of the present invention, a data information processing method is provided, comprising: obtaining multiple business processes, wherein each business process includes multiple business links, and the multiple business links include a target business link; obtaining the correspondence between multiple rule files and multiple target business links, and for each business process, according to the correspondence, determining the rule file corresponding to the target business link in the business process from the multiple rule files to obtain the target rule file; for each business process, determining a target system for executing the business process, importing the target rule file corresponding to the business process into the target system, and associating the target rule file with the target business link in the target system, wherein the target system is used to determine whether the business data of the target business link meets the target specification based on the target rule file.
[0006] Furthermore, the data information processing method also includes: obtaining multiple preset system files; for each system file, extracting data from the system file to obtain multiple system clauses corresponding to the system file; receiving a rule file generated by the target object based on the multiple system clauses to obtain multiple rule files.
[0007] Furthermore, the data information processing method also includes: for each business process, obtaining keywords corresponding to the business process; determining a rule file matching the business process from multiple rule files based on the keywords corresponding to the business process and the file contents of multiple rule files, and constructing a matching relationship between multiple business processes and multiple rule files based on the rule files matching each business process; receiving the corresponding relationship between multiple rule files generated by the target object based on the matching relationship and multiple target business links.
[0008] Furthermore, the data information processing method also includes: before importing the target rule file corresponding to the business process into the target system, for each rule file, determining the data attributes of the data required to use the rule file; selecting intervals according to the attribute values of the data attributes to determine multiple entities, and determining the edges between the entities according to the association relationship between the attribute values of the data attributes; constructing an entity relationship graph based on multiple entities and the edges between the entities, wherein the target system is used to determine the attribute values of the data attributes associated with the business data based on the entity relationship graph and the business data, and judge whether the business data meets the target specifications based on the attribute values of the data attributes associated with the business data and the target rule file.
[0009] Furthermore, the target system is also used to generate execution information of the target rule file, and the data information processing method also includes: after associating the target rule file with the target business link in the target system, obtaining the execution information generated by the target system; extracting the supervision factor from the execution information, wherein the supervision factor includes at least one of the following: the number of triggering times of the target operation in the target rule file, the identifier of the object that triggers the target operation, and the attribute value of the data attribute that triggers the target operation; obtaining the preset reminder trigger condition, and determining whether the supervision factor meets the reminder trigger condition; and when the supervision factor meets the reminder trigger condition, triggering the reminder operation corresponding to the reminder trigger condition.
[0010] Furthermore, the data information processing method also includes: after associating the target rule file with the target business link in the target system, for each business process, calculating the proportion of the target business link in the business process that has been associated with the target rule file in multiple business links of the business process; calculating the target proportion value based on the proportion values corresponding to multiple business processes; when the target proportion value is less than the preset proportion value, sending a first prompt message to the target object, wherein the first prompt message is used to prompt the target object to update multiple rule files or update multiple business processes.
[0011] Furthermore, the target system is also used to generate execution information of the target rule file, and the data information processing method also includes: after associating the target rule file with the target business link in the target system, obtaining the execution information generated by the target system; extracting the number of triggering of the target operation in the target rule file within the preset time range from the execution information, and extracting the number of execution of the target rule file within the preset time range from the execution information; based on the number of triggering times within the preset time range and the number of execution times of the target rule file, determining whether the preset time range is the target time range, wherein the target time range refers to a time range in which the triggering frequency of the target operation is greater than the preset frequency; when the preset time range is the target time range, sending a second prompt message to the target object, wherein the second prompt message is used to prompt the target object to update multiple rule files based on the target time range.
[0012] According to another aspect of an embodiment of the present invention, a data information processing device is also provided, including: a first acquisition module, used to acquire multiple business processes, wherein each business process includes multiple business links, and the multiple business links include a target business link; a second acquisition module, used to acquire the correspondence between multiple rule files and multiple target business links, and for each business process, according to the correspondence, determine the rule file corresponding to the target business link in the business process from the multiple rule files to obtain the target rule file; a first processing module, used to determine, for each business process, a target system for executing the business process, import the target rule file corresponding to the business process into the target system, and associate the target rule file with the target business link in the target system, wherein the target system is used to determine whether the business data of the target business link meets the target specification based on the target rule file.
[0013] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the above-mentioned data information processing method when running.
[0014] According to another aspect of an embodiment of the present invention, an electronic device is also provided, which includes one or more processors; a memory for storing one or more programs, so that when the one or more programs are executed by the one or more processors, the one or more processors are implemented to run the programs, wherein the programs are configured to execute the above-mentioned data information processing method when running.
[0015] According to another aspect of an embodiment of the present invention, a computer program product is provided, including a computer program / instruction, and when the computer program / instruction is executed by a processor, the above-mentioned data information processing method is implemented.
[0016] In an embodiment of the present invention, a compliance check is performed based on an independent business rule file. Multiple business processes are obtained, and then the correspondence between multiple rule files and multiple target business links is obtained. For each business process, a rule file corresponding to the target business link in the business process is determined from multiple rule files according to the correspondence, and a target rule file is obtained. Thus, for each business process, a target system for executing the business process is determined, and the target rule file corresponding to the business process is imported into the target system, and the target rule file is associated with the target business link in the target system. Each business process includes multiple business links, and the multiple business links include a target business link. The target system is used to determine whether the business data of the target business link meets the target specification based on the target rule file.
[0017] In the above process, by setting the business rules in the rule file, the decoupling between the business rules and the business code is achieved. By determining the rule file corresponding to the target business link in the business process based on the correspondence between multiple rule files and multiple target business links, the business rules required for detecting the business data of each business link are effectively determined. By importing the target rule file corresponding to the business process into the target system for executing the business process and associating the target rule file with the target business link in the target system, the business rules decoupled from the business code are quickly applied to the actual business, thereby facilitating the reuse of a single business rule in multiple business links, effectively avoiding duplication of development work by developers, and facilitating separate adjustments to the rule file and business code, avoiding large-scale adjustments to the code by developers, thereby reducing the operation and maintenance costs of data compliance detection and improving the flexibility of business rule application.
[0018] It can be seen that the solution provided by the present application achieves the purpose of compliance testing based on independent business rule files, thereby achieving the technical effect of reducing operation and maintenance costs, and further solves the technical problem of high operation and maintenance costs in the related technology of coupling business rules with business codes to perform compliance testing on business data. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0020] Figure 1 is a schematic diagram of an optional data information processing method according to an embodiment of the present invention;
[0021] Figure 2 is a flow chart of an optional data information processing method according to an embodiment of the present invention;
[0022] Figure 3 is a schematic diagram of an optional data information processing device according to an embodiment of the present invention;
[0023] Figure 4 is a schematic diagram of an optional electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0024] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0025] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0026] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards in the relevant regions, and provide corresponding operation entrances for users to choose to authorize or refuse.
[0027] Example 1
[0028] According to an embodiment of the present invention, an embodiment of a data information processing method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0029] Figure 1is a schematic diagram of an optional data information processing method according to an embodiment of the present invention, such as Figure 1 As shown, the method comprises the following steps:
[0030] Step S101, obtaining multiple business processes, wherein each business process includes multiple business links, and the multiple business links include a target business link.
[0031] Optionally, electronic devices, application systems, servers and other devices can be used as the execution subject of this application. In this embodiment, the target processing system is used as the execution subject to execute the data information processing method. Optionally, the business process varies according to the actual application scenario. For example, the business process can be an employee business trip application process and a travel expense reimbursement process. The business links vary according to the business process. For example, if the business process is an employee business trip application, the business link can be "submit a business trip application", "approval by the business department supervisor", "booking hotels, train tickets, air tickets, etc." If the business process is a travel expense reimbursement process, the business link can be "initiating a reimbursement process", "approval by the business department supervisor", "financial specialist approval", "certificate preparation and payment", etc.
[0032] In some embodiments, the target business link refers to a node to be associated with a rule file.
[0033] Step S102, obtaining the correspondence between multiple rule files and multiple target business links, and for each business process, determining the rule file corresponding to the target business link in the business process from the multiple rule files according to the correspondence, and obtaining the target rule file.
[0034] Optionally, the rule file is used to perform compliance testing on the business data of the business link. For example, if the business link is submitting a business trip application, the business data of the business link is the business trip application form. The rule file can be used to detect whether the hotel expenses of the business trip application form meet the preset standards, whether the business trip duration meets the preset standards, etc., to achieve compliance testing of the business data.
[0035] Optionally, the rule file includes at least business rule codes that can be recognized and executed by the system.
[0036] Optionally, the correspondence between multiple rule files and multiple target business links can be preset. For each business process, the target processing system can determine the rule file corresponding to the target business link in the business process from multiple rule files based on the correspondence to obtain the target rule file.
[0037] In an optional embodiment, one rule file corresponds to at least one target service link, that is, one rule file can correspond to multiple target service links, thereby facilitating the reuse of the rule file.
[0038] Step S103, for each business process, determine the target system for executing the business process, import the target rule file corresponding to the business process into the target system, and associate the target rule file with the target business link in the target system, wherein the target system is used to determine whether the business data of the target business link meets the target specifications based on the target rule file.
[0039] Optionally, different business processes may be executed by different systems within the enterprise, for example, the employee business trip application process is executed by the business travel system, and the travel expense reimbursement process is executed by the financial system. The target processing system has a preset correspondence between the business process and the system, and the target processing system can determine the target system for executing the business process based on the correspondence.
[0040] After determining the target system for executing the business process, the target processing system can import the target rule file corresponding to the business process into the target system, and associate the target rule file with the target business link in the target system. For example, an API (Application Programming Interface) with the function of executing the target rule file is imported into the business code of the target business link of the target system. For example, a target program is preset in the target system. The target program is used to execute the rule file in the directory corresponding to the target business link when the execution of the target business link is detected. The target processing system can directly load the target rule file into the directory to realize the association between the target business link and the target rule file.
[0041] In some embodiments, after associating the target rule file with the target business link in the target system, the target system can call an API during the execution of the target business link to determine whether the business data of the target business link meets the target specification based on the target rule file.
[0042] In some embodiments, after associating the target rule file with the target business link in the target system, the target system can run the target program to determine whether the business data of the target business link meets the target specification based on the target rule file during the execution of the target business link.
[0043] Optionally, the target specification can be understood as the system specification corresponding to the target rule file. The content of the target specification may vary depending on the actual application scenario. For example, the target specification may be "the hotel fee per night shall not exceed RMB 300" and so on.
[0044] For example, target rule files such as "check whether the employee's hotel reservation meets the standard control method" and "control method for whether the over-standard reimbursement is attached" are implanted into the business travel system (i.e., the target system). When the business department's handler initiates the business link of the business trip application, the system will trigger the above two target rule files ('the method of checking whether the employee's hotel reservation meets the standard' and 'the control method of the attachment description when over-standard reimbursement') in real time to determine whether the hotel currently selected by the user meets the job grade standard based on the target rule file and execute the corresponding operations in the target rule file according to the judgment result. The content of the target rule file can be: if it is determined that the user has selected a hotel that meets the standard, the reservation is directly successful; if it is determined that the hotel selected by the user exceeds the job grade standard, the over-standard approval business link is immediately started. In the process of executing the target rule file, the target system can synchronously record the reasons and time of the over-standard and other related information, so as to provide it to the relevant administrator later.
[0045] For another example, target rule files such as "check whether the employee's hotel reservation complies with the standard control method" and "whether the over-standard reimbursement is accompanied by an attachment to explain the control method" are implanted into the financial system (i.e., the target system). When the person in charge of the business department starts the business link of the travel expense reimbursement process, the financial system will automatically associate the original business trip application form and related booking information. Subsequently, the financial system can verify in real time whether the amount of accommodation fees meets the employee's rank standard based on the target rule file and perform the corresponding operations in the target rule file based on the verification results. For example, the content of the target rule file can be: if it does not exceed the standard, it is determined that the business link has passed; if it exceeds the standard, further check whether there are over-standard attachments. If there is no corresponding attachment, it is prompted that the reimbursement does not meet the compliance requirements.
[0046] In some embodiments, for scenarios with similar business management requirements (i.e., business processes), common rule files can be reused to ensure the consistency of business logic control and reduce duplication of development work, thereby reducing operation and maintenance costs. For example, the two target rule files of "checking whether employee hotel reservations meet standard control methods" and "control methods for whether over-standard reimbursements are attached" can be reused in the employee business trip application process and travel expense reimbursement process.
[0047] Optionally, the target processing system can manage rule files through the enterprise-level rule center. Relying on the enterprise-level rule center, it can be used to create discrete rule files applicable to various business activities of the enterprise online. These rule files can be embedded in the front-end business application in the form of rule services, thereby realizing "compliance control points" in the business operation process. For example, when a user books a hotel in the business travel system or makes reimbursements in the financial system, the system can call the rule file in real time to trigger reminders and controls for excessive expenses, thereby reducing possible violations by users during the application stage. In addition, this approach also provides additional compliance testing in the subsequent financial reimbursement link, thereby achieving a dual monitoring effect.
[0048] Optionally, the target processing system can also utilize the data aggregation and large database computing functions of the enterprise data center, combined with flexibly configured reminder strategies, to be able to count and analyze in real time the effectiveness of the rule file on the control of business data that does not meet the target specifications, and provide feedback to relevant personnel. This allows relevant personnel to make decisions and improve management practices. For example, for frequent violations, analysis can be used to decide whether to upgrade the control measures of the rule file or optimize the business process, ultimately achieving the dual goals of optimizing the enterprise's operating procedures and improving risk prevention and control capabilities.
[0049] For example, the target processing system can use the data aggregation and big data computing capabilities of the enterprise data middle platform to aggregate the execution details of the two target rule files in the business travel system and the reimbursement system, namely, "check whether the employee's hotel reservation meets the standards" and "whether the reimbursement exceeding the standards provides attachments and explanations". The execution details include information such as the operator, time, unit, number of times, the amount involved, and the period during which the business occurred. By analyzing these data, we can understand the periodic changes in the frequency of recurrence, unit distribution, amount scale, and exceeding the standards of the same target control file in different systems. Such an assessment helps enterprises determine whether it is necessary to adjust the relevant enterprise system or optimize the target rule file, thereby promoting the improvement of management level.
[0050] Based on the scheme defined by the above steps S101 to S103, it can be known that in an embodiment of the present invention, a compliance detection method based on an independent business rule file is adopted, by obtaining multiple business processes, and then obtaining the correspondence between multiple rule files and multiple target business links, and for each business process, according to the correspondence, the rule file corresponding to the target business link in the business process is determined from the multiple rule files to obtain the target rule file, so as to determine the target system for executing the business process for each business process, import the target rule file corresponding to the business process into the target system, and associate the target rule file with the target business link in the target system. Among them, each business process includes multiple business links, and the multiple business links include the target business link. The target system is used to determine whether the business data of the target business link meets the target specification based on the target rule file.
[0051] It is easy to notice that in the above process, by setting the business rules in the rule file, the decoupling between the business rules and the business code is achieved. By determining the rule file corresponding to the target business link in the business process based on the correspondence between multiple rule files and multiple target business links, the business rules required for detecting the business data of each business link are effectively determined. By importing the target rule file corresponding to the business process into the target system for executing the business process and associating the target rule file with the target business link in the target system, the business rules decoupled from the business code are quickly applied to the actual business, thereby facilitating the reuse of a single business rule in multiple business links, effectively avoiding duplication of development work by developers, and facilitating separate adjustments to the rule file and business code, avoiding large-scale adjustments to the code by developers, thereby reducing the operation and maintenance costs of data compliance detection and improving the flexibility of business rule application.
[0052] It can be seen that the solution provided by the present application achieves the purpose of compliance testing based on independent business rule files, thereby achieving the technical effect of reducing operation and maintenance costs, and further solves the technical problem of high operation and maintenance costs in the related technology of coupling business rules with business codes to perform compliance testing on business data.
[0053] In an optional embodiment, multiple rule files are obtained in the following manner: obtaining multiple preset system files; for each system file, extracting data from the system file to obtain multiple system clauses corresponding to the system file; receiving the rule file generated by the target object based on the multiple system clauses to obtain multiple rule files.
[0054] Optionally, system documents are used to record the target specifications that business data must comply with. For example, system documents can be "Regulations on the Management of Enterprise Employees' Business Trips", "Regulations on the Management of Enterprise Travel Expenses", "Enterprise Accounting Standards", etc.
[0055] Optionally, since each system document includes multiple system clauses, and different system clauses may involve different business processes or business links, after obtaining the system document, the target processing system can extract data from each system document to obtain multiple system clauses corresponding to the system document. For example, data is extracted from the system document based on the title, number, symbol, text content and other information in the system document to obtain multiple system clauses. For another example, the system document is input into a large language model, and data is extracted from the system document through the large language model to obtain multiple system clauses.
[0056] Afterwards, the target processing system can feed back multiple system clauses to the target object. The target object can be a staff member (or administrator) in the enterprise (or organization) to which the target processing system belongs. The target object then generates a corresponding rule file based on each system clause, and inputs the system clause and the rule file corresponding to the system clause into the target processing system. The target processing system then determines the received rule file as a rule file for compliance detection of business data.
[0057] It should be noted that, through the above process, the content of the system file is effectively split, thereby reducing labor costs and improving the efficiency of obtaining rule files. In addition, by receiving the rule file generated by the target object as the rule file to be used, the accuracy of the obtained rule file is improved.
[0058] In an optional embodiment, after obtaining the correspondence between multiple rule files and multiple target business links, the target processing system can obtain keywords corresponding to the business process for each business process; determine the rule file that matches the business process from the multiple rule files based on the keywords corresponding to the business process and the file contents of the multiple rule files, and build a matching relationship between multiple business processes and multiple rule files based on the rule files matching each business process; receive the correspondence between multiple rule files generated by the target object based on the matching relationship and multiple target business links.
[0059] Optionally, the correspondence between the business process and the keyword may be preset in the target processing system by the target object. For example, if the business process is a travel expense reimbursement process, the keywords corresponding to the business process may be "travel expense", "reimbursement", etc.
[0060] Optionally, the rule file may include the rule name, rule description information, the name of the system clause corresponding to the rule, and the executable business rule code. For example, the rule name in an optional rule file may be "Whether the over-standard reimbursement is accompanied by an attachment", the rule description information may be "Check whether the over-standard description is attached to the attachment in the travel expense reimbursement form for over-standard reimbursement", and the name of the system clause corresponding to the rule may be "Company Employee Expenditure Management Method 1.0".
[0061] Optionally, in the process of determining a rule file that matches a business process from multiple rule files based on the keywords corresponding to the business process and the file contents of multiple rule files, for the business process, the target processing system can determine whether the rule description information in each rule file contains the keywords corresponding to the business process, thereby determining the rule file whose rule description information contains the keywords corresponding to the business process as the rule file that matches the business process.
[0062] Optionally, the target processing system can construct a matching relationship between multiple business processes and multiple rule files based on the rule files matched by each business process, and then send the matching relationship to the target object, thereby establishing a corresponding relationship between multiple rule files generated by the target object based on the matching relationship and multiple target business links. For example, the target object can determine the rule file corresponding to a certain business process based on the matching relationship, and then determine the rule file corresponding to the target business link in the business process from these rule files, and then establish the aforementioned corresponding relationship.
[0063] Optionally, the target object may input the aforementioned corresponding relationship into the target processing system for acquisition by the target processing system.
[0064] It should be noted that by establishing a matching relationship between multiple business processes and multiple rule files, it is convenient for the target object to quickly determine the rule file corresponding to the target business link from the multiple rule files corresponding to the business process, thereby saving labor costs and improving the efficiency of obtaining the correspondence between multiple rule files and multiple target business links.
[0065] In an optional embodiment, before importing the target rule file corresponding to the business process into the target system, the target processing system may determine, for each rule file, the data attributes of the data required to use the rule file; determine multiple entities by selecting intervals based on the attribute values of the data attributes, and determine the edges between the entities based on the association relationship between the attribute values of the data attributes; and construct an entity relationship graph based on multiple entities and the edges between the entities, wherein the target system is used to determine the attribute values of the data attributes associated with the business data based on the entity relationship graph and the business data, and judge whether the business data meets the target specifications based on the attribute values of the data attributes associated with the business data and the target rule file.
[0066] Optionally, the data attributes of the data required by the rule file are pre-recorded in the target processing system. For example, if the rule file is used to check whether the hotel reservation of an employee meets the standard, the data attributes of the data required by the rule file may include the employee's name, employee rank, hotel fee, hotel city, hotel fee standard, etc.
[0067] After determining the data attributes of the data required by the rule file, for each data attribute, the target processing system can determine multiple entities based on the attribute value selection interval of the data attribute. For example, based on the data attribute and each attribute value in the attribute value selection interval, an entity corresponding to each attribute value is constructed. For example, if the data attribute is "employee name" and its attribute value selection interval is the names of existing employees in the enterprise, such as "Zhang San" and "Li Si", then the target processing system can determine an entity based on "employee name: Zhang San" and an entity based on "employee name: Li Si". For another example, if the data attribute is "employee rank" and its attribute value selection interval is the existing ranks in the enterprise, such as "A rank" and "B rank", then the target processing system can determine an entity based on "employee rank: A rank" and an entity based on "employee rank: B rank".
[0068] Optionally, the association relationship between the attribute values of the data attributes is preset in the target processing system. For example, employee ranks include rank A and rank B. In the enterprise, Zhang San is rank A and Li Si is rank B. Then there is an association relationship between the attribute value "Zhang San" of the data attribute "employee name" and the attribute value "A rank" of the data attribute "employee rank". In this case, the target processing system can establish an edge between the above-mentioned "employee name: Zhang San" and "employee rank: A rank".
[0069] Optionally, after determining the entities and edges, the target processing system can construct an entity relationship graph based on multiple entities and edges between entities to reveal implicit connections between data. In some embodiments, data attributes include but are not limited to employee name, employee rank, hotel city, hotel fee standard, fee type, accommodation standard, subsidy plan, etc.
[0070] Optionally, since the business data to be detected in the target rule file does not necessarily include all the data attributes required by the target rule file, for example, the target rule file is used to check whether the employee's hotel reservation meets the standards, and the business data only includes the employee's name and the city where the hotel is located. Therefore, the target system can determine the employee's rank corresponding to the employee's name, hotel fee standards and other information from the entity relationship map based on the attribute values in the business data, that is, determine the attribute values of the data attributes associated with the business data from the entity relationship map. In this way, the target system can obtain all the data attributes required by the target rule file based on the business data, and judge whether the business data meets the target specifications based on the attribute values of the data attributes associated with the business data and the target rule file.
[0071] It should be noted that, through the above process, the target system can effectively determine whether the business data complies with the target specifications based on the target rule file, thereby improving the reliability of data compliance detection.
[0072] In an optional embodiment, the target system is also used to generate execution information of the target rule file. After associating the target rule file with the target business link in the target system, the target processing system can obtain the execution information generated by the target system; extract the supervision factor from the execution information, then obtain the preset reminder trigger condition, and determine whether the supervision factor meets the reminder trigger condition, so as to trigger the reminder operation corresponding to the reminder trigger condition when the supervision factor meets the reminder trigger condition. The supervision factor includes at least one of the following: the triggering number of the target operation in the target rule file, the identifier of the object that triggers the target operation, and the attribute value of the data attribute that triggers the target operation.
[0073] Optionally, the target system generates execution information of the target rule file during the execution of the target rule file. The execution information represents the execution status of the target rule file, such as the number of executions of the operations in the target rule file, the information that triggers the operations in the target rule file, and the like.
[0074] Optionally, after the target processing system obtains the above-mentioned execution information, the target processing system can extract a supervision factor from the execution information, and the supervision factor includes at least one of the following: the number of times the target operation in the target rule file is triggered, the identifier of the object that triggers the target operation, and the attribute value of the data attribute that triggers the target operation. For example, if the content of the target rule file is: if it does not exceed the standard, it is determined that the business link has passed; if it exceeds the standard, further check whether there are excess attachments. If there is no corresponding attachment, it is prompted that the reimbursement does not meet the compliance requirements, and the target operation can be the aforementioned "prompt that the reimbursement does not meet the compliance requirements". Optionally, the object that triggers the target operation can be understood as the object to which the business data that triggers the target operation belongs. For example, if the business data detected by the target rule file is a reimbursement form, the initiator of the reimbursement form is the object of the business data. Optionally, for the aforementioned target rule file, the data attribute that triggers the target operation can be hotel expenses.
[0075] Optionally, the reminder triggering condition may be "when the number of reminders (ie, target operation) of 'C rule file' accumulates to M (configurable) times in N (configurable) consecutive months, a reminder is triggered".
[0076] Optionally, when the supervision factor meets the reminder triggering condition, the target processing system can trigger the corresponding reminder operation, for example, reminding the unit risk manager or the corresponding business department head to pay attention to the corresponding business operation risk and take timely measures. For example, when the reminder number of "check whether the employee's hotel reservation meets the standard" occurs 2,000 times in a row for 6 consecutive months, the unit risk manager or the corresponding business department head will be reminded that "as of the current time, the employee's hotel reservation behavior exceeds the standard has occurred repeatedly, please pay special attention."
[0077] Optionally, when the supervision factor does not satisfy the reminder triggering condition, the reminder operation corresponding to the reminder triggering condition is prohibited.
[0078] It should be noted that through statistical analysis methods and early warning strategies, it is convenient to provide timely reminders and warnings to personnel responsible for compliance management, helping them decide whether it is necessary to optimize business processes or improve control measures, thereby improving the flexibility of the application of this application.
[0079] In an optional embodiment, after associating the target rule file with the target business link in the target system, the target processing system can calculate, for each business process, the proportion of the target business link in the business process that has been associated with the target rule file in multiple business links of the business process, and calculate the target proportion value based on the proportion values corresponding to multiple business processes, so that when the target proportion value is less than the preset proportion value, a first prompt message is sent to the target object, wherein the first prompt message is used to prompt the target object to update multiple rule files or update multiple business processes.
[0080] Optionally, taking the business trip application process of enterprise employees as an example, assuming that the process includes 4 business links, if 3 of the target business links have been associated with the target rule file, the coverage rate is determined to be about 75%. For the employee travel expense reimbursement process, assuming that the process includes 10 business links, if 6 of the target business links have been associated with the target rule file, the coverage rate is determined to be about 60%.
[0081] Optionally, in the process of calculating the target proportion value based on the proportion values corresponding to multiple business processes, the target processing system may average the proportion values corresponding to multiple business processes to obtain the target proportion value, or the target processing system may perform weighted summation on the proportion values corresponding to multiple business processes to obtain the target proportion value.
[0082] Optionally, when the target proportion value is less than the preset proportion value, the target processing system may determine that the existing business rules of the enterprise have a low process coverage and low controllability. In this case, the target processing system may send a first prompt message to the target object. The target object may be an administrator of the enterprise (or organization) to which the target processing system belongs.
[0083] Optionally, the first prompt message is used to prompt the target object to update multiple rule files or update multiple business processes. For example, the first prompt message is "The company's existing business rules have a low process coverage. Please update multiple rule files or update multiple business processes."
[0084] Optionally, when the target proportion value is less than the preset proportion value, the target processing system may determine that the enterprise's existing business rules have a high degree of process coverage and high controllability. In this case, the target processing system may prohibit sending the first prompt message to the target object.
[0085] It should be noted that through the above process, a reminder strategy is triggered based on statistical calculations, and corresponding reminders are issued in a timely manner to personnel responsible for compliance management, thereby assisting users to manage and improve in a targeted manner, and ultimately achieving the dual goals of optimizing corporate operating processes and improving risk prevention and control capabilities, thereby improving the applicability of this application.
[0086] In an optional embodiment, the target system is also used to generate execution information of the target rule file. After associating the target rule file with the target business link in the target system, the target processing system can obtain the execution information generated by the target system, and then extract the number of triggering of the target operation in the target rule file within the preset time range from the execution information, and extract the number of execution of the target rule file within the preset time range from the execution information, and then determine whether the preset time range is the target time range based on the number of triggering times within the preset time range and the number of execution times of the target rule file, wherein the target time range refers to a time range in which the triggering frequency of the target operation is greater than the preset frequency, so that when the preset time range is the target time range, a second prompt message is sent to the target object, wherein the second prompt message is used to prompt the target object to update multiple rule files according to the target time range.
[0087] Optionally, the target system generates execution information of the target rule file during the execution of the target rule file. The execution information represents the execution status of the target rule file, such as the number of executions of the operations in the target rule file, the information that triggers the operations in the target rule file, and the like.
[0088] Optionally, after acquiring the execution information generated by the target system, the target processing system may extract the triggering times of the target operation in the target rule file within a preset time range from the execution information, and extract the execution times of the target rule file within the preset time range from the execution information. The preset time range is preset by the target object, which may be a year, a quarter, a month or other time range.
[0089] Optionally, the target processing system can determine whether the preset time range is the target time range based on the number of triggers within the preset time range and the number of executions of the target rule file. For example, assuming that the preset time range is the current day, the target rule file is executed 3 times within the current day, and the target operation is triggered 2 times within the current day, then the triggering frequency of the target operation within the preset time range is 66.67%. If the preset frequency is 50%, the preset time range is the target time range. If the preset frequency is 80%, the preset time range is not the target time range.
[0090] Optionally, when the preset time range is the target time range, the target processing system can send a second prompt message to the target object. For example, through big data analysis and calculation, it is found that the accommodation expenses of employees on business trips in area A are 40% higher than the annual average level from June to August and from December to January of the following year. At the same time, based on the triggering times of the target operation of the target rule file, it is found that the approval rate of exceeding the standard for accommodation expenses is as high as 80% during this time period. This can remind companies to pay attention to seasonal hotel price adjustment trends and conduct risk assessments on employees' business trips exceeding the standard. Based on this, a second prompt message can be sent to the target object to suggest that the company strengthen business trip plan management (i.e., update the rule file) during the peak period of accommodation expenses (i.e., the target time range) to achieve the reasonable application of the rule file.
[0091] It should be noted that through the above process, a reminder strategy is triggered based on statistical calculations, and corresponding reminders are issued in a timely manner to personnel responsible for compliance management, thereby assisting users to manage and improve in a targeted manner, and ultimately achieving the dual goals of optimizing corporate operating processes and improving risk prevention and control capabilities, thereby improving the applicability of this application.
[0092] Optional, according to Figure 2 An optional process of applying the rule file in this embodiment is described. Figure 2 is a flowchart of an optional data information processing method according to an embodiment of the present invention. Figure 2 As shown, the business processes in the enterprise include business trip processes and travel expense reimbursement processes, etc. The links in the business processes (i.e., business links) include submitting business trip applications, initiating reimbursement processes, etc. The target processing system stores rule files through the enterprise-level rule center. The rule files include information such as rule names, rule descriptions, system basis, and executable business rule codes. The target processing system can determine the target rule file based on the correspondence between multiple rule files and multiple target business links, and import the target rule file into the corresponding business system (i.e., target system). The same target rule file can be reused in multiple systems, for example, Figure 2 The rule files in the enterprise-level rule center can be shared between the business travel system and the financial system.
[0093] Optional, such as Figure 2As shown, the business travel system can perform operations such as hotel reservation over-limit reminders based on the target rule file, and the financial system can perform operations such as accommodation fee over-limit verification based on the target rule file. In the process of the business system executing the target rule file, the business system can also generate corresponding execution information, and then the target processing system performs supervision and control reminders based on the execution information. For example, the reminder factor (also known as the supervision factor) is extracted from the execution information, and then the corresponding mechanism is determined based on the reminder trigger condition, so that when the corresponding mechanism is triggered, the reminder method (also known as the reminder operation) corresponding to the reminder trigger condition is executed. In addition, the target processing system can also perform process coverage analysis (that is, the above-mentioned process of calculating the target proportion value) and business deviation analysis (that is, the above-mentioned process of statistical target time range) based on the execution information, so as to facilitate management improvement.
[0094] It can be seen that the solution provided by the present application achieves the purpose of compliance testing based on independent business rule files, thereby achieving the technical effect of reducing operation and maintenance costs, and further solves the technical problem of high operation and maintenance costs in the related technology of coupling business rules with business codes to perform compliance testing on business data.
[0095] Example 2
[0096] According to an embodiment of the present invention, an embodiment of a data information processing device is provided, wherein: Figure 3 is a schematic diagram of an optional data information processing device according to an embodiment of the present invention, such as Figure 3 As shown, the device comprises:
[0097] A first acquisition module 301 is used to acquire multiple business processes, wherein each business process includes multiple business links, and the multiple business links include a target business link;
[0098] The second acquisition module 302 is used to acquire the correspondence between multiple rule files and multiple target business links, and for each business process, according to the correspondence, determine the rule file corresponding to the target business link in the business process from the multiple rule files to obtain the target rule file;
[0099] The first processing module 303 is used to determine, for each business process, a target system for executing the business process, import the target rule file corresponding to the business process into the target system, and associate the target rule file with the target business link in the target system, wherein the target system is used to determine whether the business data of the target business link meets the target specification based on the target rule file.
[0100] It should be noted that the above-mentioned first acquisition module 301, second acquisition module 302 and first processing module 303 correspond to steps S101 to S103 in the above-mentioned embodiment, and the examples and application scenarios implemented by the three modules and the corresponding steps are the same, but are not limited to the contents disclosed in the above-mentioned embodiment 1.
[0101] Optionally, the data information processing device also includes: a second acquisition module, used to acquire multiple preset system files; a second processing module, used to extract data from the system file for each system file to obtain multiple system clauses corresponding to the system file; and a receiving module, used to receive a rule file generated by the target object based on multiple system clauses to obtain multiple rule files.
[0102] Optionally, the second acquisition module also includes: an acquisition sub-module, used to acquire keywords corresponding to the business process for each business process; a determination sub-module, used to determine the rule file that matches the business process from multiple rule files based on the keywords corresponding to the business process and the file contents of multiple rule files, and construct a matching relationship between multiple business processes and multiple rule files based on the rule files matching each business process; and a receiving sub-module, used to receive the corresponding relationship between multiple rule files generated by the target object based on the matching relationship and multiple target business links.
[0103] Optionally, the data information processing device also includes: a first determination module, used to determine, for each rule file, data attributes of the data required to use the rule file; a second determination module, used to select an interval based on the attribute value of the data attribute to determine multiple entities, and determine the edges between the entities based on the association relationship between the attribute values of the data attributes; a third processing module, used to construct an entity relationship graph based on multiple entities and the edges between the entities, wherein the target system is used to determine the attribute values of the data attributes associated with the business data based on the entity relationship graph and the business data, and judge whether the business data meets the target specification based on the attribute values of the data attributes associated with the business data and the target rule file.
[0104] Optionally, the data information processing device also includes: a third acquisition module, used to obtain execution information generated by the target system; a fourth processing module, used to extract a supervision factor from the execution information, wherein the supervision factor includes at least one of the following: the number of triggering times of the target operation in the target rule file, the identifier of the object that triggers the target operation, and the attribute value of the data attribute that triggers the target operation; a fourth acquisition module, used to obtain a preset reminder trigger condition and determine whether the supervision factor meets the reminder trigger condition; and a fifth processing module, used to trigger the reminder operation corresponding to the reminder trigger condition when the supervision factor meets the reminder trigger condition.
[0105] Optionally, the data information processing device also includes: a first calculation module, used to calculate, for each business process, the proportion of the target business link in the business process that has been associated with the target rule file in the multiple business links of the business process; a second calculation module, used to calculate the target proportion value based on the proportion values corresponding to multiple business processes; and a sixth processing module, used to send a first prompt message to the target object when the target proportion value is less than a preset proportion value, wherein the first prompt message is used to prompt the target object to update multiple rule files or update multiple business processes.
[0106] Optionally, the data information processing device also includes: a fifth acquisition module, used to acquire execution information generated by the target system; a seventh processing module, used to extract the number of triggering of the target operation in the target rule file within the preset time range from the execution information, and extract the number of execution of the target rule file within the preset time range from the execution information; a judgment module, used to judge whether the preset time range is the target time range based on the number of triggering times within the preset time range and the number of executions of the target rule file, wherein the target time range refers to the time range in which the triggering frequency of the target operation is greater than the preset frequency; an eighth processing module, used to send a second prompt message to the target object when the preset time range is the target time range, wherein the second prompt message is used to prompt the target object to update multiple rule files according to the target time range.
[0107] Example 3
[0108] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is further provided, in which a computer program is stored, wherein the computer program is configured to execute the above-mentioned data information processing method when running.
[0109] Example 4
[0110] According to another aspect of an embodiment of the present invention, there is also provided an electronic device, wherein: Figure 4 is a schematic diagram of an optional electronic device according to an embodiment of the present invention, such as Figure 4 As shown, the electronic device includes one or more processors; a memory for storing one or more programs, which, when the one or more programs are executed by the one or more processors, enables the one or more processors to run the programs, wherein the programs are configured to execute the above-mentioned data information processing method when running.
[0111] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0112] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0113] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0114] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed over multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0115] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0116] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the methods of each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.
[0117] The above are only preferred 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 data information processing method, characterized in that: include: Acquire multiple business processes, wherein each business process includes multiple business links, and the multiple business links include a target business link; Acquire a correspondence between a plurality of rule files and a plurality of target business links, and for each business process, determine a rule file corresponding to the target business link in the business process from the plurality of rule files according to the correspondence, and obtain a target rule file; For each business process, determine the target system for executing the business process, import the target rule file corresponding to the business process into the target system, and associate the target rule file with the target business link in the target system, wherein the target system is used to determine whether the business data of the target business link meets the target specifications based on the target rule file.
2. The method according to claim 1, characterized in that The multiple rule files are obtained in the following manner: Obtain multiple preset system files; For each system file, extract data from the system file to obtain multiple system clauses corresponding to the system file; The rule files generated by the target object based on the multiple system clauses are received to obtain the multiple rule files.
3. The method according to claim 1, characterized in that Obtain the correspondence between multiple rule files and multiple target business links, including: For each business process, obtain keywords corresponding to the business process; According to the keywords corresponding to the business process and the file contents of the multiple rule files, determine the rule file matching the business process from the multiple rule files, and build a matching relationship between the multiple business processes and the multiple rule files based on the rule files matching each business process; The target object receives the corresponding relationship between the multiple rule files and multiple target business links generated based on the matching relationship.
4. The method according to claim 1, characterized in that: Before importing the target rule file corresponding to the business process into the target system, the method further includes: For each rule file, determining data attributes of data required to use the rule file; Determine multiple entities according to the attribute value selection interval of the data attribute, and determine the edges between the entities according to the association relationship between the attribute values of the data attribute; An entity relationship graph is constructed based on the multiple entities and the edges between the entities, wherein the target system is used to determine the attribute values of the data attributes associated with the business data based on the entity relationship graph and the business data, and to determine whether the business data complies with the target specification based on the attribute values of the data attributes associated with the business data and the target rule file.
5. The method according to claim 1, characterized in that: The target system is also used to generate execution information of the target rule file. After associating the target rule file with the target business link in the target system, the method further includes: Acquiring the execution information generated by the target system; Extracting a supervision factor from the execution information, wherein the supervision factor includes at least one of the following: a triggering number of the target operation in the target rule file, an identifier of an object triggering the target operation, and an attribute value of a data attribute triggering the target operation; Obtaining a preset reminder triggering condition, and determining whether the supervision factor satisfies the reminder triggering condition; When the supervision factor satisfies the reminder triggering condition, a reminder operation corresponding to the reminder triggering condition is triggered.
6. The method according to claim 1, characterized in that After associating the target rule file with the target business link in the target system, the method further includes: For each business process, calculate the proportion of the target business link in the business process that has been associated with the target rule file in the multiple business links in the business process; Calculate a target proportion value according to the proportion values corresponding to the multiple business processes; When the target proportion value is less than the preset proportion value, a first prompt message is sent to the target object, wherein the first prompt message is used to prompt the target object to update the multiple rule files or update the multiple business processes.
7. The method according to claim 1, characterized in that The target system is also used to generate execution information of the target rule file. After associating the target rule file with the target business link in the target system, the method further includes: Acquiring the execution information generated by the target system; Extracting the number of times the target operation in the target rule file is triggered within a preset time range from the execution information, and extracting the number of times the target rule file is executed within the preset time range from the execution information; Based on the number of triggers within the preset time range and the number of executions of the target rule file, determining whether the preset time range is a target time range, wherein the target time range refers to a time range in which the trigger frequency of the target operation is greater than a preset frequency; In a case where the preset time range is the target time range, a second prompt message is sent to the target object, wherein the second prompt message is used to prompt the target object to update the multiple rule files according to the target time range.
8. A data information processing device, characterized in that: include: A first acquisition module is used to acquire multiple business processes, wherein each business process includes multiple business links, and the multiple business links include a target business link; A second acquisition module is used to acquire a correspondence between a plurality of rule files and a plurality of target business links, and for each business process, according to the correspondence, determine a rule file corresponding to the target business link in the business process from the plurality of rule files to obtain a target rule file; The first processing module is used to determine, for each business process, a target system for executing the business process, import a target rule file corresponding to the business process into the target system, and associate the target rule file with the target business link in the target system, wherein the target system is used to determine whether the business data of the target business link meets the target specification based on the target rule file.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program is configured to execute the data information processing method described in any one of claims 1 to 7 when running.
10. An electronic device, characterized in that: The electronic device includes one or more processors; A memory for storing one or more programs, which, when executed by the one or more processors, enables the one or more processors to run the programs, wherein the programs are configured to execute the data information processing method described in any one of claims 1 to 7 when running.