Data processing method and system and readable storage medium

By using public key and private key pairs on the information sharing platform to encrypt and decrypt data, and storing them in the alliance chain and file storage system, the problem of safe storage of target device data information is solved, and safe and reliable data sharing and Reduced development costs.

CN118694595APending Publication Date: 2024-09-24ZHONGKE YUNGU TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410862500.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-28
Publication Date
2024-09-24

AI Technical Summary

Technical Problem

In the era of big data, the secure storage of target device information, especially business data, has security issues such as storage capacity, disaster recovery and backup, sharing policies, and responsibility traceability. It is difficult for existing technologies to effectively solve these problems.

Method used

By registering the target device on the information sharing platform, using the first and second algorithms to obtain the public key and private key pairs for data encryption and decryption, storing the encrypted data in the file storage system and uploading it to the alliance chain, using the alliance chain and file storage The system provides a secure sharing method and platform for target device digital identity information.

Benefits of technology

It achieves safe and reliable storage of target device data information, reduces development costs, improves user experience, and ensures data security and reliability through decentralized and distributed storage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118694595A
    Figure CN118694595A
Patent Text Reader

Abstract

The invention provides a data processing method, a data processing system and a readable storage medium, and the data processing method comprises the steps: obtaining a first public key and a first private key through a first algorithm, and obtaining a second public key and a second private key through a second algorithm; calling data information of the target equipment, executing first data encryption and second data encryption, acquiring encrypted data, storing the encrypted data in a file storage system, and uploading the stored information to an alliance chain; in response to an access obtaining request, obtaining the storage information through the alliance chain so as to download the encrypted data from a file storage system based on the storage information; and executing first data decryption and second data decryption on the encrypted data to obtain data information of the target equipment. The data information of the target equipment can be safely and reliably stored, the development cost is greatly reduced, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data security, and specifically to a data processing method, a data processing system and a readable storage medium. Background Art

[0002] The International Organization for Standardization (ISO) defines computer system data security as the security protection of technology and management established and adopted for data processing systems to protect computer hardware, software and data from being destroyed, altered or leaked due to accidental or malicious reasons. Therefore, data security based on computer networks can be understood as: by adopting various technologies and management measures to ensure the normal operation of network systems, thereby ensuring the availability, integrity and confidentiality of network data. Therefore, the purpose of establishing network security protection measures is to ensure that data transmitted and exchanged over the network will not be added, modified, lost or leaked.

[0003] In the process of conceiving and forming this application, the applicant has found at least the following problems: in the era of big data, the safe storage of target device information, especially business data, is particularly important. However, general business systems often store the target device information of users on their own central servers after obtaining it, which has security issues such as storage capacity, disaster recovery backup, sharing strategy, and responsibility traceability. Therefore, it is of great significance to study and establish a trustworthy and secure information storage, information authorization sharing method and platform. Summary of the invention

[0004] In order to alleviate the above problems, the present application provides a data processing method, a data processing system and a readable storage medium. The data processing method is applied to an information sharing platform; the data processing method includes:

[0005] In response to a registration request of a target device, obtaining a first public key and a first private key by a first algorithm, and obtaining a second public key and a second private key by a second algorithm, wherein the first public key and the second private key are used to perform data decryption, and the first private key and the second public key are used to perform data encryption;

[0006] Retrieving data information of the target device, performing first data encryption and second data encryption on the data information to obtain encrypted data, sending the encrypted data to a file storage system for storage, and after obtaining storage information corresponding to the encrypted data, uploading the storage information to the alliance chain;

[0007] In response to the access request, obtaining the storage information through the alliance chain to download the encrypted data from the file storage system based on the storage information;

[0008] A first data decryption and a second data decryption are performed on the encrypted data to obtain data information of the target device.

[0009] Optionally, after the step of obtaining the first public key and the first private key by using a first algorithm and obtaining the second public key and the second private key by using a second algorithm in response to the registration request of the target device, the method includes:

[0010] Saving the first private key and sending the first public key to the alliance chain;

[0011] and / or,

[0012] The second public key is sent to the alliance chain, and the second private key is sent to the target device for storage.

[0013] Optionally, the storage information includes a data hash value of the target device identity information and an address index of data stored in the file storage system.

[0014] Optionally, the step of retrieving the data information of the target device, performing the first data encryption and the second data encryption on the data information, obtaining the encrypted data and storing it in the file storage system, obtaining the storage information and uploading the storage information to the alliance chain includes:

[0015] Performing hash calculation on the data information using a third algorithm to obtain the data hash value;

[0016] Upload the data hash value to the alliance chain.

[0017] Optionally, the step of retrieving the data information of the target device, performing the first data encryption and the second data encryption on the data information, obtaining the encrypted data and storing it in the file storage system, obtaining the storage information and uploading the storage information to the alliance chain, further includes:

[0018] Performing the first data encryption on the data information using the second public key to obtain pre-encrypted data;

[0019] Using the first private key to perform the second data encryption on the pre-encrypted data to obtain the encrypted data;

[0020] Uploading the encrypted data to the file storage system, and receiving the address index generated and returned by the file storage system according to the stored file content;

[0021] The address index is uploaded to the alliance chain.

[0022] Optionally, the step of retrieving the data information of the target device, performing the first data encryption and the second data encryption on the data information, obtaining the encrypted data and storing it in the file storage system, obtaining the storage information and uploading the storage information to the alliance chain, further includes:

[0023] The storage information is uploaded to the alliance chain, so that the alliance chain associates and records the data hash value and the address index and broadcasts the transaction to obtain the block code returned by the alliance chain.

[0024] Optionally, in response to obtaining the access request, obtaining the storage information through the alliance chain to download the encrypted data from the file storage system based on the storage information includes:

[0025] In response to obtaining the access request, accessing the alliance chain, so that the alliance chain sends the data hash value and the address index based on the access request and synchronously records the access;

[0026] According to the acquired address index, the storage node is addressed and located through the file storage system to download the encrypted data.

[0027] Optionally, the step of performing first data decryption and second data decryption on the encrypted data to obtain data information of the target device includes:

[0028] Based on the authorization confirmation information, decrypt the first data using the first public key and decrypt the second data using the second private key;

[0029] Perform hash operation on the decrypted data to obtain the verification hash value;

[0030] Based on the verification hash value, the data hash value is compared to confirm the backed-up data information of the target device.

[0031] The present application also provides a data processing system, comprising: a processor and a memory storing a computer program, and when the processor runs the computer program, the above-mentioned data processing method is implemented.

[0032] The present application also provides a readable storage medium storing a computer program, which implements the steps of the above method when executed by a processor.

[0033] The data processing method, data processing system and readable storage medium provided by the present application register a target device on an information sharing platform, obtain a first public key and a first private key through a first algorithm, and obtain a second public key and a second private key through a second algorithm; retrieve data information of the target device, perform a first data encryption and a second data encryption on the data information, obtain the encrypted data and store it in a file storage system, and upload the storage information to an alliance chain; in response to an access request, obtain the storage information through the alliance chain to download the encrypted data from the file storage system based on the storage information; perform a first data decryption and a second data decryption on the encrypted data to obtain the data information of the target device, and provide a target device digital identity information secure sharing method and platform based on an alliance chain and a file storage system, which can safely and reliably store the data information of the target device, greatly reduce development costs, and improve user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] The drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present application, and are used together with the specification to explain the principles of the present application. In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments are briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative labor.

[0035] Figure 1 This is a flow chart of a data processing method according to an embodiment of the present application.

[0036] Figure 2 This is a schematic diagram of the data processing platform architecture of an embodiment of the present application.

[0037] Figure 3 A schematic diagram of information encryption storage and chain uploading according to an embodiment of the present application.

[0038] Figure 4 This is a schematic diagram of information decryption and acquisition according to an embodiment of the present application.

[0039] Figure 5 This is a block diagram of a data processing platform according to an embodiment of the present application.

[0040] The realization of the purpose, functional features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. The above-mentioned drawings have shown clear embodiments of this application, which will be described in more detail later. These drawings and textual descriptions are not intended to limit the scope of the concept of this application in any way, but to illustrate the concept of this application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION

[0041] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0042] It should be noted that, in this article, the terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element. In addition, components, features, and elements with the same name in different embodiments of the present application may have the same meaning or different meanings, and their specific meanings need to be determined by their explanation in the specific embodiment or further combined with the context of the specific embodiment.

[0043] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0044] First embodiment

[0045] The present application provides a data processing method. Figure 1 This is a flow chart of a data processing method according to an embodiment of the present application.

[0046] like Figure 1 As shown, in one embodiment, the data processing method includes:

[0047] S10: In response to a registration request of the target device, a first public key and a first private key are obtained through a first algorithm, and a second public key and a second private key are obtained through a second algorithm. The first public key and the second private key are used to perform data decryption, and the first private key and the second public key are used to perform data encryption.

[0048] Exemplarily, the information sharing platform of the target device's digital identity information serves as a node in the alliance chain. After registration, it will obtain a platform-specific public-private key pair (PKp, SKp) through an encryption algorithm. As the owner of the target device's identity information, the user will also obtain an exclusive public-private key pair (PKo, SKo) after registration. Exemplarily, ECC (elliptic curve cryptosystem) is an asymmetric encryption algorithm. Under the same key length, the security strength of ECC is much higher than other cryptographic systems; under the same security conditions, the key length used by ECC is shorter, and the demand for bandwidth and storage space is smaller. It should be noted that the first algorithm and the second algorithm can be the same algorithm or different algorithms. The corresponding encryption algorithm can be selected and replaced according to encryption needs, and this application does not limit this.

[0049] The target device can be a lathe equipment, smart vehicle, smart home equipment, computer equipment, engineering machinery equipment and other digital devices that can generate IoT data. This application is explained by taking engineering machinery equipment as an example. The engineering machinery equipment of this embodiment includes traditional engineering machinery vehicles, and also includes new energy vehicles used in the field of engineering machinery, such as new energy mixer trucks, new energy pump trucks, new energy excavators, etc.; in addition, the engineering machinery vehicles of this embodiment are also intelligent networked vehicles. The engineering machinery vehicles include sensing / perception systems, communication systems, etc., and the vehicle operation data and vehicle surrounding environment information are collected through the sensing / perception system in the vehicle, and the network connection with other vehicles and the cloud is realized through the communication system, and the collected vehicle operation data, vehicle surrounding environment information, etc. are shared to the cloud and other authorized vehicles to realize data sharing, remote analysis, intelligent driving and other operations.

[0050] S20: Retrieve the data information of the target device, perform the first data encryption and the second data encryption on the data information to obtain encrypted data, send the encrypted data to the file storage system for storage, obtain the storage information corresponding to the encrypted data, and then upload the storage information to the alliance chain.

[0051] The file storage system can be an IPFS file system. IPFS is an interplanetary file system, which is a new type of distributed hypermedia transmission system based on content addressing. IPFS provides a weakly redundant, high-performance cluster storage solution. Through a distributed hash table (DHT), a block exchange protocol (BitTorrent) and a self-verifying file system (SFS), it is a new distributed storage mode that is faster and more secure. The block data is distributedly stored using IPFS, and the IPFS distributed storage method includes: dividing the block data generated by packaging, encrypting the distinguishing data using a heavy encryption algorithm, and then using the IPFS system to store the encrypted block data in shards, calculating the unique hash value of the block data stored in each shard, and encrypting the unique hash value of the block data and returning it.

