A method and system for generating and verifying digital calibration certificates based on microservice architecture

Through a digital calibration certificate generation verification system based on microservice architecture, the problem that existing systems are difficult to meet multiple requirements is solved, and high reliability, high stability and easy iteration certificate generation and verification are achieved to ensure the integrity and credibility of certificates , meet the FAIR principle.

CN118432878BActive Publication Date: 2024-11-19NATIONAL INSTITUTE OF METROLOGY CHINA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410507432.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-25
Publication Date
2024-11-19
Estimated Expiration
2044-04-25

AI Technical Summary

Technical Problem

The existing digital calibration certificate generation and verification systems are difficult to meet the information requirements, digital security requirements and FAIR principles of metrology and IT industries at the same time.

Method used

Adopt a digital calibration certificate generation verification system based on the microservice architecture, including user subsystem, service subsystem, processing subsystem, digital security subsystem and storage subsystem. The digital calibration certificate is generated and verified through the microservice architecture, and the digital calibration certificate is used. Standardize and compliant calibrators, auditors, approver information, and ensure the integrity and credibility of the certificate through digital signatures and trusted timestamps.

Benefits of technology

It realizes the system's high reliability, high stability and easy iteration. The generated digital calibration certificate meets IT requirements, ensures that the data content is complete and free of tampering, provides a unique DOI number, realizes the discoverability and operability of the certificate, and meets the FAIR principle. .

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118432878B_ABST
    Figure CN118432878B_ABST
Patent Text Reader

Abstract

The present invention provides a method and system for generating and verifying a digital calibration certificate based on a microservice architecture, and relates to the field of security protection technology. The system includes a user subsystem for obtaining content information of a digital calibration certificate; transmitting a verification result of generating a digital calibration certificate to a user; a service subsystem for providing access services; obtaining calibration business data based on the content information of the digital calibration certificate; a processing subsystem for generating a digital calibration certificate based on the content information of the digital calibration certificate and the calibration business data; verifying the digital calibration certificate to obtain a verification result of generating a digital calibration certificate; a digital security subsystem for authenticating the user subsystem through the service subsystem; providing a digital signature and a trusted timestamp for the processing subsystem; a storage subsystem for storing information and data in the processing process; and providing corresponding information and data for the processing subsystem. The present invention solves the problem that digital calibration certificates are difficult to meet standard requirements.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of security protection technology, and in particular to a method and system for generating and verifying a digital calibration certificate based on a microservice architecture. Background Art

[0002] Today, metrology needs to face the challenges of the digital age. Metrology will enter the digital age. The SI digital framework and FAIR (discoverable, accessible, interoperable, and reusable) of metrology data indicate that the global metrology field has reached a consensus on the high attention paid to the digital transformation of metrology. The calibration certificate is an important information carrier for the traceability of measurement values. The digital calibration certificate (DCC) is an important information carrier for the traceability of measurement values ​​in the digital world. The format is unified and standardized, and it is machine-readable and machine-operable.

[0003] The German Federal Institute of Physics (PTB) has done a lot of pioneering work in the development of DCC metamodels and best practices, and has led four DCC international conferences, making a lot of contributions to the promotion and popularization of DCC around the world. PTB has developed GEMIMEG-Tool, a web-based DCC generation and verification tool, which is still a long way from actual large-scale production applications. The Chinese National Institute of Metrology (NIM) has developed the Chinese and English NIM-DCC metamodel based on the PTB-DCC metamodel, and has developed the generation software and verification software for the stand-alone version of NIM-DCC. However, it is difficult to simultaneously meet the information requirements of the metrology industry, the information requirements of the IT industry, the digital security requirements, and the FAIR principles of metrology data. Summary of the invention

[0004] In view of the above-mentioned deficiencies in the prior art, the present invention provides a method and system for generating and verifying a digital calibration certificate based on a microservice architecture, which solves the problem that digital calibration certificates are difficult to meet standard requirements.

[0005] In order to achieve the above-mentioned purpose of the invention, the technical solution adopted by the present invention is: a digital calibration certificate generation and verification system based on microservice architecture, comprising:

[0006] The user subsystem is used to obtain the content information of the digital calibration certificate; transmit the digital calibration certificate to the user to generate the verification result;

[0007] A service subsystem, configured to provide access services; and to obtain calibration service data based on the content information of the digital calibration certificate;

