CN111506927B - Electronic certificate storage method and device, electronic equipment and storage medium - Google Patents

Electronic certificate storage method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN111506927B
CN111506927B CN202010298547.XA CN202010298547A CN111506927B CN 111506927 B CN111506927 B CN 111506927B CN 202010298547 A CN202010298547 A CN 202010298547A CN 111506927 B CN111506927 B CN 111506927B
Authority
CN
China
Prior art keywords
electronic certificate
target electronic
information
attribute information
file format
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010298547.XA
Other languages
Chinese (zh)
Other versions
CN111506927A (en
Inventor
杨孝先
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Bank of China Ltd
Original Assignee
Bank of China Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Bank of China Ltd filed Critical Bank of China Ltd
Priority to CN202010298547.XA priority Critical patent/CN111506927B/en
Publication of CN111506927A publication Critical patent/CN111506927A/en
Application granted granted Critical
Publication of CN111506927B publication Critical patent/CN111506927B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • G06F21/6245Protecting personal data, e.g. for financial or medical purposes

Abstract

The embodiment of the application provides an electronic certificate storage method, an electronic certificate storage device, electronic equipment and a storage medium. The attribute information is used for representing whether second information contained in the target electronic certificate is modified or not; the second file format of the target electronic certificate is different from the first file format; obtaining a characteristic value corresponding to the target electronic certificate at least based on the attribute information; and storing the characteristic value of the target electronic certificate and at least part of the second information. Since the attribute information is used for indicating whether the second information is modified, obtaining the characteristic value corresponding to the target electronic certificate based on the attribute information can also represent whether the second information is modified, so that whether the second information is modified can be judged based on the characteristic value corresponding to the target electronic certificate.

Description

Electronic certificate storage method and device, electronic equipment and storage medium
Technical Field
The present application relates to the field of internet information technologies, and in particular, to an electronic certificate storage method and apparatus, an electronic device, and a storage medium.
Background
After the customer transacts the business, the business transacting party may store the corresponding electronic certificate, for example, after the customer transacts the account transfer business at a bank counter, the bank server may store the electronic certificate, which includes the account transfer bank card number, the collection bank card number, the account transfer amount, the account transfer time, and the like.
Currently, the electronic certificate may be tampered, for example, the transfer amount in the electronic certificate corresponding to the transfer service is modified, which results in economic loss of the customer.
Therefore, how to judge whether the electronic certificate is tampered is a difficult problem to be solved urgently in the field.
Disclosure of Invention
In view of this, the present application provides an electronic certificate storage method, an electronic certificate storage apparatus, an electronic device, and a storage medium.
In order to achieve the above purpose, the present application provides the following technical solutions:
an electronic credential storage method comprising:
acquiring a target electronic certificate to be stored;
acquiring attribute information with a preset identifier from first information contained in the target electronic certificate opened in a first file format;
wherein the attribute information is used for characterizing whether second information contained in the target electronic certificate opened in a second file format is modified or not; the second file format to which the target electronic certificate belongs is different from the first file format, and the second information does not include attribute information with the preset identification;
obtaining a characteristic value corresponding to the target electronic certificate at least based on the attribute information;
and storing the characteristic value of the target electronic certificate and at least part of the second information.
Optionally, the obtaining, at least based on the attribute information, a feature value corresponding to the target electronic certificate includes:
based on the attribute information and the relevant information of the target electronic certificate, obtaining a characteristic value corresponding to the target electronic certificate, wherein the relevant information of the target electronic certificate comprises: one or more of a file name of the target electronic credential, a creation time of the target electronic credential, and at least a portion of the second information.
Optionally, the obtaining, at least based on the attribute information, a feature value corresponding to the target electronic certificate includes:
and acquiring a characteristic value corresponding to the target electronic certificate based on the attribute information and the characteristic value of the electronic certificate stored at the previous moment.
Optionally, the obtaining, at least based on the attribute information, a feature value corresponding to the target electronic certificate includes:
obtaining a characteristic value corresponding to the target electronic certificate based on the attribute information, the related information of the target electronic certificate and the characteristic value of the electronic certificate stored at the previous moment, wherein the related information of the target electronic certificate comprises: one or more of a file name of the target electronic credential, a creation time of the target electronic credential, and at least a portion of the second information.
Optionally, the attribute information is one or more of modification time of the target electronic certificate and modification times of the target electronic certificate.
An electronic credential storage device comprising:
the first acquisition module is used for acquiring a target electronic certificate to be stored;
the second acquisition module is used for acquiring attribute information with a preset identifier from first information contained in the target electronic certificate opened in the first file format;
wherein the attribute information is used for characterizing whether second information contained in the target electronic certificate opened in a second file format is modified or not; the second file format to which the target electronic certificate belongs is different from the first file format, and the second information does not include attribute information with the preset identification;
a third obtaining module, configured to obtain, based on at least the attribute information, a feature value corresponding to the target electronic credential;
and the storage module is used for storing the characteristic value of the target electronic certificate and at least part of the second information.
Optionally, the third obtaining module includes:
a first obtaining unit, configured to obtain, based on the attribute information and relevant information of the target electronic certificate, a feature value corresponding to the target electronic certificate, where the relevant information of the target electronic certificate includes: one or more of a file name of the target electronic credential, a creation time of the target electronic credential, and at least a portion of the second information.
Optionally, the third obtaining module includes:
and the second acquisition unit is used for acquiring a characteristic value corresponding to the target electronic certificate based on the attribute information and the characteristic value of the electronic certificate stored at the previous moment.
An electronic device, comprising:
a memory for storing a program;
a processor configured to execute the program, the program specifically configured to:
acquiring a target electronic certificate to be stored;
acquiring attribute information with a preset identifier from first information contained in the target electronic certificate opened in a first file format;
wherein the attribute information is used for characterizing whether second information contained in the target electronic certificate opened in a second file format is modified or not; the second file format to which the target electronic certificate belongs is different from the first file format, and the second information does not include attribute information with the preset identification;
obtaining a characteristic value corresponding to the target electronic certificate at least based on the attribute information;
and storing the characteristic value of the target electronic certificate and at least part of the second information.
A readable storage medium having stored thereon a computer program which, when executed by a processor, implements an electronic certificate storage method as in any one of the above.
As can be seen from the foregoing technical solutions, in the electronic certificate storage method provided in the embodiments of the present application, the target electronic certificate is first opened in the first file format, and then the attribute information with the preset identifier is obtained from the first information included in the target electronic certificate opened in the first file format. The attribute information is used for representing whether second information contained in the target electronic certificate opened in the second file format is modified or not; the second file format of the target electronic certificate is different from the first file format; the second information does not include attribute information with the preset identification; obtaining a characteristic value corresponding to the target electronic certificate at least based on the attribute information; and storing the characteristic value of the target electronic certificate and at least part of the second information. Since the attribute information is used for representing whether the second information is modified, obtaining the characteristic value corresponding to the target electronic certificate based on the attribute information can also represent whether the second information is modified, so that whether the second information is modified can be judged based on the characteristic value corresponding to the target electronic certificate. Since whether the second information is modified can be judged based on the characteristic value of the target electronic certificate, the target electronic certificate is protected from being tampered to a certain extent.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a schematic diagram of an application scenario of a transfer service at an ATM according to an embodiment of the present application;
FIG. 2 is a schematic representation of an electronic certificate according to an embodiment of the present application;
FIG. 3 is a flowchart of an implementation manner of an electronic certificate storage method according to an embodiment of the present application;
FIG. 4 is a schematic representation of an embodiment of the present application showing information contained in a target electronic certificate after the target electronic certificate is opened in a first file format;
FIG. 5 is a block diagram of an implementation of an electronic credential storage device provided in an embodiment of the present application;
fig. 6 is a block diagram of an implementation manner of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The electronic certificate storage method provided by the embodiment of the application can be applied to various application scenarios, and the embodiment of the application provides, but is not limited to, the following application scenarios.
The user can transact services such as withdrawal services, deposit services, transfer services and the like at the ATM; or, the user may transact the service on a counter, and the embodiment of the present application does not limit the type of the transacted service. Embodiments of the present application are not limited to the location and type of transaction (e.g., ATM transaction, or counter transaction, or application transaction).
Fig. 1 is a schematic diagram illustrating an application scenario of a transfer transaction at an ATM according to an embodiment of the present application.
The user may transact a transfer transaction at the ATM 11 and optionally the ATM 11 or the server 12 may create a corresponding electronic voucher. The user may choose to print or not print the electronic voucher. If the ATM creates the electronic voucher, the electronic voucher may be transmitted to the server 12 for storage.
The file format of the electronic certificate created by the ATM machine or the server 12 may be any one of a PDF file format, a word file format, a Txt file format, and an execl file format.
It can be understood that the second information included in the electronic certificate corresponding to different services may be different, and the second information included in the electronic certificate corresponding to different services may be arranged in different manners.
In the embodiment of the present application, information included in the electronic certificate opened in the second file format is referred to as second information, where the second file format is a file format to which the electronic certificate belongs. For example, if the file format of the electronic certificate is a PDF file format, then the second file format of the electronic certificate is a PDF file format; if the file format of the electronic certificate is a Word file format, the second file format of the electronic certificate is a Word file format.
Assuming that the electronic certificate is the electronic certificate 21 in fig. 2, the second information and the layout manner of the second information included in the electronic certificate 21 are only examples, and the embodiment of the present application does not limit the layout manner of the second information and the second information included in the electronic certificate.
The server 12 may store the second information contained in the electronic voucher in a table, or a database, or a linked list, or an array. The embodiment of the present application does not limit the storage manner of the second information included in the electronic certificate.
In the process of storing the electronic certificate, the server 12 opens the electronic certificate in the first file format, and then obtains attribute information with a preset identifier from first information contained in the electronic certificate opened in the first file format. The attribute information is used for representing whether second information contained in the target electronic certificate opened in the second file format is modified or not.
The second file format of the electronic certificate is different from the first file format; in an optional embodiment, the electronic certificate opened in the first file format includes first information that is at least partially different from second information included in the electronic certificate opened in the second file format, for example, at least the second information does not include attribute information having the preset identifier.
Obtaining a characteristic value corresponding to the electronic certificate at least based on the attribute information; and storing the characteristic value of the electronic certificate and at least part of the second information. Since the attribute information is used for representing whether the second information contained in the target electronic certificate opened in the second file format is modified, the characteristic value corresponding to the electronic certificate can also represent whether the second information is modified based on the attribute information, and therefore whether the second information is modified can be judged based on the characteristic value corresponding to the electronic certificate.
With reference to fig. 1 and fig. 2, a method for storing an electronic certificate provided in an embodiment of the present application is described, and with reference to fig. 3, a flowchart of an implementation manner of the method for storing an electronic certificate provided in an embodiment of the present application is shown, where the method includes:
step S301: and acquiring the target electronic certificate to be stored.
The target electronic certificate refers to any electronic certificate to be stored but not stored at the current time. The term "target electronic certificate" is used to distinguish it from the "electronic certificate stored at the previous time" mentioned later.
Step S302: and acquiring attribute information with preset identification from first information contained in the target electronic certificate opened in the first file format.
Wherein the attribute information is used for characterizing whether second information contained in the target electronic certificate opened in a second file format is modified or not; and the second file format of the target electronic certificate is different from the first file format.
Optionally, the attribute information is one or more of modification time of the second information included in the target electronic certificate and modification times of the second information included in the target electronic certificate.
Assuming that the file format of the target electronic certificate is a PDF file format, assuming that the second content contained in the target electronic certificate is as shown in fig. 2 after the target electronic certificate is opened in the second file format, assuming that the first file format is a Txt file format, the target electronic certificate is opened in the Txt file format to obtain a part of the first information as shown in fig. 4. Assuming that the attribute information is a modification time of the second information included in the target electronic certificate, the preset identifier may be ModDate. Then, the attribute information derived from the first information shown in FIG. 4 is "(D: 20190517172204+08 '00')".
Wherein 20190517172204+08'00' in the attribute information indicates that the time for modifying the second information contained in the target electronic certificate is 22 minutes, 04 seconds and 8 centiseconds at 17 days 17 and 5 months 17 in 2019.
Step S303: and obtaining a characteristic value corresponding to the target electronic certificate at least based on the attribute information.
In an alternative embodiment, only the attribute information may be subjected to a preset operation to obtain the characteristic value. Assuming that the function corresponding to the preset operation is a preset function, optionally, the feature value = the preset function (attribute information).
In an alternative embodiment, the predetermined function may be a hash function, or an irreversible algorithm function, or an asymmetric algorithm function, etc. The predetermined function does not refer to a certain function.
In an optional embodiment, the attribute information, the public key, and the private key may be subjected to a predetermined operation to obtain the feature value, and then, optionally, the feature value = a predetermined function (the public key, the private key, and the attribute information).
Step S304: and storing the characteristic value of the target electronic certificate and at least part of the second information.
In the electronic certificate storage method provided by the embodiment of the application, the electronic certificate is firstly opened in the first file format, and then the attribute information with the preset identification is obtained from the first information contained in the electronic certificate opened in the first file format. The attribute information is used for representing whether second information contained in the target electronic certificate opened in a second file format is modified or not; the second file format of the electronic certificate is different from the first file format; obtaining a characteristic value corresponding to the electronic certificate at least based on the attribute information; and storing the characteristic value of the electronic certificate and at least part of the second information. Since the attribute information is used for representing whether the second information contained in the target electronic certificate opened in the second file format is modified, the characteristic value corresponding to the obtained electronic certificate can also represent whether the second information is modified based on the attribute information, so that whether the second information is modified can be judged based on the characteristic value corresponding to the electronic certificate.
There are various implementation manners of step S303, and the embodiments of the present application provide, but are not limited to, the following.
The first method comprises the following steps: based on the attribute information, a feature value is obtained. Optionally, the attribute information is subjected to preset operation to obtain a characteristic value.
Assuming that the function corresponding to the preset operation is a preset function, optionally, the feature value = the preset function (attribute information).
In an alternative embodiment, the predetermined function may be an irreversible operation function or an asymmetric encryption algorithm function or a hash function.
Assuming that the preset function is an asymmetric cryptographic algorithm function, the eigenvalue = the preset function (public key, private key, attribute information).
And the second method comprises the following steps: and acquiring a characteristic value corresponding to the target electronic certificate based on the attribute information and the related information of the target electronic certificate.
The related information of the target electronic certificate comprises: one or more of a file name of the target electronic credential, a creation time of the target electronic credential, and at least a portion of the second information.
In an optional embodiment, the creation time of the target electronic certificate is the time when the user completes the transaction, or a certain time during the transaction process of the user.
The second information included in the target electronic certificate is related to the service type corresponding to the target electronic certificate, and still taking the account transfer service in fig. 1 as an example, the second information included in the target electronic certificate may include: one or more of account number, acceptance bank, ATM machine number, transaction type, transaction result, transaction amount, commission fee, transfer date, transaction balance and transfer account number.
Optionally, the file name of the target electronic certificate is related to the transacted business type, and still taking the account transfer business in fig. 1 as an example, the file name of the target electronic certificate may be the account transfer electronic certificate.
Optionally, the attribute information and the related information of the target electronic certificate may be subjected to a preset operation to obtain a characteristic value.
Assuming that the function corresponding to the preset operation is a preset function, optionally, the feature value = the preset function (attribute information, related information of the target electronic certificate).
In an alternative embodiment, the predetermined function may be an irreversible operation function or an asymmetric encryption algorithm function or a hash function.
Assuming that the preset function is an asymmetric encryption algorithm function, the feature value = the preset function (public key, private key, attribute information, and related information of the target electronic certificate).
And the third is that: and acquiring a characteristic value corresponding to the target electronic certificate based on the attribute information and the characteristic value of the electronic certificate stored at the previous moment.
The previous time refers to the time closest to the current time with respect to the current time. The storage of the electronic voucher in a table will be described as an example. As shown in table 1.
Table 1 electronic voucher storage table
Serial number Characteristic value Storing information
1 Characteristic value 1 At least part of the second information contained in the electronic certificate 1
2 Characteristic value 2 At least part of the second information contained in the electronic certificate 2
N Characteristic value N At least part of the second information contained in the electronic certificate N
Wherein N is a positive integer greater than or equal to 1.
N records have been stored in the table, where one record corresponds to an electronic voucher and one record may occupy one or more rows of the table. Table 1 illustrates an example in which one record occupies one row of the table. Suppose that N records in the table are sequentially arranged according to the storage time sequence, that is, the storage time of the electronic certificate corresponding to the 1 st record in the table is earlier than the storage time of the electronic certificate corresponding to the 2 nd record, the storage time of the electronic certificate corresponding to the 2 nd record is earlier than the storage time of the electronic certificate corresponding to the 3 rd record, and so on, and details are not repeated here.
Assuming that the target electronic certificate to be stored corresponds to the (N + 1) th record of the table, the electronic certificate at the previous moment is the electronic certificate corresponding to the nth record in the table.
Optionally, if the target electronic certificate corresponds to the 1 st record in the table, the method for obtaining the feature value of the target electronic certificate may be the first implementation manner and the second implementation manner.
Optionally, the attribute information and the feature value of the electronic certificate stored at the previous time may be subjected to a preset operation to obtain the feature value of the target electronic certificate.
Assuming that the function corresponding to the preset operation is a preset function, optionally, the feature value = the preset function (attribute information, the feature value of the electronic certificate stored at the previous time).
The preset function may be an irreversible operation function or an asymmetric encryption algorithm function or a hash function.
Assuming that the preset function is an asymmetric encryption algorithm function, the feature value of the target electronic certificate = the preset function (public key, private key, attribute information, feature value of the electronic certificate stored at the previous time).
And fourthly: and acquiring a characteristic value corresponding to the target electronic certificate based on the attribute information, the related information of the target electronic certificate and the characteristic value of the electronic certificate stored at the previous moment.
The related information of the target electronic certificate comprises: one or more of a file name of the target electronic credential, a creation time of the target electronic credential, and at least a portion of the second information.
For the description of the related information of the target electronic certificate, reference may be made to the description of the related information of the target electronic certificate in the second implementation manner, which is not described herein again.
Optionally, the attribute information, the related information of the target electronic certificate, and the feature value of the electronic certificate stored at the previous time may be subjected to a preset operation to obtain the feature value of the target electronic certificate.
Assuming that the function corresponding to the preset operation is a preset function, optionally, the feature value = the preset function (attribute information, related information of the target electronic certificate, and a feature value of the electronic certificate stored at a previous time).
The preset function may be an irreversible operation function or an asymmetric encryption algorithm function or a hash function.
Assuming that the preset function is an asymmetric encryption algorithm function, the feature value of the target electronic certificate = the preset function (public key, private key, attribute information, related information of the target electronic certificate, feature value of the electronic certificate stored at the previous time).
In the third and fourth implementations, the association between the electronic certificates is established, that is, the feature value of the electronic certificate stored latest indirectly includes the feature values of all the electronic certificates stored before, so that the information included in the electronic certificate has the characteristics of being not counterfeitable, being maintained collectively, and the like.
The method is described in detail in the embodiments disclosed in the present application, and the method of the present application can be implemented by various types of apparatuses, so that an apparatus is also disclosed in the present application, and the following detailed description is given of specific embodiments.
As shown in fig. 5, a structure diagram of an implementation manner of an electronic certificate storage apparatus provided in an embodiment of the present application includes:
a first obtaining module 51, configured to obtain a target electronic certificate to be stored;
a second obtaining module 52, configured to obtain attribute information with a preset identifier from first information included in the target electronic certificate opened in the first file format;
wherein the attribute information is used for characterizing whether second information contained in the target electronic certificate opened in a second file format is modified or not; the second file format to which the target electronic certificate belongs is different from the first file format, and the second information does not include attribute information with the preset identification;
a third obtaining module 53, configured to obtain, based on at least the attribute information, a feature value corresponding to the target electronic certificate;
a storage module 54, configured to store the feature value of the target electronic certificate and at least part of the second information.
In an optional embodiment, the third obtaining module includes:
a first obtaining unit, configured to obtain, based on the attribute information and relevant information of the target electronic certificate, a feature value corresponding to the target electronic certificate, where the relevant information of the target electronic certificate includes: one or more of a file name of the target electronic voucher, a creation time of the target electronic voucher, and at least part of the second information.
In an optional embodiment, the third obtaining module includes:
and the second acquisition unit is used for acquiring a characteristic value corresponding to the target electronic certificate based on the attribute information and the characteristic value of the electronic certificate stored at the previous moment.
In an optional embodiment, the third obtaining module includes:
a third obtaining unit, configured to obtain a feature value corresponding to the target electronic certificate based on the attribute information, the related information of the target electronic certificate, and a feature value of an electronic certificate stored at a previous time, where the related information of the target electronic certificate includes: one or more of a file name of the target electronic credential, a creation time of the target electronic credential, and at least a portion of the second information.
In an optional embodiment, the attribute information is one or more of a modification time of the target electronic certificate and a modification number of the target electronic certificate.
As shown in fig. 6, a block diagram of an implementation manner of an electronic device provided in an embodiment of the present application includes:
a memory 61 for storing a program;
a processor 62 configured to execute the program, the program specifically configured to:
acquiring a target electronic certificate to be stored;
acquiring attribute information with a preset identifier from first information contained in the target electronic certificate opened in a first file format;
wherein the attribute information is used for characterizing whether second information contained in the target electronic certificate opened in a second file format is modified or not; the second file format to which the target electronic certificate belongs is different from the first file format, and the second information does not include attribute information with the preset identification;
obtaining a characteristic value corresponding to the target electronic certificate at least based on the attribute information;
and storing the characteristic value of the target electronic certificate and at least part of the second information.
The electronic device may further include: a communication interface 63, a communication bus 64; in the embodiment of the present application, the number of the memory 61, the processor 62, the communication interface 63 and the communication bus 64 is at least one, and the memory 61, the processor 61 and the communication interface 63 complete the communication with each other through the communication bus 64;
the processor 62 may be a central processing unit CPU or an ASIC specific integrated circuit
(Application Specific Integrated Circuit), or one or more Integrated circuits or the like configured to implement embodiments of the present invention;
the memory 61 may include a high-speed RAM memory, and may further include a non-volatile memory (non-volatile memory) or the like, such as at least one disk memory.
The present application further provides a readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the electronic certificate storage method as described in any one of the above is implemented.
Note that the features described in the embodiments in the present specification may be replaced with or combined with each other. For the device or system type embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
It is further noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising a," "...," or "comprising" does not exclude the presence of additional like elements in a process, method, article, or apparatus that comprises the element.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. An electronic certificate storage method, comprising:
acquiring a target electronic certificate to be stored;
acquiring attribute information with a preset identifier from first information contained in the target electronic certificate opened in a first file format;
wherein the attribute information is used for characterizing whether second information contained in the target electronic certificate opened in a second file format is modified or not; the second file format to which the target electronic certificate belongs is different from the first file format, and the second information does not include attribute information with the preset identification;
obtaining a characteristic value corresponding to the target electronic certificate at least based on the attribute information;
and storing the characteristic value of the target electronic certificate and at least part of the second information.
2. The electronic certificate storage method as claimed in claim 1, wherein said obtaining a feature value corresponding to the target electronic certificate based on at least the attribute information comprises:
based on the attribute information and the relevant information of the target electronic certificate, obtaining a characteristic value corresponding to the target electronic certificate, wherein the relevant information of the target electronic certificate comprises: one or more of a file name of the target electronic credential, a creation time of the target electronic credential, and at least a portion of the second information.
3. The electronic certificate storage method according to claim 1, wherein the obtaining a feature value corresponding to the target electronic certificate based on at least the attribute information comprises:
and acquiring a characteristic value corresponding to the target electronic certificate based on the attribute information and the characteristic value of the electronic certificate stored at the previous moment.
4. The electronic certificate storage method according to claim 1, wherein the obtaining a feature value corresponding to the target electronic certificate based on at least the attribute information comprises:
obtaining a feature value corresponding to the target electronic certificate based on the attribute information, the related information of the target electronic certificate, and the feature value of the electronic certificate stored at the previous moment, wherein the related information of the target electronic certificate includes: one or more of a file name of the target electronic voucher, a creation time of the target electronic voucher, and at least part of the second information.
5. The electronic certificate storage method according to claim 1, wherein the attribute information is one or more of a modification time of the second information included in the target electronic certificate and a number of times of modification of the second information included in the target electronic certificate.
6. An electronic credential storage device, comprising:
the first acquisition module is used for acquiring a target electronic certificate to be stored;
the second acquisition module is used for acquiring attribute information with a preset identifier from first information contained in the target electronic certificate opened in the first file format;
wherein the attribute information is used for characterizing whether second information contained in the target electronic certificate opened in a second file format is modified or not; the second file format to which the target electronic certificate belongs is different from the first file format, and the second information does not include attribute information with the preset identification;
a third obtaining module, configured to obtain, based on at least the attribute information, a feature value corresponding to the target electronic credential;
and the storage module is used for storing the characteristic value of the target electronic certificate and at least part of the second information.
7. The electronic certificate storage device as claimed in claim 6, wherein the third obtaining module comprises:
a first obtaining unit, configured to obtain, based on the attribute information and relevant information of the target electronic certificate, a feature value corresponding to the target electronic certificate, where the relevant information of the target electronic certificate includes: one or more of a file name of the target electronic credential, a creation time of the target electronic credential, and at least a portion of the second information.
8. The electronic certificate storage device as claimed in claim 6, wherein the third obtaining module comprises:
and the second acquisition unit is used for acquiring a characteristic value corresponding to the target electronic certificate based on the attribute information and the characteristic value of the electronic certificate stored at the previous moment.
9. An electronic device, comprising:
a memory for storing a program;
a processor configured to execute the program, the program specifically configured to:
acquiring a target electronic certificate to be stored;
acquiring attribute information with a preset identifier from first information contained in the target electronic certificate opened in a first file format;
wherein the attribute information is used for characterizing whether second information contained in the target electronic certificate opened in a second file format is modified or not; the second file format to which the target electronic certificate belongs is different from the first file format, and the second information does not include attribute information with the preset identification;
obtaining a characteristic value corresponding to the target electronic certificate at least based on the attribute information;
and storing the characteristic value of the target electronic certificate and at least part of the second information.
10. A readable storage medium on which a computer program is stored, the computer program, when executed by a processor, implementing the electronic certificate storage method according to any one of claims 1 to 5.
CN202010298547.XA 2020-04-16 2020-04-16 Electronic certificate storage method and device, electronic equipment and storage medium Active CN111506927B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010298547.XA CN111506927B (en) 2020-04-16 2020-04-16 Electronic certificate storage method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010298547.XA CN111506927B (en) 2020-04-16 2020-04-16 Electronic certificate storage method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111506927A CN111506927A (en) 2020-08-07
CN111506927B true CN111506927B (en) 2023-04-18

Family

ID=71874394

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010298547.XA Active CN111506927B (en) 2020-04-16 2020-04-16 Electronic certificate storage method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111506927B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103942643A (en) * 2014-04-03 2014-07-23 中企永联数据交换技术(北京)有限公司 EDI security electronic certificate interaction method and terminal, and EDI security electronic certificate obtaining device
CN109523256A (en) * 2018-10-15 2019-03-26 珠海横琴现联盛科技发展有限公司 Electronic certificate bill generation method based on anti-tamper Encryption Algorithm
CN109544153A (en) * 2018-10-16 2019-03-29 珠海横琴现联盛科技发展有限公司 Electronic certificate note validating method based on anti-tamper Encryption Algorithm
CN109636553A (en) * 2018-11-13 2019-04-16 平安科技(深圳)有限公司 Credential management method, apparatus, computer equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103942643A (en) * 2014-04-03 2014-07-23 中企永联数据交换技术(北京)有限公司 EDI security electronic certificate interaction method and terminal, and EDI security electronic certificate obtaining device
CN109523256A (en) * 2018-10-15 2019-03-26 珠海横琴现联盛科技发展有限公司 Electronic certificate bill generation method based on anti-tamper Encryption Algorithm
CN109544153A (en) * 2018-10-16 2019-03-29 珠海横琴现联盛科技发展有限公司 Electronic certificate note validating method based on anti-tamper Encryption Algorithm
CN109636553A (en) * 2018-11-13 2019-04-16 平安科技(深圳)有限公司 Credential management method, apparatus, computer equipment and storage medium

Also Published As

Publication number Publication date
CN111506927A (en) 2020-08-07

Similar Documents

Publication Publication Date Title
US11210661B2 (en) Method for providing payment gateway service using UTXO-based protocol and server using same
CN109559224B (en) Credit investigation evaluation method and device and electronic equipment
CN109067791B (en) User identity authentication method and device in network
US8311907B2 (en) System and method for detecting fraudulent transactions
KR101952498B1 (en) Loan service providing method using black chain and system performing the same
CN109325747B (en) Remittance method and device based on block chain
JP4624099B2 (en) Method and system for checking electronic signature and card with microcircuit used in the method
CN111444209B (en) Data processing method, device, equipment and medium based on block chain
CN112328886A (en) Block chain-based credit recommendation method, equipment and storage medium
US11769146B1 (en) Blockchain transactional identity verification
CN110826091B (en) File signature method and device, electronic equipment and readable storage medium
CN109961288B (en) Transaction method and device based on blind signature
WO2019177788A1 (en) Detecting alterations of journal data structures
CN111506927B (en) Electronic certificate storage method and device, electronic equipment and storage medium
CN112347516A (en) Asset certification method and device based on block chain
JP5431804B2 (en) Authentication system and authentication method
CN113051257B (en) Service data cleaning method and device
EP3907968A1 (en) Method and system for blockchain intrusion prevention
CN110852864B (en) Digital resource amount processing method, device and storage medium
CN110535664B (en) Data processing method and device based on block chain, server and storage medium
EP3805963A1 (en) Provenance verification for selective disclosure of attributes
EP4026027A1 (en) Provenance verification for selective disclosure of attributes
CN111027992A (en) Asset transaction method and device based on blockchain system and hardware equipment
CN113051625B (en) Data storage method and device based on blockchain
US20230308443A1 (en) Intermediary digital resource acquirer

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant