Block chain-based information processing system and method
By storing and encrypting face feature vectors on the blockchain, the repeated entry problem in different face recognition systems is solved, information integration and recognition is realized, and the authenticity and convenience of the system are improved.
Patent Information
- Application Number
- CN202411138177.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-19
- Publication Date
- 2024-11-29
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The isolation between different face recognition systems leads to the same person who needs to repeatedly enter face information in different systems, which is inconvenient to use.
Using blockchain-based information processing method, feature extraction is performed by obtaining face data, feature vectors are generated, and locally encrypted, and stored in the blockchain. When it is to be identified, it will be downloaded from the blockchain to decrypt the permission of the corresponding data provider. , perform facial recognition.
The fusion of facial information in different facial recognition systems is realized, which avoids the problem of repeated input of facial data and improves the authenticity and reliability of information.
Smart Images

Figure CN119046916A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of information processing technology, and in particular, relates to an information processing system and method based on blockchain. Background Art
[0002] Blockchain is a chain of blocks. Each block stores certain information, and they are connected into a chain in the order of their generation. This chain is stored in all servers. As long as there is one server in the entire system that can work, the entire blockchain is safe.
[0003] Compared with traditional networks, blockchain has two core features: one is that data is difficult to tamper with, and the other is decentralization. Based on these two features, the information recorded by blockchain is more authentic and reliable, which can solve the problem of people's distrust.
[0004] In the current face recognition system, different face recognition systems are isolated from each other. Therefore, the same person may need to enter the same face information in different systems, which is inconvenient to use. Summary of the invention
[0005] The purpose of the embodiments of the present invention is to provide an information processing method based on blockchain, aiming to solve the problem that the same person may need to enter the same facial information in different systems, which is inconvenient to use.
[0006] A blockchain-based information processing method, the method comprising:
[0007] Obtain facial data collected by the system;
[0008] Perform feature extraction on facial data to obtain feature vectors corresponding to each face. After partially encrypting the feature vectors, package them and publish them on the blockchain. The feature vectors published on the blockchain are in a semi-encrypted state.
[0009] Obtain the face information to be identified, generate identification features based on the face information to be identified, and obtain the locally encrypted feature vector from the blockchain;
[0010] According to the source of the feature vector, a decryption request is sent to the data provider, a decryption key is received, the feature vector is decrypted and compared with the identification feature to determine whether the face recognition is successful.
[0011] Preferably, the step of extracting features from facial data to obtain feature vectors corresponding to each face, locally encrypting the feature vectors, packaging and publishing them on the blockchain specifically includes:
[0012] Perform feature extraction on the face data to obtain a feature vector corresponding to each face, wherein the feature vector is a multidimensional vector including multiple element values;
[0013] Generate an encryption function, extract some parameters of each element value, substitute them into the encryption function, and obtain the local encrypted feature vector;
[0014] The encryption function is stored locally, and a set of source elements is added to the locally encrypted feature vector, which is published on the blockchain. The source elements record the data provider corresponding to the feature vector.
[0015] Preferably, the steps of obtaining the face information to be identified, generating identification features according to the face information to be identified, and obtaining the locally encrypted feature vector from the blockchain specifically include:
[0016] Obtain the face information to be identified and use the convolutional neural network to extract identification features;
[0017] Query the blockchain to determine the feature vector whose unencrypted portion coincides with the identification feature;
[0018] Download the above partially encrypted feature vector and identify the data provider corresponding to the feature vector.
[0019] Preferably, the step of sending a decryption request to the data provider according to the source of the feature vector, receiving a decryption key, decrypting to obtain the feature vector, and comparing the feature vector with the identification feature to determine whether the face recognition is successful specifically includes:
[0020] Sending a decryption request to the data provider according to the source of the feature vector and receiving a decryption key;
[0021] Decrypting the encrypted part of the locally encrypted feature vector using a decryption key to obtain a feature vector;
[0022] The vector difference between the feature vector and the recognition feature is calculated. When the vector difference is less than the preset value, the face recognition is considered successful.
[0023] Preferably, the feature vectors in the blockchain are updated according to a preset period.
[0024] Preferably, if the data provider does not provide the decryption key, the face recognition is determined to have failed.
[0025] Another object of an embodiment of the present invention is to provide an information processing system based on blockchain, the system comprising:
[0026] A data acquisition module is used to obtain face data collected by the system;
[0027] The information processing module is used to extract features from facial data, obtain feature vectors corresponding to each face, locally encrypt the feature vectors, package them and publish them on the blockchain. The feature vectors published on the blockchain are in a semi-encrypted state;
[0028] The feature recognition module is used to obtain the face information to be recognized, generate recognition features based on the face information to be recognized, and obtain the locally encrypted feature vector from the blockchain;
[0029] The face recognition module is used to send a decryption request to the data provider according to the source of the feature vector, receive the decryption key, decrypt the feature vector, and determine whether the face recognition is successful by comparing it with the identification feature.
[0030] Preferably, the information processing module includes:
[0031] A data extraction unit, used to extract features from face data to obtain feature vectors corresponding to each face, wherein the feature vectors are multidimensional vectors and contain multiple element values;
[0032] The local encryption unit is used to generate an encryption function, extract part of the parameters of each element value, substitute them into the encryption function, and obtain a local encrypted feature vector;
[0033] The data publishing unit is used to store the encryption function locally, add a set of source elements to the locally encrypted feature vector, and publish it on the blockchain, wherein the source elements record the data provider corresponding to the feature vector.
[0034] Preferably, the feature recognition module includes:
[0035] A feature extraction unit, used to obtain information of a face to be identified and extract identification features using a convolutional neural network;
[0036] A feature vector query unit, used to query the blockchain and determine the feature vector whose unencrypted part coincides with the identification feature;
[0037] The data download unit is used to download the above-mentioned locally encrypted feature vector and identify the data provider corresponding to the feature vector.
[0038] Preferably, the face recognition module includes:
[0039] A key request unit, used to send a decryption request to a data provider according to the source of the feature vector and receive a decryption key;
[0040] A data decryption unit, used for decrypting the encrypted part of the locally encrypted feature vector using a decryption key to obtain the feature vector;
[0041] The recognition and determination unit is used to calculate the vector difference between the feature vector and the recognition feature. When the vector difference is less than a preset value, it is considered that the face recognition is successful.
[0042] An information processing method based on blockchain provided by an embodiment of the present invention stores the facial data stored in different facial recognition systems in the blockchain in the form of feature vectors, and locally encrypts the facial data. When performing facial recognition, the corresponding facial data is first downloaded from the blockchain, and only after obtaining the permission of the data provider can it be decrypted, so as to further determine whether the facial recognition is successful. The present invention can integrate facial information from different facial recognition systems, avoiding the problem of repeated entry of facial data. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] Figure 1 A flowchart of a blockchain-based information processing method provided by an embodiment of the present invention;
[0044] Figure 2 A flowchart of the steps of extracting features from facial data, obtaining feature vectors corresponding to each face, partially encrypting the feature vectors, packaging them, and publishing them on a blockchain, provided in an embodiment of the present invention;
[0045] Figure 3 A flowchart of the steps of obtaining face information to be identified, generating identification features based on the face information to be identified, and obtaining a locally encrypted feature vector from a blockchain, provided in an embodiment of the present invention;
[0046] Figure 4 A flowchart of the steps of sending a decryption request to a data provider according to the source of the feature vector, receiving a decryption key, decrypting to obtain a feature vector, and comparing it with the identification feature to determine whether face recognition is successful, provided in an embodiment of the present invention;
[0047] Figure 5 An architectural diagram of an information processing system based on blockchain provided by an embodiment of the present invention;
[0048] Figure 6 An architecture diagram of an information processing module provided by an embodiment of the present invention;
[0049] Figure 7 An architecture diagram of a feature recognition module provided by an embodiment of the present invention;
[0050] Figure 8 An architectural diagram of a face recognition module provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0051] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0052] The present invention stores the facial data stored in different facial recognition systems in the blockchain in the form of feature vectors, and locally encrypts the facial data. When performing facial recognition, the corresponding facial data is first downloaded from the blockchain, and decrypted only after obtaining permission from the data provider, so as to further determine whether the facial recognition is successful. The present invention can integrate facial information from different facial recognition systems, avoiding the problem of repeated entry of facial data.
[0053] like Figure 1 As shown, it is a flowchart of a blockchain-based information processing method provided by an embodiment of the present invention, and the method includes:
[0054] S100, obtaining face data collected by the system.
[0055] In this step, the facial data collected by the system is obtained. Corresponding facial data is entered into different facial recognition systems. This is because each facial recognition system operates independently, so the same user needs to enter his or her facial information into different facial recognition systems. In this embodiment, each facial recognition system summarizes the entered facial data to obtain the facial data stored in each facial recognition system.
[0056] S200, extract features from facial data to obtain feature vectors corresponding to each face, locally encrypt the feature vectors, package them and publish them on the blockchain. The feature vectors published on the blockchain are in a semi-encrypted state.
[0057] In this step, feature extraction is performed on the facial data, and the existing facial data is converted into an independent feature vector through a convolutional neural network model. The feature vector consists of 128 elements, that is, each feature vector consists of 128 groups of data or numbers, and each group of data or numbers has multiple characters. When encrypting, a part of each group of data or numbers is encrypted. For example, if a group of data has 10 characters, the last five characters are encrypted, and the first five characters remain the same to obtain a locally encrypted feature vector, and then an element that can indicate the source of the data is entered into each feature vector and stored in the blockchain. At this time, any party can obtain the locally encrypted feature vector, but because the feature vector is locally encrypted, it cannot be directly used for facial recognition, thereby ensuring the security of the data.
[0058] S300, obtaining the face information to be identified, generating identification features according to the face information to be identified, and obtaining a locally encrypted feature vector from the blockchain.
[0059] In this step, the facial information to be identified is obtained. When each facial recognition system performs facial recognition, it first collects the facial image to be identified, and uses the same convolutional neural network to extract features to obtain identification features. The identification features are also vectors with 128 elements. The encrypted feature vectors that match the identification features are queried based on the identification features. Since the feature vectors in the blockchain are encrypted, the number of feature vectors obtained by the query may be multiple, and they need to be decrypted before they can be used.
[0060] S400, sending a decryption request to the data provider according to the source of the feature vector, receiving the decryption key, decrypting the feature vector to obtain the feature vector, and comparing it with the identification feature to determine whether the face recognition is successful.
[0061] In this step, a decryption request is sent to the data provider according to the source of the feature vector. Since elements used to characterize the data provider are added to all feature vectors, there are actually 129 elements in a feature vector. After determining the data provider, decryption is requested from the data provider. At this time, the data provider can decide whether to authorize it based on whether a usage agreement is signed with the requesting party. If authorized, a decryption key is issued, otherwise it is not issued. After receiving the decryption key, the feature vector is decrypted using the decryption key, and the identification feature is compared with it. Based on the comparison result, it can be determined whether the face recognition is successful.
[0062] like Figure 2 As shown, as a preferred embodiment of the present invention, the steps of extracting features from facial data, obtaining feature vectors corresponding to each face, locally encrypting the feature vectors, packaging and publishing them on the blockchain specifically include:
[0063] S201, extracting features from face data to obtain feature vectors corresponding to each face, wherein the feature vectors are multi-dimensional vectors including multiple element values.
[0064] In this step, feature extraction is performed on the facial data using a convolutional neural network. For each facial data extraction, a 128-dimensional vector is used to represent the facial data, that is, the dimension of the multidimensional vector is 128.
[0065] S202, generating an encryption function, extracting some parameters of each element value, substituting them into the encryption function, and obtaining a locally encrypted feature vector.
[0066] In this step, an encryption function is generated. The encryption function can be a simple quadratic function or other more complex functions, which is used to modify some parameters in the element value. For example, the encryption function is y=2x 2 , the value of an element is 0.8794564651, encrypt the last five digits, substitute them into the encryption function, and get the calculation result, that is, substitute 64651 into y=2x 2 In the equation, we get y=8359503602, so the encrypted element value is 0.879458359503602. Based on this, the above operation is performed on all element values to obtain the locally encrypted feature vector.
[0067] S203, storing the encryption function locally, adding a set of source elements to the locally encrypted feature vector, and publishing it on the blockchain, wherein the source elements record the data provider corresponding to the feature vector.
[0068] In this step, the encryption function is stored locally. When a decryption request is received, it is determined whether the encryption function will be issued as the decryption key based on whether the other party has permission. One feature vector can be set with one encryption function, or multiple feature vectors can be encrypted by one encryption function. Finally, all encrypted feature vectors are added to a set of source elements, which are used to characterize the data provider and finally published on the blockchain.
[0069] like Figure 3 As shown, as a preferred embodiment of the present invention, the steps of obtaining the face information to be identified, generating identification features according to the face information to be identified, and obtaining the locally encrypted feature vector from the blockchain specifically include:
[0070] S301, obtaining face information to be recognized, and extracting recognition features using a convolutional neural network.
[0071] In this step, the facial information to be identified is obtained, and the face of the user who needs to perform facial recognition is captured using an image acquisition device to obtain a corresponding facial picture. The same convolutional neural network is used for feature extraction to obtain recognition features, which are also 128-dimensional vectors.
[0072] S302, query the blockchain to determine the feature vector whose unencrypted part coincides with the identification feature.
[0073] In this step, the blockchain is queried, the identification features are read, and it is retrieved whether there is a feature vector whose unencrypted part coincides with the identification feature. If both the feature vector and the identification feature contain 128 elements, the corresponding elements of the two are compared. In the feature vector, there are 10 characters, of which the first five are unencrypted characters, then only the first five are compared. That is, when the coincidence rate of the unencrypted part of each element of the feature vector and the corresponding identification feature reaches a preset value, the feature vector is selected.
[0074] S303, downloading the above-mentioned partially encrypted feature vector, and identifying the data provider corresponding to the feature vector.
[0075] In this step, the above-mentioned partially encrypted feature vector is downloaded, and then the data provider corresponding to the feature vector is determined according to the source element recorded in the feature vector.
[0076] like Figure 4 As shown, as a preferred embodiment of the present invention, the steps of sending a decryption request to the data provider according to the source of the feature vector, receiving a decryption key, decrypting to obtain the feature vector, and comparing it with the identification feature to determine whether the face recognition is successful specifically include:
[0077] S401, sending a decryption request to the data provider according to the source of the feature vector, and receiving a decryption key.
[0078] S402, decrypting the encrypted part of the locally encrypted feature vector using a decryption key to obtain a feature vector.
[0079] In this step, a decryption request is sent to the data provider according to the source of the feature vector. At this time, the data provider needs to authorize. If authorized, the decryption key is sent. The decryption key is the encryption function used to encrypt the feature vector at that time, such as y=2x 2 , substituting the encrypted part of the feature vector into it, the solution can be reversed to obtain the unencrypted feature vector.
[0080] S403, calculating the vector difference between the feature vector and the recognition feature, and when the vector difference is less than a preset value, it is considered that the face recognition is successful.
[0081] In this step, the vector difference between the feature vector and the identification feature is calculated, and the size between the vector difference and the preset value is determined. When the vector difference is greater than or equal to the preset value, it means that the difference between the two is large, that is, face recognition fails, and when the vector difference is less than the preset value, it means that the face recognition to be identified is successful; the feature vector in the blockchain is updated according to a preset period, that is, the data provider periodically encrypts the feature vector and republishes it on the blockchain; if the data provider does not provide the decryption key, it is determined that face recognition has failed.
[0082] like Figure 5 As shown, an information processing system based on blockchain provided by an embodiment of the present invention includes:
[0083] The data acquisition module 100 is used to acquire the face data collected by the system.
[0084] In this system, facial data collected by the system is obtained, and corresponding facial data is entered in different facial recognition systems. This is because each facial recognition system operates independently, so the same user needs to enter his or her facial information in different facial recognition systems. In this embodiment, each facial recognition system summarizes the entered facial data to obtain the facial data stored in each facial recognition system.
[0085] The information processing module 200 is used to extract features from facial data, obtain feature vectors corresponding to each face, locally encrypt the feature vectors, package them and publish them on the blockchain. The feature vectors published on the blockchain are in a semi-encrypted state.
[0086] In this system, the information processing module 200 extracts features from facial data and converts existing facial data into an independent feature vector through a convolutional neural network model. The feature vector consists of 128 elements, that is, each feature vector consists of 128 groups of data or numbers, and each group of data or numbers has multiple characters. When encrypting, a part of each group of data or numbers is encrypted. For example, if a group of data has 10 characters, the last five characters are encrypted, while the first five characters remain intact to obtain a locally encrypted feature vector, and then an element that can indicate the source of the data is entered into each feature vector and stored in the blockchain. At this time, any party can obtain the locally encrypted feature vector, but because the feature vector is locally encrypted, it cannot be directly used for facial recognition, thereby ensuring the security of the data.
[0087] The feature recognition module 300 is used to obtain the face information to be recognized, generate recognition features according to the face information to be recognized, and obtain the locally encrypted feature vector from the blockchain.
[0088] In this system, the feature recognition module 300 obtains the face information to be recognized. When each face recognition system performs face recognition, it first collects the facial image to be recognized, and uses the same convolutional neural network to extract features to obtain recognition features. The recognition features are also vectors with 128 elements. The encrypted feature vectors matching the recognition features are queried based on the recognition features. Since the feature vectors in the blockchain are encrypted, the number of feature vectors obtained by the query may be multiple, and they need to be decrypted before they can be used.
[0089] The face recognition module 400 is used to send a decryption request to the data provider according to the source of the feature vector, receive a decryption key, decrypt the feature vector, and compare it with the identification feature to determine whether the face recognition is successful.
[0090] In this system, the face recognition module 400 sends a decryption request to the data provider according to the source of the feature vector. Since elements used to characterize the data provider are added to all feature vectors, there are actually 129 elements in a feature vector. After determining the data provider, decryption is requested from the data provider. At this time, the data provider can decide whether to authorize it based on whether a usage agreement is signed with the requesting party. If authorized, a decryption key is issued, otherwise it is not issued. After receiving the decryption key, the feature vector is decrypted using the decryption key, and the identification feature is compared with it. Based on the comparison result, it can be determined whether the face recognition is successful.
[0091] like Figure 6 As shown, as a preferred embodiment of the present invention, the information processing module 200 includes:
[0092] The data extraction unit 201 is used to extract features from the face data to obtain a feature vector corresponding to each face. The feature vector is a multi-dimensional vector including multiple element values.
[0093] In this module, the data extraction unit 201 performs feature extraction on the facial data using a convolutional neural network. For each facial data extraction, a 128-dimensional vector is used to represent the facial data, that is, the dimension of the multidimensional vector is 128.
[0094] The local encryption unit 202 is used to generate an encryption function, extract part of the parameters of each element value, substitute them into the encryption function, and obtain a local encrypted feature vector.
[0095] In this module, the local encryption unit 202 generates an encryption function, which may be a simple quadratic function or other more complex functions, for modifying some parameters in the element value. For example, the encryption function is y=2x 2 , the value of an element is 0.8794564651, encrypt the last five digits, substitute it into the encryption function, and get the calculation result, that is, substitute 64651 into y=2x 2 In the equation, we get y=8359503602, so the encrypted element value is 0.879458359503602. Based on this, the above operation is performed on all element values to obtain the locally encrypted feature vector.
[0096] The data publishing unit 203 is used to store the encryption function locally, add a set of source elements to the locally encrypted feature vector, and publish it on the blockchain. The source elements record the data provider corresponding to the feature vector.
[0097] In this module, the data publishing unit 203 stores the encryption function locally. When receiving a decryption request, it determines whether to issue the encryption function as a decryption key based on whether the other party has the authority. One feature vector can be set with one encryption function, or multiple feature vectors can be encrypted by one encryption function. Finally, all encrypted feature vectors are added to a group of source elements, and the source elements are used to characterize the data provider, which is finally published on the blockchain.
[0098] like Figure 7 As shown, as a preferred embodiment of the present invention, the information processing module 300 includes:
[0099] The data extraction unit 301 is used to extract features from the face data to obtain a feature vector corresponding to each face. The feature vector is a multi-dimensional vector including multiple element values.
[0100] In this module, the data extraction unit 301 obtains the facial information to be identified, uses the image acquisition device to capture the face of the user who needs to perform facial recognition to obtain the corresponding facial picture, and uses the same convolutional neural network to perform feature extraction to obtain the identification feature, which is also a 128-dimensional vector.
[0101] The local encryption unit 302 is used to generate an encryption function, extract part of the parameters of each element value, substitute them into the encryption function, and obtain a local encrypted feature vector.
[0102] In this module, the local encryption unit 302 queries the blockchain, reads the identification feature, and searches for a feature vector whose unencrypted part coincides with the identification feature. For example, if both the feature vector and the identification feature contain 128 elements, the corresponding elements of the two are compared. If there are 10 characters in the feature vector, and the first five are unencrypted characters, only the first five are compared. That is, when the coincidence rate between the unencrypted part of each element of the feature vector and the corresponding identification feature reaches a preset value, the feature vector is selected.
[0103] The data publishing unit 303 is used to store the encryption function locally, add a set of source elements to the locally encrypted feature vector, and publish it on the blockchain. The source elements record the data provider corresponding to the feature vector.
[0104] In this module, the data publishing unit 303 downloads the above-mentioned partially encrypted feature vector, and then determines the data supplier corresponding to the feature vector according to the source element recorded in the feature vector.
[0105] like Figure 8 As shown, as a preferred embodiment of the present invention, the face recognition module 400 includes:
[0106] The key request unit 401 is used to send a decryption request to the data provider according to the source of the feature vector and receive a decryption key.
[0107] The data decryption unit 402 is used to decrypt the encrypted part of the locally encrypted feature vector using a decryption key to obtain the feature vector.
[0108] In this module, a decryption request is sent to the data provider according to the source of the feature vector. At this time, the data provider needs to authorize. If authorized, the decryption key is sent. The decryption key is the encryption function used to encrypt the feature vector at that time, such as y=2x 2 , substituting the encrypted part of the feature vector into it, the solution can be reversed to obtain the unencrypted feature vector.
[0109] The recognition and determination unit 403 is used to calculate the vector difference between the feature vector and the recognition feature. When the vector difference is less than a preset value, it is considered that the face recognition is successful.
[0110] In this module, the recognition and determination unit 403 calculates the vector difference between the feature vector and the recognition feature, and determines the size between the vector difference and the preset value. When the vector difference is greater than or equal to the preset value, it indicates that the difference between the two is large, that is, the face recognition fails, and when the vector difference is less than the preset value, it indicates that the face to be identified is successfully recognized; the feature vector in the blockchain is updated according to a preset period, that is, the data provider periodically encrypts the feature vector and republishes it on the blockchain; if the data provider does not provide the decryption key, it is determined that the face recognition has failed.
[0111] It should be understood that, although each step in the flow chart of each embodiment of the present invention is shown in sequence according to the indication of the arrow, these steps are not necessarily performed in sequence according to the order indicated by the arrow. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be performed in other orders. Moreover, at least a portion of the steps in each embodiment may include a plurality of sub-steps or a plurality of stages, and these sub-steps or stages are not necessarily performed at the same time, but can be performed at different times, and the execution order of these sub-steps or stages is not necessarily performed in sequence, but can be performed in turn or alternately with at least a portion of other steps or sub-steps or stages of other steps.
[0112] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a non-volatile computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0113] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0114] The above-mentioned embodiments only express several implementation methods of the present invention, and the description thereof is relatively specific and detailed, but it cannot be understood as limiting the scope of the patent of the present invention. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present invention, which all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.
[0115] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A blockchain-based information processing method, characterized in that: The method comprises: Obtain facial data collected by the system; Perform feature extraction on facial data to obtain feature vectors corresponding to each face. After partially encrypting the feature vectors, package them and publish them on the blockchain. The feature vectors published on the blockchain are in a semi-encrypted state. Obtain the face information to be identified, generate identification features based on the face information to be identified, and obtain the locally encrypted feature vector from the blockchain; According to the source of the feature vector, a decryption request is sent to the data provider, a decryption key is received, the feature vector is decrypted and compared with the identification feature to determine whether the face recognition is successful.
2. The information processing method based on blockchain according to claim 1 is characterized in that: The steps of extracting features from facial data to obtain feature vectors corresponding to each face, partially encrypting the feature vectors, packaging them and publishing them on the blockchain specifically include: Perform feature extraction on the face data to obtain a feature vector corresponding to each face, wherein the feature vector is a multidimensional vector including multiple element values; Generate an encryption function, extract some parameters of each element value, substitute them into the encryption function, and obtain the local encrypted feature vector; The encryption function is stored locally, and a set of source elements is added to the locally encrypted feature vector, which is published on the blockchain. The source elements record the data provider corresponding to the feature vector.
3. The information processing method based on blockchain according to claim 1 is characterized in that: The steps of obtaining the face information to be identified, generating identification features according to the face information to be identified, and obtaining the locally encrypted feature vector from the blockchain specifically include: Obtain the face information to be identified and use the convolutional neural network to extract identification features; Query the blockchain to determine the feature vector whose unencrypted portion coincides with the identification feature; Download the above partially encrypted feature vector and identify the data provider corresponding to the feature vector.
4. The information processing method based on blockchain according to claim 1 is characterized in that: The step of sending a decryption request to the data provider according to the source of the feature vector, receiving a decryption key, decrypting the feature vector to obtain the feature vector, and comparing the feature vector with the identification feature to determine whether the face recognition is successful specifically includes: Sending a decryption request to the data provider according to the source of the feature vector and receiving a decryption key; Decrypting the encrypted part of the locally encrypted feature vector using a decryption key to obtain a feature vector; The vector difference between the feature vector and the recognition feature is calculated. When the vector difference is less than the preset value, the face recognition is considered successful.
5. The information processing method based on blockchain according to claim 1 is characterized in that: The feature vectors in the blockchain are updated according to a preset period.
6. The information processing method based on blockchain according to claim 1 is characterized in that: If the data provider does not provide the decryption key, the face recognition is deemed to have failed.
7. A blockchain-based information processing system, characterized in that: The system comprises: A data acquisition module is used to obtain face data collected by the system; The information processing module is used to extract features from facial data, obtain feature vectors corresponding to each face, locally encrypt the feature vectors, package them and publish them on the blockchain. The feature vectors published on the blockchain are in a semi-encrypted state; The feature recognition module is used to obtain the face information to be recognized, generate recognition features based on the face information to be recognized, and obtain the locally encrypted feature vector from the blockchain; The face recognition module is used to send a decryption request to the data provider according to the source of the feature vector, receive the decryption key, decrypt the feature vector, and determine whether the face recognition is successful by comparing it with the identification feature.
8. The blockchain-based information processing system according to claim 7, characterized in that: The information processing module includes: A data extraction unit, used to extract features from face data to obtain feature vectors corresponding to each face, wherein the feature vectors are multidimensional vectors and contain multiple element values; The local encryption unit is used to generate an encryption function, extract part of the parameters of each element value, substitute them into the encryption function, and obtain a local encrypted feature vector; The data publishing unit is used to store the encryption function locally, add a set of source elements to the locally encrypted feature vector, and publish it on the blockchain, wherein the source elements record the data provider corresponding to the feature vector.
9. The blockchain-based information processing system according to claim 7, characterized in that: The feature recognition module comprises: A feature extraction unit, used to obtain information of a face to be identified and extract identification features using a convolutional neural network; A feature vector query unit, used to query the blockchain and determine the feature vector whose unencrypted part coincides with the identification feature; The data download unit is used to download the above-mentioned locally encrypted feature vector and identify the data provider corresponding to the feature vector.
10. The information processing system based on blockchain according to claim 7, characterized in that: The face recognition module comprises: A key request unit, used to send a decryption request to a data provider according to the source of the feature vector and receive a decryption key; A data decryption unit, used for decrypting the encrypted part of the locally encrypted feature vector using a decryption key to obtain the feature vector; The recognition and determination unit is used to calculate the vector difference between the feature vector and the recognition feature. When the vector difference is less than a preset value, it is considered that the face recognition is successful.
Citation Information
Patent Citations
Biological characteristic technology sharing and verification method, system, equipment and medium
CN114157473A
Video processing system, method and device, electronic equipment and storage medium
CN116456127A
Internet service, security, and ai
JP2023132381A
Animal training device
KR1020210092958A
System and method for biometric protocol standards
WO2021016311A1
Cited By
Face information processing method and device, electronic equipment, storage medium and product
CN120808456A