[0008] A processing subsystem, configured to generate a digital calibration certificate based on the content information of the digital calibration certificate, the calibration service data, the digital signature and the trusted timestamp; verify the digital calibration certificate to obtain a verification result of the digital calibration certificate generation;

[0009] A digital security subsystem, used to authenticate the user subsystem through the service subsystem; and provide a digital signature and a trusted timestamp for the processing subsystem;

[0010] The storage subsystem is used to store information and data during the processing process; and provide corresponding information and data to the processing subsystem.

[0011] The beneficial effects of the present invention are as follows: the digital calibration certificate generation and verification system based on the microservice architecture utilizes the user subsystem, service subsystem, processing subsystem, digital security subsystem and storage subsystem to generate and verify the digital calibration certificate, and obtain the digital calibration certificate generation and verification result. (1) By adopting the microservice architecture, the system can be highly reliable, highly stable and easy to iterate; (2) by utilizing the digital calibration certificate template and the verification process, the information of the calibrator, auditor and approver is standardized, compliant and streamlined; (3) by utilizing the format verification process, the generated digital calibration certificate meets the IT requirements; (4) by providing digital certificates to the calibration agency, calibrator, auditor and approver, the DCC is digitally signed with the digital certificate, and the content of the DCC is stamped with a trusted timestamp to ensure that the data content is complete and tamper-free, and the identity and data of the DCC are credible; (5) by adding a certificate management unit, the DCC produced in compliance has a unique DOI number to ensure that the DCC is discoverable and accessible; the machine-readable and operable syntax compliance of the DCC is verified to achieve its operability and reusability, and meet the FAIR principle.

[0012] Furthermore, the user subsystem includes:

[0013] A terminal module, used for obtaining the content information of the digital calibration certificate through a terminal device;

[0014] The server module is used to transmit the content information of the digital calibration certificate to the service subsystem.

[0015] Furthermore, the service subsystem includes:

[0016] A network service module is used to provide users with access services to the generation and verification system;

[0017] The digital calibration service module is used to collect calibration service data based on the content information of the digital calibration certificate through time-frequency calibration service and length calibration service.

[0018] Furthermore, the processing subsystem includes:

[0019] The interface module is used to configure the security mechanism and connect the service subsystem with the business module and the basic management module;

[0020] A business module, used to generate a digital calibration certificate based on the digital calibration certificate content information, the calibration business data, the digital signature and the trusted timestamp;

[0021] A basic management module, used to verify the digital calibration certificate and obtain a verification result of the digital calibration certificate;

[0022] The configuration module is used to configure and manage the business module and the basic module.

[0023] Furthermore, the business module includes:

[0024] The module management unit is used to obtain the corresponding digital calibration certificate template based on the metrological standards in the professional field;

[0025] A generating unit, configured to generate a digital calibration certificate based on the digital calibration certificate template, the digital calibration certificate content information and the calibration service data;

[0026] A security management unit, used to digitally sign and time-stamp the digital calibration certificate to obtain a securely managed digital calibration certificate;

[0027] The verification unit is used to perform format, syntax and security verification on the securely managed digital calibration certificate to obtain a final digital calibration certificate.

[0028] Furthermore, the basic management module includes:

[0029] A certificate management unit, used for updating and querying the version of the digital calibration certificate and the corresponding digital unit system based on the digital calibration certificate;

[0030] The authority management unit is used to provide registration, authority allocation and authentication management services for users in the system;

[0031] A verification calculation unit is used to use a verification calculation tool to provide a corresponding calibration calculation function based on measurement standards, professional terms and verification codes, verify the digital calibration certificate, and obtain a verification result of the digital calibration certificate;

[0032] An identification management unit, used to generate an organization name identification number and a digital object identifier based on the verified digital calibration certificate, so as to realize the registration of the digital calibration certificate;

[0033] The vocabulary management unit is used to provide measurement standards, professional terms and verification codes to realize the generation and verification process of digital calibration certificates.

[0034] Furthermore, the configuration module includes:

[0035] A configuration unit, used to provide information configuration services for the business module and the basic management module;

[0036] A log management unit, used to manage the logs generated in the business module and the basic management module;

[0037] A registration and discovery unit, used to provide registration and discovery components for the business module and the basic management module, and dynamically schedule the modules based on the current application scale;

[0038] The microservice unit is used to visualize the business module and the basic management module; and manage the generated digital calibration certificate.

[0039] Furthermore, the digital security subsystem includes:

[0040] A digital identity module, used to provide digital identity information for the terminal module and the server module;

[0041] A digital signature module is used to generate a digital signature using a cryptographic device;

[0042] The trusted timestamp module is used to generate a trusted timestamp using a timestamp server.

[0043] Furthermore, the storage subsystem includes:

[0044] User information storage module, used to store user, authentication and management information;

[0045] A certificate information storage module for storing digital calibration certificate files, signatures, timestamps, process data, and management data;

[0046] A key information storage module, used to store digital signatures and corresponding keys;

[0047] The data information storage module is used to store business data, background service data and process control data.

[0048] A method for generating and verifying a digital calibration certificate based on a microservice architecture, comprising:

[0049] Get the content information of digital calibration certificate;

[0050] Based on the content information of the digital calibration certificate, obtaining calibration service data;

[0051] Generate digital signatures and trusted timestamps;

[0052] Based on the content information of the digital calibration certificate, the calibration service data, the digital signature and the trusted timestamp, a digital calibration certificate is generated; and the digital calibration certificate is verified to obtain a digital calibration certificate generation verification result. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] This specification will be further described in the form of exemplary embodiments, which will be described in detail by the accompanying drawings. These embodiments are not restrictive, and in these embodiments, the same number represents the same structure, wherein:

[0054] Figure 1 It is a schematic diagram of an application scenario of a digital calibration certificate generation and verification system based on a microservice architecture according to some embodiments of this specification;

[0055] Figure 2 This is an exemplary flow chart of a method for generating and verifying a digital calibration certificate based on a microservice architecture according to some embodiments of this specification. DETAILED DESCRIPTION

[0056] The specific implementation modes of the present invention are described below so that those skilled in the art can understand the present invention. However, it should be clear that the present invention is not limited to the scope of the specific implementation modes. For those of ordinary skill in the art, as long as various changes are within the spirit and scope of the present invention as defined and determined by the attached claims, these changes are obvious, and all inventions and creations utilizing the concept of the present invention are protected.

[0057] Embodiment 1

[0058] Figure 1 It is a module diagram of a digital calibration certificate generation and verification system based on a microservice architecture according to some embodiments of this specification.

[0059] In some embodiments, the digital calibration certificate generation and verification system based on microservice architecture may include a user subsystem, a service subsystem, a processing subsystem, a digital security subsystem, and a storage subsystem.

[0060] The user subsystem is used to obtain the content information of the digital calibration certificate; transmit the digital calibration certificate to the user to generate the verification result.

[0061] The digital calibration certificate content information is the calibration process description information. For example, the digital calibration certificate content information may include the calibration object, calibration time, administrative data, calibration organization, calibration environment, calibration method, calibration instrument and calibration result data.

[0062] In some embodiments, the user subsystem may include a terminal module and a server module.

[0063] The terminal module is used to obtain the content information of the digital calibration certificate through the terminal device.

[0064] Terminal devices may include computers, tablet computers, calibration instruments, etc.

[0065] In some embodiments, the terminal module may use the terminal device to upload the original data of the calibration certificate and obtain the content information of the digital calibration certificate.

[0066] The server module is used to transmit the original data of the calibration certificate of the user subsystem to the service subsystem, and transmit the content information of the digital calibration certificate to the terminal module.

[0067] In some embodiments, the authorized user subsystem can transmit the digital calibration certificate content information from the service subsystem to the user subsystem via the Internet. For example, the server can use a USB smart password key to authorize the user subsystem.

[0068] The verification result of the digital calibration certificate generation is a result that reflects whether the digital calibration certificate generation format and the calibration result meet the standards. For example, the verification result of the digital calibration certificate generation format may include the result of whether the calibration result meets the standards, the specific generation time of the certificate, the digital signature information in the certificate (calibrator, auditor, approver, organization), etc.

[0069] The service subsystem is used to provide access services and obtain calibration service data based on the content information of the digital calibration certificate.

[0070] In some embodiments, the service subsystem may provide visual access services to users.

[0071] The calibration service data is data related to a specific calibration service processing process. For example, the calibration service data may include time-frequency calibration service data and length calibration service data.

[0072] In some embodiments, the service subsystem may include a network service module and a digital calibration service module.

[0073] The network service module is used to provide users with access services to the generation and verification system.

[0074] In some embodiments, the network service module can utilize a network server deployed at the front end to provide a Web page to provide visual access to users, thereby helping users select the generation of digital calibration certificates and calibration services.

