Multi-service signature verification method, device, equipment, medium and terminal based on QR code carrier

By adopting a multi-service signature verification method based on QR codes, the high cost and poor user experience caused by independent verification in each business system are solved. This method achieves unified verification across multiple business systems, reduces development and maintenance costs, and improves user experience.

CN123122838APending Publication Date: 2026-11-17NAT UNIV OF DEFENSE TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611178835.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-05
Publication Date
2026-11-17

AI Technical Summary

Technical Problem

In existing technologies, the independent signature verification mechanisms of each business system result in high development and maintenance costs, poor user experience, and the signature results of different systems are not mutually recognized, forming a technical barrier.

Method used

A multi-service signature verification method based on QR code carrier is adopted. By scanning the QR code, the service identifier and signature information are obtained, the service type is identified, the corresponding digital certificate and verification template are selected, the verification data string is constructed and verified, and the SM2/SM3 algorithm is used to ensure security.

Benefits of technology

It enables unified verification across multiple business systems, reduces development and maintenance costs, improves user experience, is easy to operate and responds quickly, and allows the entire verification process to be completed simply by scanning a QR code.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123122838A_ABST
    Figure CN123122838A_ABST
Patent Text Reader

Abstract

This application discloses a multi-service signature verification method, apparatus, device, medium, and terminal based on a QR code carrier. The method includes: acquiring QR code scanning data; identifying the service type based on the service identifier bit to obtain a service type identification result; selecting a digital certificate and verification template corresponding to the service type based on the service type identification result; constructing a verification data string containing the signature information based on the verification template; and verifying the verification data string based on the digital certificate to obtain a target verification result. This application can achieve unified verification of multiple services, significantly reducing development and maintenance costs. By using a QR code as the signature information carrier, users only need to scan the code to complete the entire verification process, which is simple to operate and responds quickly, improving the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of digital signature verification, and in particular to a multi-service signature verification method, apparatus, device, medium and terminal based on a QR code carrier. Background Technology

[0002] With the rapid development of mobile internet technology, digital signature technology has been widely applied in various fields such as electronic document signing, electronic contract authentication, and identity recognition. Digital signatures are one of the core technologies for ensuring network information security. They use asymmetric encryption algorithms to sign and verify data, ensuring its authenticity, integrity, and non-repudiation. Currently, the financial, government, and e-commerce sectors are vigorously promoting digitalization and paperless processes, and digital signature technology has become a key infrastructure supporting these transformations.

[0003] In related technologies, various business systems generally adopt independent signature verification mechanisms. Each business system (such as electronic certificate system, electronic contract system, and electronic invoice system) maintains its own signature verification process, uses its own CA certificate and verification logic, and the signature results of different systems are not recognized by each other, forming a technical barrier and resulting in high development and maintenance costs. In addition, the signature verification process involves multiple steps (data input, page redirection, interface waiting, etc.), which is complex and results in a poor user experience.

[0004] In summary, digital signature verification methods in related technologies suffer from drawbacks such as high development and maintenance costs and poor user experience. Summary of the Invention

[0005] This application aims to propose a multi-service signature verification method, device, equipment, medium, and terminal based on QR code carrier, which can reduce development and maintenance costs and improve user experience.

[0006] In a first aspect, embodiments of this application provide a multi-service signature verification method based on a QR code carrier, comprising the following steps: The QR code scanning data is obtained by scanning the QR code to be verified, and the QR code scanning data includes a business identifier and signature information. The service type is identified based on the service identifier bit to obtain the service type identification result; Select the corresponding digital certificate and verification template based on the business type identification result; Construct a verification data string containing the signature information based on the verification template; The verification data string is verified based on the digital certificate to obtain the target verification result.

[0007] According to some embodiments of this application, the QR code scanning data further includes a template number, which is used to identify different verification templates. The step of selecting the digital certificate and verification template corresponding to the business type based on the business type identification result includes: Select the corresponding digital certificate based on the business identifier bit; Select the corresponding verification template based on the template number.

[0008] According to some embodiments of this application, the QR code scanning data further includes an algorithm identifier bit, and the step of verifying the verification data string according to the digital certificate to obtain the target verification result includes: Select the corresponding signature algorithm based on the algorithm identifier bit; The verification data string is verified based on the digital certificate and the signature algorithm to obtain the target verification result.

