System and method for automatically generating electronic calibration certificate with tamper-proof function

By generating and attaching verification codes in the electronic calibration certificate system, the problem of poor security of electronic calibration certificates in the prior art is solved, and the effective anti-tampering and automatic generation of certificate data is realized.

CN120012169APending Publication Date: 2025-05-16709TH RESEARCH INSTITUTE CHINA STATE SHIPBUILDING CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510091573.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-21
Publication Date
2025-05-16

AI Technical Summary

Technical Problem

The existing electronic calibration certificates are poor in terms of anti-counterfeiting and tampering, and cannot effectively protect the integrity of the data.

Method used

The original data is obtained through the calibration data module, and a verification code is generated based on the original data in the certificate generation verification module, and attached to the electronic calibration certificate to realize the data tamper-proof.

Benefits of technology

It realizes the automatic generation of electronic calibration certificates and uses verification codes, improving the anti-tampering security of certificate data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120012169A_ABST
    Figure CN120012169A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of electronic certificates for measurement and detection, and particularly discloses an electronic calibration certificate automatic generation system and method with a tamper-proof function, the system is composed of a calibration data module, a certificate generation verification module and an electronic calibration certificate generation module, the original data is sent to the certificate generation verification module; the certificate generation verification module is used for receiving the original data, generating a first check code based on the original data, and sending the original data and the first check code to the electronic calibration certificate generation module; the electronic calibration certificate generation module is used for receiving the original data and the first check code and generating an electronic calibration certificate with the original data and the first check code.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the technical field of electronic certificates for metrology and detection, and more specifically, to a system and method for automatically generating an electronic calibration certificate with an anti-tampering function. Background Art

[0002] Most of the existing electronic calibration certificates are based on data files generated by test system software or are manually filled in by recording the measured values ​​of the test instrument, and then the paper calibration certificates are digitized by taking photos or scanning for storage and management. With the increase in the number of metrological and testing instruments and the increase in the demand for information and intelligent data analysis in the industry, on the one hand, the efficiency of manually filling in calibration certificates is low and data errors cannot be completely avoided; on the other hand, the data in the current electronic calibration certificates digitized by taking photos or scanning are not convenient for further extraction, calculation and analysis.

[0003] Although some people have proposed a method for automatically generating calibration certificates for digital multimeters based on LabVIEW graphical programming software and Microsoft Excel, the generated electronic calibration certificates have brought great convenience in data storage, extraction, calculation, and transmission. However, the scope of application is limited to the reading of multi-function meter test data and certificate generation. It does not provide effective protection against counterfeiting and tampering of electronic calibration certificates, and has poor security. Summary of the invention

[0004] In view of the defects of the prior art, the purpose of this application is to provide a system and method for automatically generating an electronic calibration certificate with an anti-tampering function, aiming to solve the problem of poor security caused by the lack of effective protection against counterfeiting and tampering of the electronic calibration certificate in the prior art.

[0005] To achieve the above objectives, in a first aspect, the present application provides an electronic calibration certificate automatic generation system with tamper-proof function, including a calibration data module, a certificate generation verification module and an electronic calibration certificate generation module, wherein:

[0006] The calibration data module is used to obtain raw data and send the raw data to the certificate generation and verification module;

[0007] The certificate generation and verification module is used to receive the original data, generate a first verification code based on the original data, and send the original data and the first verification code to the electronic calibration certificate generation module;

[0008] The electronic calibration certificate generation module is used to receive the original data and the first verification code, and generate an electronic calibration certificate with the original data and the first verification code.

[0009] This application obtains the original data through the calibration data module, and generates a verification code based on the original data through the certificate generation and verification module and attaches it to the electronic calibration certificate generated by the electronic calibration certificate generation module. This can realize the automatic generation of the electronic calibration certificate, and the verification code can be used to prevent tampering of the electronic calibration certificate data, thereby improving security.

[0010] According to a system for automatically generating an electronic calibration certificate with tamper-proof function provided by the present invention, the certificate generation and verification module is also used for:

[0011] Reading raw data in the electronic calibration certificate;

[0012] Generate a second verification code based on the original data;

[0013] The first verification code and the second verification code are compared. If the first verification code and the second verification code are different, it is determined that the data has been tampered with.

[0014] The present application verifies whether the original data in the electronic calibration certificate has been tampered with by means of a certificate generation verification module, specifically by regenerating a verification code based on the data and comparing the newly generated verification code with the initial verification code to see if they are the same. If they are different, it indicates that the data has been tampered with.