[0075] The digital calibration service module is used to collect calibration service data based on the content information of the digital calibration certificate through time-frequency calibration service and length calibration service.

[0076] The time and frequency calibration service is a service for calibrating time and frequency. By calculating the data of the calibrated GNSS receiver and the reference GNSS receiver, the time difference and uncertainty between the calibrated receiver and the reference receiver are obtained. The digital calibration certificate is generated by the "processing subsystem" and fed back to the calibrated receiver. The calibrated receiver completes the certificate verification based on the received digital calibration certificate, parses the calibration result in the digital calibration certificate, and completes the calibration of the receiver.

[0077] The length calibration service is a service that generates a digital calibration certificate based on the length calibration result data. The calibration laboratory measures the calibration object under specified experimental conditions according to the metrological calibration specifications, obtains the original measurement data, and calculates the average deviation and uncertainty. This service generates the corresponding digital calibration certificate based on the calibration specifications, calibration environment, calibration results and other related information, and feeds it back to the end user.

[0078] In some embodiments, the digital calibration service module may collect corresponding service data from the digital security subsystem and the storage subsystem based on the time-frequency calibration service and the length calibration service.

[0079] The processing subsystem is used to generate a digital calibration certificate based on the content information of the digital calibration certificate, the calibration business data, the digital signature and the trusted timestamp; verify the digital calibration certificate to obtain a verification result of the digital calibration certificate generation.

[0080] A Digital Certificate of Calibration (DCC) is a certificate that uses calibration information to guarantee the accuracy and traceability of a measurement device.

[0081] In some embodiments, the processing subsystem may generate a corresponding digital calibration certificate using the digital calibration certificate content information and the calibration service data.

[0082] In some embodiments, the processing subsystem may include an interface module, a service module, a basic management module, and a configuration module.

[0083] The interface module is used to configure the security mechanism and connect the service subsystem with the business module and the basic management module.

[0084] The security mechanism is a mechanism that controls the secure interaction of addresses. For example, the security mechanism may include setting address whitelists, setting address blacklists, current limiting, and circuit breaking.

[0085] In some embodiments, the interface module may utilize a security mechanism to connect the service subsystem with the business module and the basic management module, and transmit digital calibration certificate content information and calibration business data to the business module and the basic management module.

[0086] The service module is used to generate a digital calibration certificate based on the content information of the digital calibration certificate, the calibration service data, the digital signature and the trusted timestamp.

[0087] In some embodiments, the business module may include a module management unit, a generation unit, a security management unit, and a verification unit.

[0088] The module management unit is used to obtain the corresponding digital calibration certificate template based on the measurement standards in the professional field.

[0089] The measurement standard has a lower accuracy than the measurement benchmark and is used to calibrate other measurement standards or working measurement instruments. Different professional fields have corresponding measurement standards.

[0090] In some embodiments, the module management unit may determine the corresponding measurement standard by searching the professional field of the digital calibration certificate.

[0091] The digital calibration certificate template is a template used to obtain the content information of the digital calibration certificate. For example, the digital calibration certificate template may include a calibration object area, a calibration organization area, a calibration environment area, a calibration process area, and a calibration result area.

[0092] In some embodiments, the user subsystem can use the terminal device to obtain the corresponding digital calibration certificate content information by dividing the digital calibration certificate template into a calibration object area, a calibration organization area, a calibration environment area, a calibration process area, and a calibration result area. For example, the calibration object area can obtain the calibration object company name, address, and calibration time; the calibration organization area can obtain the calibration organization name and person in charge information; the calibration environment area can obtain the calibration environment conditions and location; the calibration process area can obtain the measurement method and measuring instrument used for calibration; the calibration result area can obtain the calibration result data, etc.

[0093] A generating unit is used to generate a digital calibration certificate based on the digital calibration certificate template, the digital calibration certificate content information and the calibration service data.

[0094] In some embodiments, the generating unit may arrange the content information of the digital calibration certificate according to a digital calibration certificate template to obtain the digital calibration certificate.

[0095] The security management unit is used to digitally sign and time-stamp the digital calibration certificate to obtain a securely managed digital calibration certificate.

[0096] In some embodiments, the security management unit may obtain the corresponding digital signature and valid timestamp in the digital security subsystem based on the digital calibration certificate, and digitally sign and timestamp the digital calibration certificate.