[0009] According to some embodiments of this application, after verifying the verification data string based on the digital certificate and obtaining the target verification result, the method further includes: If the target verification result indicates successful verification, the business data corresponding to the signature information is parsed and obtained.

[0010] According to some embodiments of this application, in the step of selecting the corresponding signature algorithm based on the algorithm identifier, the signature algorithm adopts the SM3WithSM2 combination algorithm.

[0011] According to some embodiments of this application, before obtaining the QR code scanning data, the method further includes: Obtain initial QR code scanning information; The initial QR code scan information is verified by parsing each field of the initial QR code scan information according to a predefined format, and verifying whether the data format and length of each field are qualified. If the field data format and length of the initial QR code scan information are qualified, the QR code scan data is generated.

[0012] Secondly, embodiments of this application provide a multi-service signature verification device based on a QR code carrier, including: The QR code scanning module is used to acquire QR code scanning data, which is generated by scanning the QR code to be verified. The QR code scanning data includes a business identifier and signature information. The service identification module identifies the service type based on the service identifier bit and obtains the service type identification result. The certificate and template selection module selects the digital certificate and verification template corresponding to the business type based on the business type identification result. The verification data string construction module constructs a verification data string containing the signature information based on the verification template. The signature verification module verifies the verification data string based on the digital certificate to obtain the target verification result.

[0013] Thirdly, embodiments of this application provide an electronic device, the device comprising: a processor and a memory storing computer program instructions; When the processor executes the computer program instructions, it implements the multi-service signature verification method based on a QR code carrier as described in the first aspect.

[0014] Fourthly, embodiments of this application provide a computer-readable storage medium storing computer program instructions, which, when executed by a processor, implement the multi-service signature verification method based on a QR code carrier as described in the first aspect.

[0015] Fifthly, embodiments of this application provide a mobile terminal, which includes a camera for scanning QR codes and a control module. The control module performs signature verification using the multi-service signature verification method based on a QR code carrier as described in the first aspect.

[0016] The multi-service signature verification method, apparatus, device, medium, and terminal based on QR code carrier in this application embodiment have at least the following beneficial effects: In this embodiment, QR code scanning data is first acquired, then the business type is identified based on the business identifier bit to obtain a business type identification result; a digital certificate and verification template corresponding to the business type are selected based on the business type identification result; a verification data string containing the signature information is constructed based on the verification template; finally, the verification data string is verified based on the digital certificate to obtain the target verification result. This application can realize unified verification of multiple services, significantly reducing development and maintenance costs; this application uses QR codes as the signature information carrier, and users only need to scan the code to complete the entire verification process, which is simple to operate and has a fast response, improving the user experience.

[0017] Additional aspects and advantages of this application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of this application. Attached Figure Description

[0018] The present application will be further described below with reference to the accompanying drawings and embodiments, wherein: Figure 1 A flowchart illustrating an embodiment of the multi-service signature verification method based on a QR code carrier provided in this application; Figure 2A schematic diagram of the structure of the multi-service signature verification device based on a QR code carrier provided in this application; Figure 3 A schematic diagram of the structure of the electronic device provided in this application. Detailed Implementation

[0019] The features and exemplary embodiments of various aspects of this application will be described in detail below. To make the objectives, technical solutions, and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain this application and not to limit it. For those skilled in the art, this application can be implemented without some of these specific details. The following description of the embodiments is merely to provide a better understanding of this application by illustrating examples.

[0020] In this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, without necessarily requiring or implying any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising..." does not exclude the presence of additional identical elements in the process, method, article, or apparatus that includes said element.

[0021] To address the problems of existing technologies, embodiments of this application provide a multi-service signature verification method, apparatus, device, medium, and terminal based on a QR code carrier. The multi-service signature verification based on a QR code carrier provided in this application embodiment will be described below first.