[0052] Blockchain technology is a major innovative technology in the research and development of new generation information technology. Its characteristics of "unalterable", "full traceability", "distributed sharing" and "contract intelligence" have established a trust mechanism in the Internet. The decentralized design makes the data unalterable and the security is guaranteed. This invention is based on the alliance blockchain Fabric, provided by DigitalAsset and IBM, and is a representative of the alliance chain. It inherits the characteristics of "unalterable" and "full traceability" of the blockchain, and constrains the absolute "decentralization" of the blockchain, allowing only the various institutions in the chain to transfer transaction data, and other non-chain institutions have no right to access, ensuring the security and reliability of the data.

[0053] For example, the multidimensional data of the target device user (Multidimensional User Data, abbreviated as MUD, includes commonly used sensitive information of mechanical equipment such as positioning information, equipment number, etc., and also includes behavioral data accumulated by the target device user such as work trajectory data, equipment operation data, equipment log data, etc.), all these target device business data are constantly accumulated and increased.

[0054] This embodiment stores the encrypted data that has been encrypted twice in a file storage system and uploads the storage information to the alliance chain. This can reduce the data burden of the alliance chain in the transaction broadcast process while ensuring data security and improve data processing efficiency.

[0055] S30: In response to obtaining the access request, obtaining the storage information through the alliance chain to download the encrypted data from the file storage system based on the storage information.

[0056] For example, if the target device owner himself or a third-party system wants to obtain historical data of previous user information, the uploaded encrypted data can be obtained from the consortium chain and IPFS network.

[0057] S40: Perform first data decryption and second data decryption on the encrypted data to obtain data information of the target device.

[0058] Exemplarily, corresponding to the two encryption processes, two decryption processes are respectively performed to obtain corresponding decrypted data based on the encrypted data, thereby obtaining the original data information of the target device.

[0059] In this embodiment, by registering the target device on the information sharing platform, obtaining the first public key and the first private key through the first algorithm, and obtaining the second public key and the second private key through the second algorithm; retrieving the data information of the target device, performing the first data encryption and the second data encryption on the data information, obtaining the encrypted data and storing it in the file storage system, and uploading the storage information to the alliance chain; in response to the access request, obtaining the storage information through the alliance chain to download the encrypted data from the file storage system based on the storage information; performing the first data decryption and the second data decryption on the encrypted data to obtain the data information of the target device, a target device digital identity information secure sharing method and platform based on the alliance chain and IPFS is provided, which can safely and reliably store the data information of the target device, greatly reduce the development cost, and improve the user experience.

[0060] Figure 2 This is a schematic diagram of the data processing platform architecture of an embodiment of the present application.

[0061] Optionally, after the step of obtaining the first public key and the first private key by using the first algorithm in response to the registration request of the target device, and obtaining the second public key and the second private key by using the second algorithm, the method includes:

[0062] Save the first private key and send the first public key to the alliance chain

[0063] Please refer to Figure 2 For example, the information sharing platform of digital identity information of construction machinery equipment is a node in the alliance chain. After registration, it will obtain the platform-specific public-private key pair (PKp, SKp) through the ECC algorithm, where the subscript p represents the English word platform, indicating the information sharing platform. PKp is published to the alliance chain and used to decrypt data, and the hash value of the public key is used as the identity authentication of the node. SKp is saved by the information sharing platform of digital identity information of construction machinery as a proof of responsibility for the data.

[0064] Optionally, after the step of obtaining the first public key and the first private key by using a first algorithm and obtaining the second public key and the second private key by using a second algorithm in response to the registration request of the target device, the method includes:

[0065] The second public key is sent to the alliance chain, and the second private key is sent to the target device for storage.

