CN115618393B - Method, device and storage medium for controlling achievement quality of homeland change survey data - Google Patents

Method, device and storage medium for controlling achievement quality of homeland change survey data Download PDF

Info

Publication number
CN115618393B
CN115618393B CN202211395650.1A CN202211395650A CN115618393B CN 115618393 B CN115618393 B CN 115618393B CN 202211395650 A CN202211395650 A CN 202211395650A CN 115618393 B CN115618393 B CN 115618393B
Authority
CN
China
Prior art keywords
data
result
signature
value
homeland
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.)
Active
Application number
CN202211395650.1A
Other languages
Chinese (zh)
Other versions
CN115618393A (en
Inventor
许涛
王刚武
刘茂国
王文渊
黄润兴
李光灿
黄宇婷
周松英
林勋媛
周常萍
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Land Survey And Planning Institute
Original Assignee
Guangdong Land Survey And Planning Institute
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Guangdong Land Survey And Planning Institute filed Critical Guangdong Land Survey And Planning Institute
Priority to CN202211395650.1A priority Critical patent/CN115618393B/en
Publication of CN115618393A publication Critical patent/CN115618393A/en
Application granted granted Critical
Publication of CN115618393B publication Critical patent/CN115618393B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2458Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
    • G06F16/2474Sequence data queries, e.g. querying versioned data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Computer Hardware Design (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Data Mining & Analysis (AREA)
  • Bioethics (AREA)
  • Fuzzy Systems (AREA)
  • Mathematical Physics (AREA)
  • Probability & Statistics with Applications (AREA)
  • Computational Linguistics (AREA)
  • Remote Sensing (AREA)
  • Storage Device Security (AREA)

Abstract

The invention discloses a method, a device and a storage medium for controlling the quality of achievements of homeland change survey data, wherein the method comprises the following steps: acquiring homeland change investigation data, and generating various data signatures by encrypting the homeland change investigation data; judging whether basic data in the homeland change survey data are tampered, respectively extracting corresponding data signature information from a plurality of data signatures when judging that the basic data in the homeland change survey data are not tampered, respectively comparing each data signature information with the data signature information reported by a corresponding place, and judging that the incremental package result meets the requirement if the data signature information is consistent with the data signature information reported by the corresponding place; judging whether the data version of the incremental package result meeting the first preset requirement meets the second preset requirement or not; if yes, uploading the current increment packet result to a provincial level checking system server for provincial level checking. The invention can effectively improve the achievement quality control effect of the homeland change investigation data.

Description

Method, device and storage medium for controlling achievement quality of homeland change survey data
Technical Field
The invention relates to the technical field of geographic information, in particular to a method and a device for controlling the quality of achievements of homeland change survey data and a storage medium.
Background
In recent years, with the rapid development of the economy of China, the population pressure is increased to accelerate the pace of urban expansion, the land demand is further increased, the content of land change investigation is more refined, the requirement is higher, the change condition of the utilization status of each land needs to be mastered in time, and the achievement provides basic data support for natural resource management and utilization such as land approval, land space planning, ecological restoration and the like. Therefore, the quality of the results of the homeland change survey data is particularly important, and the quality of the results of the homeland change survey data needs to be controlled to ensure the authenticity and the accuracy.
The existing quality control method for achievements of homeland change investigation data generally comprises the steps of formulating relevant inspection rules according to homeland change technical regulation requirements, and judging whether reported incremental package achievements meet preset requirements by combining technical means such as remote sensing images, internet plus and geographic information systems and manual interpretation. The existing method for controlling the quality of achievements of the homeland change survey data can control the quality of achievements to a certain extent, but has the problems that manual misjudgment and data version cannot be effectively controlled, so that the effect of controlling the quality of achievements is poor.
Disclosure of Invention
The invention provides a method, a device and a storage medium for controlling the quality of achievements of homeland change investigation data, which are used for solving the technical problems that the existing method for controlling the quality of achievements of homeland change investigation data has the problems that the quality of achievements is poor due to the fact that whether the reference data and the data version of the reported achievements meet preset requirements or not is judged manually, and human judgment errors and data version confusion are easy to occur.
One embodiment of the invention provides a method for controlling the quality of achievements of homeland change survey data, which comprises the following steps:
acquiring homeland change investigation data, and generating various data signatures by encrypting the homeland change investigation data, wherein the data signatures comprise a basic data signature, a single-image-spot library construction result signature, a change range line result signature and a change library construction result signature;
judging whether basic data in the homeland change investigation data are tampered, when judging that the basic data in the homeland change investigation data are not tampered, respectively extracting corresponding data signature information from the basic data signature, the change range line achievement signature, the single-pattern spot database creation achievement signature and the software version information, respectively comparing each data signature information with data signature information reported by a corresponding place, and if the data signature information is inconsistent, judging that the incremental package achievement does not meet a first preset requirement; if the incremental package results are consistent, judging that the incremental package results meet the requirements;
judging whether the data version of the incremental package result accords with a first preset requirement or not, if not, judging that the current incremental package result is repeatedly reported; if yes, uploading the current increment packet result to a provincial level checking system server for provincial level checking.
Further, the determining whether the data version of the incremental package result meeting the first preset requirement meets the second preset requirement includes:
generating a first MD5 value according to the attribute information of the incremental package result;
comparing the first MD5 value with a second MD5 value of the last reported incremental package result, and if the first MD5 value is consistent with the second MD5 value, judging that the incremental package result does not meet a second preset requirement; if the increment packets are inconsistent, judging that the increment packets meet a preset second requirement.
Further, the encrypting the homeland changing investigation data generates a plurality of data signatures, including:
acquiring homeland change investigation data, and extracting file attribute information, single-pattern spot library construction results, change range line results and incremental package results of the homeland change investigation data;
encrypting the file attribute information by using an SM3 algorithm to generate a corresponding third MD5 value, serializing the third MD5 value into preset format data, and encrypting the preset format data by using an asymmetric encryption algorithm to generate a basic data signature;
encrypting the single-pattern-spot library establishment result by using an SM3 algorithm to generate a corresponding fourth MD5 value, encrypting the fourth MD5 value, the basic data signature and the software version information by using an asymmetric encryption algorithm to generate a single-pattern-spot library establishment result signature;
generating a corresponding fifth MD5 value for the change range line result by adopting an SM3 algorithm, and encrypting the fifth MD5 value by adopting an asymmetric encryption algorithm to generate a change range line result signature;
and generating a sixth MD5 value for the incremental package result by adopting an SM3 algorithm, and encrypting the sixth MD5 value, the MD5 value of the basic data, the basic data signature, the fifth MD5 value and the software version information by adopting an asymmetric encryption algorithm to generate a modified database-building result signature.
Further, the determining whether the basic data in the homeland changing investigation data is tampered includes:
decrypting the basic data signature through a preset secret key to obtain basic data decryption information;
loading basic data and extracting data file information in the basic data;
comparing whether the basic data decryption information is consistent with the data file information, and if so, judging that the basic data is not tampered; and if the basic data are inconsistent, judging that the basic data are tampered.
Further, after determining that the base data is tampered with, the method further includes:
and generating prompt information of tampered basic data, sending the prompt information to operators, and stopping the database building operation.
Further, the generating a first MD5 value according to the attribute information of the incremental package result includes:
decrypting the incremental package result by adopting a preset key to obtain attribute information of the incremental package result, wherein the attribute information comprises incremental package data, basic data, change range result MD5 value and software version information;
and generating a first MD5 value according to the attribute information.
Further, after the incremental package result is determined not to meet the first preset requirement, the method further includes:
the provincial level checking system server feeds back the checking result to the local operation terminal, the local operation terminal reforms the incremental package result according to the checking result, and the incremental package result is reported again after the reforming is finished, and whether the incremental package result meets the requirement in a first preset mode is judged again.
One embodiment of the present invention provides a device for controlling the quality of results of homeland changing survey data, comprising:
the data signature generation module is used for acquiring homeland change investigation data, and generating various data signatures by encrypting the homeland change investigation data, wherein the data signatures comprise a basic data signature, a single-pattern-spot library-building result signature, a change range line result signature and a change library-building result signature;
the data signature verification module is used for judging whether basic data in the homeland change investigation data are tampered, when judging that the basic data in the homeland change investigation data are not tampered, respectively extracting corresponding data signature information from the basic data signature, the change range line achievement signature, the single-pattern spot database creation achievement signature and the software version information, respectively comparing each data signature information with data signature information reported in a corresponding place, and judging that the incremental package achievement does not meet a first preset requirement if the data signature information is inconsistent with the data signature information reported in a corresponding place; if the incremental package results are consistent, judging that the incremental package results meet the requirements;
the data version judging module is used for judging whether the data version of the incremental package result meeting the first preset requirement meets the second preset requirement, if not, judging that the current incremental package result is repeatedly reported; if yes, uploading the current increment packet result to a provincial level checking system server for provincial level checking.
An embodiment of the present invention provides a computer readable storage medium, where the computer readable storage medium includes a stored computer program, where when the computer program runs, a device where the computer readable storage medium is controlled to execute a method for controlling quality of results of homeland modification survey data as described above.
In the embodiment of the invention, whether the data version of the incremental package result to be reported is consistent with the data version of the incremental package result which is reported last time is judged, so that the condition of large repeated workload caused by repeated reporting of the same incremental package result can be effectively avoided, and the result quality control efficiency of the homeland change data can be effectively improved; according to the embodiment of the invention, the basic data signature is decrypted to obtain the basic data decryption information, and the basic data decryption information is compared with the data file information in the loaded basic data, so that whether the basic data is tampered or not can be accurately judged, the basic data used when the data result reported by local operation teams is built and the basic data used when provincial level verification are consistent, and further, the increase of unnecessary workload caused by inconsistent basic data due to artificial interference can be effectively avoided.
Furthermore, the embodiment of the invention generates a plurality of data signatures in a secondary encryption mode based on the homeland change investigation data, and can effectively prevent the encrypted data signatures from being tampered, so that the authenticity of verification of the data signature information of the basic data and the data achievements generated at provincial level and the signature information of the basic data and the data achievements reported in the decrypted places can be effectively improved, and the effect of achievements quality control of the homeland change investigation data is further improved.
Drawings
FIG. 1 is a flow chart of a method for controlling the quality of achievements of homeland change survey data provided by an embodiment of the invention;
FIG. 2 is a schematic flow chart of a homeland changing investigation operation flow provided by the embodiment of the invention;
FIG. 3 is a schematic flow diagram of homeland change survey data results and signatures provided by an embodiment of the invention;
FIG. 4 is a schematic diagram of a data signature generation process according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of a database creation and data result data signature verification process according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of a data version verification process according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a quality control device for results of homeland change survey data according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
In the description of the present application, it should be understood that the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or an implicit indication of the number of technical features being indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more such feature. In the description of the present application, unless otherwise indicated, the meaning of "a plurality" is two or more.
In the description of the present application, it should be noted that, unless explicitly specified and limited otherwise, the terms "mounted," "connected," and "connected" are to be construed broadly, and may be either fixedly connected, detachably connected, or integrally connected, for example; can be mechanically or electrically connected; can be directly connected or indirectly connected through an intermediate medium, and can be communication between two elements. The specific meaning of the terms in this application will be understood by those of ordinary skill in the art in a specific context.
Referring to fig. 1-6, an embodiment of the present invention provides a method for controlling the quality of results of homeland modification survey data shown in fig. 1, comprising:
s1, acquiring homeland change investigation data, and generating various data signatures by encrypting the homeland change investigation data, wherein the data signatures comprise a basic data signature, a single-pattern-spot library construction result signature, a change range line result signature and a change library construction result signature;
in the embodiment of the invention, the homeland change investigation data comprise images issued by the country, monitoring image spots, a homeland change basic database of the last year, land management information data, other related reference data, change range line achievements and the like.
S2, judging whether basic data in the homeland change survey data are tampered, respectively extracting corresponding data signature information from basic data signatures, change range line result signatures, single-pattern spot library construction result signatures and software version information when judging that the basic data in the homeland change survey data are not tampered, respectively comparing each data signature information with data signature information reported by a corresponding place, and judging that the incremental package result does not meet a first preset requirement if the incremental package result is inconsistent; if the incremental package results are consistent, judging that the incremental package results meet the requirements;
according to the embodiment of the invention, the corresponding data signature information is respectively extracted from the basic data signature, the change range line result signature, the single-image-spot library creation result signature and the software version information, and each piece of data signature information is respectively compared with the corresponding locally reported data signature information, so that the data signature is checked, whether the data signature information related to the increment package result to be reported is consistent with the locally reported data signature information can be accurately and efficiently judged, whether the increment package result to be reported meets the requirement or not is not required to be judged manually, so that the artificial judgment error can be effectively avoided, the result quality control effect of the homeland change data can be effectively improved, and the result quality control efficiency of the homeland change data can be also improved.
S3, judging whether the data version of the incremental package result meeting the first preset requirement meets the second preset requirement, if not, judging that the current incremental package result is repeatedly reported; if yes, uploading the current increment packet result to a provincial level checking system server for provincial level checking.
In the embodiment of the invention, by judging whether the data version of the incremental package result to be reported is consistent with the data version of the incremental package result which is reported last time, the condition of large repeated workload caused by repeated reporting of the same incremental package result can be effectively avoided, and therefore, the result quality control efficiency of the homeland change data can be effectively improved.
Referring to fig. 2, a flow chart of a homeland changing investigation operation flow is shown.
Referring to fig. 3, a flow chart of homeland change survey data results and signatures is provided in an embodiment of the present invention.
In one embodiment, the method for encrypting the homeland changing survey data generates a plurality of data signatures, including:
acquiring homeland change investigation data, and extracting file attribute information, single-pattern spot library construction results, change range line results and incremental package results of the homeland change investigation data;
encrypting the file attribute information by using an SM3 algorithm to generate a corresponding third MD5 value, serializing the third MD5 value into preset format data, and encrypting the preset format data by using an asymmetric encryption algorithm to generate a basic data signature;
in the embodiment of the invention, the relevant data of the homeland change can be arranged according to the checking standard catalogue to obtain the file attribute information in the data. According to the embodiment of the invention, an SM3 algorithm is adopted for primary encryption to generate a corresponding third MD5 value, after the third MD5 value is generated, a data file name and a dictionary related to the third MD5 value are established, the third MD5 is serialized into json format data, the json format data is subjected to secondary encryption by an asymmetric encryption algorithm (SM 2) to generate a corresponding signature, the generated data signature and the corresponding data are bundled and stored in a database server for provincial level verification, and the data signature and the data are issued to county level as a foundation for national land change investigation database establishment and county level verification.
Encrypting the single-pattern-spot library-building result by using an SM3 algorithm to generate a corresponding fourth MD5 value, encrypting the fourth MD5 value, the basic data signature and the software version information by using an asymmetric encryption algorithm to generate a single-pattern-spot library-building result signature;
in the embodiment of the invention, in order to ensure that the base data used by the single-pattern database creation result is consistent with the version of the country issued data, an SM3 algorithm is adopted to generate a corresponding fourth MD5 value for the single-pattern database creation result, and then the fourth MD5 value, the base data signature information, the software version and other information of the single-pattern database creation result are encrypted by adopting an asymmetric encryption algorithm (SM 2) to generate a single-pattern database creation result signature.
Generating a corresponding fifth MD5 value for the change range line result by adopting an SM3 algorithm, encrypting the fifth MD5 value by adopting an asymmetric encryption algorithm, and generating a change range line result signature;
in the embodiment of the invention, in order to ensure that the final change range line result (quasi-library layer) used by local operation teams is the result after provincial verification is passed, an SM3 algorithm is adopted to generate a corresponding fifth MD5 value for the change range line result, the fifth MD5 value is encrypted by an asymmetric encryption algorithm (SM 2) to generate a change range line result signature, the generated data signature and the corresponding change range line result are bundled and stored in a database server for provincial verification, and the county operation teams can download the change range line result through a hub machine.
And generating a sixth MD5 value for the incremental package result by adopting an SM3 algorithm, and carrying out encryption processing on the sixth MD5 value, the MD5 value of the basic data, the basic data signature, the fifth MD5 value and the software version information by adopting an asymmetric encryption algorithm to generate a modified library-building result signature.
In the embodiment of the invention, the generation of the homeland change investigation data signature mainly adopts a homeland encryption algorithm, namely a homeland cryptographic algorithm identified by a national code office, and mainly comprises SM1, SM2, SM3 and SM4, wherein the key length and the packet length are 128 bits.
The embodiment of the invention generates the data signature for the data such as basic data, single-pattern spot database creation results, change range line results, change investigation results and the like by using a SM3 and SM2 mixed mode. SM2: is an asymmetric encryption algorithm. SM3: the message digest may be understood by comparing MD5 with 256 bits.
In the embodiment of the invention, in order to ensure that the final change investigation database creation result (increment package) is checked by county level audit software, a SM3 algorithm is adopted to generate a corresponding sixth MD5 value for the increment package result, and information such as the sixth MD5 value of the increment package, a basic data signature, the MD5 value of a change range line result, a software version and the like is encrypted by adopting an asymmetric encryption algorithm (SM 2) to generate a change database creation result signature.
In the embodiment of the invention, a plurality of data signatures are generated by adopting a secondary encryption mode based on the homeland change investigation data, so that the encrypted data signatures can be effectively prevented from being tampered, the authenticity of verification of the data signature information of the basic data and the data achievements generated at provincial level and the signature information of the basic data and the data achievements reported in the decrypted places can be effectively improved, and the effect of achievements quality control of the homeland change investigation data is further improved.
Referring to fig. 4, a flow chart of data signature generation according to an embodiment of the present invention is shown.
In one embodiment, determining whether basic data in homeland changing survey data is tampered with includes:
decrypting the basic data signature through a preset secret key to obtain basic data decryption information;
loading basic data and extracting data file information in the basic data;
comparing whether the decryption information of the basic data and the information of the data file are consistent, and if so, judging that the basic data is not tampered; if the basic data are inconsistent, the basic data are judged to be tampered.
In the embodiment of the invention, the generated data signature and the corresponding data are bundled and stored, stored in a database server for provincial level checking, and issued to county level as a foundation for territory change investigation, database establishment and county level checking. When a local operation team uses single-pattern spot database creation software to create a database, or uses county-level auditing software to check results, when basic data is loaded as database creation reference data, basic data signature information is decrypted through a key issued by a provincial level to obtain basic data decryption information, then data file information of the loaded basic data is extracted, the decrypted basic data decryption information is verified with the extracted data file information, and if the decrypted basic data decryption information is consistent with corresponding information in the extracted data file information, the basic data of the basic data signature is judged to be not tampered and is consistent with the provincial level issued; if the decrypted basic data decryption information is inconsistent with the extracted data file information, judging that the basic data is tampered, and prompting an operator that the database construction basis is wrong, and stopping the database construction operation.
According to the embodiment of the invention, the basic data signature is decrypted to obtain the basic data decryption information, and the basic data decryption information is compared with the data file information in the loaded basic data, so that whether the basic data is tampered or not can be accurately judged, the basic data used when the data result reported by local operation teams is built and the basic data used when provincial level verification are consistent, and further, the increase of unnecessary workload caused by inconsistent basic data due to artificial interference can be effectively avoided.
In one embodiment, after determining that the base data is tampered with, further comprising:
and generating prompt information of tampered basic data, sending the prompt information to operators, and stopping the database building operation.
In the embodiment of the invention, the data signature information corresponding to the basic data signature, the change range line result signature and the software version information can be respectively extracted from the basic data signature, the change range line result signature and the software version information which are pre-stored in the database server for provincial verification for verification, and whether the extracted data signature information is consistent with the locally reported data signature information or not is analyzed. If the extracted data signature information is inconsistent with the locally reported data signature information, a prompt that the reported change library construction result signature is wrong is sent to the provincial level checking system terminal, the increment package result is judged to be inconsistent with the first preset requirement, and the checking result is led out to be fed back to a local operation team for verification. If the extracted data signature information is consistent with the locally reported data signature information, judging that the current incremental package result meets a first preset requirement, reporting the incremental package result to a provincial level checking system server for provincial level checking, extracting relevant attribute information of the reported incremental package result to generate a corresponding MD5 value, and storing the MD5 value in the server.
Referring to fig. 5, a schematic diagram of a database creation and data signing verification process for data results according to an embodiment of the present invention is shown.
In one embodiment, after determining that the incremental package result does not meet the first preset requirement, the method further comprises:
the provincial level checking system server feeds back the checking result to the local operation terminal, the local operation terminal reforms the incremental package result according to the checking result, and reports the incremental package result again after the reforming is finished, and whether the incremental package result meets the first preset requirement is judged again.
In the embodiment of the invention, after the modified incremental package result is reported again, the reported incremental package result is required to be checked again for data signature, and after the data signature check is passed, the incremental package result is judged to be in accordance with whether the second preset requirement is judged to be in accordance with the judgment by extracting the MD5 value.
In one embodiment, determining whether the data version of the incremental package result meets the first preset requirement meets the second preset requirement comprises:
generating a first MD5 value according to the attribute information of the incremental package result;
in the embodiment of the present invention, the generation of the first MD5 value according to the attribute information of the incremental package result may be: decrypting the incremental package result by adopting a preset key to obtain attribute information of the incremental package result, wherein the attribute information comprises incremental package data, basic data, change range result MD5 value and software version information; a first MD5 value is generated from the attribute information.
In a specific embodiment, after the verification of county level auditing software is passed, local operators report the incremental package result to a provincial level verification system, the provincial level verification system performs data storage on the reported incremental package result, a database server for provincial level verification receives a data signature in the incremental package result, namely, a change database creation result signature, and decrypts the data signature through a secret key, so that attribute information of the reported incremental package result is obtained.
Comparing the first MD5 value with a second MD5 value of the last reported incremental package result, and if the first MD5 value is consistent with the second MD5 value, judging that the current reported incremental package result does not meet a second preset requirement; if the increment packets are inconsistent, the increment packets are judged to accord with the preset second requirement.
In the embodiment of the invention, each different incremental package result corresponds to a different MD5 value, and whether the two incremental packages are identical can be effectively judged by comparing whether the MD5 values of the two incremental packages are identical.
In the technical field of homeland change investigation, because the whole operation process has the condition of repeatedly modifying the data result for many times, and different operators have division assistance, when data is modified in each stage, the condition of using the wrong data version easily occurs, namely, when the incremental package result of the same data version is repeatedly reported, the wrong data version is used, thus the data result is invalid modified for many times, the repeated workload is large, and the development of the actual homeland change investigation work is not facilitated. According to the embodiment of the invention, the MD5 value of the currently reported incremental package result is extracted and compared with the MD5 value of the last reported incremental package result, so that whether the currently reported incremental package is correct or not can be rapidly and accurately judged, the workload in the operation process can be effectively reduced, and the efficiency of homeland change investigation work can be improved.
Fig. 6 is a schematic diagram of a data version verification process according to an embodiment of the invention.
The embodiment of the invention has the following beneficial effects:
in the embodiment of the invention, whether the data version of the incremental package result to be reported is consistent with the data version of the incremental package result which is reported last time is judged, so that the condition of large repeated workload caused by repeated reporting of the same incremental package result can be effectively avoided, and the result quality control efficiency of the homeland change data can be effectively improved; according to the embodiment of the invention, the basic data signature is decrypted to obtain the basic data decryption information, and the basic data decryption information is compared with the data file information in the loaded basic data, so that whether the basic data is tampered or not can be accurately judged, the basic data used when the data result reported by local operation teams is built and the basic data used when provincial level verification are consistent, and further, the increase of unnecessary workload caused by inconsistent basic data due to artificial interference can be effectively avoided.
Furthermore, the embodiment of the invention generates a plurality of data signatures in a secondary encryption mode based on the homeland change investigation data, and can effectively prevent the encrypted data signatures from being tampered, so that the authenticity of verification of the data signature information of the basic data and the data achievements generated at provincial level and the signature information of the basic data and the data achievements reported in the decrypted places can be effectively improved, and the effect of achievements quality control of the homeland change investigation data is further improved.
Referring to fig. 7, based on the same inventive concept as the above embodiment, an embodiment of the present invention provides a quality control apparatus for achievements of homeland modification survey data, including:
the data signature generation module 10 is configured to obtain homeland change investigation data, and generate a plurality of data signatures by performing encryption processing on the homeland change investigation data, where the data signatures include a base data signature, a single-pattern-spot library-building result signature, a change-range line result signature, and a change-library-building result signature;
the data signature verification module 20 is configured to determine whether the basic data in the homeland modification survey data is tampered, extract corresponding data signature information from the basic data signature, the modification range line achievement signature, the single-pattern spot database creation achievement signature and the software version information respectively when it is determined that the basic data in the homeland modification survey data is not tampered, and compare each data signature information with the data signature information reported by the corresponding place respectively, and if the data signature information is inconsistent, determine that the incremental package achievement does not meet the first preset requirement; if the incremental package results are consistent, judging that the incremental package results meet the requirements;
the data version judging module 30 is configured to judge whether a data version of the incremental package result meeting the first preset requirement meets the second preset requirement, and if not, judge that the current incremental package result is repeatedly reported; if yes, uploading the current increment packet result to a provincial level checking system server for provincial level checking.
In one embodiment, determining whether the data version of the incremental package result meets the first preset requirement meets the second preset requirement comprises:
generating a first MD5 value according to the attribute information of the incremental package result;
comparing the first MD5 value with a second MD5 value of the last reported incremental package result, and if the first MD5 value is consistent with the second MD5 value, judging that the incremental package result does not meet a second preset requirement; if the increment packets are inconsistent, the increment packets are judged to accord with the preset second requirement.
In one embodiment, the data signature generation module 10 is further configured to:
acquiring homeland change investigation data, and extracting file attribute information, single-pattern spot library construction results, change range line results and incremental package results of the homeland change investigation data;
encrypting the file attribute information by using an SM3 algorithm to generate a corresponding third MD5 value, serializing the third MD5 value into preset format data, and encrypting the preset format data by using an asymmetric encryption algorithm to generate a basic data signature;
encrypting the single-pattern-spot library-building result by using an SM3 algorithm to generate a corresponding fourth MD5 value, encrypting the fourth MD5 value, the basic data signature and the software version information by using an asymmetric encryption algorithm to generate a single-pattern-spot library-building result signature;
generating a corresponding fifth MD5 value for the change range line result by adopting an SM3 algorithm, encrypting the fifth MD5 value by adopting an asymmetric encryption algorithm, and generating a change range line result signature;
and generating a sixth MD5 value for the incremental package result by adopting an SM3 algorithm, and carrying out encryption processing on the sixth MD5 value, the MD5 value of the basic data, the basic data signature, the fifth MD5 value and the software version information by adopting an asymmetric encryption algorithm to generate a modified library-building result signature.
In one embodiment, determining whether the underlying data in the homeland changing survey data is tampered with includes:
decrypting the basic data signature through a preset secret key to obtain basic data decryption information;
loading basic data and extracting data file information in the basic data;
comparing whether the decryption information of the basic data and the information of the data file are consistent, and if so, judging that the basic data is not tampered; if the basic data are inconsistent, the basic data are judged to be tampered.
In one embodiment, after determining that the underlying data is tampered with, further comprising:
and generating prompt information of tampered basic data, sending the prompt information to operators, and stopping the database building operation.
In one embodiment, generating a first MD5 value from attribute information of a delta package outcome includes:
decrypting the incremental package result by adopting a preset key to obtain attribute information of the incremental package result, wherein the attribute information comprises incremental package data, basic data, change range result MD5 value and software version information;
a first MD5 value is generated from the attribute information.
In one embodiment, after determining that the incremental package result does not meet the first preset requirement, further comprising:
the provincial level checking system server feeds back the checking result to the local operation terminal, the local operation terminal reforms the incremental package result according to the checking result, and reports the incremental package result again after the reforming is finished, and whether the incremental package result meets the first preset requirement is judged again.
An embodiment of the present invention provides a computer readable storage medium, where the computer readable storage medium includes a stored computer program, where the computer program when executed controls a device in which the computer readable storage medium is located to execute the achievement quality control method of homeland alteration survey data as described above.
While the foregoing is directed to the preferred embodiments of the present invention, it will be appreciated by those skilled in the art that changes and modifications may be made without departing from the principles of the invention, such changes and modifications are also intended to be within the scope of the invention.

Claims (7)

1. A method for controlling the quality of achievements of homeland change survey data is characterized by comprising the following steps:
acquiring homeland change investigation data, and generating various data signatures by encrypting the homeland change investigation data, wherein the homeland change investigation data comprises the steps of acquiring the homeland change investigation data, extracting file attribute information, single-image spot library construction results, change range line results and incremental package results of the homeland change investigation data; encrypting the file attribute information by using an SM3 algorithm to generate a corresponding third MD5 value, serializing the third MD5 value into preset format data, and encrypting the preset format data by using an asymmetric encryption algorithm to generate a basic data signature; encrypting the single-pattern-spot library establishment result by using an SM3 algorithm to generate a corresponding fourth MD5 value, encrypting the fourth MD5 value, the basic data signature and the software version information by using an asymmetric encryption algorithm to generate a single-pattern-spot library establishment result signature; generating a corresponding fifth MD5 value for the change range line result by adopting an SM3 algorithm, and encrypting the fifth MD5 value by adopting an asymmetric encryption algorithm to generate a change range line result signature; generating a sixth MD5 value for the incremental package result by adopting an SM3 algorithm, and encrypting the sixth MD5 value, the MD5 value of the basic data, the basic data signature, the fifth MD5 value and the software version information by adopting an asymmetric encryption algorithm to generate a modified database creation result signature; the data signature comprises a basic data signature, a single-pattern-spot database-establishing result signature, a change range line result signature and a change database-establishing result signature;
judging whether basic data in the homeland change investigation data are tampered, when judging that the basic data in the homeland change investigation data are not tampered, respectively extracting corresponding data signature information from the basic data signature, the change range line achievement signature, the single-pattern spot database creation achievement signature and the software version information, respectively comparing each data signature information with data signature information reported by a corresponding place, and if the data signature information is inconsistent, judging that the incremental package achievement does not meet a first preset requirement; if the incremental package results are consistent, judging that the incremental package results meet the requirements;
judging whether the data version of the incremental package result accords with a first preset requirement or not, if not, judging that the current incremental package result is repeatedly reported; if yes, uploading the current increment packet result to a provincial level checking system server for provincial level checking; the judging whether the data version of the incremental package result meeting the first preset requirement meets the second preset requirement comprises the following steps: generating a first MD5 value according to the attribute information of the incremental package result; comparing the first MD5 value with a second MD5 value of the last reported incremental package result, and if the first MD5 value is consistent with the second MD5 value, judging that the incremental package result does not meet a second preset requirement; if the increment packets are inconsistent, judging that the increment packets meet a preset second requirement.
2. The method for controlling the quality of results of homeland modification survey data according to claim 1, wherein the judging whether the basic data in the homeland modification survey data is tampered comprises:
decrypting the basic data signature through a preset secret key to obtain basic data decryption information;
loading basic data and extracting data file information in the basic data;
comparing whether the basic data decryption information is consistent with the data file information, and if so, judging that the basic data is not tampered; and if the basic data are inconsistent, judging that the basic data are tampered.
3. The method for controlling the quality of results of homeland modification survey data according to claim 2, wherein after determining that the basic data is tampered with, further comprising:
and generating prompt information of tampered basic data, sending the prompt information to operators, and stopping the database building operation.
4. The method for controlling the quality of results of homeland modification survey data according to claim 1, wherein generating the first MD5 value from the attribute information of the incremental package result comprises:
decrypting the incremental package result by adopting a preset secret key to obtain attribute information of the incremental package result, wherein the attribute information comprises incremental package data, basic data, change range result MD5 values and software version information;
and generating a first MD5 value according to the attribute information.
5. The method for controlling the quality of results of homeland modification survey data according to claim 1, further comprising, after determining that the incremental package results do not meet a first predetermined requirement:
the provincial level checking system server feeds back the checking result to the local operation terminal, the local operation terminal reforms the incremental package result according to the checking result, and the incremental package result is reported again after the reforming is finished, and whether the incremental package result meets the requirement in a first preset mode is judged again.
6. An achievement quality control device for homeland change survey data, comprising:
the data signature generation module is used for acquiring territorial change investigation data and generating various data signatures by carrying out encryption processing on the territorial change investigation data; the method is particularly used for: acquiring homeland change investigation data, and extracting file attribute information, single-pattern spot library construction results, change range line results and incremental package results of the homeland change investigation data; encrypting the file attribute information by using an SM3 algorithm to generate a corresponding third MD5 value, serializing the third MD5 value into preset format data, and encrypting the preset format data by using an asymmetric encryption algorithm to generate a basic data signature; encrypting the single-pattern-spot library establishment result by using an SM3 algorithm to generate a corresponding fourth MD5 value, encrypting the fourth MD5 value, the basic data signature and the software version information by using an asymmetric encryption algorithm to generate a single-pattern-spot library establishment result signature; generating a corresponding fifth MD5 value for the change range line result by adopting an SM3 algorithm, and encrypting the fifth MD5 value by adopting an asymmetric encryption algorithm to generate a change range line result signature; generating a sixth MD5 value for the incremental package result by adopting an SM3 algorithm, and encrypting the sixth MD5 value, the MD5 value of the basic data, the basic data signature, the fifth MD5 value and the software version information by adopting an asymmetric encryption algorithm to generate a modified database creation result signature; the data signature comprises a basic data signature, a single-pattern-spot database-establishing result signature, a change range line result signature and a change database-establishing result signature;
the data signature verification module is used for judging whether basic data in the homeland change investigation data are tampered, when judging that the basic data in the homeland change investigation data are not tampered, respectively extracting corresponding data signature information from the basic data signature, the change range line achievement signature, the single-pattern spot database creation achievement signature and the software version information, respectively comparing each data signature information with data signature information reported in a corresponding place, and judging that the incremental package achievement does not meet a first preset requirement if the data signature information is inconsistent with the data signature information reported in a corresponding place; if the incremental package results are consistent, judging that the incremental package results meet the requirements;
the data version judging module is used for judging whether the data version of the incremental package result meeting the first preset requirement meets the second preset requirement, if not, judging that the current incremental package result is repeatedly reported; if yes, uploading the current increment packet result to a provincial level checking system server for provincial level checking; the method is particularly used for: generating a first MD5 value according to the attribute information of the incremental package result; comparing the first MD5 value with a second MD5 value of the last reported incremental package result, and if the first MD5 value is consistent with the second MD5 value, judging that the incremental package result does not meet a second preset requirement; if the increment packets are inconsistent, judging that the increment packets meet a preset second requirement.
7. A computer readable storage medium, characterized in that the computer readable storage medium comprises a stored computer program, wherein the computer program when run controls a device in which the computer readable storage medium is located to execute the achievement quality control method of homeland alteration investigation data according to any of claims 1 to 5.
CN202211395650.1A 2022-11-09 2022-11-09 Method, device and storage medium for controlling achievement quality of homeland change survey data Active CN115618393B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211395650.1A CN115618393B (en) 2022-11-09 2022-11-09 Method, device and storage medium for controlling achievement quality of homeland change survey data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211395650.1A CN115618393B (en) 2022-11-09 2022-11-09 Method, device and storage medium for controlling achievement quality of homeland change survey data

Publications (2)

Publication Number Publication Date
CN115618393A CN115618393A (en) 2023-01-17
CN115618393B true CN115618393B (en) 2023-04-28

Family

ID=84878971

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211395650.1A Active CN115618393B (en) 2022-11-09 2022-11-09 Method, device and storage medium for controlling achievement quality of homeland change survey data

Country Status (1)

Country Link
CN (1) CN115618393B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2002355593B2 (en) * 2001-08-10 2007-10-25 Cryptomathic A/S Data certification method and apparatus
CN107730429A (en) * 2017-10-19 2018-02-23 伟志股份公司 A kind of real estate information mapping system and its mapping method
CN113158207A (en) * 2021-04-15 2021-07-23 平安国际智慧城市科技股份有限公司 Block chain based report generation method and device, electronic equipment and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2002355593B2 (en) * 2001-08-10 2007-10-25 Cryptomathic A/S Data certification method and apparatus
CN107730429A (en) * 2017-10-19 2018-02-23 伟志股份公司 A kind of real estate information mapping system and its mapping method
CN113158207A (en) * 2021-04-15 2021-07-23 平安国际智慧城市科技股份有限公司 Block chain based report generation method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN115618393A (en) 2023-01-17

Similar Documents

Publication Publication Date Title
CN103905207B (en) Method and system for unifying APK signature
US6622247B1 (en) Method for certifying the authenticity of digital objects by an authentication authority and for certifying their compliance by a testing authority
CN110113334B (en) Contract processing method and device based on block chain and storage medium
EP3378005A1 (en) Method to verify the execution integrity of an application in a target device
CN115604038B (en) Cloud storage data auditing system and method based on blockchain and edge computing
CN105808510A (en) Debugging data verification method and device
CN102236752B (en) Trustiness measuring method for installing and upgrading software
CN113158207A (en) Block chain based report generation method and device, electronic equipment and storage medium
CN115618393B (en) Method, device and storage medium for controlling achievement quality of homeland change survey data
CN109086621B (en) Electric energy meter verification report data tamper-proof method and system and storage medium
CN115002141A (en) File storage method and device based on block chain
CN110276665A (en) Electricity power engineering purchase of goods and materials demand declaration method based on big data
CN114398684A (en) Block chain-based information processing method and device, storage medium and electronic equipment
JP7184199B2 (en) Test system, test method and test program
CN107342869A (en) Credible roll-call method and its system based on intelligent terminal
CN109614809B (en) Electronic bill information encryption method and device and computer readable storage medium
CN106768016A (en) A kind of use APP quick discriminatings, collection, the method for analysis grouting data
CN111639131A (en) Block chain generation system and method for electric energy meter field inspection
CN103370900B (en) A kind of information processor
CN105933396A (en) Method and system for realizing long flow by cooperating system interfaces of different channels
CN111382050B (en) Network service interface testing method and device
CN108830050A (en) Register method, device and the storage medium of computer program
CN110602210A (en) Method, system, client and medium for cost accounting management electronic seal
CN112416763A (en) Method, device and equipment for automatically testing interface and storage medium
Snyder et al. The realities of testing meter firmware upgradeability

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
GR01 Patent grant
GR01 Patent grant