[0015] According to a system for automatically generating an electronic calibration certificate with tamper-proof function provided by the present invention, the certificate generation and verification module is also used for:

[0016] After determining that the data has been tampered with, an indication that the data has been modified is added to the electronic calibration certificate.

[0017] This application adds a data modification mark to the electronic calibration certificate where the data has been tampered with as a reminder.

[0018] According to a system for automatically generating an electronic calibration certificate with tamper-proof function provided by the present invention, the certificate generation and verification module is specifically used for:

[0019] Based on the original data and the key, an encryption algorithm is used to generate the first verification code.

[0020] In a second aspect, the present application provides a method for automatically generating an electronic calibration certificate with an anti-tampering function, comprising:

[0021] Get the original data;

[0022] Generate a first verification code based on the original data;

[0023] An electronic calibration certificate is generated with the original data and the first verification code.

[0024] According to a method for automatically generating an electronic calibration certificate with tamper-proof function provided by the present invention, the method further comprises:

[0025] Reading raw data in the electronic calibration certificate;

[0026] Generate a second verification code based on the original data;

[0027] The first verification code and the second verification code are compared. If the first verification code and the second verification code are different, it is determined that the data has been tampered with.

[0028] According to a method for automatically generating an electronic calibration certificate with tamper-proof function provided by the present invention, after determining that the data has been tampered with, the method further includes:

[0029] Add an indication in the electronic calibration certificate that the data has been modified.

[0030] According to a method for automatically generating an electronic calibration certificate with an anti-tampering function provided by the present invention, generating a first verification code based on the original data includes:

[0031] Based on the original data and the key, an encryption algorithm is used to generate the first verification code.

[0032] In a third aspect, the present application provides an electronic device, comprising: at least one memory for storing programs; and at least one processor for executing the programs stored in the memory. When the programs stored in the memory are executed, the processor is used to execute the method for automatically generating an electronic calibration certificate with anti-tampering function described in the second aspect or any possible implementation of the second aspect.

[0033] In a fourth aspect, the present application provides a computer-readable storage medium, which stores a computer program. When the computer program runs on a processor, the processor executes the method for automatically generating an electronic calibration certificate with an anti-tampering function described in any possible implementation of the first aspect or the second aspect.

[0034] In a fifth aspect, the present application provides a computer program product. When the computer program product runs on a processor, the processor executes the method for automatically generating an electronic calibration certificate with an anti-tampering function described in the second aspect or any possible implementation of the second aspect.

[0035] It can be understood that the beneficial effects of the second to fifth aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here.

[0036] In general, the above technical solutions conceived by this application have the following beneficial effects compared with the prior art:

[0037] By obtaining the original data through the calibration data module, and generating a verification code based on the original data through the certificate generation and verification module and attaching it to the electronic calibration certificate generated by the electronic calibration certificate generation module, the automatic generation of the electronic calibration certificate can be realized, and the verification code can be used to prevent tampering of the electronic calibration certificate data and improve security. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0039] Figure 1 It is a structural schematic diagram of a system for automatically generating an electronic calibration certificate with an anti-tampering function provided in an embodiment of the present application;

[0040] Figure 2 It is a schematic diagram of the process of automatically generating an electronic calibration certificate provided in an embodiment of the present application;

[0041] Figure 3 It is a schematic diagram of a process for verifying whether an electronic calibration certificate has been tampered with, provided in an embodiment of the present application;

[0042] Figure 4 It is a flowchart of a method for automatically generating an electronic calibration certificate with tamper-proof function provided in an embodiment of the present application;

[0043] Figure 5 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0044] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0045] The term "and / or" in this article is a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The symbol " / " in this article indicates that the associated objects are in an or relationship, for example, A / B means A or B.

[0046] In the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.

[0047] In the description of the embodiments of the present application, unless otherwise specified, "multiple" means two or more than two. For example, multiple processing units refer to two or more processing units, etc.; multiple elements refer to two or more elements, etc.

[0048] Next, combine Figure 1-Figure 3 The automatic generation system of an electronic calibration certificate with an anti-tampering function provided in an embodiment of the present application is introduced.

[0049] Figure 1 is a schematic diagram of the structure of the automatic generation system of the electronic calibration certificate with tamper-proof function provided in the embodiment of the present application, such as Figure 1 As shown, the system includes a calibration data module 110, a certificate generation and verification module 120, and an electronic calibration certificate generation module 130, wherein:

[0050] The calibration data module 110 is used to obtain the original data and send the original data to the certificate generation and verification module;

[0051] Optionally, the calibration data module may provide raw data to the certificate generation and verification module via a data file generated by the test system or a function interface of the test system software.

[0052] Optionally, the original data information includes calibration data, name of the testing organization, name of the testing unit, test time, testing personnel information, testing instrument, tested instrument and serial number, etc., which fully covers the valid information of the electronic calibration certificate.

[0053] The certificate generation and verification module 120 is used to receive the original data, generate a first verification code based on the original data, and send the original data and the first verification code to the electronic calibration certificate generation module;

[0054] Optionally, the certificate generation verification module can be a certificate generation verification software. The certificate generation verification module can automatically obtain the original data by adopting different strategies according to the data acquisition method of the calibration data unit. One is to automatically obtain it by searching keywords through the data file generated by the test system software. The other is to automatically obtain it through the function interface provided by the test system software.

[0055] After the certificate generation and verification module obtains the original data, it can calculate the check code through encryption algorithm and other methods, and send the data and the check code together to the electronic calibration certificate generation module to fill the original data and the check code in the generated electronic calibration certificate.

[0056] The electronic calibration certificate generating module 130 is used to receive the original data and the first verification code, and generate an electronic calibration certificate with the original data and the first verification code.

[0057] The electronic calibration certificate generation module can generate an electronic calibration certificate based on a template created by Microsoft Word. A verification code item is designed on the first page of the electronic calibration certificate, and the data information and verification code provided by the certificate generation verification software are filled in. This verification code serves as the basis for judging whether the electronic certificate has been tampered with.

[0058] The present application provides an automatic generation system for an electronic calibration certificate with an anti-tampering function. The system obtains original data through a calibration data module, generates a verification code based on the original data through a certificate generation verification module and attaches the verification code to an electronic calibration certificate generated by the electronic calibration certificate generation module. The system can realize the automatic generation of an electronic calibration certificate and prevent tampering of the electronic calibration certificate data through the verification code, thereby improving security.

[0059] In some embodiments, the certificate generation verification module 120 is further configured to:

[0060] Read the raw data in the electronic calibration certificate;

[0061] generating a second verification code based on the original data;

[0062] The first verification code is compared with the second verification code. If the first verification code is different from the second verification code, it is determined that the data has been tampered with.

[0063] The certificate generation and verification module also has the function of verifying the calibration certificate. Specifically, the certificate generation and verification module reads the electronic calibration certificate, extracts the verification code and data information respectively, and then regenerates the verification code based on the original data. By comparing whether the extracted verification code and the regenerated verification code are the same, it is determined whether the data information of the electronic calibration certificate has been tampered with. If they are different, it proves that the data information has been tampered with. If they are the same, the electronic calibration certificate data is still valid.

[0064] In some embodiments, the certificate generation verification module 120 is further configured to:

[0065] After it is determined that the data has been tampered with, an indication that the data has been modified is added to the electronic calibration certificate.

[0066] If the certificate generation verification module verifies that the data in the electronic calibration certificate has been tampered with, an indication that the data has been modified is added to the electronic certificate as a reminder.

[0067] In some embodiments, the certificate generation and verification module 120 is specifically used to:

[0068] Based on the original data and the key, an encryption algorithm is used to generate a first verification code.

[0069] The certificate generation and verification module can encrypt the extracted original data information, key and total length of electronic certificate bytes through encryption algorithm to generate a verification code, ensuring that the valid information in the electronic calibration certificate cannot be added, deleted or modified.

[0070] Figure 2 is a schematic diagram of the process of automatically generating an electronic calibration certificate provided in an embodiment of the present application, such as Figure 2 As shown, in one embodiment of the present application, an electronic calibration certificate is automatically generated by the following steps:

[0071] Step 201 and step 202 are two ways for the certificate generation verification software to obtain data from the test system. Step 201 is to automatically obtain data by searching keywords from the data file generated by the test system software; step 202 is to automatically obtain data through the function interface provided by the test system software;

[0072] Step 203, the certificate generation verification software extracts data from the test system, processes the data in combination with the calibration specification, and fills it into the matching electronic calibration certificate template;