[0097] In some embodiments, the security management unit may generate an organization name identification number (PID) and a category identification number for the digital calibration certificate according to the naming standard of DOI, and bind the PID to the content of the digital calibration certificate.

[0098] In some embodiments, the security management unit can perform procedural CA endorsement (such as calibrator, auditor, approver, organization) and corresponding timestamp endorsement on the digital calibration certificate, and encapsulate the relevant CA signature and timestamp endorsement data blocks / files accordingly to obtain a securely managed digital calibration certificate.

[0099] The verification unit is used to perform format, syntax and security verification on the securely managed digital calibration certificate to obtain a final digital calibration certificate.

[0100] In some embodiments, the verification unit may use the calibration service data to verify the file format, syntax semantics, digital signature and time stamp of the digital calibration certificate to obtain the final digital calibration certificate.

[0101] The basic management module is used to verify the digital calibration certificate and obtain a verification result of the digital calibration certificate.

[0102] In some embodiments, the basic management module may include a certificate management module, a rights management module, a verification calculation module, an identification management module, and a vocabulary management module.

[0103] The certificate management unit is used to update and query the version of the digital calibration certificate and the digital unit system based on the digital calibration certificate.

[0104] In some embodiments, the certificate management unit may query and publish a new version based on the digital calibration certificate using the generated XSD file.

[0105] The authority management unit is used to provide registration, authority allocation and authentication management services to users in the system.

[0106] In some embodiments, the permission management unit can manage user permissions, provide corresponding registration services for different types of users (certificate providing users, verification users, etc.), assign corresponding roles, assign permissions based on different users, and perform authentication management.

[0107] The verification calculation unit is used to use the verification calculation tool to provide a corresponding calibration calculation function based on the measurement standard, professional terminology and verification code, verify the digital calibration certificate, and obtain the verification result of the digital calibration certificate.

[0108] The verification calculation tool is a method and tool for calibrating and verifying digital calibration certificates.

[0109] In some embodiments, the verification calculation unit may use a targeted verification calculation tool to perform verification based on the professional field and corresponding measurement standard of the digital calibration certificate to obtain a verification result generated by the digital calibration certificate.

[0110] In some embodiments, the verification calculation unit can use the digital calibration certificate and the corresponding timestamp annotation data, and calculate the hash value of the digital calibration certificate file through the hash algorithm declared in the timestamp annotation data. It is compared with the hash value of the digital calibration certificate saved in the timestamp annotation data to determine the legitimacy of the hash through consistency, and the hash signature value of the digital calibration certificate in the timestamp annotation data is verified through the timestamp certificate public key in the timestamp annotation data.

[0111] In some embodiments, the verification calculation unit can use the digital calibration certificate file and the corresponding signature result data to verify the legitimacy of the corresponding signature information based on the CA certificate number (matching the CA certificate) or certificate verification experience in the signature data, for example, the legitimacy of the signature of the calibrator, verifier, approver, or organization.

[0112] In some embodiments, the verification calculation unit can read the corresponding version through the digital calibration certificate file, and use the corresponding version of the metamodel definition xsd file to perform syntax and semantic verification on the digital calibration certificate file. For example, the verification calculation unit can verify the integrity of the elements and nodes contained in the digital calibration certificate, the legitimacy of the element name and data type, the integrity and legitimacy of the description of each data node, the legitimacy of the value, the legitimacy of the unit system, etc. based on professional terms and verification codes.

[0113] The identification management unit is used to generate an organization name identification number and a digital object identifier based on the verified digital calibration certificate to realize the registration of the digital calibration certificate.

[0114] The PID is an identification number generated by the system during the digital calibration certificate verification process.

[0115] The Digital Object Identifier (DOI) is a network identifier generated after the digital calibration certificate is verified.

[0116] In some embodiments, the identification management unit may utilize the verification process of the digital calibration certificate to obtain the corresponding institution name identification number and digital object identifier, and register the digital object identifier.

[0117] The vocabulary management unit is used to provide measurement standards, professional terms and verification codes to realize the generation and verification process of digital calibration certificates.

[0118] Professional terms are the terms in the professional field corresponding to the calibration method. For example, professional terms may include unit, quantity, value, measurement principle, measurement method, measuring instrument, measuring device, uncertainty and other metrological terms defined in VIM (International Vocabulary of Metrology).

[0119] The verification code is data used to verify the digital calibration certificate.

[0120] In some embodiments, the vocabulary management unit may provide references and verification data of used measurement standards, professional terms for the generation and verification of digital calibration certificates.

