Electronic credential storage method, system, electronic device and computer readable medium

By integrating the blockchain software development toolkit in the proof storage terminal, realizing the instant storage of electronic credentials and estimating the collection type to save interface space, solving the problems of low security of electronic credentials storage and large interface space occupancy, and improving storage security and efficiency.

CN118114308BActive Publication Date: 2025-04-01国家市场监督管理总局竞争政策与评估中心
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202311749038.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-19
Publication Date
2025-04-01
Estimated Expiration
2043-12-19

AI Technical Summary

Technical Problem

When the proof-in-charge user collects electronic credentials and stores them in the consortium chain, there is a problem that the electronic credentials are less secure before uploading to the blockchain, and the interface space of the acquisition controls occupies a large amount of space.

Method used

By integrating a software development toolkit with preset blockchain in the proof storage terminal, the instant storage of electronic credentials is realized to the blockchain, shortening the interval between collection and storage, and by estimating the collection type of proof storage users, only the required acquisition controls are displayed to save interface space.

Benefits of technology

It improves the security of electronic credentials before being uploaded to the blockchain, reduces the use of interface space, and enhances the security and efficiency of electronic credential storage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118114308B_ABST
    Figure CN118114308B_ABST
Patent Text Reader

Abstract

The embodiments of the present disclosure disclose an electronic credential storage method, system, electronic device, and computer-readable medium. A specific implementation of the method includes: obtaining a user type; displaying at least one collection control in a certificate storage interface; collecting a promotion information electronic credential in response to detecting a selection operation acting on any collection control in at least one collection control; determining file attribute information; hashing the promotion information electronic credential; determining the electronic credential storage information based on the electronic credential hash information and the file attribute information; determining the first blockchain based on the user type and each preset first blockchain; storing the electronic credential storage information in the first blockchain; sending the electronic credential storage information to the first server, so that the first server can send the electronic credential storage information to the second server, so that the second server can store the electronic credential storage information in the preset second blockchain. This implementation can improve the security of the electronic credential.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present disclosure relate to the field of computer technology, and in particular to an electronic credential storage method, system, electronic device, and computer-readable medium. Background Art

[0002] Electronic credentials are credentials in the form of electronic data collected by law enforcement personnel during the law enforcement process. Therefore, the security of electronic credential storage plays an important role and significance in subsequent judicial identification. At present, when storing electronic credentials, the commonly used method is: after collecting electronic credentials, the evidence storage user logs into the evidence storage system and stores the electronic credentials in a consortium chain composed of electronic credential identification institutions (such as judicial institutions) for judicial identification.

[0003] However, the inventors have discovered that when the above method is used to store electronic credentials, the following technical problems often occur: After collecting the electronic credentials, the credentialing user logs into the credentialing system and stores the electronic credentials in a consortium chain composed of electronic credential authentication agencies (such as judicial agencies). The interval between the time the electronic credentials are collected and the time they are stored in the blockchain is relatively long, and the security of the electronic credentials is relatively low before they are uploaded to the consortium chain, resulting in relatively low security of the electronic credentials.

[0004] In the process of adopting technical solutions to solve the above technical problem 1, the following problem often arises: how to display each acquisition control. For the above problem, the conventional solution is generally to display each acquisition control in a tiled manner in the interface. However, the above conventional solution still has the following technical problem 2: when each acquisition control is displayed in a tiled manner in the interface, each acquisition control occupies a large amount of interface space, resulting in a large required interface space.

[0005] The above information disclosed in this Background section is only for enhancement of understanding of the background of the inventive concept and therefore it may contain information that does not form the prior art that is already known in this country to a person of ordinary skill in the art. Summary of the invention

[0006] The content of this disclosure is used to introduce concepts in a brief form, which will be described in detail in the detailed implementation section below. The content of this disclosure is not intended to identify the key features or essential features of the technical solution claimed for protection, nor is it intended to limit the scope of the technical solution claimed for protection.

[0007] Some embodiments of the present disclosure propose an electronic credential storage method, system, electronic device, and computer-readable medium to solve one or more of the technical problems mentioned in the above background technology section.

[0008] In a first aspect, some embodiments of the present disclosure provide an electronic credential storage method, which is applied to a storage terminal, the method comprising: in response to receiving user login success information corresponding to a storage user, obtaining a user type corresponding to the storage user; displaying at least one collection control in a storage interface corresponding to the storage user; in response to detecting a selection operation acting on any of the at least one collection control, collecting a promotion information electronic credential; determining file attribute information corresponding to the promotion information electronic credential; performing hash processing on the promotion information electronic credential to obtain electronic credential hash information; determining electronic credential storage information based on the electronic credential hash information and the file attribute information, wherein the storage terminal The corresponding memory does not store the above-mentioned electronic certificate storage information; the first blockchain is determined according to the above-mentioned user type and each preset first blockchain corresponding to each preset blockchain identifier, wherein the above-mentioned evidence storage terminal is integrated with each software development tool kit corresponding to the above-mentioned each preset first blockchain; the above-mentioned electronic certificate storage information is stored in the above-mentioned first blockchain; in response to receiving the storage success information corresponding to the above-mentioned first blockchain, the above-mentioned electronic certificate storage information is sent to the first server corresponding to the above-mentioned first blockchain, so that the above-mentioned first server sends the above-mentioned electronic certificate storage information to the second server corresponding to the preset second blockchain, so that the above-mentioned second server stores the above-mentioned electronic certificate storage information in the above-mentioned preset second blockchain.

[0009] In a second aspect, some embodiments of the present disclosure provide an electronic credential storage system, the system comprising: a storage terminal, each preset first blockchain, a preset second blockchain, a first server and a second server, the storage terminal being configured to execute the method as described in any implementation of the first aspect; the preset first blockchain in each preset first blockchain is configured to store electronic credential storage information; the first server is configured to receive the electronic credential storage information sent by the storage terminal, and send the electronic credential storage information to the second server; the second server is configured to receive the electronic credential storage information sent by the first server, and store the electronic credential storage information in the preset second blockchain corresponding to the second server; the preset second blockchain is configured to store the electronic credential storage information.

[0010] In a third aspect, some embodiments of the present disclosure provide an electronic device comprising: one or more processors; a storage device on which one or more programs are stored, and when the one or more programs are executed by the one or more processors, the one or more processors implement the method described in any implementation manner of the above-mentioned first aspect.

[0011] In a fourth aspect, some embodiments of the present disclosure provide a computer-readable medium having a computer program stored thereon, wherein when the program is executed by a processor, the method described in any implementation manner of the above-mentioned first aspect is implemented.