[0073] Step 204, the certificate generation verification software confirms the key, the total number of bytes of the electronic calibration certificate and other information;

[0074] Step 205 and step 206, the certificate generation verification software uses an encryption algorithm (such as a message digest algorithm) to encrypt the information provided in step 203 and step 204 to generate a unique tamper-proof verification code;

[0075] Step 207: Add the verification code to the electronic calibration certificate to form an electronic calibration certificate with tamper-proof function.

[0076] Figure 3 FIG. 1 is a flow chart of verifying whether an electronic calibration certificate has been tampered with according to an embodiment of the present application. Figure 3 As shown, in one embodiment of the present application, the following steps are performed to verify whether the electronic calibration certificate has been tampered with:

[0077] Step 301, step 302 and step 306, the certificate generation verification module extracts the verification code and data information (including the total byte length of the calibration certificate, calibration data, name of the testing organization, name of the inspection unit, test time, information of the testing personnel, testing instrument, tested instrument and serial number, etc.) by reading the electronic calibration certificate;

[0078] Steps 303 and 305 are to regenerate the verification code using an encryption algorithm (information digest) in combination with the data provided in step 302 and the key information provided by the certificate generation verification module in step 304;

[0079] Step 307, determining whether the electronic calibration certificate data information has been tampered with by comparing whether the verification code extracted in step 306 is the same as the verification code calculated in step 305;

[0080] If they are different, the data in the electronic calibration certificate has been tampered with, and step 308 is executed to add a mark indicating that the data has been modified in the electronic calibration certificate;

[0081] If they are the same, the electronic calibration certificate data has not been tampered with and step 309 is executed, and the electronic calibration certificate data is still valid.

[0082] Figure 4 FIG. 1 is a flow chart of a method for automatically generating an electronic calibration certificate with tamper-proof function provided in an embodiment of the present application. Figure 4 As shown, the method comprises the following steps:

[0083] Step 400, obtaining original data;

[0084] Optionally, the original data may be obtained through a data file generated by the test system or a function interface of the test system software.

[0085] Optionally, the original data information includes calibration data, name of the testing organization, name of the testing unit, test time, testing personnel information, testing instrument, tested instrument and serial number, etc., which fully covers the valid information of the electronic calibration certificate.

[0086] Step 410, generating a first verification code based on the original data;

[0087] Optionally, a check code may be calculated based on the original data by an encryption algorithm or the like, so as to fill the original data and the check code in the generated electronic calibration certificate.

[0088] Step 420: Generate an electronic calibration certificate with the original data and the first verification code.

[0089] An electronic calibration certificate can be generated based on a template created in Microsoft Word. A verification code item is designed on the first page of the electronic calibration certificate, and data information and a verification code are filled in. This verification code serves as the basis for determining whether the electronic certificate has been tampered with.

[0090] In some embodiments, the method further comprises:

[0091] Step 430, reading the original data in the electronic calibration certificate;

[0092] Step 440, generating a second verification code based on the original data;

[0093] Step 450, comparing the first verification code and the second verification code, if the first verification code and the second verification code are different, it is determined that the data has been tampered with.

[0094] By reading the electronic calibration certificate, extracting the verification code and data information respectively, and then regenerating the verification code based on the original data, by comparing whether the extracted verification code and the regenerated verification code are the same, it is determined whether the data information of the electronic calibration certificate has been tampered with. If they are different, it proves that the data information has been tampered with. If they are the same, the data of this electronic calibration certificate is still valid.

[0095] In some embodiments, after step 450, the method further includes:

[0096] Added an indication in the electronic calibration certificate that the data has been modified.

[0097] If it is verified that the data in the electronic calibration certificate has been tampered with, an indicator indicating that the data has been modified is added to the electronic certificate as a reminder.

[0098] In some embodiments, step 410 specifically includes:

[0099] Based on the original data and the key, an encryption algorithm is used to generate a first verification code.

[0100] The extracted original data information, key and total length of the electronic certificate bytes can be encrypted by encryption algorithm to generate a verification code, ensuring that the valid information in the electronic calibration certificate cannot be added, deleted or modified.

[0101] Based on the method in the above embodiment, Figure 5 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 5 As shown, an embodiment of the present application provides an electronic device, which may include: a processor 510, a communication interface 520, a memory 530 and a communication bus 540, wherein the processor 510, the communication interface 520 and the memory 530 communicate with each other through the communication bus 540. The processor 510 may call the logic instructions in the memory 530 to execute the method for automatically generating an electronic calibration certificate with an anti-tampering function in the above embodiment.