[0022] Figure 1 This illustration shows a flowchart of a multi-service signature verification method based on a QR code carrier provided in an embodiment of this application. The method is applied to electronic devices and includes the following steps: S101. Obtain QR code scanning data. The QR code scanning data is generated after scanning the QR code to be verified. The QR code scanning data includes business identification bits and signature information. S102. Identify the service type based on the service identifier bit to obtain the service type identification result; S103. Select the digital certificate and verification template corresponding to the business type based on the business type identification result; S104. Construct a verification data string containing signature information based on the verification template; S105. Verify the verification data string according to the digital certificate to obtain the target verification result.

[0023] In this embodiment, QR code scanning data is first acquired, then the business type is identified based on the business identifier bit to obtain a business type identification result; a digital certificate and verification template corresponding to the business type are selected based on the business type identification result; a verification data string containing the signature information is constructed based on the verification template; finally, the verification data string is verified based on the digital certificate to obtain the target verification result. This application can realize unified verification of multiple services, significantly reducing development and maintenance costs; this application uses QR codes as the signature information carrier, and users only need to scan the code to complete the entire verification process, which is simple to operate and has a fast response, improving the user experience.

[0024] Specifically, in step S101 above, QR code scanning data is generated by parsing the QR code to be verified after scanning it with the camera of a mobile phone or other terminal. The QR code scanning data includes a business identifier and signature information, meaning that in addition to the normal signature information, the scanned QR code's data structure also requires a preset business identifier. The business identifier refers to the business type code, used to distinguish different business types, such as 01=electronic certificate, 02=electronic contract, 03=professional qualification certificate, 04=electronic invoice, etc. The length of the business identifier can be fixed or variable. The signature information refers to the business data to be verified, such as signature value, signature date, signature content, etc. In this embodiment, the core fields of the QR code at least include the business identifier and signature information, such as the business identifier, signature date, signature value, and signature content. Other fields can be added according to different scenarios, such as signature algorithm identifier, string length, template number, etc.

[0025] For example, the core fields of a QR code format standard containing complete signature information may include: business identifier, @bjca identifier, string length, signature algorithm identifier, template number, certificate serial number, signature date, signature value, signature content, etc., as shown in Table 1. Table 1. Examples of core fields for QR codes

[0026] In step S102 above, identifying the business type based on the business identifier bit means identifying the business category of the signature information to be verified through the business identifier bit. The business type can be identified through a predefined set of valid business identifiers. For example, if the business identifier bit is 01, the business type is identified as an electronic certificate; if the business identifier bit is 02, the business type is identified as an electronic contract.

[0027] In step S103 above, selecting the corresponding digital certificate and verification template based on the business type identification result refers to selecting the digital certificate (CA certificate) and verification template corresponding to the business system. The verification template refers to a preset verification strategy based on the verification requirements of different business systems, such as certificate chains, encryption algorithms, verification parameters, and verification requirements for different security levels. It should be noted that different business systems may have different digital certificates, but the verification strategies for different business systems can be the same or different. The same business system can also have multiple different verification templates set according to its needs. When the verification template corresponds to a business system, the verification template is selected directly through the business type identification result, i.e., through the business identifier. When multiple different verification templates exist for the same business system, a template number field can be added to the QR code's data structure to select the corresponding verification template.

[0028] In step S104 above, constructing a verification data string containing signature information based on the verification template refers to constructing a data string to be verified according to a preset verification strategy after selecting the corresponding CA certificate. For example, a verification data string format is: string length + signature algorithm identifier + template number + certificate serial number + signature date + signature content.

[0029] In step S105 above, verifying the verification data string according to the digital certificate refers to signing and verifying the constructed data string according to the public key and encryption algorithm in the selected digital certificate, generating the target verification result. If the verification is successful, it is confirmed that the data has not been tampered with and the source is trustworthy; if the verification fails, specific error information is returned.

[0030] For example, the encryption algorithm can be selected from the SM2 elliptic curve digital signature algorithm, the SM3 hash algorithm, or the SM3WithSM2 combined algorithm. The SM2 elliptic curve digital signature algorithm provides strong security while having low computational complexity, making it suitable for resource-constrained environments on mobile devices. The SM3 hash algorithm can perform data integrity verification, generating irreversible hash digests, fundamentally identifying and resisting data tampering or forgery. The SM3WithSM2 combined algorithm first uses SM3 to generate a digest of the original data, then uses the SM2 private key to sign the digest, and verifies the signature using the public key in the corresponding CA certificate. Besides the above algorithms, other encryption algorithms such as RSA / SHA-256 or ECDSA / SHA-256 can also be used.

[0031] In some implementations, the QR code scanning data also includes a template number, which is used to identify different verification templates. Selecting the corresponding digital certificate and verification template based on the business type identification result may include: Select the corresponding digital certificate based on the business identifier. Select the corresponding verification template based on the template number.

[0032] It should be noted that the QR code scanning data also includes a template number, which is equivalent to adding a template number field to the data format of the QR code to be verified.

[0033] In this embodiment, a template number is set in the QR code. During the subsequent verification process, the corresponding verification template can be selected through the template number. The verification template and the digital certificate are selected through different fields. This not only enables different business systems to use different verification strategies, but also enables the same business system to use different verification strategies. For example, different security level verification requirements in the same business system, which is very flexible.

[0034] Specifically, different verification strategies can be set in advance according to different verification scenarios of the business system. For example, verification parameters can be adjusted, such as adding certificate validity period, signature algorithm version, etc., to achieve dynamic configuration of verification parameters.

[0035] In some implementations, the QR code scanning data also includes an algorithm identifier bit. Verifying the verification data string based on the digital certificate to obtain the target verification result may include: Select the corresponding signature algorithm based on the algorithm identifier bit; Verifying the data string based on the digital certificate and signature algorithm is equivalent to adding a relevant field of algorithm identifier to the data format of the QR code to be verified.

[0036] In this embodiment, an algorithm identifier is set in the QR code. During the subsequent verification process, the corresponding encryption algorithm can be selected through the algorithm identifier, which can enable the same business system to use different encryption algorithms, providing good flexibility.

[0037] In some implementations, after verifying the verification data string based on the digital certificate to obtain the target verification result, the process may further include: If the target verification result indicates successful verification, the business data corresponding to the signature information is parsed and obtained.

[0038] Specifically, upon successful verification, the signature content is parsed, and the parsed business data is returned to the user. If verification fails, specific error messages are returned, such as signature mismatch, invalid certificate, or data tampering.

[0039] In some implementations, the signature algorithm used in the step of selecting the corresponding signature algorithm based on the algorithm identifier bit is the SM3WithSM2 combined algorithm.

[0040] In this embodiment, the SM3WithSM2 combined algorithm is used for encryption and decryption to ensure the security and credibility of the verification.

[0041] Specifically, first, the SM3 is used to generate a digest of the original data in the business information, then the SM2 private key is used to sign the digest, and finally, during verification, the public key in the corresponding CA certificate is used to verify the signature based on the signature algorithm identifier.

[0042] In some implementations, before acquiring the QR code scanning data, the following may also be included: Obtain initial QR code scanning information; The initial QR code scan information is verified by parsing each field of the initial QR code scan information according to a predefined format, and verifying whether the data format and length of each field are qualified. If the field data format and length of the initial QR code scan information are qualified, the QR code scan data is generated.

[0043] Specifically, the system scans the QR code and parses each field according to a predefined format, verifying the validity of the data format and length. If it is invalid, an error message is returned, such as if the scanned QR code is another type of QR code and does not require signature verification. QR code scan data is only generated if the field data format and length of the initial QR code scan information are valid.

[0044] In summary, this application uses QR codes as the signature information carrier, allowing users to complete the entire verification process simply by scanning the code, making it convenient and responsive. This application establishes a unified multi-service verification platform through business identifiers and a configurable verification template mechanism. Different business systems can share the same verification framework, and new services can be quickly integrated simply by configuring templates, significantly reducing development and maintenance costs. Furthermore, the use of SM2 / SM3 algorithms and authoritative CA certificates ensures the security and reliability of the verification.

[0045] Based on the multi-service signature verification method based on QR code carrier provided in the above embodiments, this application also provides a specific implementation of the multi-service signature verification device based on QR code carrier.

[0046] like Figure 2 As shown, the multi-service signature verification device 200 based on a QR code carrier provided in this application embodiment may include: The QR code scanning module 201 is used to acquire QR code scanning data. The QR code scanning data is generated after scanning the QR code to be verified. The QR code scanning data includes business identification bits and signature information. The service identification module 202 identifies the service type based on the service identifier bit and obtains the service type identification result; The certificate and template selection module 203 selects the digital certificate and verification template corresponding to the business type based on the business type identification result. Verification data string construction module 204 constructs a verification data string containing signature information based on the verification template; The signature verification module 205 verifies the verification data string based on the digital certificate and obtains the target verification result.