[0012] The above-mentioned embodiments of the present disclosure have the following beneficial effects: the electronic certificate storage method of some embodiments of the present disclosure can improve the security of the electronic certificate. Specifically, the reason for the low security of the electronic certificate is that after the depositor collects the electronic certificate, he logs in to the depositor system and stores the electronic certificate in the alliance chain composed of the electronic certificate authentication agency (such as the judicial agency). The interval between the time of collecting the electronic certificate and the time of storing it in the blockchain is long, and the security of the electronic certificate before uploading it to the alliance chain is low, resulting in low security of the electronic certificate. Based on this, the electronic certificate storage method of some embodiments of the present disclosure, first, in response to receiving the user login success information corresponding to the depositor, obtain the user type corresponding to the above depositor. Thus, the blockchain registered by the user can be obtained, which can be used to determine the blockchain where the electronic certificate needs to be stored. Secondly, at least one collection control is displayed in the depositor interface corresponding to the above depositor. Thus, the control for collecting electronic certificates can be displayed in the depositor interface, so that it can be used to collect electronic certificates of various types of evidence in real time. Then, in response to detecting the selection operation acting on any of the above at least one collection control, the promotion information electronic certificate is collected. Thus, when the depositor confirms the collection of the electronic certificate, the electronic certificate can be collected. Afterwards, the file attribute information corresponding to the above-mentioned promotion information electronic certificate is determined. Thus, the attribute-related information of the electronic certificate can be obtained, so that it can be used to store in the blockchain to prove the validity of the electronic certificate. Then, the above-mentioned promotion information electronic certificate is hashed to obtain the electronic certificate hash information. Thus, the hash information of the electronic certificate can be obtained, so that it can be used to store in the blockchain to verify whether the electronic certificate has been tampered with. Then, according to the above-mentioned electronic certificate hash information and the above-mentioned file attribute information, the electronic certificate storage information is determined. Among them, the memory corresponding to the above-mentioned evidence storage terminal does not store the above-mentioned electronic certificate storage information. Thus, the relevant information of the electronic certificate that needs to be stored in the blockchain can be obtained, so that it can be used to store the electronic certificate. Then, according to the above-mentioned user type and each preset first blockchain corresponding to each preset blockchain identifier, the first blockchain is determined. Among them, the above-mentioned evidence storage terminal is integrated with each software development kit corresponding to each preset first blockchain. Thus, the blockchain where the electronic certificate needs to be stored can be determined, so that it can be used to store the electronic certificate. Then, the above-mentioned electronic certificate storage information is stored in the above-mentioned first blockchain. Thus, the relevant information of the electronic certificate can be stored in the first blockchain, so that the security of the electronic certificate storage can be improved. Finally, in response to receiving the storage success information corresponding to the above-mentioned first blockchain, the above-mentioned electronic certificate storage information is sent to the first server corresponding to the above-mentioned first blockchain, so that the above-mentioned first server can send the above-mentioned electronic certificate storage information to the second server corresponding to the preset second blockchain, so that the above-mentioned second server can store the above-mentioned electronic certificate storage information in the above-mentioned preset second blockchain.Thus, the relevant information of the electronic certificate can be stored in the preset second blockchain, so that the terminals of each node corresponding to the preset second blockchain can store the electronic certificate. Also, when storing the electronic certificate, by integrating the software development kits corresponding to the above-mentioned preset first blockchains in the evidence storage terminal, the collected electronic certificate can be immediately stored in the blockchain through the preset smart contract after the electronic certificate is collected through the evidence storage terminal, without the need to first store the relevant information of the electronic certificate in the memory corresponding to the evidence storage terminal and then store it in the blockchain, which shortens the interval between collecting the electronic certificate and storing the electronic certificate in the blockchain. Therefore, the security of the electronic certificate before uploading to the first blockchain can be improved, thereby improving the security of the electronic certificate. In addition, because cross-chain storage is realized through two service terminals corresponding to the two blockchains respectively, after the electronic certificate is stored in the first blockchain, the electronic certificate can also be synchronously stored in the preset second blockchain, so that the validity of the electronic certificate can be improved when the electronic certificate is subsequently verified. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and that components and elements are not necessarily drawn to scale.

[0014] Figure 1 is a flow chart of some embodiments of the electronic credential storage method according to the present disclosure;

[0015] Figure 2 is a schematic diagram of the system structure of some embodiments of the electronic credential storage system according to the present disclosure;

[0016] Figure 3 It is a schematic diagram of the structure of an electronic device suitable for implementing some embodiments of the present disclosure. DETAILED DESCRIPTION

[0017] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments set forth herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.

[0018] It should also be noted that, for ease of description, only the parts related to the invention are shown in the drawings. In the absence of conflict, the embodiments and features in the embodiments of the present disclosure can be combined with each other.

[0019] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0020] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".

[0021] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.

[0022] The present disclosure will be described in detail below with reference to the accompanying drawings and in conjunction with embodiments.

[0023] Figure 1 The process 100 of some embodiments of the electronic credential storage method according to the present disclosure is shown. The electronic credential storage method, applied to a certificate storage terminal, comprises the following steps:

[0024] Step 101, in response to receiving the user login success information of the corresponding evidence user, obtaining the user type of the corresponding evidence user.

[0025] In some embodiments, the execution subject (e.g., a storage terminal) of the electronic credential storage method may obtain the user type corresponding to the above-mentioned storage user in response to receiving the user login success information of the corresponding storage user. Among them, the above-mentioned storage user may be a user who needs to store electronic credentials (e.g., electronic evidence). For example, the above-mentioned storage user may be a law enforcement officer. The above-mentioned storage terminal may be a terminal for storing electronic credentials. The above-mentioned user login success information may indicate that the storage user has logged into the storage system. The above-mentioned storage system may be a system for storing electronic credentials. The above-mentioned user login success information may include the storage user identifier. The above-mentioned storage user identifier may uniquely identify the storage user. The above-mentioned user type may indicate the preset blockchain registered by the above-mentioned storage user. The above-mentioned preset blockchain may be a pre-set blockchain. In practice, the above-mentioned execution subject may obtain the user type corresponding to the above-mentioned storage user from the database through a wired connection or a wireless connection in response to receiving the user login success information of the corresponding storage user. It should be noted that the above-mentioned wireless connection methods may include but are not limited to 3G / 4G connection, WiFi connection, Bluetooth connection, WiMAX connection, Zigbee connection, UWB (ultra wideband) connection, and other wireless connection methods currently known or to be developed in the future.

[0026] Step 102: display at least one collection control in the evidence storage interface corresponding to the evidence storage user.

[0027] In some embodiments, the execution subject may display at least one collection control in the evidence storage interface corresponding to the evidence storage user. The collection control included in the at least one collection control may be a control for collecting electronic credentials. In practice, the execution subject may display at least one collection control in the evidence storage interface corresponding to the evidence storage user in various ways.

[0028] Considering the problems of the above conventional solutions, for the above technical problem 2: each collection control is displayed flat in the interface, and each collection control occupies a lot of interface space. Combined with the requirements of the existing law enforcement recorder equipment for interface size, the inventor decided to adopt the following solution:

[0029] Optionally, the at least one acquisition control corresponds to a preset evidence type set. The preset evidence type in the preset evidence type set may be a pre-set evidence type. The evidence type may represent the file type of the collected electronic voucher. The preset evidence type may be, but is not limited to, one of the following: taking a photo, taking a video, or recording an audio.

[0030] In some optional implementations of some embodiments, the execution subject may display at least one collection control in the evidence storage interface corresponding to the evidence storage user through the following steps:

[0031] The first step is to obtain the historical evidence type information set and user attribute information corresponding to the above-mentioned evidence-stored user. Among them, the historical evidence type information included in the above-mentioned historical evidence type information set may be the evidence type when the electronic certificate was collected at a historical time point. The above-mentioned user attribute information may characterize the attributes of the above-mentioned evidence-stored user. The above-mentioned user attribute information may include the user's subject identifier. The above-mentioned user's subject identifier may be the identifier of the subject (for example, a department) to which the above-mentioned evidence-stored user belongs. For example, the above-mentioned user's subject identifier may be an online advertising regulatory department. In practice, the above-mentioned execution entity may obtain the historical evidence type information set and user attribute information corresponding to the above-mentioned evidence-stored user from the database via a wired connection or a wireless connection.

[0032] The second step is to group the above historical evidence type information set to obtain a historical evidence type information group set corresponding to the above preset evidence type set. In practice, the above execution subject can determine each historical evidence type information with the same evidence type represented in the above historical evidence type information set as a historical evidence type information group to obtain a historical evidence type information group set.

[0033] In the third step, the preset first type score set corresponding to the subject identifier of the user is determined as the first type score set corresponding to the preset evidence collection type set. The preset first type score in the preset first type score set can represent the probability that the user corresponding to the subject identifier of the user adopts the corresponding preset evidence collection type to collect the electronic certificate. The preset first type scores included in the preset first type score set and the preset evidence collection types included in the preset evidence collection type set can correspond one to one.

[0034] Step 4: For each preset evidence collection type included in the preset evidence collection type set, perform the following sub-steps:

[0035] In a first sub-step, the historical evidence type information group corresponding to the preset evidence type included in the historical evidence type information group set is determined as a target historical evidence type information group.

[0036] The second sub-step is to determine the number of each target history evidence type information included in the target history evidence type information group as the evidence type number.

[0037] In the third sub-step, the number of evidence collection types is input into a pre-trained second type score generation model to obtain a second type score. The second type score generation model may be a linear function that takes the number of evidence collection types as input and the second type score as output. The second type score may represent the estimated probability of using the preset evidence collection type to collect electronic credentials.

[0038] The fourth sub-step is to determine the first type score corresponding to the preset evidence collection type included in the first type score set as the target first type score.

[0039] In a fifth sub-step, the sum of the second type score and the target first type score is determined as the type score.

[0040] In the fifth step, the type score that satisfies the preset score condition among the determined type scores is determined as the first target type score. The preset score condition may be that the type score is the maximum value among the determined type scores.

[0041] In the sixth step, each type score among the determined type scores that is different from the first target type score is determined as a second target type score set.

[0042] In the seventh step, for each second target type score included in the second target type score set, the absolute value of the difference between the second target type score and the first target type score is determined as the score difference.

[0043] In step 8, in response to determining that each of the determined score differences satisfies a preset score difference condition, the preset evidence type corresponding to the first target type score included in the preset evidence type set is determined as the target evidence type. The preset score difference condition may be that each of the determined score differences is greater than a preset score difference. The preset score difference may be a pre-set score difference.

[0044] The ninth step is to determine the acquisition control corresponding to the target evidence collection type included in the at least one acquisition control as a display acquisition control.

[0045] The tenth step is to determine the preset first control display position information as the control display position information corresponding to the above display collection control. The above preset first control display position information can represent the position of the control in the above evidence storage interface. The above preset first control display position information can be the coordinates of the pre-set control in the above evidence storage interface.

[0046] The eleventh step is to display the display collection control at the position corresponding to the control display position information in the evidence storage interface, and to display the preset collection control at the preset second control display position. The preset second control display position may be: a position corresponding to a preset horizontal coordinate corresponding to the preset first control display position information and having a preset interval value different from the preset horizontal coordinate corresponding to the preset first control display position information, and having the same vertical coordinate as the preset first control display position information. The preset interval value may be a preset interval value indicating that two adjacent controls will not overlap. The preset collection control may be a preset control for selecting more collection controls. For example, the control identifier corresponding to the preset collection control may be "more".

[0047] As an example, when the preset evidence type corresponding to the above-mentioned collection control is taking photos, the evidence storage user clicks on the preset collection control, and the collection control corresponding to the preset evidence type of taking videos will be displayed in the evidence storage interface, as well as the collection control corresponding to the preset evidence type of recording audio.

[0048] The above technical solution and its related contents, as an inventive point of the embodiments of the present disclosure, solve the second technical problem mentioned in the background technology, "each acquisition control is displayed in a tiled manner in the interface, and each acquisition control occupies a large interface space, resulting in a large required interface space". The factors that lead to the large required interface space are often as follows: each acquisition control is displayed in a tiled manner in the interface, and each acquisition control occupies a large interface space, resulting in a large required interface space. If the above factors are solved, the effect of saving interface space can be achieved. In order to achieve this effect, the electronic certificate storage method of some embodiments of the present disclosure first obtains the historical evidence type information set and user attribute information corresponding to the above-mentioned evidence storage user. Among them, the above-mentioned user attribute information includes the subject identifier to which the user belongs. Thus, the evidence type adopted by the evidence storage user in the historical time period and the attribute of the evidence storage user can be obtained, so that it can be used to estimate the evidence type corresponding to the electronic certificate collected by the evidence storage user this time. Secondly, the above-mentioned historical evidence type information set is grouped and processed to obtain the historical evidence type information group set corresponding to the above-mentioned preset evidence type set. Thus, the historical evidence type information set can be classified, so that it is convenient to count the number of times different preset evidence types are adopted. Then, the preset first type score set corresponding to the subject identifier of the above user is determined as the first type score set corresponding to the above preset evidence type set. Thus, the first probability value of the evidence-keeping user using different preset evidence types to collect electronic vouchers can be obtained, which can be used to estimate the evidence type corresponding to the electronic voucher collected by the evidence-keeping user this time. Afterwards, for each preset evidence type included in the above preset evidence type set, the following steps are performed: the historical evidence type information group corresponding to the above preset evidence type included in the above historical evidence type information group set is determined as the target historical evidence type information group; the number of each target historical evidence type information included in the above target historical evidence type information group is determined as the number of evidence types; the number of evidence types is input into the pre-trained second type score generation model to obtain the above second type score; the first type score corresponding to the above preset evidence type included in the above first type score set is determined as the target first type score; the sum of the above second type score and the above target first type score is determined as the type score. Thus, the various comprehensive probability values ​​of using each preset evidence type to collect electronic vouchers can be obtained, which can be used to estimate the evidence type of the electronic voucher collected this time.Next, the type scores that meet the preset score conditions among the determined type scores are determined as the first target type scores; the type scores that are different from the first target type scores among the determined type scores are determined as the second target type score set; for each second target type score included in the second target type score set, the absolute value of the difference between the second target type score and the first target type score is determined as the score difference; in response to determining that the determined score differences meet the preset score difference conditions, the preset evidence type corresponding to the first target type score included in the preset evidence type set is determined as the target evidence type. Thus, when the comprehensive probability values ​​corresponding to the preset evidence types differ greatly, the preset evidence type with the largest comprehensive probability value is determined as the estimated evidence type used by the evidence depositing user this time, so that it can be used to determine the acquisition control that needs to be displayed in the evidence depositing interface. Next, the acquisition control corresponding to the target evidence type included in the at least one acquisition control is determined as the display acquisition control. Thus, the acquisition control that needs to be displayed can be obtained, so that it can be used to collect electronic vouchers. Finally, the preset first control display position information is determined as the control display position information corresponding to the above-mentioned display collection control; the above-mentioned display collection control is displayed at the position corresponding to the above-mentioned control display position information in the above-mentioned evidence storage interface, and the preset collection control is displayed at the preset second control display position. In this way, only the collection controls required by the estimated evidence storage user can be displayed in the evidence storage interface, thereby saving interface space. Also, when displaying each collection control, first, the type of evidence collection adopted by the evidence storage user this time can be estimated through the user's historical operation records and the entity to which the user belongs. Then, only the collection controls corresponding to the type of evidence collection adopted by the estimated evidence storage user this time are displayed in the evidence storage interface, and other collection controls are folded and hidden, thereby reducing the interface space occupied by the collection controls, thereby saving interface space.