[0121] The configuration module is used to configure and manage the business module and the basic module.

[0122] In some embodiments, the configuration module may include a configuration unit, a log management unit, a registration discovery unit, and a microservice unit.

[0123] Microservices are individual services in the system that users can access and select. For example, microservices may include a query service, a digital calibration certificate generation service, and a verification service.

[0124] The configuration unit is used to provide information configuration services for the business module and the basic management module.

[0125] In some embodiments, the configuration unit can serve as a configuration service center in microservice management to provide unified configuration for all microservices. For example, the configuration unit can configure service ports, database connection URLs, log levels, etc.

[0126] The log management unit is used to manage the logs generated in the business module and the basic management module.

[0127] In some embodiments, the log management unit can provide centralized log management functions for all microservices. For example, the log management unit can perform log collection, log storage, log retrieval, log query, etc. for all microservices.

[0128] The registration and discovery unit is used to provide registration-discovery components for the business module and the basic management module, and dynamically schedule the modules based on the current application scale.

[0129] The registration-discovery component is a component used to reflect the correspondence between the number of microservices and users.

[0130] In some embodiments, the registration-discovery unit can use the registration-discovery component to provide dynamic scheduling capabilities for internal microservices, dynamically increase and decrease the number of services based on the current application scale, and provide load balancing support.

[0131] The microservice unit is used to visualize the business module and the basic management module; and manage the generated digital calibration certificate.

[0132] In some embodiments, the microservice unit may transmit the microservice project to the service subsystem for visual access by the user.

[0133] In some embodiments, the microservice unit may manage the generated digital calibration certificate by means of storage and scheduling.

[0134] The digital security subsystem is used to authenticate the user subsystem through the service subsystem and provide a digital signature and a trusted timestamp for the processing subsystem.

[0135] A digital signature is a signature that proves the authenticity of a message.

[0136] A trusted timestamp is credible data that reflects the time of the content.

[0137] In some embodiments, the digital security subsystem may include a digital identity module, a digital signature module, and a trusted timestamp module.

[0138] The digital identity module is used to provide digital identity information for the terminal module and the server module.

[0139] In some embodiments, the digital identity module can provide digital identity services (e.g., CA certificate services) for various terminals, and distribute certificates through commercial cryptographic devices (e.g., USBKey, TF cryptographic card, etc.) to provide digital identities for terminals.

[0140] The digital signature module is used to generate digital signatures using cryptographic devices.

[0141] A cryptographic device is a device used to provide signature services and is capable of generating random numbers that comply with the Random Number Detection Specification.

[0142] In some embodiments, the cryptographic device may have built-in RSA and SM2 signature algorithms, be able to securely store keys, and prevent the keys from being read through physical mechanisms.

[0143] In some embodiments, the digital signature module can use the secure hardware cryptographic card of the cryptographic device to sign and generate a digital signature through authentication by the cryptographic commercial device.

[0144] The trusted timestamp module is used to generate a trusted timestamp using a timestamp server.

[0145] A timestamp server is a server that provides trusted timestamp signatures. For example, a timestamp server can include a TSA hardware product developed based on PKI technology, which uses an accurate time source, high-intensity, high-standard security mechanism, and can provide users with accurate and non-repudiable timestamp services. The service interface applies for a timestamp that strictly follows the international standard RFC3161 timestamp protocol through the HTTP protocol, and uses the standard RFC3161 timestamp request, timestamp response, and timestamp encoding format.

[0146] In some embodiments, the trusted timestamp module can generate a trusted timestamp using a timestamp server through cryptographic commercial device authentication and using a metrology-grade time source with a valid trusted calibration certificate.

[0147] The storage subsystem is used to store information and data during the processing process; and provide corresponding information and data to the processing subsystem.

[0148] The information and data in the process are data required to be used in the process of generating and verifying the digital calibration certificate. For example, the information and data in the process may include user data, certificate data, key data, and business data.

[0149] In some embodiments, the storage subsystem may provide in-process information and data to the processing subsystem.

[0150] In some embodiments, the storage subsystem may include a user information storage module, a certificate information storage module, a key information storage module, and a data information storage module.

[0151] The user information storage module is used to store user, authentication and management information.

[0152] User information is the information required when a user registers. For example, user information may include user address, name, and other information.

[0153] Authentication information is information related to user authentication. For example, authentication information may include a list of permissions owned by the user, user login password, user login public key, API session information, etc.