[0066] Please continue to refer to Figure 2 As the owner of the target device identity information, the user also obtains a unique public-private key pair (PKo,SKo) after registration, where the subscript o represents the English word owner. PKo is published to the alliance chain to encrypt its own data. SKo is kept privately by the user and can only be decrypted with the user's authorization. This ensures that the data ownership is in the hands of the user.

[0067] It should be noted that in Figure 2 In an embodiment, the equipment owner (user) of the construction machinery equipment can directly establish a data link and process with the IPFS or alliance chain through the target device terminal or other authenticated smart terminals, or can implement the various data processing steps of this application through operations on the information sharing platform.

[0068] Figure 3 A schematic diagram of information encryption storage and chain uploading according to an embodiment of the present application.

[0069] like Figure 3 As shown, optionally, the storage information includes a data hash value of the target device identity information and an address index of the file storage system storing data; before the process of retrieving the data information of the target device, performing the first data encryption and the second data encryption on the data information, obtaining the encrypted data and storing it in the file storage system, obtaining the storage information and uploading the storage information to the alliance chain, further includes:

[0070] A file storage system is set up to store the encrypted data, and a consortium chain is set up to store the data hash value of the target device identity information and the address index.

[0071] Please refer to Figure 3 In this embodiment, a file storage system and a consortium chain are set up, and an information sharing platform for the digital identity information of engineering machinery and equipment is combined to form a data security network platform. The encrypted data that has been encrypted twice is stored in the file storage system, and the storage information is uploaded to the consortium chain. This can reduce the data burden of the consortium chain in the transaction broadcast process while ensuring data security, and improve data processing efficiency.

[0072] Optionally, the step of retrieving the data information of the target device, performing the first data encryption and the second data encryption on the data information, obtaining the encrypted data and storing it in the file storage system, obtaining the storage information and uploading the storage information to the alliance chain includes:

[0073] Performing hash calculation on the data information using a third algorithm to obtain the data hash value;

[0074] Upload the data hash value to the alliance chain.

[0075] Please continue to refer to Figure 3 For example, the original data (MUD) of the data information of the target device is hashed using the SM3 algorithm to obtain an original data hash value HMUD as a data hash value. The obtained original data hash value HMUD is recorded as a data hash value on the alliance chain.

[0076] Optionally, the step of retrieving the data information of the target device, performing the first data encryption and the second data encryption on the data information, obtaining the encrypted data and storing it in the file storage system, obtaining the storage information and uploading the storage information to the alliance chain, further includes:

[0077] Performing the first data encryption on the data information using the second public key to obtain pre-encrypted data;

[0078] Using the first private key to perform the second data encryption on the pre-encrypted data to obtain the encrypted data;

[0079] Uploading the encrypted data to the file storage system, and receiving the address index generated and returned by the file storage system according to the stored file content;

[0080] The address index is uploaded to the alliance chain.

[0081] Please continue to refer to Figure 3 For example, in the process of performing confidentiality calculation on the original data, the data is first encrypted with the user's second public key PKo, and then encrypted again with the platform's first private key SKp. The obtained encrypted data is uploaded to IPFS; IPFS will generate a unique hash value based on the file content and return the hash value of the storage address. The corresponding file in IPFS can be addressed based on the hash value of the address. The returned address hash value is recorded as an address index on the alliance chain.

[0082] Optionally, the step of retrieving the data information of the target device, performing the first data encryption and the second data encryption on the data information, obtaining the encrypted data and storing it in the file storage system, obtaining the storage information and uploading the storage information to the alliance chain, further includes:

[0083] The storage information is uploaded to the alliance chain, so that the alliance chain associates and records the data hash value and the address index and broadcasts the transaction to obtain the block code returned by the alliance chain.

[0084] For example, the original data hash value HMUD and the returned address hash value are recorded on the alliance chain and broadcast in the form of a transaction. The alliance chain will return the block ID (block code) of the data. At this point, the encrypted storage and chain-up process of the target device identity information is completed. After this process, all third-party systems or institutions can only obtain the information data of the target device after user authorization, and all access records will be recorded and retained. At the same time, IPFS introduces a version control model, based on which information involving different versions of the same information can be traced.