[0049] Step 103: In response to detecting a selection operation acting on any collection control of at least one collection control, collect the promotion information electronic certificate.

[0050] In some embodiments, the execution entity may collect an electronic certificate for promotional information in response to detecting a selection operation acting on any of the at least one collection control. The selection operation may be, but is not limited to, at least one of the following: click, slide, hover. The electronic certificate for promotional information may be an electronic certificate for promotional information (e.g., advertisement). The promotional information may be online promotional information or offline promotional information. For example, the online promotional information may be promotional information located at an information display location (e.g., a web page) on an online item circulation platform. The online item circulation platform may be an online platform for displaying item information and circulating items. The offline promotional information may be a billboard.

[0051] Step 104, determining the file attribute information corresponding to the promotion information electronic certificate.

[0052] In some embodiments, the execution subject may determine the file attribute information corresponding to the promotion information electronic certificate. The file attribute information may represent the attribute of the file corresponding to the promotion information electronic certificate. In practice, the execution subject may determine the file attribute information corresponding to the promotion information electronic certificate in various ways.

[0053] In some optional implementations of some embodiments, the execution subject may determine the file attribute information corresponding to the promotion information electronic voucher through the following steps:

[0054] The first step is to determine the voucher type corresponding to the above-mentioned promotion information electronic voucher. In practice, the above-mentioned execution entity may determine the file type corresponding to the above-mentioned promotion information electronic voucher as the voucher type. Among them, the above-mentioned file type may represent the type of the file of the promotion information electronic voucher. The above-mentioned file type may be, but is not limited to, one of the following: picture type, video type, and recording type.

[0055] In the second step, in response to determining that the voucher type meets the preset type condition, the promotion information electronic voucher is subjected to voice framing processing to obtain a voice information set. The preset type condition may be that the voucher type is a recording type. In practice, the execution subject may, in response to determining that the voucher type meets the preset type condition, perform voice framing processing on the promotion information electronic voucher using a preset framing processing algorithm to obtain a voice information set. The preset framing processing algorithm may be a moving window function.

[0056] The third step is to perform speech signal feature extraction processing on each speech information included in the above speech information set to obtain a speech feature information set. In practice, the above execution subject can perform speech signal feature extraction processing on each speech information included in the above speech information set through a preset speech signal feature extraction algorithm to obtain a speech feature information set. Among them, the above preset speech signal feature extraction algorithm can be a pre-set algorithm for extracting speech signal features. The above preset speech signal feature extraction algorithm can be but is not limited to one of the following: LPCC (Linear Prediction Cepstral Coefficients) and MFCCs (Mel-Frequency Cepstral Coefficients).

[0057] The fourth step is to perform speech recognition processing on each speech feature information included in the speech feature information set to obtain a speech text information set. In practice, the execution subject may perform speech recognition processing on each speech feature information included in the speech feature information set by using a preset speech recognition algorithm to obtain a speech text information set. The preset speech recognition algorithm may be a pre-set algorithm for speech recognition. The preset speech recognition algorithm may be a speech recognition algorithm based on deep learning.

[0058] In the fifth step, the voice text information set is input into a pre-trained promotion information type generation model to obtain the promotion information type. The promotion information type generation model may be a classification model that takes the voice text information set as input and the promotion information type as output. The classification model may be a classification model based on a neural network or a support vector machine. The promotion information type may characterize the promotion field to which the promotion information belongs. The promotion information type may be, but is not limited to, one of the following: public welfare promotion, service promotion, food promotion, financial promotion, and electrical appliance promotion.

[0059] The sixth step is to input the above-mentioned voice text information set into the pre-trained promotion information anomaly detection information generation model corresponding to the above-mentioned promotion information type to obtain the promotion information anomaly detection information. Among them, the above-mentioned promotion information anomaly detection information generation model can be a pre-set named entity recognition model with the voice text information set as input and the promotion information anomaly detection information as output. Among them, the abnormal text included in the above-mentioned voice text information set can be a named entity. The above-mentioned abnormal text can be a text that is not allowed to be used. For example, the above-mentioned abnormal text can be "best" or "unique". The above-mentioned promotion information anomaly detection information can characterize whether the promotion information is abnormal. For example, the above-mentioned promotion information anomaly detection information can be "no abnormality" or "abnormal, the abnormal text is unique".

[0060] Step 7: Determine the file attribute information corresponding to the above-mentioned promotion information electronic certificate based on the above-mentioned promotion information anomaly detection information and the above-mentioned promotion information electronic certificate. In practice, the above-mentioned execution entity may combine the above-mentioned promotion information anomaly detection information and the metadata corresponding to the above-mentioned promotion information electronic certificate to obtain the file attribute information corresponding to the above-mentioned promotion information electronic certificate. Among them, the above-mentioned combination method may be character splicing. The above-mentioned metadata may include but is not limited to the start time of electronic certificate collection, the end time of electronic certificate collection, the size of the electronic certificate file, and the type of electronic certificate file.

[0061] Step 105, hash processing is performed on the promotion information electronic certificate to obtain electronic certificate hash information.

[0062] In some embodiments, the execution subject may perform hash processing on the promotion information electronic certificate to obtain electronic certificate hash information. In practice, the execution subject may perform hash processing on the promotion information electronic certificate using a preset hash algorithm to obtain electronic certificate hash information. The preset hash algorithm may be a pre-set hash algorithm. The preset hash algorithm may be, but is not limited to, one of the following: MD4, MD5.

[0063] Step 106, determining the electronic certificate storage information according to the electronic certificate hash information and the file attribute information.

[0064] In some embodiments, the execution subject may determine the electronic credential storage information based on the electronic credential hash information and the file attribute information. The electronic credential storage information is not stored in the memory corresponding to the evidence storage terminal. In practice, the execution subject may combine the electronic credential hash information and the file attribute information to obtain the electronic credential storage information.

[0065] Step 107: Determine the first blockchain according to the user type and each preset first blockchain corresponding to each preset blockchain identifier.

