CN113190539A - Method for standardized verification of affair elements based on national government affair service - Google Patents
Method for standardized verification of affair elements based on national government affair service Download PDFInfo
- Publication number
- CN113190539A CN113190539A CN202110425504.8A CN202110425504A CN113190539A CN 113190539 A CN113190539 A CN 113190539A CN 202110425504 A CN202110425504 A CN 202110425504A CN 113190539 A CN113190539 A CN 113190539A
- Authority
- CN
- China
- Prior art keywords
- verification
- element content
- checking
- passed
- attribute information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000012795 verification Methods 0.000 title claims abstract description 83
- 238000000034 method Methods 0.000 title claims abstract description 18
- 238000009960 carding Methods 0.000 abstract description 7
- 230000014509 gene expression Effects 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 1
- 210000001520 comb Anatomy 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000011156 evaluation Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/21—Design, administration or maintenance of databases
- G06F16/215—Improving data quality; Data cleansing, e.g. de-duplication, removing invalid entries or correcting typographical errors
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/10—Office automation; Time management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
- G06Q50/10—Services
- G06Q50/26—Government or public services
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Theoretical Computer Science (AREA)
- Tourism & Hospitality (AREA)
- Strategic Management (AREA)
- Human Resources & Organizations (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- Economics (AREA)
- Marketing (AREA)
- Quality & Reliability (AREA)
- Entrepreneurship & Innovation (AREA)
- General Business, Economics & Management (AREA)
- Data Mining & Analysis (AREA)
- Operations Research (AREA)
- General Engineering & Computer Science (AREA)
- Development Economics (AREA)
- Educational Administration (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Primary Health Care (AREA)
- Stored Programmes (AREA)
Abstract
The invention discloses a method for standardized verification of affair elements based on national government affairs service, which is implemented according to the following steps: firstly, setting all elements as attributes in a Java object, setting attribute information through self-defined notes in Java, and giving each element a rule for self-defining element content; obtaining annotated attribute information corresponding to all elements through a reflection technology in Java; verifying actually input element content according to the condition that the attribute information of the element content corresponding to the element is a verification condition, wherein if the verification condition is met, the verification is passed, and if the verification condition is not met, the verification is not passed; and verifying the actually input element content according to the rule of the customized element content, if the actually input element content accords with the customized rule, the verification is passed, otherwise, the verification is not passed, and a verification result is output. The invention solves the problems of large workload, short time, low efficiency and poor accuracy of manual carding in the prior art.
Description
Technical Field
The invention belongs to the technical field of data quality detection, and relates to a method for standardized verification of affair elements based on national government affairs service.
Background
Based on the government affair service evaluation index system, the national basic catalogue and the requirement of the element standard of the implementation list, the item combing work has a plurality of defects. The item catalog does not correspond, the actual item does not correspond to the national catalog, the mark is difficult to claim, the item carding is incomplete, the catalog has a missing item, the content is not fully accepted, and the content is fully accepted; the item catalog is uncomposited, and the item sub-items and the service handling items are finely split; the splitting items are in different levels, different areas are not unified, and the claiming matching rate is low; the refinement degree of the items is to be improved, and the item implementation list is difficult to compile and is difficult to match with the actual transaction service because the directories are not corresponding, so that the refinement of the implementation list is difficult to realize; condition materials of the matter guide and the like do not correspond to the matter situation; the number of elements and the refinement degree of contents are insufficient, and the realization of multiple application scenes is difficult to support; the content of the item is out of the standard and is not standard, such as the application condition, the transaction place, the transaction window and the like are not filled or are not in accordance with the reality; the expression is not standard and nonstandard, and the expressions of the bibliographic base and the indefinite expressions such as "other materials", "according to the related contents of XXXXXX regulations", and the like appear; the material sample is not complete, and privacy information such as identity cards, telephones and the like is not desensitized.
At present, the pure manual carding workload is large, the time is short, the working efficiency of new employees and old employees is greatly different, data sharing and experience sharing are difficult to effectively carry out among the employees, and tools capable of effectively improving the efficiency and the quality are lacked in the work; the carding staff of the business department is less familiar with the business and most of the responsibility is not strong enough and not serious enough, so that a great deal of problems of the previous carding work are left to the subsequent links, and great difficulty is caused to the carding work of the second party.
Disclosure of Invention
The invention aims to provide a method for standardized verification of elements based on national government affairs service matters, which solves the problems of large workload, tight time, low efficiency and poor accuracy of manual carding in the prior art.
The technical scheme adopted by the invention is that based on a method for standardized verification of national government affair service affair elements, the defined elements are items needing to be combed in the affair combing work, the element contents are contents corresponding to the combed items, and the method is implemented according to the following steps:
step 1, firstly, setting all elements as attributes in a Java object, setting attribute information through custom notes in Java, and customizing rules of element contents for each element;
step 2, obtaining annotated attribute information corresponding to all elements through a reflection technology in Java;
step 3, checking the actually input element content according to the attribute information of the element content corresponding to the element acquired in the step 2 as a checking condition, wherein if the checking condition is met, the checking is passed, and if the checking condition is not met, the checking is not passed;
step 4, if the verification in the step 3 is passed, verifying the actually input element content according to the user-defined element rule, if the verification is in accordance with the user-defined rule, the verification is passed, and if the verification is not in accordance with the user-defined rule, the verification is not passed;
and 5, outputting a checking result.
The present invention is also characterized in that,
the attribute information in step 1 is whether to fill, whether to be a numerical value and a numerical range, whether to be an enumerated value and whether the enumerated value is correct.
And step 2, acquiring whether element content needs to be filled, whether the element content is a numerical value and a numerical value range, whether the element content is an enumerated value and whether the enumerated value is correct according to the annotated attribute information.
The step 3 specifically comprises the following steps:
step 3.1, if the element content corresponding to the element acquired in the step 2 is necessary to be filled, judging the actually-recorded element content, and if the actually-recorded element content corresponding to the element is empty, not passing the verification; if the actually recorded element content corresponding to the element is not empty, skipping to step 3.2;
if the obtained data is not necessary to be filled, directly skipping the check;
step 3.2, if the element content corresponding to the element obtained in the step 2 is a numerical value and a corresponding numerical value range, judging the actually recorded element content, and if the actually recorded element content corresponding to the element is a number and is in the set numerical value range, checking to pass;
if the actually input element content corresponding to the element is a numerical value but the numerical value is not in the range, the verification is not passed;
if the element content corresponding to the element obtained in the step 2 is not a numerical value, checking whether the element content is an enumerated value, if the element content is the enumerated value, checking whether the enumerated value is correct, if the enumerated value is correct, checking to pass, and if the enumerated value is incorrect, checking not to pass; if not an enumerated value, no further checking occurs.
Step 4, if the verification in the step 3 is passed, verifying the actually input element content according to the user-defined element rule, if the verification is in accordance with the user-defined rule, the verification is passed, and if the verification is not in accordance with the user-defined rule, the verification is not passed;
the step 5 specifically comprises the following steps: and if the verification passes through the step 4, outputting the verification passing, and if any one of the verification in the step 3-4 fails, outputting the specific reasons of the verification failing and failing.
The invention has the beneficial effects that:
the invention quickly checks and combs the data to be checked and outputs the check result, avoids the mode of high cost and low efficiency of manual combing, solves the problems of large combing workload, time and efficiency, and poor accuracy, improves the working efficiency and the working quality of government affair combing personnel, can improve the original manual combing working efficiency to 50-70%, and solves the problems of large workload and low accuracy in manual combing with high efficiency and high quality.
Drawings
Fig. 1 is a flow chart of the method of the present invention based on the standardized verification of the elements of the national government affairs service affairs.
Detailed Description
The present invention will be described in detail below with reference to the accompanying drawings and specific embodiments.
The invention relates to a method for standardized verification of affair elements based on national government affairs service, wherein a defined element is an item needing to be combed in the work of combing the affair, the content of the element is the content corresponding to the combed item, the flow is shown in figure 1, and the method is implemented according to the following steps:
step 1, firstly setting all elements as attributes in a Java object, and setting attribute information through self-defined notes in Java, wherein the attribute information is whether to be filled, whether to be a numerical value and a numerical value range, whether to be an enumerated value and whether the enumerated value is correct, and a rule for self-defining element content for each element;
step 2, obtaining annotated attribute information corresponding to all elements through a reflection technology in Java, and obtaining whether element content must be filled, whether the element content is a numerical value and a numerical range, whether the element content is an enumerated value and whether the enumerated value is correct according to the annotated attribute information;
step 3, checking the actually input element content according to the attribute information of the element content corresponding to the element acquired in step 2 as a checking condition, if the checking condition is met, the checking is passed, and if the checking condition is not met, the checking is not passed, specifically:
step 3.1, if the element content corresponding to the element acquired in the step 2 is necessary to be filled, judging the actually-recorded element content, and if the actually-recorded element content corresponding to the element is empty, not passing the verification; if the actually recorded element content corresponding to the element is not empty, skipping to step 3.2;
if the obtained data is not necessary to be filled, directly skipping the check;
step 3.2, if the element content corresponding to the element obtained in the step 2 is a numerical value and a corresponding numerical value range, judging the actually recorded element content, and if the actually recorded element content corresponding to the element is a number and is in the set numerical value range, checking to pass;
if the actually input element content corresponding to the element is a numerical value but the numerical value is not in the range, the verification is not passed;
if the element content corresponding to the element obtained in the step 2 is not a numerical value, checking whether the element content is an enumerated value, if the element content is the enumerated value, checking whether the enumerated value is correct, if the enumerated value is correct, checking to pass, and if the enumerated value is incorrect, checking not to pass; if not, then not checking;
step 4, if the verification in the step 3 is passed, the actually input element content is verified according to the rule of the self-defined element content, if the actually input element content meets the self-defined rule, the verification is passed, and if the actually input element content does not meet the self-defined rule, the verification is not passed;
and 5, outputting a verification result, if the verification is passed through the step 4, outputting that the verification is passed, and if any one of the verifications in the steps 3-4 is failed, outputting the verification failure and the specific reason of the failure.
Examples
The invention relates to a method for standardized verification of affair elements based on national government affairs service, wherein a definition element is an item needing to be combed in an affair combing work, and the definition element is the content corresponding to a combing item, such as main item code, office item type, special program name and special program description, and the method is implemented according to the following steps:
step 1, firstly setting all elements as attributes in a Java object, and setting attribute information through self-defined notes in Java, wherein the attribute information is whether to be filled, whether to be numerical values and numerical value ranges, such as 1-9, whether to be enumerated values and whether the enumerated values are correct, and a rule for self-defining element content for each element;
step 2, obtaining annotated attribute information corresponding to all elements through a reflection technology in Java, and obtaining whether element content must be filled, whether the element content is a numerical value and a numerical range, whether the element content is an enumerated value and whether the enumerated value is correct according to the annotated attribute information;
step 3, checking the actually input element content according to the attribute information of the element content corresponding to the element acquired in the step 2 as a checking condition, wherein if the checking condition is met, the checking is passed, and if the checking condition is not met, the checking is not passed;
step 3.1, if the element content corresponding to the element acquired in the step 2 is necessary to be filled, judging the actually-recorded element content, and if the actually-recorded element content corresponding to the element is empty, not passing the verification; if the actually recorded element content corresponding to the element is not empty, skipping to step 3.2;
if the obtained data is not necessary to be filled, directly skipping the check;
step 3.2, if the element content corresponding to the element obtained in the step 2 is a numerical value and a corresponding numerical value range, judging the actually recorded element content, and if the actually recorded element content corresponding to the element is a number and is in the set numerical value range, checking to pass;
if the actually input element content corresponding to the element is a numerical value but the numerical value is not in the range, the verification is not passed;
if the element content corresponding to the element obtained in the step 2 is not a numerical value, checking whether the element content is an enumerated value, if the element content is the enumerated value, checking whether the enumerated value is correct, if the enumerated value is correct, checking to pass, and if the enumerated value is incorrect, checking not to pass; if not, then not checking;
for example: if the element content corresponding to the element main item code is known to be filled up according to the annotation information of the attribute, whether the content corresponding to the main item code is empty or not needs to be judged, if the content corresponding to the main item code is empty, the verification is not passed, and when the verification is not passed, the element content does not meet the requirement when the verification result is output in the step 5; if the content corresponding to the main item code is not empty, it needs to further judge whether the content is a number or not, and whether the numerical range is a range in the annotation information of the attribute or not. If the range in the annotation information which accords with the attribute passes the verification and does not carry out any treatment, if the range does not accord with the attribute, the verification does not pass, and when the verification does not pass, the element content is required to be marked to be not in accordance with the requirement when the verification result is output in the step 5;
step 4, if the verification in the step 3 is passed, the actually input element content is verified according to the rule of the self-defined element content, if the actually input element content meets the self-defined rule, the verification is passed, and if the actually input element content does not meet the self-defined rule, the verification is not passed; such as: the custom rule is that the office type is a promissory piece, the custom rule is searched in the database according to the rule id, the query shows that the custom rule is that the content corresponding to the office type must be a promissory piece, whether the content corresponding to the office type is a promissory piece or not needs to be judged during verification, if the content corresponding to the office type does not need to be a promissory piece, the verification passes, if the content does not pass, the verification fails, when the verification passes, the element content does not meet the rule when the verification result is output in the step 5, and the reason of the non-compliance is that the office type must be a promissory piece.
Whether the association relationship between the elements is correct or not is determined, for example, when the special program selects "yes", the special program name cannot be null, and the special program description cannot be null according to the custom rule. Searching a custom rule in a database according to the rule id, checking whether the content corresponding to the special program is 'yes' when the custom rule is found to be 'yes' corresponding to the special program through inquiry, wherein the special program name cannot be null, the special program description cannot be null, checking whether the content corresponding to the special program is 'yes' or not, and if the content corresponding to the special program name is 'yes', the content corresponding to the special program name is not null, and the content corresponding to the special program description is not null, the checking is passed; if one of the element contents corresponding to the special program, the special program name and the special program description is not in accordance with the rule, the verification is not passed; when the verification is failed, when the verification result is output in the step 5, the element content is required to be marked to be not in accordance with the rule, and the reason of the non-compliance is that the special program is selected to be 'yes', the special program name cannot be null, and the special program description cannot be null;
and 5, outputting a verification result, if the verification is passed through the step 4, outputting that the verification is passed, and if any one of the verifications in the steps 3-4 is failed, outputting the verification failure and the specific reason of the failure.
Claims (5)
1. The method is characterized in that the definition elements are items needing to be combed in the item combing work, the element contents are contents corresponding to the combed items, and the method is implemented according to the following steps:
step 1, firstly, setting all elements as attributes in a Java object, setting attribute information through custom notes in Java, and customizing rules of element contents for each element;
step 2, obtaining annotated attribute information corresponding to all elements through a reflection technology in Java;
step 3, checking the actually input element content according to the attribute information of the element content corresponding to the element acquired in the step 2 as a checking condition, wherein if the checking condition is met, the checking is passed, and if the checking condition is not met, the checking is not passed;
step 4, if the verification in the step 3 is passed, verifying the actually input element content according to the user-defined element rule, if the verification is in accordance with the user-defined rule, the verification is passed, and if the verification is not in accordance with the user-defined rule, the verification is not passed;
and 5, outputting a checking result.
2. The method for standardized verification based on the elements of the national government affairs service affairs according to claim 1, wherein the attribute information in the step 1 is whether the attribute information is filled, whether the attribute information is a numerical value and a numerical range, whether the attribute information is an enumerated value and whether the enumerated value is correct.
3. The method for standardized verification based on the element of the national government affairs service affairs according to claim 2, wherein in step 2, whether the element content must be filled, whether the element content is a numerical value and a numerical range, whether the element content is an enumerated value and whether the enumerated value is correct are obtained according to the annotated attribute information.
4. The method for standardized verification of affair elements based on national government affairs service according to claim 3, wherein the step 3 is specifically as follows:
step 3.1, if the element content corresponding to the element acquired in the step 2 is necessary to be filled, judging the actually-recorded element content, and if the actually-recorded element content corresponding to the element is empty, not passing the verification; if the actually recorded element content corresponding to the element is not empty, skipping to step 3.2;
if the obtained data is not necessary to be filled, directly skipping the check;
step 3.2, if the element content corresponding to the element obtained in the step 2 is a numerical value and a corresponding numerical value range, judging the actually recorded element content, and if the actually recorded element content corresponding to the element is a number and is in the set numerical value range, checking to pass;
if the actually input element content corresponding to the element is a numerical value but the numerical value is not in the range, the verification is not passed;
if the element content corresponding to the element obtained in the step 2 is not a numerical value, checking whether the element content is an enumerated value, if the element content is the enumerated value, checking whether the enumerated value is correct, if the enumerated value is correct, checking to pass, and if the enumerated value is incorrect, checking not to pass; if not an enumerated value, no further checking occurs.
5. The method for standardized verification based on the elements of the national government affairs service affairs according to claim 4, wherein the step 5 is specifically as follows: and if the verification passes through the step 4, outputting the verification passing, and if any one of the verification in the step 3-4 fails, outputting the specific reasons of the verification failing and failing.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110425504.8A CN113190539A (en) | 2021-04-20 | 2021-04-20 | Method for standardized verification of affair elements based on national government affair service |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110425504.8A CN113190539A (en) | 2021-04-20 | 2021-04-20 | Method for standardized verification of affair elements based on national government affair service |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113190539A true CN113190539A (en) | 2021-07-30 |
Family
ID=76977528
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110425504.8A Pending CN113190539A (en) | 2021-04-20 | 2021-04-20 | Method for standardized verification of affair elements based on national government affair service |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113190539A (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106991023A (en) * | 2017-03-22 | 2017-07-28 | 深圳市彬讯科技有限公司 | A kind of interface parameters method of calibration and component |
CN109656744A (en) * | 2017-10-11 | 2019-04-19 | 北京京东尚科信息技术有限公司 | The method and apparatus for realizing data check and injection are explained based on Java |
-
2021
- 2021-04-20 CN CN202110425504.8A patent/CN113190539A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106991023A (en) * | 2017-03-22 | 2017-07-28 | 深圳市彬讯科技有限公司 | A kind of interface parameters method of calibration and component |
CN109656744A (en) * | 2017-10-11 | 2019-04-19 | 北京京东尚科信息技术有限公司 | The method and apparatus for realizing data check and injection are explained based on Java |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101755365B1 (en) | Managing record format information | |
US20180075138A1 (en) | Electronic document management using classification taxonomy | |
US10657530B2 (en) | Automated transactions clearing system and method | |
US20050183002A1 (en) | Data and metadata linking form mechanism and method | |
CN112231747A (en) | Data desensitization method, data desensitization apparatus, and computer readable medium | |
CN112329418A (en) | Parallel approval method, equipment and computer readable storage medium | |
CN112380533A (en) | Method for checking security baseline of computer terminal | |
CN115982012A (en) | Evaluation model and method for interface management capability maturity | |
CN107247767A (en) | A kind of method and device that database is imported by formatted data files | |
CN115576950A (en) | Report generation method based on JSON configuration file | |
CN112508682A (en) | Method for automatically checking account by intelligent system | |
CN113190539A (en) | Method for standardized verification of affair elements based on national government affair service | |
CN116701506A (en) | Demand plan compliance verification method fusing unstructured data | |
CN115309705A (en) | Data integration classification system and method for automatically identifying basic data elements of urban information model platform | |
CN111639478B (en) | Automatic data auditing method and system based on EXCEL document | |
CN111858658A (en) | Data acquisition method, device, equipment and storage medium | |
CN115374242A (en) | Self-defined field and template low-code system for unstructured compound identity order | |
CN111708580B (en) | Processing method and system for static data of configuration software | |
CN115640369B (en) | Piece information base data storage method applying star-shaped data model | |
CN111968022B (en) | Service number generation system and method based on JSON configuration mode | |
US11228441B2 (en) | System for automated data verification | |
US20210349896A1 (en) | Serum of truth | |
CN116882912A (en) | Inspection new word recognition system and method | |
CN113706311A (en) | Efficient and verifiable supply chain data sharing architecture | |
CN117453661A (en) | Resource allocation method, device, computer equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210730 |
|
RJ01 | Rejection of invention patent application after publication |