[0085] Figure 4 This is a schematic diagram of information decryption and acquisition according to an embodiment of the present application.

[0086] Optionally, in response to obtaining the access request, obtaining the storage information through the alliance chain to download the encrypted data from the file storage system based on the storage information includes:

[0087] In response to obtaining the access request, accessing the alliance chain, so that the alliance chain sends the data hash value and the address index based on the access request and synchronously records the access;

[0088] According to the acquired address index, the storage node is addressed and located through the file storage system to download the encrypted data.

[0089] Please refer to Figure 4 ,For example, if the target device owner himself or a third-party system wants to obtain the historical data of previous user information, the encrypted data of the uploaded MUD can be obtained from the consortium chain and IPFS network.

[0090] Optionally, before performing the first data decryption and the second data decryption on the encrypted data to obtain the data information of the target device, authorization confirmation information is obtained.

[0091] For example, based on the user's ownership of the data, access to the consortium chain may be allowed after identity verification to avoid information leakage.

[0092] Optionally, the step of performing first data decryption and second data decryption on the encrypted data to obtain data information of the target device includes:

[0093] Based on the authorization confirmation information, decrypt the first data using the first public key and decrypt the second data using the second private key;

[0094] Perform hash operation on the decrypted data to obtain the verification hash value;

[0095] Based on the verification hash value, the data hash value is compared to confirm the backed-up data information of the target device.

[0096] Please continue to refer to Figure 4 For example, an authorized user accesses the alliance chain, obtains the original data hash value HMUD of the original data MUD and the address hash value of the original file storage in IPFS, and this access is also synchronously recorded on the blockchain. Through the address hash value, the corresponding storage node is located in the file storage system network with content addressing, and the encrypted data SMUD is downloaded.

[0097] Then use the first public key PKp of the engineering machinery digital identity information sharing platform for the first decryption, and then use the user's second private key SKo for the second decryption. If any third party needs to apply for data decryption, decryption can be allowed after authorization by the device owner himself.

[0098] Exemplarily, a hash operation is performed on the decrypted original data MUD, and the hash value is compared with the data hash value HMUD authorized to be obtained in the alliance chain. If they are the same, it has not been tampered with; otherwise, it means that the user's engineering machinery equipment digital identity information has been tampered with.

[0099] This application adopts a combination of blockchain alliance chain storage and IPFS network storage, using the alliance blockchain to store the hash value of the digital identity information of the target device, recording the data storage and search process, so that the data stored on the blockchain cannot be tampered with at will, and can be used as evidence to verify the originality and liquidity of the target device identity information. The IPFS network protocol, which is also based on the decentralized idea, implements block storage of data. All stored content must be verified by the node, and Merkle DAG is used to build the logical structure between data. Once the data is tampered with or damaged, it will immediately cause the hash value to change.

[0100] The ownership of the digital identity data information of the target device has been returned to the user from the previous business parties. All systems that need to use user information can be accessed only after authorization by the user (information owner), and the access authorization record is recorded in the alliance chain, which solves the problem of digital identity information security and easy theft of engineering machinery in traditional centralized storage methods. Through distributed storage of digital identity information of engineering machinery and equipment, the authorization mechanism ensures the continuity of data storage and the security of data sharing, is more fair, and saves storage resources.

[0101] Second embodiment

[0102] The present application also provides a data processing platform for implementing the above-mentioned data processing method. Figure 5 This is a block diagram of a data processing platform according to an embodiment of the present application.

[0103] like Figure 5 As shown, the data processing system includes a registration unit 1, an encryption unit 2, a communication unit 3 and a decryption unit 4. The data processing system is also connected to a target device 5, an alliance chain 6 and a file storage system 7 through a data network.