[0066] In some embodiments, the execution subject may determine the first blockchain according to the user type and the preset first blockchains corresponding to the preset blockchain identifiers. Among them, the preset blockchain identifier in the preset blockchain identifiers may be the identifier of the preset blockchain. The preset first blockchain included in the preset first blockchains may be a preset blockchain composed of the respective evidence storage terminals. The preset blockchain identifier in the preset blockchain identifiers may correspond to the preset first blockchain included in the preset first blockchains. The software development kits corresponding to the preset first blockchains are integrated in the evidence storage terminal. The preset first blockchain included in the preset first blockchains may correspond to the software development kits included in the software development kits. In practice, first, the execution subject may determine the preset blockchain identifier corresponding to the user type in the preset blockchain identifiers as the target blockchain identifier. Secondly, the preset first blockchain corresponding to the target blockchain identifier included in each preset first blockchain is determined as the first blockchain.

[0067] Step 108: Store the electronic certificate storage information in the first blockchain.

[0068] In some embodiments, the execution entity may store the electronic credential storage information in the first blockchain. In practice, the execution entity may store the electronic credential storage information as a transaction in each first blockchain node device corresponding to the first blockchain. The first blockchain node device included in each of the first blockchain node devices may be a device corresponding to the first blockchain node. It should be noted that the evidence storage terminal may also be the first blockchain node device included in each of the first blockchain node devices.

[0069] Step 109, in response to receiving the storage success information corresponding to the first blockchain, the electronic certificate storage information is sent to the first server corresponding to the first blockchain, so that the first server sends the electronic certificate storage information to the second server corresponding to the preset second blockchain, so that the second server stores the electronic certificate storage information to the preset second blockchain.

[0070] In some embodiments, the execution subject may, in response to receiving the storage success information corresponding to the first blockchain, send the electronic certificate storage information to the first server corresponding to the first blockchain, so that the first server sends the electronic certificate storage information to the second server corresponding to the preset second blockchain, so that the second server stores the electronic certificate storage information in the preset second blockchain. The storage success information may indicate that the electronic certificate storage information is successfully stored in the first blockchain. For example, the storage success information may be "1". The first server may be a server for storing the electronic certificate storage information. The first server may be a light node of the first blockchain. The preset second blockchain may be a pre-set alliance chain composed of terminals of various certificate authentication subjects (evidence identification institutions). The certificate authentication subject terminal may be a terminal corresponding to the certificate authentication subject. The second server may be a server for storing the electronic certificate storage information. The second server may be a light node of the preset second blockchain. The light node may be used to store block headers without storing a full transaction list, so that it can run on a user terminal with a smaller capacity.

[0071] Optionally, the above execution entity may perform the following steps:

[0072] The first step is to determine the above-mentioned promotion information electronic certificate and blockchain storage information as terminal storage information. The above-mentioned blockchain storage information is the information obtained by storing the above-mentioned electronic certificate storage information in the above-mentioned first blockchain. The above-mentioned blockchain storage information may include but is not limited to transaction hash, block hash, and block height.

[0073] The second step is to display an information storage window corresponding to the terminal storage information in the evidence storage interface. The storage window may be a window for storing terminal storage information. The information storage window may include but is not limited to a storage information identification confirmation control and a storage information identification input box. The storage information identification confirmation control may be a control for confirming the storage of terminal storage information. The storage information identification input box may be used for the evidence storage user to input the storage information identification. The storage information identification may be an identification of the terminal storage information.

[0074] The third step is, in response to detecting the selection operation acting on the storage information identification confirmation control, storing the terminal storage information in a preset terminal storage information database according to the storage information identification input by the evidence storage user. The preset terminal storage information database may be a pre-set database for storing terminal storage information. In practice, the execution subject may, in response to detecting the selection operation acting on the storage information identification confirmation control, determine the storage information identification input by the evidence storage user as the identification of the terminal storage information, and store the terminal storage information in the preset terminal storage information database.

[0075] Optionally, the above-mentioned evidence storage interface may further include an electronic certificate query control, wherein the above-mentioned electronic certificate query control may be a control for querying electronic certificates.

[0076] Optionally, the above execution entity may perform the following steps:

[0077] In the first step, in response to detecting a selection operation acting on the electronic certificate query control, a query window is displayed on the above-mentioned evidence storage interface. The above-mentioned query window may be a window for querying electronic certificates. The above-mentioned query window may include but is not limited to a query confirmation control and a query information input box. The above-mentioned query confirmation control may be a control for confirming the query of the electronic certificate. The above-mentioned query information input box may be used for the evidence storage user to input the electronic certificate query information. The above-mentioned electronic certificate query information may represent the information of the electronic certificate to be queried. For example, the above-mentioned electronic certificate query information may be a keyword for identifying the electronic certificate to be queried.

[0078] The second step is to perform feature extraction on the electronic credential query information input by the above-mentioned evidence storage user in response to detecting the selection operation acting on the above-mentioned query confirmation control, and obtain query feature information. In practice, the above-mentioned execution subject can perform feature extraction on the electronic credential query information input by the above-mentioned evidence storage user through a preset text feature extraction algorithm in response to detecting the selection operation acting on the above-mentioned query confirmation control, and obtain query feature information. Among them, the above-mentioned preset text feature extraction algorithm can be a pre-set algorithm for extracting text features. The above-mentioned preset text feature extraction algorithm can be but is not limited to one of the following: bag-of-words model, TF-IDF (term frequency–inverse document frequency) model.

[0079] The third step is to obtain a storage information identification set corresponding to each terminal storage information included in the preset terminal storage information database. In practice, the execution subject can obtain the storage information identification set corresponding to each terminal storage information from the preset terminal storage information database through a wired connection or a wireless connection.

[0080] Step 4: for each storage information identifier included in the storage information identifier set, perform the following steps:

[0081] The first sub-step is to perform feature extraction processing on the storage information identifier to obtain the identifier feature information. In practice, the execution subject may perform feature extraction processing on the storage information identifier by using the preset text feature extraction algorithm to obtain the identifier feature information.

[0082] The second sub-step is to match the query feature information and the identification feature information to obtain matching information. The matching information may include information similarity. In practice, the execution subject may use a preset similarity algorithm to determine the similarity between the query feature information and the identification feature information as information similarity as matching information. The preset similarity algorithm may be cosine similarity.

[0083] In a third sub-step, in response to determining that the information similarity satisfies a preset similarity condition, the storage information identifier is determined as a target storage information identifier. The preset similarity condition may be that the information similarity is greater than or equal to a preset similarity. The preset similarity may be a preset similarity that characterizes the similarity between the query feature information and the identification feature information.

[0084] Step 5: Display the determined target storage information identifiers in the evidence storage interface. In practice, the execution subject may display the determined target storage information identifiers in the evidence storage interface in various ways.

[0085] In some optional implementations of some embodiments, the execution subject may display the determined target storage information identifiers in the evidence storage interface through the following steps:

[0086] The first step is to determine the identification rank corresponding to each target storage information identification determined according to each information similarity included in each matching information obtained. In practice, first, the execution subject may arrange each information similarity included in each matching information obtained in descending order to obtain an information similarity sequence. Then, for each target storage information identification determined, the rank of the information similarity corresponding to the target storage information identification in the information similarity sequence is determined as the identification rank corresponding to the target storage information identification.