[0102] In addition, the logic instructions in the above-mentioned memory 530 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method for automatically generating an electronic calibration certificate with tamper-proof function described in each embodiment of the present application.

[0103] Based on the method in the above embodiment, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program. When the computer program runs on a processor, the processor executes the method for automatically generating an electronic calibration certificate with anti-tampering function in the above embodiment.

[0104] Based on the method in the above embodiment, an embodiment of the present application provides a computer program product. When the computer program product runs on a processor, the processor executes the method for automatically generating an electronic calibration certificate with an anti-tampering function in the above embodiment.

[0105] It can be understood that the processor in the embodiment of the present application can be a central processing unit (CPU), or other general-purpose processors, such as a microprocessor or any conventional processor.

[0106] The method steps in the embodiments of the present application can be implemented by hardware or by a processor executing software instructions. The software instructions can be composed of corresponding software modules, and the software modules can be stored in random access memory (RAM), flash memory, hard disk, mobile hard disk, CD-ROM or any other form of storage medium known in the art.

[0107] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium or transmitted through the computer-readable storage medium. The computer instructions may be transmitted from a website site, a computer, a server or a data center to another website site, a computer, a server or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or a data center that includes one or more available media integrated. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid state disk (SSD)), etc.

[0108] It should be understood that the various numerical numbers involved in the embodiments of the present application are only used for the convenience of description and are not used to limit the scope of the embodiments of the present application.

[0109] It will be easily understood by those skilled in the art that the above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present application shall be included in the scope of protection of the present application.

Claims

1. A system for automatically generating an electronic calibration certificate with tamper-proof function, characterized in that: It includes a calibration data module, a certificate generation and verification module, and an electronic calibration certificate generation module, wherein: The calibration data module is used to obtain raw data and send the raw data to the certificate generation and verification module; The certificate generation and verification module is used to receive the original data, generate a first verification code based on the original data, and send the original data and the first verification code to the electronic calibration certificate generation module; The electronic calibration certificate generation module is used to receive the original data and the first verification code, and generate an electronic calibration certificate with the original data and the first verification code.

2. The system for automatically generating an electronic calibration certificate with tamper-proof function according to claim 1, characterized in that: The certificate generation and verification module is also used for: Reading raw data in the electronic calibration certificate; Generate a second verification code based on the original data; The first verification code and the second verification code are compared. If the first verification code and the second verification code are different, it is determined that the data has been tampered with.

3. The system for automatically generating an electronic calibration certificate with tamper-proof function according to claim 2, characterized in that: The certificate generation and verification module is also used for: After determining that the data has been tampered with, an indication that the data has been modified is added to the electronic calibration certificate.

4. The system for automatically generating an electronic calibration certificate with tamper-proof function according to claim 1, characterized in that: The certificate generation and verification module is specifically used for: Based on the original data and the key, an encryption algorithm is used to generate the first verification code.

5. A method for automatically generating an electronic calibration certificate with tamper-proof function, characterized in that: include: Get the original data; Generate a first verification code based on the original data; An electronic calibration certificate is generated with the original data and the first verification code.

6. The method for automatically generating an electronic calibration certificate with tamper-proof function according to claim 5, characterized in that: The method further comprises: Reading raw data in the electronic calibration certificate; Generate a second verification code based on the original data; The first verification code and the second verification code are compared. If the first verification code and the second verification code are different, it is determined that the data has been tampered with.

7. The method for automatically generating an electronic calibration certificate with tamper-proof function according to claim 6, characterized in that: After determining that the data has been tampered with, the method further includes: Add an indication in the electronic calibration certificate that the data has been modified.

8. The method for automatically generating an electronic calibration certificate with tamper-proof function according to claim 5, characterized in that: The generating a first verification code based on the original data comprises: Based on the original data and the key, an encryption algorithm is used to generate the first verification code.

9. An electronic device, characterized in that: include: at least one memory for storing a computer program; At least one processor is used to execute the program stored in the memory. When the program stored in the memory is executed, the processor is used to execute the method for automatically generating an electronic calibration certificate with tamper-proof function according to any one of claims 5 to 8.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program runs on a processor, the processor is enabled to execute the method for automatically generating an electronic calibration certificate with an anti-tampering function as claimed in any one of claims 5 to 8.