[0104] The registration unit 1 is used to obtain a first public key and a first private key through a first algorithm and obtain a second public key and a second private key through a second algorithm according to a registration request initiated by the target device 5. The first public key and the second private key are used to perform data decryption, and the first private key and the second public key are used to perform data encryption.

[0105] The encryption unit 2 is used to retrieve data information of the target device 5, perform first data encryption and second data encryption on the data information, and obtain encrypted data.

[0106] The communication unit 3 is used to send the encrypted data to the file storage system 7 for storage, so as to obtain storage information and upload the storage information to the alliance chain 6.

[0107] The target device 5 or other user terminal may initiate a data access request. The communication unit 3 also obtains the storage information through the alliance chain 6 according to the access request, so as to download the encrypted data from the file storage system 7 based on the storage information.

[0108] The decryption unit 4 is used to perform first data decryption and second data decryption on the encrypted data to obtain data information of the target device 5. After obtaining the decrypted data information, the data processing system can forward it to the target device 5 or other user terminal that initiates the data access request, thereby completing this access task.

[0109] Third embodiment

[0110] The present application also provides a data processing system, comprising: a processor and a memory storing a computer program, and when the processor runs the computer program, the above-mentioned data processing method is implemented.

[0111] The present application also provides a readable storage medium storing a computer program, which implements the steps of the above method when executed by a processor.

[0112] The data processing method, data processing system and readable storage medium provided by the present application register a target device on an information sharing platform, obtain a first public key and a first private key through a first algorithm, and obtain a second public key and a second private key through a second algorithm; retrieve data information of the target device, perform a first data encryption and a second data encryption on the data information, obtain the encrypted data and store it in a file storage system, and upload the storage information to an alliance chain; in response to an access request, obtain the storage information through the alliance chain to download the encrypted data from the file storage system based on the storage information; perform a first data decryption and a second data decryption on the encrypted data to obtain the data information of the target device, and provide a target device digital identity information secure sharing method and platform based on an alliance chain and a file storage system, which can safely and reliably store the data information of the target device, greatly reduce development costs, and improve user experience.

[0113] It should be noted that in the present application, step codes such as S10, S20, etc. are used for the purpose of expressing the corresponding content more clearly and concisely, and do not constitute a substantial limitation on the sequence. When implementing the step, those skilled in the art may execute S20 first and then S10, etc., but these should all be within the scope of protection of the present application.

[0114] In the embodiments of the system and storage medium provided in the present application, all technical features of any of the above-mentioned method embodiments may be included, and the expanded and explained contents of the specification are basically the same as those of the above-mentioned method embodiments, and will not be repeated here.

[0115] The embodiment of the present application further provides a computer program product, which includes a computer program code. When the computer program code runs on a computer, the computer executes the methods in the various possible implementation modes described above.

[0116] An embodiment of the present application also provides a chip, including a memory and a processor, the memory is used to store computer programs, and the processor is used to call and run the computer programs from the memory, so that a device equipped with the chip executes the methods in various possible implementation modes as described above.

[0117] It is understood that the above scenarios are only examples and do not constitute a limitation on the application scenarios of the technical solutions provided in the embodiments of the present application. The technical solutions of the present application can also be applied to other scenarios. For example, it is known to those skilled in the art that with the evolution of the system architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.

[0118] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0119] The steps in the method of the embodiment of the present application can be adjusted in order, combined and deleted according to actual needs.

[0120] The units in the device of the embodiment of the present application can be merged, divided and deleted according to actual needs.

[0121] In the present application, the same or similar terminology concepts, technical solutions and / or application scenario descriptions are generally described in detail only the first time they appear. When they appear again later, they are generally not repeated for the sake of brevity. When understanding the technical solutions and other contents of the present application, for the same or similar terminology concepts, technical solutions and / or application scenario descriptions that are not described in detail later, reference can be made to the previous related detailed descriptions.