[0087] The second step is to display the determined target storage information identifiers in the evidence storage interface according to the determined identifier rankings. In practice, the execution subject may display the determined target storage information identifiers in the evidence storage interface in ascending order of the determined identifier rankings.

[0088] Optionally, the above-mentioned evidence storage interface may further include an electronic certificate verification control, wherein the above-mentioned electronic certificate verification control may be a control for verifying an electronic certificate.

[0089] Optionally, the above execution entity may perform the following steps:

[0090] In the first step, in response to detecting a selection operation acting on the electronic certificate verification control, a verification window is displayed on the above-mentioned evidence storage interface. The above-mentioned verification window may be a window for verifying the electronic certificate. The above-mentioned verification window may include but is not limited to a verification confirmation control and a verification information input box. The above-mentioned verification confirmation control may be a control for confirming the verification of the electronic certificate. The above-mentioned verification information input box is used for the evidence storage user to input the verification electronic certificate identifier. The above-mentioned verification electronic certificate identifier may be the identifier of the electronic certificate that needs to be verified.

[0091] The second step is to obtain the verification electronic certificate corresponding to the verification electronic certificate identifier input by the above-mentioned evidence storage user in response to detecting the selection operation acting on the above-mentioned verification confirmation control. In practice, the above-mentioned execution subject can obtain the verification electronic certificate corresponding to the verification electronic certificate identifier input by the above-mentioned evidence storage user from the above-mentioned preset terminal storage information database through a wired connection or a wireless connection in response to detecting the selection operation acting on the above-mentioned verification confirmation control. The verification electronic certificate corresponding to the verification electronic certificate identifier input by the above-mentioned evidence storage user can be: the electronic certificate included in the terminal storage information whose corresponding storage information identifier in the preset terminal storage information database is the same as the verification electronic certificate identifier.

[0092] The third step is to perform hash processing on the verification electronic certificate to obtain the verification electronic certificate hash information. In practice, the execution subject can perform hash processing on the verification electronic certificate using the preset hash algorithm to obtain the verification electronic certificate hash information.

[0093] The fourth step is to determine the terminal storage information corresponding to the verification electronic certificate identifier in the preset terminal storage information database as the target terminal storage information.

[0094] The fifth step is to determine the electronic certificate storage information of the blockchain storage information included in the first blockchain corresponding to the target terminal storage information as the target electronic certificate storage information.

[0095] The sixth step is to verify the electronic credential hash information and the electronic credential hash information corresponding to the target electronic credential storage information to obtain verification result information. In practice, the execution subject may determine the preset matching success information as the verification result information in response to determining that the electronic credential hash information is the same as the electronic credential hash information corresponding to the target electronic credential storage information. The preset matching success information may be pre-set information indicating that the electronic credential has not been tampered with. For example, the preset matching success information may be "electronic credential security". In response to determining that the electronic credential hash information is different from the electronic credential hash information corresponding to the target electronic credential storage information, the preset matching failure information is determined as the verification result information. The preset matching failure information may be pre-set information indicating that the electronic credential has been tampered with. For example, the preset matching success information may be "electronic credential abnormality".

[0096] Step 7. Display the above verification result information on the above evidence storage interface.

[0097] The above-mentioned embodiments of the present disclosure have the following beneficial effects: the electronic certificate storage method of some embodiments of the present disclosure can improve the security of the electronic certificate. Specifically, the reason for the low security of the electronic certificate is that after the depositor collects the electronic certificate, he logs in to the depositor system and stores the electronic certificate in the alliance chain composed of the electronic certificate authentication agency (such as the judicial agency). The interval between the time of collecting the electronic certificate and the time of storing it in the blockchain is long, and the security of the electronic certificate before uploading it to the alliance chain is low, resulting in low security of the electronic certificate. Based on this, the electronic certificate storage method of some embodiments of the present disclosure, first, in response to receiving the user login success information corresponding to the depositor, obtain the user type corresponding to the above depositor. Thus, the blockchain registered by the user can be obtained, which can be used to determine the blockchain where the electronic certificate needs to be stored. Secondly, at least one collection control is displayed in the depositor interface corresponding to the above depositor. Thus, the control for collecting electronic certificates can be displayed in the depositor interface, so that it can be used to collect electronic certificates of various types of evidence in real time. Then, in response to detecting the selection operation acting on any of the above at least one collection control, the promotion information electronic certificate is collected. Thus, when the depositor confirms the collection of the electronic certificate, the electronic certificate can be collected. Afterwards, the file attribute information corresponding to the above-mentioned promotion information electronic certificate is determined. Thus, the attribute-related information of the electronic certificate can be obtained, so that it can be used to store in the blockchain to prove the validity of the electronic certificate. Then, the above-mentioned promotion information electronic certificate is hashed to obtain the electronic certificate hash information. Thus, the hash information of the electronic certificate can be obtained, so that it can be used to store in the blockchain to verify whether the electronic certificate has been tampered with. Then, according to the above-mentioned electronic certificate hash information and the above-mentioned file attribute information, the electronic certificate storage information is determined. Among them, the memory corresponding to the above-mentioned evidence storage terminal does not store the above-mentioned electronic certificate storage information. Thus, the relevant information of the electronic certificate that needs to be stored in the blockchain can be obtained, so that it can be used to store the electronic certificate. Then, according to the above-mentioned user type and each preset first blockchain corresponding to each preset blockchain identifier, the first blockchain is determined. Among them, the above-mentioned evidence storage terminal is integrated with each software development kit corresponding to each preset first blockchain. Thus, the blockchain where the electronic certificate needs to be stored can be determined, so that it can be used to store the electronic certificate. Then, the above-mentioned electronic certificate storage information is stored in the above-mentioned first blockchain. Thus, the relevant information of the electronic certificate can be stored in the first blockchain, so that the security of the electronic certificate storage can be improved. Finally, in response to receiving the storage success information corresponding to the above-mentioned first blockchain, the above-mentioned electronic certificate storage information is sent to the first server corresponding to the above-mentioned first blockchain, so that the above-mentioned first server can send the above-mentioned electronic certificate storage information to the second server corresponding to the preset second blockchain, so that the above-mentioned second server can store the above-mentioned electronic certificate storage information in the above-mentioned preset second blockchain.Thus, the relevant information of the electronic certificate can be stored in the preset second blockchain, so that the terminals of each node corresponding to the preset second blockchain can store the electronic certificate. Also, when storing the electronic certificate, by integrating the software development kits corresponding to the above-mentioned preset first blockchains in the evidence storage terminal, the collected electronic certificate can be immediately stored in the blockchain through the preset smart contract after the electronic certificate is collected through the evidence storage terminal, without the need to first store the relevant information of the electronic certificate in the memory corresponding to the evidence storage terminal and then store it in the blockchain, which shortens the interval between collecting the electronic certificate and storing the electronic certificate in the blockchain. Therefore, the security of the electronic certificate before uploading to the first blockchain can be improved, thereby improving the security of the electronic certificate. In addition, because cross-chain storage is realized through two service terminals corresponding to the two blockchains respectively, after the electronic certificate is stored in the first blockchain, the electronic certificate can also be synchronously stored in the preset second blockchain, so that the validity of the electronic certificate can be improved when the electronic certificate is subsequently verified.