[0154] Management information is information related to user management. For example, management information may include the relationship between users and calibration agencies, calibration groups, personnel roles, and audit processes.

[0155] In some embodiments, the user information storage module may obtain and store user, authentication, and management information through the user subsystem.

[0156] The certificate information storage module is used to store digital calibration certificate files, signatures, timestamps, process data and management data.

[0157] Process data refers to the data related to the digital calibration certificate generation process and verification process. For example, process data may include the initial record of the certificate, the signature record of the inspector, the signature record of the auditor, the signature record of the approver, the signature record of the institution, the verification record, etc.

[0158] Management data refers to data related to the management of digital calibration certificates. For example, the management data may include the institution to which the certificate belongs, the calibration group to which the certificate belongs, the personnel to which the certificate belongs, the audit log of the certificate, etc.

[0159] In some embodiments, the certificate information storage module can utilize the service subsystem, the processing subsystem, and the digital security subsystem to acquire and store digital calibration certificate files, signatures, time stamps, process data, and management data.

[0160] The key information storage module is used to store digital signatures and corresponding keys.

[0161] The key is used to encrypt and decrypt the number in front of the key pair. For example, the key may include RSA and national secret SM2.

[0162] In some embodiments, the key information storage module can obtain and store the digital signature and the corresponding key through the digital security subsystem.

[0163] The data information storage module is used to store business data, background service data and process control data.

[0164] Service data refers to data related to specific processing services, for example, service data may include time-frequency calibration service data, length calibration service data, etc.

[0165] Backstage service data is data generated during the backstage processing and transmission process. For example, the backstage service data may include digital calibration certificate data, calibration agency data, calibration group data, audit log data, calibration personnel, etc.

[0166] Process control data is data used to control the processing process. For example, process control data may include audit process data, calibrator signature records, auditor signature records, approver signature records, agency signature records, etc.

[0167] In some embodiments, the data information storage module can utilize the service subsystem and the processing subsystem to acquire and store business data, background service data, and process control data.

[0168] In some embodiments of the present specification, a digital calibration certificate generation and verification system based on a microservice architecture generates and verifies a digital calibration certificate using a user subsystem, a service subsystem, a processing subsystem, a digital security subsystem, and a storage subsystem to obtain a digital calibration certificate generation and verification result. (1) By adopting a microservice architecture, the system can be highly reliable, highly stable, and easy to iterate; (2) By using a digital calibration certificate template and a verification process, the information of the calibrator, auditor, and approver is standardized, compliant, and streamlined; (3) By using a format verification process, the generated digital calibration certificate meets IT requirements; (4) A digital certificate is provided to the calibration agency, calibrator, auditor, and approver, and a digital certificate is used to digitally sign the DCC, and a trusted timestamp is added to the content of the DCC to ensure that the data content is complete and tamper-free, and that the identity and data provided by the DCC are credible; (5) A certificate management unit is added, and the DCC produced in compliance has a unique DOI number to ensure that the DCC is discoverable and accessible; the machine-readable and operable syntax compliance of the DCC is verified to achieve its operability and reusability, and meet the FAIR principle.

[0169] Embodiment 2

[0170] Figure 2 FIG. 1 is an exemplary flow chart of a method for generating and verifying a digital calibration certificate based on a microservice architecture according to some embodiments of this specification. Figure 2 As shown, the process includes the following steps. In some embodiments, the process can be executed by a processor.

[0171] S1, obtain the content information of the digital calibration certificate. For more details about the content information of the digital calibration certificate, see Figure 1 and its related description.

[0172] S2, based on the content information of the digital calibration certificate, obtain calibration service data. For more details about calibration service data, see Figure 1 and its related description.

[0173] S3, generate digital signature and trusted timestamp. For more details about digital signature and trusted timestamp, see Figure 1 and its related description.

[0174] S4, generating a digital calibration certificate based on the digital calibration certificate content information, the calibration service data, the digital signature and the trusted timestamp; verifying the digital calibration certificate to obtain a digital calibration certificate generation verification result. For more details on the digital calibration certificate generation verification result, please refer to Figure 1 and its related description.

Claims

