Business data verification method and device
By identifying business data structured and targeted matters, and determining the fields to be verified according to the monitoring stage for rule verification, the problem of difficult data quality is solved, the efficiency and accuracy of data processing are improved, and reliable data is provided for business analysis. support.
Patent Information
- Application Number
- CN202411185882.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-27
- Publication Date
- 2024-11-29
- Estimated Expiration
- 2044-08-27
AI Technical Summary
The quality of data in the prior art is difficult to ensure, which affects the reliability of data analysis results. Especially when government agencies and enterprises process large-scale data sets, there are data quality problems.
Through a method of verification of business data, it includes collecting structured business data from various institutions, identifying event identification, determining target matters, obtaining phase parameters, identifying monitoring stages, extracting fields to be verified, determining objects to be verified, and obtaining monitoring information and Attribute information, conduct rule verification to ensure data accuracy and compliance.
It significantly improves the efficiency and quality of business data processing, ensures data accuracy and compliance, provides more accurate analytical data, and provides reliable data support for subsequent business analysis.
Smart Images

Figure CN119046276A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and in particular to a method and device for verifying business data. Background Art
[0002] With the development of information technology, government agencies and enterprises need to process more and more large-scale data sets. In practical applications, government agencies such as bureaus and state offices often need to collect data from different sources and conduct comprehensive analysis to formulate policies or support decision-making. However, in the process of data interaction, data quality issues often affect the reliability of the final analysis results. Therefore, an effective data processing and verification method is needed to ensure the quality of data. Summary of the invention
[0003] The present disclosure provides a method and device for verifying business data, so as to at least solve the problem that the quality of data is difficult to ensure in the related art.
[0004] The first aspect of the present application proposes a business data verification method, including: collecting structured first business data from various institutions; identifying the matter identifier carried by the first business data, and determining the target matter corresponding to the first business data based on the matter identifier; obtaining the stage parameters related to the target matter in the first business data, and identifying the target matter monitoring stage in which the target matter is currently located based on the stage parameters; determining at least one type of field that needs to be extracted from the first business data based on the target matter monitoring stage, and extracting at least one type of field from the first business data as the first business data field to be verified; determining one or more objects to be verified associated with the target matter based on the field to be verified; determining the monitoring information and attribute information of the object to be verified, performing rule verification on the field to be verified based on the monitoring information and attribute information, and determining the data verification result of the first business data based on the field verification result of the field to be verified.
[0005] According to one embodiment of the present application, the method for verifying business data also includes: in response to the target matter monitoring stage being the management relationship determination stage, extracting the management relationship field from the first business data as the field to be verified; in response to the target matter monitoring stage being the management implementation update stage, extracting the management implementation field from the first business data as the field to be verified.
[0006] According to one embodiment of the present application, in response to the field to be verified being a management relationship field, one or more objects to be verified associated with the target matter are determined based on the field to be verified, including: obtaining the management agency included in the management relationship field as the object to be verified; determining the monitoring information and attribute information of the object to be verified, and performing rule verification on the field to be verified based on the monitoring information and attribute information, including: determining the management flag and attribute information of the object to be verified, wherein the attribute information includes the affiliation information and / or the institutional level of the management agency; in response to the management flag indicating that the management agency is in a management state for the target matter, obtaining the management jurisdiction to which the management agency belongs based on the affiliation information; and performing rule verification on the management relationship field based on the management jurisdiction to which the management agency belongs and / or the institutional level of the management agency.
[0007] According to one embodiment of the present application, the management relationship field is subject to rule verification based on the management jurisdiction to which the management agency belongs and / or the institutional level of the management agency, including: obtaining candidate agencies affiliated to the management jurisdiction, and obtaining the management flag of each candidate agency for the target matter, in response to the existence of any candidate agency's management flag indicating a management status for the target matter, determining that the management relationship field has failed the verification; and / or, comparing the institutional level with a preset institutional level that has management qualifications for the target matter to determine whether the management agency has management qualifications for the target matter, in response to the management agency not having management qualifications for the target matter, determining that the management relationship field has failed the verification.
[0008] According to one embodiment of the present application, in response to the field to be verified being a management implementation field, one or more objects to be verified associated with the target matter are determined based on the field to be verified, including: obtaining the target sub-item included in the management implementation field as the object to be verified, wherein the target sub-item belongs to the target matter; determining the monitoring information and attribute information of the object to be verified, and performing rule verification on the field to be verified based on the monitoring information and attribute information, including: determining first status information and attribute information of the object to be verified, wherein the attribute information includes the number of implementation lists of the target sub-item; in response to the first status information indicating that the target sub-item is in a deleted state, obtaining the second status information of the sub-item implementation list corresponding to the target sub-item; and performing rule verification on the management implementation field based on the number of implementation lists of the target sub-item and / or the second status information of the sub-item implementation list corresponding to the target sub-item.
[0009] According to one embodiment of the present application, a rule verification is performed on the management implementation field based on the number of implementation lists of the target sub-items and / or the second status information of the sub-item implementation list corresponding to the target sub-item, including: in response to the number of implementation lists of the target sub-items being greater than a preset number threshold, determining that the management implementation field has not passed the verification; and / or, in response to the second status information indicating that the sub-item implementation list corresponding to the target sub-item is in an existing state, determining that the management implementation field has not passed the verification.
[0010] According to one embodiment of the present application, the business data verification method also includes: in response to the target matter monitoring stage being the management relationship determination stage, extracting a first identification field to be verified from the first business data, and verifying the validity of the first identification field to be verified, and in response to the presence of identification information that has not passed the verification in the first identification field to be verified, determining that the first identification field to be verified has not passed the verification; or, in response to the target matter monitoring stage being the management implementation update stage, extracting a second identification field to be verified from the first business data, and verifying the validity of the second identification field to be verified, and in response to the presence of identification information that has not passed the verification in the second identification field to be verified, determining that the second identification field to be verified has not passed the verification.
[0011] According to one embodiment of the present application, after collecting structured first business data from various institutions, it also includes: obtaining the source institution and timestamp corresponding to the first business data; determining the source data table corresponding to the first business data based on the source institution; storing the first business data in the source data table, and generating a data tag for the first business data based on the source institution and timestamp.
[0012] According to one embodiment of the present application, after determining the data verification result of the first business data, it also includes: screening out the verified second business data from the first business data according to the data verification result; integrating the business data based on the second business data, and obtaining the business data table generated after the integration; performing business indicator analysis based on the business data table, and generating indicator analysis results.
[0013] According to one embodiment of the present application, business data integration is performed based on the second business data to obtain a business data table generated after the integration, including: for each second business data, obtaining the business primary key contained in the second business data, and obtaining the business primary key-related data corresponding to the business primary key; determining the business data table corresponding to the business primary key-related data based on the business primary key; and integrating the business primary key-related data into the business data table based on preset organization priority information and in combination with data tags.
[0014] According to one embodiment of the present application, the business data verification method also includes: in response to the data verification result indicating that the first business data failed the verification, obtaining a verification failure field of the first business data; generating a verification failure reason for the first business data based on the verification failure field, and sending the verification failure reason to the source organization of the first business data.
[0015] According to one embodiment of the present application, the business data verification method also includes: receiving a query statement sent by a client; parsing the query statement to obtain a target business data table and a query range corresponding to the query statement; obtaining relevant data from the target business data table based on the query range, and returning the relevant data to the client.
[0016] The second aspect of the present application proposes a business data verification device, including: a data acquisition module, used to collect structured first business data from various institutions; a first identification module, used to identify the matter identifier carried by the first business data, and determine the target matter corresponding to the first business data according to the matter identifier; a second identification module, used to obtain the stage parameters related to the target matter in the first business data, and identify the target matter monitoring stage in which the target matter is currently located according to the stage parameters; a field extraction module, used to determine at least one type of field that needs to be extracted from the first business data according to the target matter monitoring stage, and to extract at least one type of field from the first business data as a field to be verified for the first business data; a rule verification module, used to determine one or more objects to be verified associated with the target matter according to the field to be verified, determine the monitoring information and attribute information of the object to be verified, perform rule verification on the field to be verified according to the monitoring information and attribute information, and determine the data verification result of the first business data according to the field verification result of the field to be verified.
[0017] According to one embodiment of the present application, the field extraction module is also used to: in response to the target matter monitoring stage being the management relationship determination stage, extract the management relationship field from the first business data as the field to be verified; in response to the target matter monitoring stage being the management implementation update stage, extract the management implementation field from the first business data as the field to be verified.
[0018] According to one embodiment of the present application, the rule verification module is also used to: obtain the management agency included in the management relationship field as the object to be verified; determine the management flag and attribute information of the object to be verified, wherein the attribute information includes the affiliation information and / or institutional level of the management agency; in response to the management flag indicating that the management agency is in a management state for the target matter, obtain the management jurisdiction to which the management agency belongs based on the affiliation information; perform rule verification on the management relationship field based on the management jurisdiction to which the management agency belongs and / or the institutional level of the management agency.
[0019] According to one embodiment of the present application, the rule verification module is also used to: obtain candidate institutions affiliated to the management jurisdiction, and obtain the management flag of each candidate institution for the target matter, in response to the existence of any candidate institution's management flag indicating a management status for the target matter, determine that the management relationship field has not passed the verification; and / or, compare the institution level with the preset institution level with the management qualification of the target matter to determine whether the management institution has the management qualification for the target matter, in response to the management institution not having the management qualification for the target matter, determine that the management relationship field has not passed the verification.
[0020] According to one embodiment of the present application, the rule verification module is also used to: obtain the target sub-item included in the management implementation field as the object to be verified, wherein the target sub-item belongs to the target matter; determine the first status information and attribute information of the object to be verified, wherein the attribute information includes the number of implementation lists of the target sub-item; in response to the first status information indicating that the target sub-item is in a deleted state, obtain the second status information of the sub-item implementation list corresponding to the target sub-item; and perform rule verification on the management implementation field according to the number of implementation lists of the target sub-item and / or the second status information of the sub-item implementation list corresponding to the target sub-item.
[0021] According to one embodiment of the present application, the rule verification module is also used to: in response to the number of implementation lists of the target sub-item being greater than a preset number threshold, determine that the management implementation field has not passed the verification; and / or, in response to the second status information indicating that the sub-item implementation list corresponding to the target sub-item is in an existing state, determine that the management implementation field has not passed the verification.
[0022] According to one embodiment of the present application, the rule verification module is also used for: in response to the target matter monitoring stage being the management relationship determination stage, extracting the first identification field to be verified from the first business data, and verifying the validity of the first identification field to be verified, and in response to the existence of identification information that has not passed the verification in the first identification field to be verified, determining that the first identification field to be verified has not passed the verification; or, in response to the target matter monitoring stage being the management implementation update stage, extracting the second identification field to be verified from the first business data, and verifying the validity of the second identification field to be verified, and in response to the existence of identification information that has not passed the verification in the second identification field to be verified, determining that the second identification field to be verified has not passed the verification.
[0023] According to one embodiment of the present application, the data acquisition module is also used to: obtain the source organization and timestamp corresponding to the first business data; determine the source data table corresponding to the first business data based on the source organization; store the first business data in the source data table, and generate a data tag for the first business data based on the source organization and timestamp.
[0024] According to one embodiment of the present application, the business data verification device also includes: a data integration module, which is used to filter out the verified second business data from the first business data according to the data verification result, perform business data integration based on the second business data, and obtain the business data table generated after the integration; an indicator analysis module, which is used to perform business indicator analysis based on the business data table and generate indicator analysis results.
[0025] According to one embodiment of the present application, the data integration module is also used to: for each piece of second business data, obtain the business primary key contained in the second business data, and obtain the business primary key-related data corresponding to the business primary key; determine the business data table corresponding to the business primary key-related data based on the business primary key; and integrate the business primary key-related data into the business data table based on preset organization priority information and combined with data tags.
[0026] According to one embodiment of the present application, the rule verification module is also used to: in response to a data verification result indicating that the first business data has failed verification, obtain a verification failure field of the first business data; generate a verification failure reason for the first business data based on the verification failure field, and send the verification failure reason to the source organization of the first business data.
[0027] According to one embodiment of the present application, the business data verification device also includes: a query module, which is used to receive a query statement sent by a client, parse the query statement, obtain a target business data table and a query range corresponding to the query statement, obtain relevant data from the target business data table based on the query range, and return the relevant data to the client.
[0028] The third aspect embodiment of the present application proposes an electronic device, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to implement a method for verifying business data as in the first aspect embodiment of the present application.
[0029] The fourth aspect embodiment of the present application proposes a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to implement the business data verification method as described in the first aspect embodiment of the present application.
[0030] The fifth aspect embodiment of the present application proposes a computer program product, including a computer program, which, when executed by a processor, implements the business data verification method as described in the first aspect embodiment of the present application.
[0031] The technical solution provided by the embodiments of the present disclosure brings at least the following beneficial effects: the present application reduces the possibility of human errors through structuring of business data, identification of target items, and determination of fields to be verified according to the target item monitoring stage for rule verification, and can significantly improve the efficiency and quality of business data processing while ensuring the accuracy and compliance of the data. Moreover, after the business data has been verified, it can help in subsequent business analysis to obtain more accurate analysis data.
[0032] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:
[0034] Figure 1 It is a schematic diagram of an exemplary implementation of a method for verifying business data shown in an embodiment of the present application.
[0035] Figure 2 It is a schematic diagram of an exemplary implementation of a method for verifying business data shown in an embodiment of the present application.
[0036] Figure 3 It is a schematic diagram of an exemplary implementation of a method for verifying business data shown in an embodiment of the present application.
[0037] Figure 4 It is a schematic diagram of a business data verification device shown in an embodiment of the present application.
[0038] Figure 5 It is a schematic diagram of a business data verification device shown in an embodiment of the present application.
[0039] Figure 6 It is a schematic diagram of an electronic device shown in one embodiment of the present application. DETAILED DESCRIPTION
[0040] 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 intended to be used to explain the present application, and should not be construed as limiting the present application.
[0041] It should be noted that the acquisition, transmission, storage, use, and processing of data in the technical solution of this application are in compliance with the relevant provisions of national laws and regulations.
[0042] It should be noted that in the embodiments of the present application, certain software, components, models and other existing solutions in the industry may be mentioned, and they should be regarded as exemplary. Their purpose is only to illustrate the feasibility of implementing the technical solution of the present application, but it does not mean that the applicant has or will necessarily use the solution.
[0043] The following is an introduction to some professional terms involved in this application:
[0044] Task: A task is a specific activity or task that defines the main objectives and scope of the activity. For example, "food safety inspection" can be an task.
[0045] Sub-items: Sub-items refer to specific inspection items or tasks under a matter, which are the result of further subdividing the matter. For example, under the matter of "food safety inspection", there may be sub-items such as "food production license inspection" and "food label compliance inspection".
[0046] Sub-item implementation checklist: The sub-item implementation checklist refers to the specific implementation details and standards for a sub-item.
[0047] Figure 1 is a schematic diagram of an exemplary implementation of a method for verifying business data shown in the present application, such as Figure 1 As shown, the verification method of the business data includes the following steps:
[0048] S101, collecting structured first business data from various organizations.
[0049] The structured business data is collected from various sources (such as various institutions, departments, etc.) as the first business data, which can be exported from a database, imported from a file, or requested by an API.
[0050] Among them, structured data refers to data with a fixed format or limited length, which can facilitate subsequent data processing and analysis.
[0051] S102, identifying an issue identifier carried by the first business data, and determining a target issue corresponding to the first business data according to the issue identifier.
[0052] Among them, each matter corresponds to a unique matter identifier.
[0053] For example, if the first business data is data related to food quality supervision, it can be identified that the target item corresponding to the first business data is "food quality supervision" based on the item identifier carried by the first business data.
[0054] S103, obtaining a stage parameter related to the target item in the first business data, and identifying the target item monitoring stage in which the target item is currently located according to the stage parameter.
[0055] For example, if the phase parameter of the first business data is intended to express the management relationship between the target item and its related institutions, for example, if the phase parameter is an item claim table, then the target item monitoring phase of the first business data can be determined as the management relationship determination phase. For example, if the first business data is intended to express that the target item is managed by institution A, it can also be understood that institution A has claimed the management rights of the target item. For example, if the first business data is intended to express that the Food Supervision and Administration Bureau has claimed the management rights of the item "food quality supervision", then the target item monitoring phase of the first business data can be determined as the management relationship determination phase.
[0056] For example, if the phase parameter of the first business data is intended to express the relevant update information during the implementation of the target item, for example, the phase parameter is the creation instruction of the implementation list, then the target item monitoring phase of the first business data can be determined to be the management implementation update phase. For example, the creation or update of the relevant implementation list of the target item, and the relevant management data of the target item (for example, the penalty information of law enforcement personnel on a certain enterprise based on a certain implementation list, etc.).
[0057] S104, determining at least one type of field that needs to be extracted from the first business data according to the target event monitoring stage, and extracting at least one type of field from the first business data as the field to be verified of the first business data.
[0058] Based on the target item monitoring stage in which the target item is currently located, determine which fields are necessary for verification, and extract these fields from the first business data as the fields of the first business data to be verified.
[0059] S105: Determine one or more objects to be verified associated with the target item according to the field to be verified.
[0060] Among them, the object to be verified refers to the object that needs to be verified contained in the field to be verified. For example, if the field to be verified includes the management agency corresponding to the first business data, and it is preset that the authenticity of the management agency needs to be verified or whether the institutional level of the management agency meets the requirements, the management agency will be taken as the object that needs to be verified contained in the field to be verified.
[0061] S106, determining the monitoring information and attribute information of the object to be verified, performing rule verification on the field to be verified according to the monitoring information and attribute information, and determining the data verification result of the first business data according to the field verification result of the field to be verified.
[0062] The monitoring information may include the management mark or status information of the object to be verified, which generally refers to information that will change. For example, if the object to be verified is the management agency corresponding to the first business data, the monitoring information may be the management mark of the management agency, which is used to indicate whether the management agency is currently in the management state for the target matter.
[0063] The attribute information is the attribute of the object to be verified. For example, if the object to be verified is the management organization corresponding to the first business data, the attribute information may be the organization level information or the affiliation information of the management organization.
[0064] The verification rules corresponding to each field to be verified are obtained, and each field to be verified is verified based on the verification rules to obtain the field verification result of each field to be verified.
[0065] If all the to-be-verified fields of the first business data are verified, it is determined that the first business data is verified.
[0066] If any field to be verified in the first business data fails the verification, it is determined that the first business data fails the verification.
[0067] The verification rules include but are not limited to the following:
[0068] 1. Within the same administrative area, a matter can only be claimed by one institution (to avoid unclear authority over the matter).
[0069] 2. Cross-level claiming of matters is not allowed.
[0070] 3. Each item may include one or more sub-items, but each sub-item can only have one implementation checklist (to avoid multiple sets of management standards for one sub-item).
[0071] 4. If you want to delete a sub-item, you must first delete the implementation list corresponding to the sub-item.
[0072] An embodiment of the present application proposes a business data verification method, including: collecting structured first business data from various institutions; identifying an item identifier carried by the first business data, and determining a target item corresponding to the first business data based on the item identifier; obtaining a stage parameter related to the target item in the first business data, and identifying the target item monitoring stage in which the target item is currently located based on the stage parameter; determining at least one type of field that needs to be extracted from the first business data based on the target item monitoring stage, and extracting at least one type of field from the first business data as a field to be verified for the first business data; determining one or more objects to be verified associated with the target item based on the field to be verified; determining monitoring information and attribute information of the object to be verified, performing rule verification on the field to be verified based on the monitoring information and attribute information, and determining a data verification result of the first business data based on the field verification result of the field to be verified. This application can significantly improve the efficiency and quality of business data processing by structuring business data, identifying target items, and determining the fields to be verified according to the target item monitoring stage for rule verification. It reduces the possibility of human errors through an automated verification process, while ensuring the accuracy and compliance of the data. In addition, after the business data has been verified, it will help in subsequent business analysis to obtain more accurate analysis data.
[0073] Furthermore, if the data verification result indicates that the first business data has failed verification, the verification failure field of the first business data is obtained; the verification failure reason of the first business data is generated based on the verification failure field, and the verification failure reason is sent to the source institution of the first business data. In this way, the field that caused the verification failure of the first business data can be accurately found, ensuring that the reason for the verification failure is communicated to the relevant institution in a timely manner, forming a feedback closed loop, ensuring that the problem is solved, and after the relevant institution modifies the business data that failed verification, it can receive the modified business data again and re-verify the data.
[0074] Figure 2 is a schematic diagram of an exemplary implementation of a method for verifying business data shown in the present application, such as Figure 2 As shown, the verification method of the business data includes the following steps:
[0075] S201, collecting structured first business data from various institutions.
[0076] S202, identifying an issue identifier carried by the first business data, and determining a target issue corresponding to the first business data according to the issue identifier.
[0077] S203, obtaining a stage parameter related to the target item in the first business data, and identifying the target item monitoring stage in which the target item is currently located according to the stage parameter.
[0078] Regarding the specific implementation of steps S201 to S203, reference may be made to the specific introduction of the relevant parts in the above embodiments, which will not be elaborated here.
[0079] S204: In response to the target item monitoring stage being the management relationship determination stage, extracting a management relationship field from the first business data as a field to be verified.
[0080] The management relationship field refers to a field related to the management relationship of the target item, such as management agency, management mark and other fields.
[0081] S205 , in response to the target item monitoring stage being the management implementation update stage, extracting a management implementation field from the first business data as a field to be verified.
[0082] Among them, the management implementation fields refer to the fields related to the management implementation process of the target items, such as sub-items, implementation checklists and other fields.
[0083] S206: Determine one or more objects to be verified associated with the target item according to the field to be verified.
[0084] S207, determining the monitoring information and attribute information of the object to be verified, and performing rule verification on the field to be verified according to the monitoring information and attribute information.
[0085] If the field to be verified is a management relationship field, the management agency included in the management relationship field is obtained as the object to be verified; then the management flag (here the management flag is used as the monitoring information of the object to be verified) and attribute information of the object to be verified are determined, and the rules of the field to be verified are verified based on the management flag and attribute information.
[0086] As a possible situation, the attribute information of the management agency includes the affiliation information of the management agency. If the management flag indicates that the management agency is in a management state for the target item, the management jurisdiction to which the management agency belongs is obtained according to the affiliation information, and the candidate agencies affiliated with the management jurisdiction are obtained, and the management flag of each candidate agency for the target item is obtained. If there is any candidate agency whose management flag indicates that the target item is in a management state, it is determined that the management relationship field has not passed the verification. The corresponding verification rule here is: within the same management jurisdiction, an item can only be claimed by one agency. This ensures that no two or more management agencies have management authority over the same target item at the same time, avoiding possible authority conflicts or management confusion.
[0087] As another possible situation, the attribute information of the management agency includes the agency level of the management agency. The agency level is compared with the preset agency level with the management qualification of the target matter to determine whether the management agency has the management qualification for the target matter. If it is determined that the management agency does not have the management qualification for the target matter, it is determined that the management relationship field has not passed the verification. The corresponding verification rule here is: cross-level claiming of matters is not allowed. In this way, the effectiveness and compliance of management activities can be ensured by confirming whether the level of the management agency meets the preset standards.
[0088] If the field to be verified is a management implementation field, the target sub-item included in the management implementation field is obtained as the object to be verified, wherein the target sub-item belongs to the scope of the target matter, and the first status information (here the first status information is used as the monitoring information of the object to be verified) and attribute information of the object to be verified are determined, the attribute information includes the number of implementation lists of the target sub-item, and the rule verification is performed on the field to be verified based on the first status information and the attribute information.
[0089] As a possible situation, if the number of implementation lists of the target sub-item is greater than the preset number threshold (set to 1 in this application), it is determined that the management implementation field has not passed the verification. The corresponding verification rule here is: each sub-item can only have one implementation list. This ensures that each sub-item has only one implementation list to avoid multiple sets of management standards for the same sub-item during the management implementation process.
[0090] As another possible situation, if the first status information indicates that the target sub-item is in the deleted state, the second status information of the sub-item implementation list corresponding to the target sub-item is obtained. If the second status information indicates that the sub-item implementation list corresponding to the target sub-item is in the existing state, it is determined that the management implementation field has not passed the verification. The corresponding verification rule here is: If you want to delete a sub-item, you must first delete the implementation list corresponding to the sub-item. Since deleting a sub-item means that the sub-item is no longer managed, then accordingly, the implementation list corresponding to the sub-item also needs to be deleted, so as to avoid residual implementation list data.
[0091] S208: Determine a data verification result of the first business data according to a field verification result of the field to be verified.
[0092] If all the to-be-verified fields of the first business data are verified, it is determined that the first business data is verified.
[0093] If any field to be verified in the first business data fails the verification, it is determined that the first business data fails the verification.
[0094] The embodiment of the present application determines the fields to be verified for rule verification according to the target item monitoring stage, and introduces the verification rules of each field in detail, which can significantly improve the efficiency and quality of business data processing while ensuring the accuracy and compliance of the data. Moreover, after the business data has been verified, it will help in subsequent business analysis to obtain more accurate analysis data.
[0095] Furthermore, in order to ensure the validity of the first business data and avoid the presence of invalid identification information in the first business data, in this application, it is also necessary to verify the relevant identification contained in the first business data.
[0096] As an achievable method, in response to the target event monitoring stage being the management relationship determination stage, the first identification field to be verified is extracted from the first business data. The first identification field to be verified refers to an identification field to be verified for validity in the first business data in the management relationship determination stage, such as identification fields such as event code and department code.
[0097] After determining the first identification field to be verified, the validity of the first identification field to be verified is verified. In response to the presence of identification information that has not passed the verification in the first identification field to be verified, it is determined that the first identification field to be verified has failed the verification, that is, it is determined that the first business data has failed the verification.
[0098] As another achievable method, in response to the target item monitoring stage being the management implementation update stage, a second identification field to be verified is extracted from the first business data. The second identification field to be verified is an identification field to be verified for validity in the first business data in the management implementation update stage, such as an identification field such as an item code, a sub-item code, and an implementation list code.
[0099] After determining the second identification field to be verified, the validity of the second identification field to be verified is verified. In response to the existence of identification information that has not passed the verification in the second identification field to be verified, it is determined that the second identification field to be verified has failed the verification, that is, it is determined that the first business data has failed the verification.
[0100] Among them, the identification fields contained in the first identification field to be verified and the second identification field to be verified may be repeated, for example, both may be set with matter codes.
[0101] Figure 3 is a schematic diagram of an exemplary implementation of a method for verifying business data shown in the present application, such as Figure 3 As shown, the verification method of the business data includes the following steps:
[0102] S301, collecting structured first business data from various organizations.
[0103] After collecting structured first business data from various organizations, the method further includes: obtaining the source organization and timestamp corresponding to the first business data; determining the source data table corresponding to the first business data according to the source organization; storing the first business data in the source data table, and generating a data tag for the first business data based on the source organization and timestamp. In this way, the first business data can be stored in the corresponding source data table based on the source organization of the first business data, so as to facilitate the query of the first business data when needed.
[0104] S302, identifying an issue identifier carried by the first business data, and determining a target issue corresponding to the first business data according to the issue identifier.
[0105] S303, obtaining a stage parameter related to the target item in the first business data, and identifying the target item monitoring stage in which the target item is currently located according to the stage parameter.
[0106] S304, determining at least one type of field that needs to be extracted from the first business data according to the target event monitoring stage, and extracting at least one type of field from the first business data as the field to be verified of the first business data.
[0107] S305, determining one or more objects to be verified associated with the target item according to the field to be verified;
[0108] S306, determining the monitoring information and attribute information of the object to be verified, performing rule verification on the field to be verified according to the monitoring information and attribute information, and determining the data verification result of the first business data according to the field verification result of the field to be verified.
[0109] Regarding the specific implementation of steps S302 to S306, reference may be made to the specific introduction of the relevant parts in the above embodiments, which will not be elaborated here.
[0110] S307, filtering out verified second business data from the first business data according to the data verification result.
[0111] The verified first business data is used as the second business data.
[0112] S308, integrating the business data based on the second business data, and obtaining a business data table generated after the integration.
[0113] Performing business data integration based on the second business data to obtain a business data table generated after the integration includes: for each piece of second business data, obtaining a business primary key contained in the second business data, and obtaining business primary key related data corresponding to the business primary key; determining a business data table corresponding to the business primary key related data according to the business primary key, and integrating the business primary key related data into the business data table.
[0114] Exemplarily, if a business data table is a business data table specifically used to store data related to law enforcement officers, the business primary key corresponding to the business data table is the ID number of the law enforcement officer. That is, the ID number of the law enforcement officer contained in the second business data and the business primary key related data of the law enforcement officer contained in the second business data (for example, the gender, educational background, etc. of the law enforcement officer) are obtained, and the business primary key related data of the law enforcement officer are integrated into the business data table of the law enforcement officer related data.
[0115] Among them, if there are multiple data for the same business primary key, the preset agency priority information is combined with the data label, and the latest timestamp is used as the first standard. If the timestamps are the same, the data of the source agency with a higher priority will be used to integrate the business primary key related data into the business data table.
[0116] The business data table is used to store data from different organizations but with the same business primary key. For example, the law enforcement personnel data of organizations A, B, and C are all stored in the same business data table for law enforcement personnel data.
[0117] Among them, after completing the integration of the business data table, add a batch number (with a time field to facilitate subsequent tracing) to the business data table.
[0118] S309, performing business indicator analysis based on the business data table to generate indicator analysis results.
[0119] For example, with respect to a business data table used to store data related to law enforcement personnel, the educational level distribution and gender distribution of the law enforcement personnel may be analyzed based on the business data table.
[0120] Exemplarily, for a business data table used to store matter-related data, the number of claimed matters, the number of claimed matters, the number of new matters, the number of new sub-items, matter coverage, the number of administrative inspection matters, the number of mandatory inspection matters, the number of administrative penalty matters, etc. can be analyzed based on the business data table.
[0121] Exemplarily, for a business data table used to store data related to management objects, the total number of management objects, the proportion of enterprises among the management objects, the average number of inspections of each enterprise, the enterprise problem discovery rate, etc. can be analyzed based on the business data table.
[0122] The embodiment of the present application determines the fields to be verified for rule verification according to the target event monitoring stage, which can significantly improve the efficiency and quality of business data processing while ensuring the accuracy and compliance of the data. Moreover, after the business data is verified, it is integrated into the relevant business data table, making the analysis results of the relevant business indicators more accurate.
[0123] Furthermore, in addition to the calculation of relevant indicators, users often need to query business data. Accordingly, the query statement sent by the client is received; the query statement is parsed to obtain the target business data table and query range corresponding to the query statement; the relevant data is obtained from the target business data table based on the query range, and the relevant data is returned to the client. This makes it convenient for users to query relevant data in the business data table, and by returning query results quickly and accurately, the interactivity and usability of the system are enhanced, and user satisfaction is improved.
[0124] Figure 4 is a schematic diagram of a business data verification device shown in this application, such as Figure 4 As shown, the business data verification device 400 includes a data acquisition module 401, a first identification module 402, a second identification module 403, a field extraction module 404, and a rule verification module 405, wherein:
[0125] The data acquisition module 401 is used to collect structured first business data from various organizations.
[0126] The first identification module 402 is used to identify the matter identifier carried by the first business data, and determine the target matter corresponding to the first business data according to the matter identifier.
[0127] The second identification module 403 is used to obtain the stage parameters related to the target item in the first business data, and identify the target item monitoring stage in which the target item is currently located according to the stage parameters.
[0128] The field extraction module 404 is used to determine at least one type of field that needs to be extracted from the first business data according to the target event monitoring stage, and to extract at least one type of field from the first business data as the field to be verified of the first business data.
[0129] The rule verification module 405 is used to determine one or more objects to be verified associated with the target matter based on the field to be verified, determine the monitoring information and attribute information of the objects to be verified, perform rule verification on the field to be verified based on the monitoring information and attribute information, and determine the data verification result of the first business data based on the field verification result of the field to be verified.
[0130] This device can significantly improve the efficiency and quality of business data processing by structuring business data, identifying target items, and determining the fields to be verified according to the target item monitoring stage for rule verification. It reduces the possibility of human errors through an automated verification process, while ensuring the accuracy and compliance of the data. In addition, after the business data has been verified, it can help in subsequent business analysis to obtain more accurate analysis data.
[0131] Furthermore, the field extraction module 404 is also used to: in response to the target matter monitoring stage being the management relationship determination stage, extract the management relationship field from the first business data as the field to be verified; in response to the target matter monitoring stage being the management implementation update stage, extract the management implementation field from the first business data as the field to be verified.
[0132] Furthermore, the rule verification module 405 is also used to: obtain the management agency included in the management relationship field as the object to be verified; determine the management flag and attribute information of the object to be verified, wherein the attribute information includes the affiliation information and / or the institutional level of the management agency; in response to the management flag indicating that the management agency is in a management state for the target matter, obtain the management jurisdiction to which the management agency belongs according to the affiliation information; perform rule verification on the management relationship field according to the management jurisdiction to which the management agency belongs and / or the institutional level of the management agency.
[0133] Furthermore, the rule verification module 405 is also used to: obtain candidate institutions affiliated to the management jurisdiction, and obtain the management mark of each candidate institution for the target matter, in response to the existence of any candidate institution's management mark indicating a management status for the target matter, determine that the management relationship field has not passed the verification; and / or, compare the institution level with the preset institution level with the management qualification of the target matter to determine whether the management institution has the management qualification for the target matter, in response to the management institution not having the management qualification for the target matter, determine that the management relationship field has not passed the verification.
[0134] Furthermore, the rule verification module 405 is also used to: obtain the target sub-item included in the management implementation field as the object to be verified, wherein the target sub-item belongs to the target matter; determine the first status information and attribute information of the object to be verified, wherein the attribute information includes the number of implementation lists of the target sub-item; in response to the first status information indicating that the target sub-item is in a deleted state, obtain the second status information of the sub-item implementation list corresponding to the target sub-item; and perform rule verification on the management implementation field according to the number of implementation lists of the target sub-item and / or the second status information of the sub-item implementation list corresponding to the target sub-item.
[0135] Furthermore, the rule verification module 405 is also used to: in response to the number of implementation lists of the target sub-item being greater than a preset number threshold, determine that the management implementation field has not passed the verification; and / or, in response to the second status information indicating that the sub-item implementation list corresponding to the target sub-item is in an existing state, determine that the management implementation field has not passed the verification.
[0136] Furthermore, the rule verification module 405 is also used for: in response to the target matter monitoring stage being the management relationship determination stage, extracting the first identification field to be verified from the first business data, and verifying the validity of the first identification field to be verified; in response to the existence of identification information that has not passed the verification in the first identification field to be verified, determining that the first identification field to be verified has not passed the verification; or, in response to the target matter monitoring stage being the management implementation update stage, extracting the second identification field to be verified from the first business data, and verifying the validity of the second identification field to be verified; in response to the existence of identification information that has not passed the verification in the second identification field to be verified, determining that the second identification field to be verified has not passed the verification.
[0137] Furthermore, the data acquisition module 401 is also used to: obtain the source organization and timestamp corresponding to the first business data; determine the source data table corresponding to the first business data according to the source organization; store the first business data in the source data table, and generate a data tag for the first business data based on the source organization and timestamp.
[0138] Furthermore, the business data verification device 400 also includes: a data integration module, which is used to filter out the verified second business data from the first business data according to the data verification result, perform business data integration based on the second business data, and obtain the business data table generated after the integration; an indicator analysis module, which is used to perform business indicator analysis based on the business data table and generate indicator analysis results.
[0139] Furthermore, the data integration module is also used to: for each piece of second business data, obtain the business primary key contained in the second business data, and obtain the business primary key-related data corresponding to the business primary key; determine the business data table corresponding to the business primary key-related data according to the business primary key; and integrate the business primary key-related data into the business data table according to the preset organization priority information and in combination with the data label.
[0140] Furthermore, the rule verification module 405 is also used to: in response to the data verification result indicating that the first business data has failed the verification, obtain a verification failure field of the first business data; generate a verification failure reason for the first business data based on the verification failure field, and send the verification failure reason to the source organization of the first business data.
[0141] Furthermore, the business data verification device 400 also includes: a query module, which is used to receive the query statement sent by the client, parse the query statement, obtain the target business data table and query range corresponding to the query statement, obtain relevant data from the target business data table based on the query range, and return the relevant data to the client.
[0142] Figure 5FIG. 1 is a schematic diagram of a business data verification device according to an embodiment of the present application. Figure 5 As shown, the business data verification device can be divided into five layers, namely, the convergence layer, the verification layer, the integration layer, the analysis layer, and the push layer.
[0143] Among them, the convergence layer includes a data acquisition module.
[0144] Among them, the verification layer includes a first recognition module, a second recognition module, a field extraction module, and a rule verification module.
[0145] The integration layer includes a data integration module.
[0146] Among them, the analysis layer includes an indicator analysis module.
[0147] The functions of the above modules have been specifically introduced in the above relevant parts and will not be repeated here.
[0148] Among them, the push layer includes an analysis result push module, which is used to push the indicator analysis data obtained by the analysis layer to the external comprehensive platform.
[0149] Among them, the verification device for business data can adopt a data warehouse.
[0150] When acquiring data, the aggregation layer can extract data from the business relational database to the distributed file system (Hadoop Distributed File System, HDFS) through SQOOP, and automatically create a table on hive to realize automatic data extraction. At the same time, the extracted data is marked with timestamp tags and data source tags.
[0151] The verification layer uses Spark to verify the business rules of the aggregation layer data in Hive. At the same time, the data that fails the business rules is labeled and sent back to the source agency. After the source agency repairs it, it resubmits it, and the data link forms a closed loop.
[0152] Among them, in this application, airflow is used for scheduling management of data verification tasks. Each step of data processing is configured in the scheduling, which can reflect the detailed processing process of the data to form a data lineage relationship. The scheduling configuration is written through a python script, and a scheduling failure alarm is added to connect with external software, and the failed scheduling log message is sent to the external software for alarm.
[0153] Among them, in this application, spark and MapReduce are used as distributed computing engines.
[0154] In order to implement the above embodiment, the present application embodiment further proposes an electronic device 600, such as Figure 6 As shown, the electronic device 600 includes: a processor 601 and a memory 602 communicatively connected to the processor, the memory 602 stores instructions executable by at least one processor, and the instructions are executed by at least one processor 601 to implement the business data verification method shown in the above embodiment.
[0155] In order to implement the above-mentioned embodiments, the embodiments of the present application also propose a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to enable a computer to implement the business data verification method shown in the above-mentioned embodiments.
[0156] In order to implement the above embodiments, the embodiments of the present application also propose a computer program product, including a computer program, which implements the business data verification method shown in the above embodiments when executed by a processor.
[0157] In the description of the present application, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise", "axial", "radial", "circumferential" and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present application.
[0158] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this application, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0159] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.
[0160] It should be noted that in the embodiments of the present application, certain software, components, models and other existing solutions in the industry may be mentioned, and they should be regarded as exemplary. Their purpose is only to illustrate the feasibility of implementing the technical solution of the present application, but it does not mean that the applicant has or will necessarily use the solution.
[0161] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in the field can change, modify, replace and modify the above embodiments within the scope of the present application.
Claims
1. A method for verifying business data, characterized in that: include: Collect structured first business data from each organization; Identifying the matter identifier carried by the first business data, and determining the target matter corresponding to the first business data according to the matter identifier; Acquire a phase parameter related to the target item in the first business data, and identify the target item monitoring phase in which the target item is currently located according to the phase parameter; Determining at least one type of field that needs to be extracted from the first business data according to the target event monitoring stage, and extracting the at least one type of field from the first business data as a field to be verified in the first business data; Determine one or more objects to be verified associated with the target item according to the field to be verified; Determine the monitoring information and attribute information of the object to be verified, perform rule verification on the field to be verified according to the monitoring information and attribute information, and determine the data verification result of the first business data according to the field verification result of the field to be verified.
2. The method according to claim 1, characterized in that The method further comprises: In response to the target item monitoring stage being a management relationship determination stage, extracting a management relationship field from the first business data as the field to be verified; In response to the target item monitoring stage being the management implementation update stage, a management implementation field is extracted from the first business data as the field to be verified.
3. The method according to claim 2, characterized in that In response to the field to be verified being a management relationship field, determining one or more objects to be verified associated with the target item according to the field to be verified includes: Acquire the management organization included in the management relationship field as the object to be verified; The determining of the monitoring information and attribute information of the object to be verified, and performing rule verification on the field to be verified according to the monitoring information and attribute information, includes: Determining the management mark and attribute information of the object to be verified, wherein the attribute information includes the affiliation information and / or the level of the management organization; In response to the management flag indicating that the management agency is in a management state for the target matter, obtaining the management jurisdiction to which the management agency belongs according to the affiliation information; The management relationship field is rule-verified according to the management jurisdiction to which the management agency belongs and / or the agency level of the management agency.
4. The method according to claim 3, characterized in that The checking of the management relationship field according to the management jurisdiction to which the management agency belongs and / or the agency level of the management agency includes: Acquire candidate institutions affiliated to the management jurisdiction, and acquire the management flag of each candidate institution for the target matter, and in response to the existence of any candidate institution indicating a management state for the target matter, determine that the management relationship field has failed the verification; and / or, The organization level is compared with a preset organization level that has management qualifications for the target matter to determine whether the management organization has management qualifications for the target matter. In response to the management organization not having management qualifications for the target matter, it is determined that the management relationship field has failed the verification.
5. The method according to claim 2, characterized in that: In response to the field to be verified being a management implementation field, determining one or more objects to be verified associated with the target item according to the field to be verified includes: Acquire the target sub-item included in the management implementation field as the object to be verified, wherein the target sub-item belongs to the target matter; The determining of the monitoring information and attribute information of the object to be verified, and performing rule verification on the field to be verified according to the monitoring information and attribute information, includes: Determine the first state information and attribute information of the object to be verified, wherein the attribute information includes the number of implementation lists of the target sub-items; In response to the first status information indicating that the target sub-item is in a deleted state, obtaining second status information of a sub-item implementation list corresponding to the target sub-item; The management implementation field is rule-verified according to the number of implementation lists of the target sub-item and / or the second status information of the sub-item implementation list corresponding to the target sub-item.
6. The method according to claim 5, characterized in that The performing rule verification on the management implementation field according to the number of implementation lists of the target sub-item and / or the second status information of the sub-item implementation list corresponding to the target sub-item includes: In response to the number of implementation lists of the target sub-item being greater than a preset number threshold, determining that the management implementation field has failed verification; and / or, In response to the second status information indicating that the sub-item implementation list corresponding to the target sub-item is in an existing state, it is determined that the management implementation field has failed the verification.
7. The method according to any one of claims 2 to 6, characterized in that: The method further comprises: In response to the target item monitoring stage being the management relationship determination stage, extracting a first identification field to be verified from the first business data, and performing validity verification on the first identification field to be verified, and in response to the presence of identification information that has not passed the verification in the first identification field to be verified, determining that the first identification field to be verified has not passed the verification; or, In response to the target item monitoring stage being the management implementation update stage, a second identification field to be verified is extracted from the first business data, and the validity of the second identification field to be verified is verified. In response to the presence of identification information that has not passed the verification in the second identification field to be verified, it is determined that the second identification field to be verified has not passed the verification.
8. The method according to claim 1, characterized in that After collecting the structured first business data from each organization, the method further includes: Obtaining a source organization and a timestamp corresponding to the first business data; Determine, according to the source organization, a source data table corresponding to the first business data; The first business data is stored in the source data table, and a data tag for the first business data is generated based on the source organization and the timestamp.
9. The method according to claim 1, characterized in that: After determining the data verification result of the first business data, the method further includes: Filtering out verified second business data from the first business data according to the data verification result; Performing business data integration based on the second business data, and obtaining a business data table generated after integration; Perform business indicator analysis based on the business data table to generate indicator analysis results.
10. The method according to claim 9, characterized in that The performing business data integration based on the second business data to obtain a business data table generated after the integration includes: For each piece of the second business data, obtain a business primary key contained in the second business data, and obtain business primary key related data corresponding to the business primary key; Determine the business data table corresponding to the business primary key related data according to the business primary key; According to the preset organization priority information and in combination with the data tag, the business primary key related data is integrated into the business data table.
11. The method according to claim 8, characterized in that The method further comprises: In response to the data verification result indicating that the first business data has failed verification, obtaining a verification failed field of the first business data; A verification failure reason for the first business data is generated based on the verification failure field, and the verification failure reason is sent to a source organization of the first business data.
12. The method according to claim 9, characterized in that The method further comprises: Receive query statements sent by the client; Parsing the query statement to obtain the target business data table and query range corresponding to the query statement; Relevant data is acquired from the target business data table based on the query scope, and the relevant data is returned to the client.
13. A device for verifying business data, characterized in that: include: A data acquisition module, used for collecting structured first business data from various institutions; a first identification module, configured to identify an issue identifier carried by the first business data, and determine a target issue corresponding to the first business data according to the issue identifier; a second identification module, configured to obtain a phase parameter related to the target item in the first business data, and identify a target item monitoring phase in which the target item is currently located according to the phase parameter; A field extraction module, used to determine at least one type of field that needs to be extracted from the first business data according to the target event monitoring stage, and extract the at least one type of field from the first business data as a field to be verified for the first business data; A rule verification module is used to determine one or more objects to be verified associated with the target item based on the field to be verified, determine the monitoring information and attribute information of the object to be verified, perform rule verification on the field to be verified based on the monitoring information and attribute information, and determine the data verification result of the first business data based on the field verification result of the field to be verified.
14. The device according to claim 13, characterized in that The field extraction module is further used for: In response to the target item monitoring stage being a management relationship determination stage, extracting a management relationship field from the first business data as the field to be verified; In response to the target item monitoring stage being the management implementation update stage, a management implementation field is extracted from the first business data as the field to be verified.
15. The device according to claim 14, characterized in that The rule verification module is also used for: Acquire the management organization included in the management relationship field as the object to be verified; Determining the management mark and attribute information of the object to be verified, wherein the attribute information includes the affiliation information and / or the level of the management organization; In response to the management flag indicating that the management agency is in a management state for the target matter, obtaining the management jurisdiction to which the management agency belongs according to the affiliation information; The management relationship field is rule-verified according to the management jurisdiction to which the management agency belongs and / or the agency level of the management agency.
16. The device according to claim 15, characterized in that The rule verification module is also used for: Acquire candidate institutions affiliated to the management jurisdiction, and acquire the management flag of each candidate institution for the target matter, and in response to the existence of any candidate institution indicating a management state for the target matter, determine that the management relationship field has failed the verification; and / or, The organization level is compared with a preset organization level that has management qualifications for the target matter to determine whether the management organization has management qualifications for the target matter. In response to the management organization not having management qualifications for the target matter, it is determined that the management relationship field has failed the verification.
17. The device according to claim 14, characterized in that The rule verification module is also used for: Acquire the target sub-item included in the management implementation field as the object to be verified, wherein the target sub-item belongs to the target matter; Determine the first state information and attribute information of the object to be verified, wherein the attribute information includes the number of implementation lists of the target sub-items; In response to the first status information indicating that the target sub-item is in a deleted state, obtaining second status information of a sub-item implementation list corresponding to the target sub-item; The management implementation field is rule-verified according to the number of implementation lists of the target sub-item and / or the second status information of the sub-item implementation list corresponding to the target sub-item.
18. The device according to claim 17, characterized in that The rule verification module is also used for: In response to the number of implementation lists of the target sub-item being greater than a preset number threshold, determining that the management implementation field has failed verification; and / or, In response to the second status information indicating that the sub-item implementation list corresponding to the target sub-item is in an existing state, it is determined that the management implementation field has failed the verification.
19. The device according to any one of claims 14 to 18, characterized in that The rule verification module is also used for: In response to the target item monitoring stage being the management relationship determination stage, extracting a first identification field to be verified from the first business data, and performing validity verification on the first identification field to be verified, and in response to the presence of identification information that has not passed the verification in the first identification field to be verified, determining that the first identification field to be verified has not passed the verification; or, In response to the target item monitoring stage being the management implementation update stage, a second identification field to be verified is extracted from the first business data, and the validity of the second identification field to be verified is verified. In response to the presence of identification information that has not passed the verification in the second identification field to be verified, it is determined that the second identification field to be verified has not passed the verification.
20. The device according to claim 13, characterized in that The data acquisition module is further used for: Obtaining a source organization and a timestamp corresponding to the first business data; Determine, according to the source organization, a source data table corresponding to the first business data; The first business data is stored in the source data table, and a data tag for the first business data is generated based on the source organization and the timestamp.
21. The device according to claim 13, characterized in that The device further comprises: A data integration module, configured to select verified second business data from the first business data according to the data verification result, perform business data integration based on the second business data, and obtain a business data table generated after integration; The indicator analysis module is used to perform business indicator analysis based on the business data table and generate indicator analysis results.
22. The device according to claim 21, characterized in that The data integration module is also used for: For each piece of the second business data, obtain a business primary key contained in the second business data, and obtain business primary key related data corresponding to the business primary key; Determine the business data table corresponding to the business primary key related data according to the business primary key; According to the preset organization priority information and in combination with the data tag, the business primary key related data is integrated into the business data table.
23. The device according to claim 20, characterized in that The rule verification module is also used for: In response to the data verification result indicating that the first business data has failed verification, obtaining a verification failed field of the first business data; A verification failure reason for the first business data is generated based on the verification failure field, and the verification failure reason is sent to a source organization of the first business data.
24. The device according to claim 21, characterized in that The device further comprises: The query module is used to receive the query statement sent by the client, parse the query statement, obtain the target business data table and query range corresponding to the query statement, obtain relevant data from the target business data table based on the query range, and return the relevant data to the client.
25. An electronic device comprising: at least one processor; as well as, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 12.
26. A non-transitory computer-readable storage medium storing computer instructions, wherein: The computer instructions are used to cause the computer to execute the method according to any one of claims 1-12.
27. A computer program product comprising a computer program, which, when executed by a processor, implements the steps of the method according to any one of claims 1 to 12.
Citation Information
Patent Citations
Block chain smart contract construction method
CN114819959A
Intelligent administrative approval method and device based on browser plug-in and medium
CN115204812A
Data verification method and device, computer equipment and storage medium
CN117827832A
Method for identifying service type corresponding to message and device thereof
WO2009067915A1