[0098] Further references Figure 2 , which shows a schematic diagram of the system structure of some embodiments of the electronic credential storage system according to the present disclosure. The electronic credential storage system includes: a certificate storage terminal 201, a preset first blockchain 202, a preset second blockchain 203, a first server 204, and a second server 205.

[0099] In some embodiments, the evidence storage terminal 201 is configured to execute the method of steps 101 to 109. The number of the evidence storage terminals 201 is not limited.

[0100] In some embodiments, the preset first blockchain 202 in each of the preset first blockchains is configured to store the electronic credential storage information determined by the evidence storage terminal 201 executing the method as steps 101-106.

[0101] In some embodiments, the first server 204 is configured to receive the electronic certificate storage information sent by the evidence storage terminal 201 , and send the electronic certificate storage information to the second server 205 .

[0102] In some embodiments, the second server 205 is configured to receive the electronic certificate storage information sent by the first server 204 , and store the electronic certificate storage information in the preset second blockchain 203 corresponding to the second server 205 .

[0103] In some embodiments, the preset second blockchain 203 is configured to store the electronic credential storage information.

[0104] The above-mentioned embodiments of the present disclosure have the following beneficial effects: the electronic certificate storage system of some embodiments of the present disclosure can improve the security of the electronic certificate. Specifically, the reason for the low security of the electronic certificate is that after the depositor collects the electronic certificate, he logs in to the depositor system and stores the electronic certificate in the alliance chain composed of the electronic certificate authentication agency (such as the judicial agency). The interval between the time of collecting the electronic certificate and the time of storing it in the blockchain is long, and the security of the electronic certificate before uploading it to the alliance chain is low, resulting in low security of the electronic certificate. Based on this, the electronic certificate storage system of some embodiments of the present disclosure includes: a depositor terminal, each preset first blockchain, a preset second blockchain, a first server, and a second server. The depositor terminal is configured to execute the method as steps 101-109. The preset first blockchain in each of the preset first blockchains is configured to store the electronic certificate storage information. The first server is configured to receive the electronic certificate storage information sent by the depositor terminal, and send the electronic certificate storage information to the second server. The second server is configured to receive the electronic certificate storage information sent by the first server, and store the electronic certificate storage information in the preset second blockchain corresponding to the second server. The preset second blockchain is configured to store the electronic certificate storage information. Also, when storing the electronic certificate, not only is the electronic certificate uploaded to the preset first blockchain composed of various evidence storage terminals, but also cross-chain storage can be achieved through two servers corresponding to the two blockchains respectively. After the electronic certificate is stored in the preset first blockchain, the electronic certificate can also be synchronously stored in the preset second blockchain, thereby improving the validity of the electronic certificate when the electronic certificate is subsequently verified.

[0105] Reference below Figure 3 , which shows a structural schematic diagram of an electronic device 300 suitable for implementing some embodiments of the present disclosure. Figure 3 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0106] like Figure 3 As shown, the electronic device 300 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 301, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 302 or a program loaded from a storage device 308 into a random access memory (RAM) 303. In the RAM 303, various programs and table data required for the operation of the electronic device 300 are also stored. The processing device 301, the ROM 302, and the RAM 303 are connected to each other via a bus 304. An input / output (I / O) interface 305 is also connected to the bus 304.

[0107] Typically, the following devices may be connected to the I / O interface 305: input devices 306 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; output devices 307 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 608 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 309. The communication devices 309 may allow the electronic device 300 to communicate with other devices wirelessly or by wire to exchange table data. Although Figure 3 The electronic device 300 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead. Figure 3 Each block shown in the figure may represent one device, or may represent multiple devices as required.

[0108] In particular, according to some embodiments of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, some embodiments of the present disclosure include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In some such embodiments, the computer program can be downloaded and installed from the network through the communication device 309, or installed from the storage device 308, or installed from the ROM 302. When the computer program is executed by the processing device 301, the above-mentioned functions defined in the method of some embodiments of the present disclosure are executed.

[0109] It should be noted that the computer-readable medium recorded in some embodiments of the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In some embodiments of the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In some embodiments of the present disclosure, a computer-readable signal medium may include a tabular data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated tabular data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0110] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (Hyper Text Transfer Protocol), and may be interconnected with any form or medium of digital form data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.

[0111] The above-mentioned computer-readable medium may be included in the above-mentioned electronic device; or it may exist independently without being installed in the electronic device. The above-mentioned computer-readable medium carries one or more programs. When the above-mentioned one or more programs are executed by the electronic device, the electronic device: in response to receiving the user login success information corresponding to the evidence user, obtains the user type corresponding to the above-mentioned evidence user; displays at least one collection control in the evidence interface corresponding to the above-mentioned evidence user; in response to detecting the selection operation acting on any collection control in the above-mentioned at least one collection control, collects the promotion information electronic certificate; determines the file attribute information corresponding to the above-mentioned promotion information electronic certificate; performs hash processing on the above-mentioned promotion information electronic certificate to obtain the electronic certificate hash information; determines the electronic certificate storage information according to the above-mentioned electronic certificate hash information and the above-mentioned file attribute information, wherein the above-mentioned The memory corresponding to the evidence storage terminal does not store the above-mentioned electronic certificate storage information; the first blockchain is determined according to the above-mentioned user type and each preset first blockchain corresponding to each preset blockchain identifier, wherein the above-mentioned evidence storage terminal is integrated with each software development kit corresponding to the above-mentioned each preset first blockchain; the above-mentioned electronic certificate storage information is stored in the above-mentioned first blockchain; in response to receiving the storage success information corresponding to the above-mentioned first blockchain, the above-mentioned electronic certificate storage information is sent to the first server corresponding to the above-mentioned first blockchain, so that the above-mentioned first server sends the above-mentioned electronic certificate storage information to the second server corresponding to the preset second blockchain, so that the above-mentioned second server stores the above-mentioned electronic certificate storage information in the above-mentioned preset second blockchain.

[0112] Computer program code for performing the operations of some embodiments of the present disclosure may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0113] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0114] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chip (SOCs), complex programmable logic devices (CPLDs), and the like.

[0115] The above descriptions are only some preferred embodiments of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the embodiments of the present disclosure is not limited to the technical solutions formed by a specific combination of the above-mentioned technical features, but should also cover other technical solutions formed by any combination of the above-mentioned technical features or their equivalent features without departing from the above-mentioned inventive concept. For example, the above-mentioned features are replaced with the technical features with similar functions disclosed in the embodiments of the present disclosure (but not limited to) and the technical solutions formed.

Claims