[0047] The multi-service signature verification device 200 based on QR code carrier in this application embodiment is used to execute the multi-service signature verification method based on QR code carrier in the above embodiment. Its specific processing procedure is the same as that of the multi-service signature verification method based on QR code carrier in the above embodiment, and will not be described in detail here.

[0048] Figure 3 A schematic diagram of the hardware structure of the electronic device provided in an embodiment of this application is shown.

[0049] The electronic device may include a processor 301 and a memory 302 storing computer program instructions.

[0050] Specifically, the processor 301 may include a central processing unit (CPU), an application-specific integrated circuit (ASIC), or one or more integrated circuits that can be configured to implement the embodiments of this application.

[0051] Memory 302 may include mass storage for data or instructions. For example, and not limitingly, memory 302 may include a hard disk drive (HDD), floppy disk drive, flash memory, optical disk, magneto-optical disk, magnetic tape, or Universal Serial Bus (USB) drive, or a combination of two or more of these. Where appropriate, memory 302 may include removable or non-removable (or fixed) media. Where appropriate, memory 302 may be internal or external to the integrated gateway disaster recovery device. In a particular embodiment, memory 302 is non-volatile solid-state memory.

[0052] In some embodiments, memory 302 may include read-only memory (ROM), random access memory (RAM), disk storage media device, optical storage media device, flash memory device, electrical, optical, or other physical / tangible memory storage device. Thus, generally, memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., memory devices) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the method according to one aspect of this disclosure.

[0053] The processor 301 reads and executes computer program instructions stored in the memory 302 to implement any of the multi-service signature verification methods based on QR code carriers in the above embodiments.

[0054] In one example, the electronic device may also include a communication interface 303 and a bus 310. For example, Figure 3 As shown, the processor 301, memory 302, and communication interface 303 are connected through bus 310 and complete communication with each other.

[0055] The communication interface 303 is mainly used to realize communication between various modules, devices, units and / or equipment in the embodiments of this application.

[0056] Bus 310 may include hardware, software, or both. For example, and not limitingly, the bus may include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), HyperTransport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an Infinite Bandwidth Interconnect, a Low Pin Count (LPC) bus, a memory bus, a Microchannel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a Video Electronics Standards Association Local (VLB) bus, or other suitable buses, or combinations of two or more of these. Where appropriate, bus 310 may include one or more buses. Although specific buses are described and illustrated in embodiments of this application, this application contemplates any suitable bus or interconnect.

[0057] Furthermore, in conjunction with the multi-service signature verification method based on QR code carrier in the above embodiments, this application embodiment can provide a computer storage medium for implementation. The computer storage medium stores computer program instructions; when these computer program instructions are executed by a processor, they implement any of the multi-service signature verification methods based on QR code carrier in the above embodiments.

[0058] This application also relates to a mobile terminal, which includes a camera for scanning QR codes and a control module. The control module performs signature verification using the aforementioned multi-service signature verification method based on QR code carrier.

[0059] Specifically, the mobile terminal can be a mobile phone, tablet, or any other type of handheld mobile device capable of scanning QR codes. By using QR codes as the carrier of signature information, lightweight mobile verification can be achieved by users scanning the code to complete the verification process.

[0060] It should be clarified that this application is not limited to the specific configurations and processes described above and shown in the figures. For the sake of brevity, detailed descriptions of known methods are omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of this application is not limited to the specific steps described and shown. Those skilled in the art can make various changes, modifications, and additions, or change the order of steps, after understanding the spirit of this application.

[0061] The functional blocks shown in the above-described structural diagram can be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, they can be, for example, electronic circuits, application-specific integrated circuits (ASICs), appropriate firmware, plug-ins, function cards, etc. When implemented in software, the elements of this application are programs or code segments used to perform the required tasks. Programs or code segments can be stored on a machine-readable medium or transmitted over a transmission medium or communication link via data signals carried on a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, radio frequency (RF) links, etc. Code segments can be downloaded via computer networks such as the Internet, intranets, etc.