1. A digital calibration certificate generation and verification system based on microservice architecture, characterized in that: include: A user subsystem, used to obtain the content information of the digital calibration certificate; Transmit digital calibration certificates to users to generate verification results; Service subsystem, used to provide access services; Based on the content information of the digital calibration certificate, obtaining calibration service data; Processing subsystem, including: The interface module is used to configure the security mechanism and connect the service subsystem with the business module and the basic management module; A business module, used to generate a digital calibration certificate based on the digital calibration certificate content information, the calibration business data, the digital signature and the trusted timestamp; A basic management module, used to verify the digital calibration certificate and obtain a verification result of the digital calibration certificate; A configuration module, used to configure and manage the business module and the basic management module; A digital security subsystem, used to authenticate the user subsystem through the service subsystem; and provide a digital signature and a trusted timestamp for the processing subsystem; The storage subsystem is used to store information and data during the processing process; and provide corresponding information and data to the processing subsystem.

2. The digital calibration certificate generation and verification system based on microservice architecture according to claim 1 is characterized in that: The user subsystem includes: A terminal module, used for obtaining the content information of the digital calibration certificate through a terminal device; The server module is used to transmit the content information of the digital calibration certificate to the service subsystem.

3. The digital calibration certificate generation and verification system based on microservice architecture according to claim 1 is characterized in that: The service subsystem includes: A network service module is used to provide users with access services to the generation and verification system; The digital calibration service module is used to collect calibration service data based on the content information of the digital calibration certificate through time-frequency calibration service and length calibration service.

4. The digital calibration certificate generation and verification system based on microservice architecture according to claim 1 is characterized in that: The business module includes: The module management unit is used to obtain the corresponding digital calibration certificate template based on the metrological standards in the professional field; A generating unit, configured to generate a digital calibration certificate based on the digital calibration certificate template, the digital calibration certificate content information and the calibration service data; A security management unit, used to digitally sign and time-stamp the digital calibration certificate to obtain a securely managed digital calibration certificate; The verification unit is used to perform format, syntax and security verification on the securely managed digital calibration certificate to obtain a final digital calibration certificate.

5. The digital calibration certificate generation and verification system based on microservice architecture according to claim 1 is characterized in that: The basic management module includes: A certificate management unit, used for updating and querying the version of the digital calibration certificate and the corresponding digital unit system based on the digital calibration certificate; The authority management unit is used to provide registration, authority allocation and authentication management services for users in the system; A verification calculation unit is used to use a verification calculation tool to provide a corresponding calibration calculation function based on measurement standards, professional terms and verification codes, verify the digital calibration certificate, and obtain a verification result of the digital calibration certificate; An identification management unit, used to generate an organization name identification number and a digital object identifier based on the verified digital calibration certificate, so as to realize the registration of the digital calibration certificate; The vocabulary management unit is used to provide measurement standards, professional terms and verification codes to realize the generation and verification process of digital calibration certificates.

6. The digital calibration certificate generation and verification system based on microservice architecture according to claim 1 is characterized in that: The configuration module includes: A configuration unit, used to provide information configuration services for the business module and the basic management module; A log management unit, used to manage the logs generated in the business module and the basic management module; A registration and discovery unit, used to provide registration and discovery components for the business module and the basic management module, and dynamically schedule the modules based on the current application scale; The microservice unit is used to visualize the business module and the basic management module; and manage the generated digital calibration certificate.

7. The digital calibration certificate generation and verification system based on microservice architecture according to claim 2 is characterized in that: The digital security subsystem includes: A digital identity module, used to provide digital identity information for the terminal module and the server module; A digital signature module is used to generate a digital signature using a cryptographic device; The trusted timestamp module is used to generate a trusted timestamp using a timestamp server.

8. The digital calibration certificate generation and verification system based on microservice architecture according to claim 1 is characterized in that: The storage subsystem comprises: User information storage module, used to store user, authentication and management information; A certificate information storage module for storing digital calibration certificate files, signatures, timestamps, process data, and management data; A key information storage module, used to store digital signatures and corresponding keys; The data information storage module is used to store business data, background service data and process control data.

9. A method for generating and verifying a digital calibration certificate based on a microservice architecture, applied to a system for generating and verifying a digital calibration certificate based on a microservice architecture as claimed in any one of claims 1 to 8, characterized in that: include: Get the content information of digital calibration certificate; Based on the content information of the digital calibration certificate, obtaining calibration service data; Generate digital signatures and trusted timestamps; Generate a digital calibration certificate based on the digital calibration certificate content information, the calibration service data, the digital signature and the trusted timestamp; The digital calibration certificate is verified to obtain a digital calibration certificate generation verification result.