[0122] In the present application, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0123] The various technical features of the technical solution of the present application can be arbitrarily combined. In order to make the description concise, not all possible combinations of the various technical features in the above 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 the present application.

[0124] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A data processing method, It is characterized in that Applied to the information sharing platform; the data processing method includes: In response to a registration request of a target device, obtaining a first public key and a first private key by a first algorithm, and obtaining a second public key and a second private key by a second algorithm, wherein the first public key and the second private key are used to perform data decryption, and the first private key and the second public key are used to perform data encryption; Retrieving data information of the target device, performing first data encryption and second data encryption on the data information to obtain encrypted data, sending the encrypted data to a file storage system for storage, and after obtaining storage information corresponding to the encrypted data, uploading the storage information to the alliance chain; In response to the access request, obtaining the storage information through the alliance chain to download the encrypted data from the file storage system based on the storage information; A first data decryption and a second data decryption are performed on the encrypted data to obtain data information of the target device.

2. The data processing method according to claim 1, It is characterized in that After the steps of responding to the registration request of the target device, obtaining the first public key and the first private key by using the first algorithm, and obtaining the second public key and the second private key by using the second algorithm, the method includes: Saving the first private key and sending the first public key to the alliance chain; and / or, The second public key is sent to the alliance chain, and the second private key is sent to the target device for storage.

3. The data processing method according to claim 1, It is characterized in that The storage information includes a data hash value of the target device identity information and an address index of the file storage system storing data.

4. The data processing method according to claim 3, It is characterized in that The step of retrieving the data information of the target device, performing the first data encryption and the second data encryption on the data information, obtaining the encrypted data and storing it in the file storage system, obtaining the storage information and uploading the storage information to the alliance chain includes: Performing hash calculation on the data information using a third algorithm to obtain the data hash value; Upload the data hash value to the alliance chain.

5. The data processing method according to claim 4, It is characterized in that The step of retrieving the data information of the target device, performing the first data encryption and the second data encryption on the data information, obtaining the encrypted data and storing it in the file storage system, obtaining the storage information and uploading the storage information to the alliance chain also includes: Performing the first data encryption on the data information using the second public key to obtain pre-encrypted data; Using the first private key to perform the second data encryption on the pre-encrypted data to obtain the encrypted data; Uploading the encrypted data to the file storage system, and receiving the address index generated and returned by the file storage system according to the stored file content; The address index is uploaded to the alliance chain.

6. The data processing method according to claim 5, It is characterized in that The step of retrieving the data information of the target device, performing the first data encryption and the second data encryption on the data information, obtaining the encrypted data and storing it in the file storage system, obtaining the storage information and uploading the storage information to the alliance chain also includes: The storage information is uploaded to the alliance chain, so that the alliance chain associates and records the data hash value and the address index and broadcasts the transaction to obtain the block code returned by the alliance chain.

7. The data processing method according to any one of claims 3 to 6, It is characterized in that The step of obtaining the storage information through the alliance chain in response to the access request, so as to download the encrypted data from the file storage system based on the storage information, comprises: In response to obtaining the access request, accessing the alliance chain, so that the alliance chain sends the data hash value and the address index based on the access request and synchronously records the access; According to the acquired address index, the storage node is addressed and located through the file storage system to download the encrypted data.

8. The data processing method according to claim 7, It is characterized in that The step of performing first data decryption and second data decryption on the encrypted data to obtain data information of the target device comprises: Based on the authorization confirmation information, decrypt the first data using the first public key and decrypt the second data using the second private key; Perform hash operation on the decrypted data to obtain the verification hash value; Based on the verification hash value, the data hash value is compared to confirm the backed-up data information of the target device.

9. A data processing system, It is characterized in that include: A processor and a memory storing a computer program, wherein when the processor runs the computer program, the data processing method according to any one of claims 1 to 8 is implemented.

10. A readable storage medium, It is characterized in that A computer program is stored, and when the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 8 are implemented.