[0062] It should also be noted that the exemplary embodiments mentioned in this application describe methods or systems based on a series of steps or apparatus. However, this application is not limited to the order of the above steps; that is, the steps can be performed in the order mentioned in the embodiments, or in a different order, or several steps can be performed simultaneously.

[0063] The aspects of this disclosure have been described above with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this disclosure. It should be understood that each block in the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine such that these instructions, executable via the processor of the computer or other programmable data processing apparatus, enable the implementation of the functions / actions specified in one or more blocks of the flowchart illustrations and / or block diagrams. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field-programmable logic circuit. It is also understood that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can also be implemented by special-purpose hardware performing the specified functions or actions, or can be implemented by a combination of special-purpose hardware and computer instructions.

[0064] The above description is merely a specific implementation of this application. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, modules, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here. It should be understood that the protection scope of this application is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in this application, and these modifications or substitutions should all be covered within the protection scope of this application.

Claims

1. A multi-service signature verification method based on a QR code carrier, characterized in that, Includes the following steps: The QR code scanning data is obtained by scanning the QR code to be verified, and the QR code scanning data includes a business identifier and signature information. The service type is identified based on the service identifier bit to obtain the service type identification result; Select the corresponding digital certificate and verification template based on the business type identification result; Construct a verification data string containing the signature information based on the verification template; The verification data string is verified based on the digital certificate to obtain the target verification result.

2. The multi-service signature verification method based on a QR code carrier according to claim 1, characterized in that, The QR code scanning data also includes a template number, which is used to identify different verification templates. The step of selecting the digital certificate and verification template corresponding to the business type based on the business type identification result includes: Select the corresponding digital certificate based on the business identifier bit; Select the corresponding verification template based on the template number.

3. The multi-service signature verification method based on a QR code carrier according to claim 1, characterized in that, The QR code scanning data also includes an algorithm identifier bit. The step of verifying the verification data string according to the digital certificate to obtain the target verification result includes: Select the corresponding signature algorithm based on the algorithm identifier bit; The verification data string is verified based on the digital certificate and the signature algorithm to obtain the target verification result.

4. The multi-service signature verification method based on a QR code carrier according to claim 1, characterized in that, After verifying the verification data string according to the digital certificate and obtaining the target verification result, the process further includes: If the target verification result indicates successful verification, the business data corresponding to the signature information is parsed and obtained.

5. The multi-service signature verification method based on a QR code carrier according to claim 1, characterized in that, In the step of selecting the corresponding signature algorithm based on the algorithm identifier, the signature algorithm adopts the SM3WithSM2 combination algorithm.

6. The multi-service signature verification method based on a QR code carrier according to claim 1, characterized in that, Before acquiring the QR code scanning data, the process also includes: Obtain initial QR code scanning information; The initial QR code scan information is verified by parsing each field of the initial QR code scan information according to a predefined format, and verifying whether the data format and length of each field are qualified. If the field data format and length of the initial QR code scan information are qualified, the QR code scan data is generated.

7. A multi-service signature verification device based on a QR code carrier, characterized in that, include: The QR code scanning module is used to acquire QR code scanning data, which is generated by scanning the QR code to be verified. The QR code scanning data includes a business identifier and signature information. The service identification module identifies the service type based on the service identifier bit and obtains the service type identification result. The certificate and template selection module selects the digital certificate and verification template corresponding to the business type based on the business type identification result. The verification data string construction module constructs a verification data string containing the signature information based on the verification template. The signature verification module verifies the verification data string based on the digital certificate to obtain the target verification result.

8. An electronic device, characterized in that, The device includes: a processor and a memory storing computer program instructions; When the processor executes the computer program instructions, it implements the multi-service signature verification method based on a QR code carrier as described in any one of claims 1-7.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer program instructions, which, when executed by a processor, implement the multi-service signature verification method based on a QR code carrier as described in any one of claims 1-7.

10. A mobile terminal, characterized in that, The mobile terminal includes a camera for scanning QR codes and a control module, wherein the control module performs signature verification using the multi-service signature verification method based on a QR code carrier as described in any one of claims 1 to 6.