CN115618393A - 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 PDFInfo
- Publication number
- CN115618393A CN115618393A CN202211395650.1A CN202211395650A CN115618393A CN 115618393 A CN115618393 A CN 115618393A CN 202211395650 A CN202211395650 A CN 202211395650A CN 115618393 A CN115618393 A CN 115618393A
- Authority
- CN
- China
- Prior art keywords
- data
- result
- homeland
- signature
- change
- 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.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/602—Providing cryptographic facilities or services
-
- 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/24—Querying
- G06F16/245—Query processing
- G06F16/2458—Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
- G06F16/2474—Sequence data queries, e.g. querying versioned data
-
- 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/29—Geographical information databases
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/64—Protecting 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 result quality of homeland change survey data, wherein the method comprises the following steps: acquiring homeland change survey data, and generating various data signatures by encrypting the homeland change survey 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 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 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 which meets the first preset requirement meets a second preset requirement or not; and if so, uploading the current increment package result to a provincial level checking system server for provincial level checking. The invention can effectively improve the result quality control effect of the homeland change survey data.
Description
Technical Field
The invention relates to the technical field of geographic information, in particular to a method and a device for controlling the achievement quality of homeland change survey data and a storage medium.
Background
In recent years, along with the rapid development of economy in China, the population pressure is increased to accelerate the pace of city expansion, the land demand is further increased, the content of land change survey is more and more refined, the requirement is higher and higher, the change situation of the current utilization situation 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 result of the homeland change survey data is particularly important, and the quality of the result of the homeland change survey data needs to be controlled to ensure the authenticity and the accuracy of the result.
The existing achievement quality control method of the homeland change survey data generally comprises the steps of making a relevant inspection rule according to the requirements of the homeland change technical regulations, and judging whether the reported incremental package achievement meets the preset requirements or not by combining technical means such as remote sensing images, internet plus, geographic information systems and the like and manual interpretation. Although the existing achievement quality control method of homeland change survey data can control achievement quality to a certain extent, the problems of manual misjudgment and ineffective control of data version exist, and the achievement quality control effect is poor.
Disclosure of Invention
The invention provides a method, a device and a storage medium for controlling the result quality of homeland change survey data, which aim to solve the technical problem that the result quality control effect is poor due to the fact that the reference data needed to be used and the data version of reported results are judged whether to meet the preset requirements only by manual judgment, and the conditions of manual judgment errors and disordered data versions easily occur in the conventional method for controlling the result quality of homeland change survey data.
One embodiment of the present invention provides a result quality control method for homeland change survey data, including:
acquiring homeland change survey data, and encrypting the homeland change survey data to generate a plurality of data signatures, wherein the data signatures comprise basic data signatures, single-pattern-spot database construction result signatures, change range line result signatures and change database construction result signatures;
judging whether basic data in the homeland change survey data are tampered, extracting corresponding data signature information from the basic data signature, the change range line result signature, the Shan Tuban library formation result signature and software version information when judging that the basic data in the homeland change survey data are not tampered, comparing each piece of data signature information with the corresponding piece of data signature information reported in a corresponding place, and judging that the incremental package result does not meet a first preset requirement if the pieces of data signature information are not consistent; 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 which meets the first preset requirement meets a second preset requirement, if not, judging that the current incremental package result is repeatedly reported; and if so, uploading the current increment package 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 a 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 increment package result reported last time, and if the first MD5 value is consistent with the second MD5 value of the increment package result reported last time, judging that the increment package result does not meet a second preset requirement; and if not, judging that the increment package meets a preset second requirement.
Further, the encrypting the homeland change survey data to generate a plurality of data signatures includes:
acquiring homeland change survey data, and extracting file attribute information, single-pattern spot database construction results, change range line results and increment package results of the homeland change survey data;
encrypting the file attribute information by adopting 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 adopting an asymmetric encryption algorithm to generate a basic data signature;
encrypting the single-pattern-spot database establishment result by adopting an SM3 algorithm to generate a corresponding fourth MD5 value, and encrypting the fourth MD5 value, the basic data signature and the software version information by adopting an asymmetric encryption algorithm to generate a single-pattern-spot database establishment result signature;
generating a corresponding fifth MD5 value for the variation range line result by adopting an SM3 algorithm, and encrypting the fifth MD5 value by adopting an asymmetric encryption algorithm to generate a variation 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 signature of the basic data, the fifth MD5 value and the software version information by adopting an asymmetric encryption algorithm to generate a signature for changing the change and database establishment result.
Further, the determining whether the basic data in the homeland change survey 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 or not, 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 basic data is tampered, the method further includes:
and generating a prompt message that the basic data is tampered, sending the prompt message to an operator, and stopping library building operation.
Further, the generating a first MD5 value according to the attribute information of the incremental package result includes:
decrypting the increment package result by adopting a preset key to obtain attribute information of the increment package result, wherein the attribute information comprises increment package data, basic data, a change range result MD5 value and software version information;
and generating a first MD5 value according to the attribute information.
Further, after determining that the incremental package result does not meet the first preset requirement, the method further includes:
and the provincial level checking system server feeds back the checking result to the local operation terminal, the local operation terminal corrects the increment package result according to the checking result, reports the increment package result again after the correction is finished, and judges whether the increment package result meets the requirement in a first preset mode again.
An embodiment of the present invention provides an achievement quality control apparatus for homeland change survey data, including:
the system comprises a data signature generation module, a data acquisition module, a data transmission module and a data transmission module, wherein the data signature generation module is used for acquiring homeland change survey data and generating various data signatures by encrypting the homeland change survey data, and the data signatures comprise basic data signatures, single-pattern spot database creation fruit signatures, change range line result signatures and change database creation fruit signatures;
the data signature verification module is used for judging whether basic data in the homeland change survey data is tampered, extracting corresponding data signature information from the basic data signature, the change range line result signature, the Shan Tuban database construction result signature and software version information when judging that the basic data in the homeland change survey data is not tampered, comparing each piece of data signature information with the corresponding piece of data signature information reported in a corresponding place, and judging that the incremental package result does not meet a first preset requirement if the pieces of data signature information are not consistent; 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 which meets the first preset requirement meets a second preset requirement, and if not, judging that the current incremental package result is repeatedly reported; and if so, uploading the current increment package result to a provincial level checking system server for provincial level checking.
An embodiment of the present invention provides a computer-readable storage medium, which includes a stored computer program, wherein when the computer program runs, a device where the computer-readable storage medium is located is controlled to execute the achievement quality control method of homeland change survey data as described above.
In the embodiment of the invention, the situation of large repeated workload caused by repeated reporting of the same increment package result can be effectively avoided by judging whether the data version of the increment package result to be reported is consistent with the data version of the increment package result reported last time, so that the result quality control efficiency of homeland changed data can be effectively improved; the embodiment of the invention can accurately judge whether the basic data is falsified or not by decrypting the basic data signature to obtain the basic data decryption information and comparing the basic data decryption information with the data file information in the loaded basic data, so that the basic data used when the data result reported by a local job team is built into the database is consistent with the basic data used when provincial level check is carried out, and further, the increase of unnecessary workload caused by inconsistency of the 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 survey data, and can effectively prevent the encrypted data signatures from being distorted, thereby effectively improving the authenticity of checking the data signatures of the basic data and the data results generated at provincial level and the signatures of the basic data and the data results reported at the decrypted place, and further improving the result quality control effect of the homeland change survey data.
Drawings
Fig. 1 is a schematic flow chart of a result quality control method for homeland change survey data according to an embodiment of the present invention;
FIG. 2 is a flow chart of a homeland change survey process according to an embodiment of the present invention;
fig. 3 is a schematic diagram illustrating the circulation of homeland change survey data results and signatures according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a data signature generation process provided by an embodiment of the present invention;
FIG. 5 is a schematic diagram of a data database creation and data result data signature verification process provided in the embodiment of the present invention;
fig. 6 is a schematic diagram of a data version verification process provided in the embodiment of the present invention;
fig. 7 is a schematic structural diagram of a result quality control apparatus for homeland change survey data according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In the description of the present application, it is to be understood that the terms "first", "second" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implying any number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the present application, "a plurality" means two or more unless otherwise specified.
In the description of the present application, it is to be noted that, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meaning of the above terms in the present application can be understood in a specific case by those of ordinary skill in the art.
Referring to fig. 1-6, an embodiment of the present invention provides a method for controlling the quality of results of homeland change survey data shown in fig. 1, including:
s1, obtaining homeland change survey data, and generating various data signatures by encrypting the homeland change survey data, wherein the data signatures comprise basic data signatures, single-pattern spot stock-building result signatures, change range line result signatures and change stock-building result signatures;
in the embodiment of the invention, the homeland change survey data comprises images issued by the country, monitoring pattern spots, a homeland change basic database in the last year, land use 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 falsified, 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 falsified, comparing each piece of data signature information with the corresponding piece of data signature information reported in a corresponding place, and judging that an increment package result does not meet a first preset requirement if the pieces of data signature information are not consistent with the pieces of data signature information reported in the corresponding place; if the incremental package results are consistent, judging that the incremental package results meet the requirements;
according to the embodiment of the invention, corresponding data signature information is respectively extracted from the basic data signature, the change range line result signature, the single-pattern spot database formation result signature and the software version information, and each data signature information is respectively compared with the data signature information reported in a corresponding place, so that the data signature is verified, whether the data signature information related to the increment package result to be reported is consistent with the data signature information reported in the place can be accurately and efficiently judged, whether the increment package result to be reported meets the requirement does not need to be manually judged, and therefore, manual judgment errors 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 improved.
S3, judging whether the data version of the incremental package result meeting the first preset requirement meets a second preset requirement, and if not, judging that the current incremental package result is repeatedly reported; and if so, uploading the current increment package result to a provincial level checking system server for provincial level checking.
In the embodiment of the invention, the situation of larger repeated workload caused by repeated reporting of the same increment package result can be effectively avoided by judging whether the data version of the increment package result to be reported is consistent with the data version of the increment package result which is reported last time, so that the result quality control efficiency of homeland changed data can be effectively improved.
Please refer to fig. 2, which is a flowchart illustrating a homeland change investigation operation flow according to an embodiment of the present invention.
Referring to fig. 3, a schematic diagram of the data result of the homeland change survey and the transfer of the signature provided in the embodiment of the present invention is shown.
In one embodiment, the method for generating a plurality of data signatures by encrypting homeland change survey data comprises the following steps:
acquiring homeland change survey data, and extracting file attribute information, single-pattern-spot database construction achievement, change range line achievement and increment package achievement of the homeland change survey data;
encrypting the file attribute information by adopting 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 adopting an asymmetric encryption algorithm to generate a basic data signature;
in the embodiment of the invention, the file attribute information in the data can be obtained by arranging the homeland change related data according to the checking standard directory. According to the embodiment of the invention, an SM3 algorithm is adopted to carry out primary encryption to generate a corresponding third MD5 value, after the third MD5 value is generated, a data file name and a third MD5 value associated dictionary are established, the third MD5 is serialized into json format data, the json format data is subjected to secondary encryption through an asymmetric encryption algorithm (SM 2) to generate a corresponding signature, the generated data signature and the corresponding data are bound and stored, the data are stored in a database server for provincial level inspection, and the data are issued to the county level to serve as a foundation for national soil change survey building base and county level inspection.
Encrypting the single-pattern-spot database construction fruit by adopting an SM3 algorithm to generate a corresponding fourth MD5 value, and encrypting the fourth MD5 value, the basic data signature and the software version information by adopting an asymmetric encryption algorithm to generate a single-pattern-spot database construction fruit signature;
in the embodiment of the invention, in order to ensure that the basic data used by the single-pattern-spot database construction result is consistent with the version of the data issued by the country, the SM3 algorithm is adopted to generate a corresponding fourth MD5 value for the single-pattern-spot database construction result, and then the fourth MD5 value, the basic data signature information, the software version and other information of the single-pattern-spot database construction result are encrypted by adopting an asymmetric encryption algorithm (SM 2) to generate the single-pattern-spot database construction result signature.
Generating a corresponding fifth MD5 value for the variation range line result by adopting an SM3 algorithm, and encrypting the fifth MD5 value by adopting an asymmetric encryption algorithm to generate a variation 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 a local work team is the result after provincial level audit 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 bound and stored in a database server for provincial level audit, and a county work team 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 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 change and library establishment result signature.
In the embodiment of the invention, the generation of the homeland change survey data signature mainly adopts a national encryption algorithm, namely a national encryption algorithm identified by the national cryptology bureau, and the national encryption algorithm 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 by the SM3 and SM2 mixed mode for the data such as basic data, single-pattern spot database building result, change range line result, change survey result and the like. SM2: is an asymmetric encryption algorithm. SM3: the message digest, which can be understood by using MD5 as a comparison, has a check result of 256 bits.
In the embodiment of the invention, in order to ensure that the final change investigation database establishment result (incremental package) is checked by county level auditing software, a SM3 algorithm is adopted to generate a corresponding sixth MD5 value for the incremental package result, and information such as the sixth MD5 value of the incremental package, a basic data signature, the MD5 value of the change range line result, a software version and the like is encrypted by an asymmetric encryption algorithm (SM 2) to generate a change database establishment result signature.
In the embodiment of the invention, based on the homeland change survey data, a plurality of data signatures are generated in a secondary encryption mode, and the encrypted data signatures can be effectively prevented from being distorted, so that the authenticity of checking the data signatures of the basic data and the data results generated at provincial level and the signatures of the basic data and the data results reported at the decrypted place can be effectively improved, and the result quality control effect of the homeland change survey data is further improved.
Please refer to fig. 4, which is a schematic diagram illustrating a data signature generation process according to an embodiment of the present invention.
In one embodiment, the determining whether or not the base data in the homeland change survey data is falsified 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 or not, and if so, judging that the basic data is not tampered; and if the 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 bound and stored, stored in the database server for provincial level check and sent to the county level as the foundation for the construction of the national and local change survey and the county level check. When a local job team uses single-pattern spot database building software to build a database or uses county-level auditing software to carry out result inspection, and loads basic data as database building reference data, the basic data signature information is decrypted by a key issued by 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 and the extracted data file information are verified, 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 data; and if the decrypted basic data decryption information is inconsistent with the extracted data file information, judging that the basic data is tampered, prompting an operator to establish the database according to the fact that the database is established by mistake, and stopping the database establishment 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 falsified or not can be accurately judged, the basic data used when the data result reported by a local operation team is built is ensured to be consistent with the basic data used when provincial level checking is carried out, and further, the situation that the basic data is inconsistent due to artificial interference, and unnecessary workload is increased can be effectively avoided.
In one embodiment, after determining that the underlying data is tampered, the method further includes:
and generating a prompt message that the basic data is tampered, sending the prompt message to an operator, and stopping library building operation.
In the embodiment of the invention, the corresponding data signature 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 level checking to check, and whether the extracted data signature information is consistent with the locally reported data signature information or not can be analyzed. And if the extracted data signature information is inconsistent with the data signature information reported by the local, sending a prompt that the reported change library construction result signature is wrong to a provincial level checking system terminal, judging that the increment package result does not meet a first preset requirement, and exporting a checking result to feed back to a local operation team for checking. And if the extracted data signature information is consistent with the locally reported data signature information, judging that the current increment package result meets a first preset requirement, reporting the increment package result to a provincial level checking system server for provincial level checking, extracting relevant attribute information of the reported increment package result, generating a corresponding MD5 value, and storing the MD5 value in the server.
Please refer to fig. 5, which is a schematic diagram of a data database creation and data result data signature verification process according to an embodiment of the present invention.
In one embodiment, after determining that the incremental package result does not meet the first preset requirement, the method further includes:
and the provincial level checking system server feeds back the checking result to the local operation terminal, the local operation terminal corrects the incremental package result according to the checking result, reports the incremental package result again after the correction is finished, and judges whether the incremental package result meets the requirement in a first preset mode again.
In the embodiment of the invention, after the reformed incremental package result is reported again, the data signature of the reported incremental package result needs to be checked again, and after the data signature check is passed, the incremental package result is judged to be in accordance with the second preset requirement or not by extracting the MD5 value.
In one embodiment, 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;
in this embodiment of the present invention, generating the first MD5 value according to the attribute information of the incremental package result may be: decrypting by adopting a preset key increment package result to obtain attribute information of the increment package result, wherein the attribute information comprises increment package data, basic data, an MD5 value of a change range result and software version information; and generating a first MD5 value according to the attribute information.
In a specific implementation manner, after the incremental package result passes the county level auditing software check, the local operating personnel reports the incremental package result to the provincial level checking system, the provincial level checking system performs data warehousing on the reported incremental package result, the database server for provincial level checking receives the data signature in the incremental package result, namely, the data signature is a change library establishment result signature, and the data signature is decrypted through the secret key, so that the attribute information of the reported incremental package result is obtained.
Comparing the first MD5 value with a second MD5 value of the increment package result reported last time, and if the first MD5 value is consistent with the second MD5 value of the increment package result reported last time, judging that the increment package result reported currently does not meet a second preset requirement; and if not, judging that the increment package meets the preset second requirement.
In the embodiment of the invention, each different increment package result corresponds to a different MD5 value, and whether the two increment packages are the same or not can be effectively judged by comparing whether the MD5 values of the two increment packages are consistent or not.
It should be noted that, in the technical field of homeland change survey, because the whole operation process has the situation of repeatedly modifying the data result for many times and different operators have labor division assistance, when data modification is performed at each stage, the situation of using wrong data version is easy to occur, that is, when the incremental package result of the same data version is repeatedly reported, the data version is used for wrong data version, so that the data result is repeatedly and ineffectively modified, the repeated workload is large, and the development of actual homeland change survey work is not facilitated. According to the embodiment of the invention, the MD5 value of the currently reported increment package result is extracted and compared with the MD5 value of the increment package result reported last time, so that whether the currently reported increment package is correct or not can be quickly 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 present invention.
The embodiment of the invention has the following beneficial effects:
in the embodiment of the invention, the situation of large repeated workload caused by repeated reporting of the same increment package result can be effectively avoided by judging whether the data version of the increment package result to be reported is consistent with the data version of the increment package result reported last time, so that the result quality control efficiency of homeland changed data can be effectively improved; the embodiment of the invention can accurately judge whether the basic data is falsified or not by decrypting the basic data signature to obtain the basic data decryption information and comparing the basic data decryption information with the data file information in the loaded basic data, so that the basic data used when the data result reported by a local job team is built into the database is consistent with the basic data used when provincial level check is carried out, and further, the increase of unnecessary workload caused by inconsistency of the 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 survey data, and can effectively prevent the encrypted data signatures from being distorted, thereby effectively improving the authenticity of checking the data signatures of the basic data and the data results generated at provincial level and the signatures of the basic data and the data results reported at the decrypted place, and further improving the result quality control effect of the homeland change survey data.
Referring to fig. 7, based on the same inventive concept as the above embodiment, an embodiment of the present invention provides an achievement quality control apparatus for homeland change survey data, including:
the data signature generation module 10 is configured to obtain homeland change survey data, and generate a plurality of data signatures by encrypting the homeland change survey data, where the data signatures include a basic data signature, a single-pattern-spot stock-building fruit signature, a change range line result signature, and a change stock-building fruit signature;
the data signature verification module 20 is configured to determine whether basic data in the homeland change survey data is tampered, extract corresponding data signature information from the basic data signature, a change range line result signature, a single-pattern spot database formation result signature and software version information when it is determined that the basic data in the homeland change survey data is not tampered, compare each piece of data signature information with data signature information reported in a corresponding place, and determine that an incremental package result does not meet a first preset requirement if the pieces of data signature information are not consistent with the pieces of data signature information reported in the corresponding place; 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 the data version of the incremental package result meeting the first preset requirement meets a second preset requirement, and if not, judge that the current incremental package result is repeatedly reported; and if so, uploading the current increment package result to a provincial level checking system server for provincial level checking.
In one embodiment, 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 increment package result reported last time, and if the first MD5 value is consistent with the second MD5 value of the increment package result reported last time, judging that the increment package result does not meet a second preset requirement; and if not, judging that the increment package meets the preset second requirement.
In one embodiment, the data signature generation module 10 is further configured to:
acquiring homeland change survey data, and extracting file attribute information, single-pattern-spot database construction achievement, change range line achievement and increment package achievement of the homeland change survey data;
encrypting the file attribute information by adopting 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 adopting an asymmetric encryption algorithm to generate a basic data signature;
encrypting the single-pattern-spot database construction fruit by adopting an SM3 algorithm to generate a corresponding fourth MD5 value, and encrypting the fourth MD5 value, the basic data signature and the software version information by adopting an asymmetric encryption algorithm to generate a single-pattern-spot database construction fruit signature;
generating a corresponding fifth MD5 value for the variation range line result by adopting an SM3 algorithm, and encrypting the fifth MD5 value by adopting an asymmetric encryption algorithm to generate a variation 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 change and library establishment result signature.
In one embodiment, determining whether the base data in the homeland change survey 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 or not, and if so, judging that the basic data is not tampered; and if the data are inconsistent, the basic data are judged to be tampered.
In one embodiment, after determining that the underlying data is tampered, the method further comprises:
and generating a prompt message that the basic data is tampered, sending the prompt message to an operator, and stopping library building operation.
In one embodiment, generating the first MD5 value from the attribute information of the incremental package outcome comprises:
decrypting by adopting a preset key increment package result to obtain attribute information of the increment package result, wherein the attribute information comprises increment package data, basic data, an MD5 value of a change range result and software version information;
and generating a first MD5 value according to the attribute information.
In one embodiment, after determining that the incremental package result does not meet the first preset requirement, the method further includes:
and the provincial level checking system server feeds back the checking result to the local operation terminal, the local operation terminal corrects the incremental package result according to the checking result, reports the incremental package result again after the correction is finished, and judges whether the incremental package result meets the requirement in a first preset mode again.
An embodiment of the present invention provides a computer-readable storage medium including a stored computer program, wherein when the computer program runs, a device in which the computer-readable storage medium is located is controlled to execute the achievement quality control method of the homeland change survey data as described above.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention.
Claims (9)
1. A result quality control method for homeland change survey data is characterized by comprising the following steps:
acquiring homeland change survey data, and encrypting the homeland change survey data to generate a plurality of data signatures, wherein the data signatures comprise basic data signatures, single-pattern-spot database construction result signatures, change range line result signatures and change database construction result signatures;
judging whether basic data in the homeland change survey data are tampered, extracting corresponding data signature information from the basic data signature, the change range line result signature, the Shan Tuban library formation result signature and software version information when judging that the basic data in the homeland change survey data are not tampered, comparing each piece of data signature information with the corresponding piece of data signature information reported in a corresponding place, and judging that the incremental package result does not meet a first preset requirement if the pieces of data signature information are not consistent; 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 which meets the first preset requirement meets a second preset requirement, if not, judging that the current incremental package result is reported repeatedly; and if so, uploading the current increment package result to a provincial level checking system server for provincial level checking.
2. The result quality control method of homeland change survey data according to claim 1, wherein said determining whether the data version of the incremental package result that meets a first preset requirement meets a 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 increment package result reported last time, and if the first MD5 value is consistent with the second MD5 value of the increment package result reported last time, judging that the increment package result does not meet a second preset requirement; and if not, judging that the increment package meets a preset second requirement.
3. The method of claim 1, wherein the encrypting the homeland change survey data to generate a plurality of data signatures comprises:
acquiring homeland change survey data, and extracting file attribute information, single-pattern spot database construction results, change range line results and increment package results of the homeland change survey data;
encrypting the file attribute information by adopting 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 adopting an asymmetric encryption algorithm to generate a basic data signature;
encrypting the single-pattern-spot database construction fruit by adopting an SM3 algorithm to generate a corresponding fourth MD5 value, and encrypting the fourth MD5 value, the basic data signature and the software version information by adopting an asymmetric encryption algorithm to generate a single-pattern-spot database construction fruit signature;
generating a corresponding fifth MD5 value for the variation range line result by adopting an SM3 algorithm, and encrypting the fifth MD5 value by adopting an asymmetric encryption algorithm to generate a variation range line result signature;
and generating a sixth MD5 value for the increment package result by adopting an SM3 algorithm, and encrypting the sixth MD5 value, the MD5 value of the basic data, the signature of the basic data, the fifth MD5 value and the software version information by adopting an asymmetric encryption algorithm to generate a change library-establishing result signature.
4. The achievement quality control method of the homeland change survey data according to claim 1, wherein the judging whether the basic data in the homeland change survey data is falsified 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 or not, 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.
5. The achievement quality control method of homeland change survey data according to claim 4, further comprising, after determining that the basic data is falsified:
and generating a prompt message that the basic data is tampered, sending the prompt message to an operator, and stopping library building operation.
6. The result quality control method of homeland change survey data according to claim 2, wherein said generating a first MD5 value from the attribute information of the incremental package result comprises:
decrypting the increment package result by adopting a preset key to obtain attribute information of the increment package result, wherein the attribute information comprises increment package data, basic data, a change range result MD5 value and software version information;
and generating a first MD5 value according to the attribute information.
7. The result quality control method of homeland change survey data according to claim 1, further comprising, after determining that the incremental package result does not meet a first preset requirement:
and the provincial level checking system server feeds back the checking result to the local operation terminal, the local operation terminal corrects the increment package result according to the checking result, reports the increment package result again after the correction is finished, and judges whether the increment package result meets the requirement in a first preset mode again.
8. A result quality control device for homeland change survey data, comprising:
the system comprises a data signature generation module, a data acquisition module and a data processing module, wherein the data signature generation module is used for acquiring homeland change survey data and generating various data signatures by encrypting the homeland change survey data, and the data signatures comprise basic data signatures, single-pattern-spot stock-building fruit signatures, change range line result signatures and change stock-building fruit signatures;
the data signature verification module is used for judging whether basic data in the homeland change survey data is tampered, extracting corresponding data signature information from the basic data signature, the change range line result signature, the Shan Tuban database construction result signature and software version information when judging that the basic data in the homeland change survey data is not tampered, comparing each piece of data signature information with the corresponding piece of data signature information reported in a corresponding place, and judging that the incremental package result does not meet a first preset requirement if the pieces of data signature information are not consistent; 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 which meets the first preset requirement meets a second preset requirement, and if not, judging that the current incremental package result is repeatedly reported; and if so, uploading the current increment package result to a provincial level checking system server for provincial level checking.
9. A computer-readable storage medium, comprising a stored computer program, wherein when the computer program runs, the computer-readable storage medium controls a device to execute a method for controlling quality of result of homeland change survey data according to any one of claims 1 to 7.
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 true CN115618393A (en) | 2023-01-17 |
CN115618393B 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) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118981804A (en) * | 2024-10-21 | 2024-11-19 | 广东省土地调查规划院 | National land space planning data verification method, device, terminal equipment and storage medium |
Citations (3)
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 |
-
2022
- 2022-11-09 CN CN202211395650.1A patent/CN115618393B/en active Active
Patent Citations (3)
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 |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118981804A (en) * | 2024-10-21 | 2024-11-19 | 广东省土地调查规划院 | National land space planning data verification method, device, terminal equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN115618393B (en) | 2023-04-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20090126028A1 (en) | Securing electronic control unit code | |
US20090125985A1 (en) | Verifying electronic control unit code | |
WO2019047070A1 (en) | Database maintenance method and system | |
CN111143399B (en) | Data processing method, device, storage medium and computer equipment | |
CN110955897A (en) | Visualization method and system for software R&D security management and control based on big data | |
CN105183672A (en) | Self-adaptive interface calling method and system | |
CN112862123B (en) | Execution work order generation method, device, computer equipment and storage medium | |
CN102236752B (en) | Trustiness measuring method for installing and upgrading software | |
CN107292770A (en) | A kind of construction information management method and system based on planar bar code technology | |
CN108540447B (en) | Block chain-based certificate verification method and system | |
CN110119348B (en) | Software upgrading test method and terminal | |
CN107749854B (en) | Single sign-on method and system based on client | |
CN111563273A (en) | Information verification method and related equipment | |
CN115618393A (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 | |
CN115130857A (en) | Product control method, system, computer device and storage medium | |
CN112052184B (en) | Automatic generation method, automatic generation device and storage medium for test script | |
CN111324367B (en) | Alliance chain configuration updating method and device | |
CN109271210A (en) | A kind of check method and device of configuration file | |
CN111797385A (en) | Operation method and operation system of staging device and readable storage medium | |
CN114416137A (en) | Equipment upgrading method, device, equipment and medium | |
CN110909388A (en) | Decentralized electronic calendar management system and method | |
CN116800523A (en) | Method for rapidly issuing certificate | |
CN111831698B (en) | Data auditing method, system and electronic equipment | |
US20220100859A1 (en) | Remote management of devices |
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 |