1. An electronic certificate storage method, applied to a certificate storage terminal, comprising: In response to receiving the user login success information corresponding to the evidence user, obtaining the user type corresponding to the evidence user; Displaying at least one acquisition control in the evidence storage interface corresponding to the evidence storing user, wherein the at least one acquisition control corresponds to a preset evidence collection type set, and displaying at least one acquisition control in the evidence storage interface corresponding to the evidence storing user includes: Acquire a historical evidence collection type information set and user attribute information corresponding to the evidence storing user, wherein the user attribute information includes an identifier of the subject to which the user belongs; Performing group processing on the historical evidence type information set to obtain a historical evidence type information group set corresponding to the preset evidence type set; Determine a preset first type score set corresponding to the subject identifier to which the user belongs as a first type score set corresponding to the preset evidence collection type set; For each preset evidence collection type included in the preset evidence collection type set, the following steps are performed: Determining the historical evidence type information group corresponding to the preset evidence type included in the historical evidence type information group set as the target historical evidence type information group; Determining the number of each target history evidence type information included in the target history evidence type information group as the evidence type number; Inputting the number of evidence collection types into a pre-trained second type score generation model to obtain a second type score; determining the first type score corresponding to the preset evidence collection type included in the first type score set as a target first type score; determining a sum of the second type score and the target first type score as a type score; Determine the type score that satisfies the preset score condition among the determined type scores as the first target type score; Determining each type score among the determined type scores that is different from the first target type score as a second target type score set; for each second target type score included in the second target type score set, determining an absolute value of a difference between the second target type score and the first target type score as a score difference value; In response to determining that each of the determined score differences satisfies a preset score difference condition, determining a preset evidence type included in the preset evidence type set and corresponding to the first target type score as a target evidence type; Determine the acquisition control corresponding to the target evidence collection type included in the at least one acquisition control as a display acquisition control; Determine the preset first control display position information as the control display position information corresponding to the display acquisition control; Displaying the display collection control at a position corresponding to the control display position information in the evidence storage interface, and displaying a preset collection control at a preset second control display position; In response to detecting a selection operation acting on any collection control of the at least one collection control, collecting the promotion information electronic certificate; Determine the file attribute information corresponding to the promotion information electronic certificate; Performing hash processing on the promotion information electronic certificate to obtain electronic certificate hash information; Determine electronic credential storage information according to the electronic credential hash information and the file attribute information, wherein the electronic credential storage information is not stored in the memory corresponding to the evidence storage terminal; Determine the first blockchain according to the user type and each preset first blockchain corresponding to each preset blockchain identifier, wherein each software development kit corresponding to each preset first blockchain is integrated in the evidence storage terminal; Storing the electronic credential storage information in the first blockchain; In response to receiving storage success information corresponding to the first blockchain, the electronic credential storage information is sent to a first server corresponding to the first blockchain, so that the first server sends the electronic credential storage information to a second server corresponding to a preset second blockchain, so that the second server stores the electronic credential storage information in the preset second blockchain.

2. The method according to claim 1, wherein: The method further comprises: Determine the promotion information electronic certificate and blockchain storage information as terminal storage information, wherein the blockchain storage information is information obtained by storing the electronic certificate storage information in the first blockchain; Displaying an information storage window corresponding to the terminal storage information in the evidence storage interface, wherein the information storage window includes a storage information identification confirmation control and a storage information identification input box, and the storage information identification input box is used for the evidence storage user to input the storage information identification; In response to detecting a selection operation acting on the storage information identifier confirmation control, the terminal storage information is stored in a preset terminal storage information database according to the storage information identifier input by the evidence storing user.

3. The method according to claim 2, wherein: The certificate storage interface also includes an electronic certificate query control; as well as The method further comprises: In response to detecting a selection operation acting on the electronic credential query control, displaying a query window on the evidence storage interface, wherein the query window includes a query confirmation control and a query information input box, and the query information input box is used for the evidence storage user to input electronic credential query information; In response to detecting a selection operation acting on the query confirmation control, performing feature extraction processing on the electronic certificate query information input by the depository user to obtain query feature information; Acquire a storage information identification set corresponding to each terminal storage information included in the preset terminal storage information database; For each storage information identifier included in the storage information identifier set, the following steps are performed: Performing feature extraction processing on the storage information identifier to obtain identifier feature information; Performing matching processing on the query feature information and the identification feature information to obtain matching information, wherein the matching information includes information similarity; In response to determining that the information similarity satisfies a preset similarity condition, determining the storage information identifier as a target storage information identifier; The determined target storage information identifiers are displayed in the evidence storage interface.

4. The method according to claim 3, wherein: The display of each determined target storage information identifier in the evidence storage interface includes: For each determined target storage information identifier, determining an identifier rank corresponding to the target storage information identifier according to the similarities of each piece of information included in each piece of obtained matching information; According to the determined rankings of the various identifications, the determined target storage information identifications are displayed in the evidence storage interface.

5. The method according to claim 1, wherein: The evidence storage interface also includes an electronic certificate verification control; as well as The method further comprises: In response to detecting a selection operation acting on the electronic credential verification control, displaying a verification window on the evidence storage interface, wherein the verification window includes a verification confirmation control and a verification information input box, and the verification information input box is used for the evidence storage user to input a verification electronic credential identifier; In response to detecting a selection operation acting on the verification confirmation control, obtaining a verification electronic certificate corresponding to the verification electronic certificate identifier input by the depository user; Performing hash processing on the verification electronic certificate to obtain the verification electronic certificate hash information; Determine the terminal storage information corresponding to the verification electronic certificate identifier in the preset terminal storage information database as the target terminal storage information; Determine the electronic credential storage information of the blockchain storage information included in the target terminal storage information in the first blockchain as the target electronic credential storage information; Performing verification processing on the verification electronic credential hash information and the electronic credential hash information corresponding to the target electronic credential storage information to obtain verification result information; The verification result information is displayed on the evidence storage interface.

6. The method according to claim 1, wherein: The determining of the file attribute information corresponding to the promotion information electronic certificate includes: Determining the certificate type corresponding to the promotion information electronic certificate; In response to determining that the voucher type meets a preset type condition, performing voice frame processing on the promotion information electronic voucher to obtain a voice information set; Performing voice signal feature extraction processing on each voice information included in the voice information set to obtain a voice feature information set; Performing speech recognition processing on each speech feature information included in the speech feature information set to obtain a speech text information set; Inputting the speech text information set into a pre-trained promotion information type generation model to obtain a promotion information type; Inputting the speech text information set into a pre-trained promotion information anomaly detection information generation model corresponding to the promotion information type to obtain promotion information anomaly detection information; According to the promotion information anomaly detection information and the promotion information electronic certificate, file attribute information corresponding to the promotion information electronic certificate is determined.

7. An electronic credential storage system, comprising: The evidence storage terminal has a preset first blockchain, a preset second blockchain, a first server, and a second server, wherein: The evidence storage terminal is configured to execute the method according to any one of claims 1 to 6; The preset first blockchains in each of the preset first blockchains are configured to store electronic credential storage information; The first server is configured to receive the electronic credential storage information sent by the evidence storage terminal, and send the electronic credential storage information to the second server; The second server is configured to receive the electronic credential storage information sent by the first server, and store the electronic credential storage information in the preset second blockchain corresponding to the second server; The preset second blockchain is configured to store the electronic credential storage information.

8. An electronic device comprising: one or more processors; a storage device having one or more programs stored thereon; When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 6.

9. A computer readable medium having a computer program stored thereon, wherein: When the program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • Evidence storage method, evidence verification method and device, equipment and medium

    CN110879903A