Data processing method and device based on block chain, equipment, storage medium and program product
By using blockchain technology to process and store data between independent systems of financial institutions, the problem of possible data tampering during the circulation process is solved, the secure transmission and storage of data is realized, and the decentralization and storage of the blockchain are realized. The non-tamperability feature, combined with the credibility of the central node, ensures data security.
Patent Information
- Application Number
- CN202410713698.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-04
- Publication Date
- 2024-08-23
AI Technical Summary
During the flow of business data between multiple independent systems in financial institutions, data may be tampered with, making it impossible to guarantee data security.
Using a blockchain-based data processing method, the initial business data is queried from the blockchain network through the query module. The processing module desensitizes the data and generates target business data that matches the data requester, and stores it in the area. The blockchain network uses the decentralization, non-tampering and traceability characteristics of the blockchain, combined with the credibility of the central node, to ensure the safe transmission of data.
It effectively avoids tampering during data transfer, improves data security, and ensures reliable transmission of data between institutions.
Smart Images

Figure CN118535616A
Abstract
Description
Technical Field
[0001] The present disclosure relates to the fields of blockchain technology, information security technology, big data technology and financial technology, and more specifically to a blockchain-based data processing method, device, equipment, storage medium and program product. Background Art
[0002] In actual business scenarios, business data flows between multiple independent systems belonging to the same financial institution.
[0003] In the process of implementing the concept of the present disclosure, the inventors discovered that there are at least the following problems in the related art: when business data flows between independent systems, users may tamper with the data, so the security of the data cannot be guaranteed. Summary of the invention
[0004] In view of the above problems, the present disclosure provides a blockchain-based data processing method, device, equipment, medium and program product.
[0005] One aspect of the present disclosure provides a blockchain-based data processing method, including: in response to a data viewing request broadcasted by a data requester in a blockchain network, querying initial business data uploaded by a data provider from the blockchain network; processing the initial business data to generate target business data that matches the data viewing authority of the data requester; and storing the target business data in the blockchain network so that the data requester can query the target business data from the blockchain network.
[0006] According to an embodiment of the present disclosure, processing the initial business data to generate target business data that matches the data viewing permissions of the data requester includes: judging whether the initial business data is sensitive data based on predetermined key fields; if the initial business data is sensitive data, desensitizing the initial business data based on the data viewing permissions to generate target business data that matches the data viewing permissions of the data requester.
[0007] According to an embodiment of the present disclosure, judging whether initial business data is sensitive data based on predetermined key fields includes: matching the initial business data with the predetermined key fields; when the initial business data includes the predetermined key fields, the initial business data is sensitive data; when the initial business data does not include the predetermined key fields, the initial business data is not sensitive data.
[0008] According to an embodiment of the present disclosure, desensitizing initial business data based on data viewing permissions includes: determining sensitive fields in the initial business data based on the data viewing permissions; and encrypting the sensitive fields.
[0009] According to an embodiment of the present disclosure, the above-mentioned blockchain-based data processing method also includes: adding a data tag to the initial business data, and the data tag is used to characterize the identity information of the data requester.
[0010] According to an embodiment of the present disclosure, adding a data tag to the initial business data includes: encrypting predetermined identity information for the data requester to generate a data tag for the initial business data.
[0011] According to an embodiment of the present disclosure, the above-mentioned blockchain-based data processing method also includes: packaging the initial business data with data tags added into blocks and recording them on the blockchain network.
[0012] According to an embodiment of the present disclosure, the above-mentioned blockchain-based data processing method also includes: adding a timestamp to the initial business data, wherein the timestamp is used to characterize the moment when the data requester queries the target business data.
[0013] According to an embodiment of the present disclosure, the above-mentioned blockchain-based data processing method also includes: packaging the initial business data with a timestamp into blocks and recording them on the blockchain network.
[0014] Another aspect of the present disclosure provides a blockchain-based data processing device, including: a query module, used to query the initial business data uploaded by a data provider from the blockchain network in response to a data viewing request broadcasted by a data requester in the blockchain network; a processing module, used to process the initial business data and generate target business data that matches the data viewing authority of the data requester; and a storage module, used to store the target business data in the blockchain network so that the data requester can query the target business data from the blockchain network.
[0015] A third aspect of the present disclosure provides an electronic device, comprising: one or more processors; and a memory for storing one or more computer programs, wherein the one or more processors execute the one or more computer programs to implement the steps of the above method.
[0016] The fourth aspect of the present disclosure further provides a computer-readable storage medium having a computer program or instructions stored thereon, which implements the steps of the above method when the above computer program or instructions are executed by a processor.
[0017] The fifth aspect of the present disclosure further provides a computer program product, including a computer program or instructions, which implement the steps of the above method when the above computer program or instructions are executed by a processor.
[0018] According to the data processing method, device, equipment, medium and program product based on blockchain provided by the present disclosure, the data provider uploads the initial business data to the blockchain network, the central node stores the processed initial business data to the blockchain network, and the data requester queries the target business data from the blockchain network. In this way, data can be transferred between institutions based on the blockchain network, so that the decentralized, tamper-proof and traceable characteristics of the blockchain system can be fully utilized to avoid tampering with data during data transfer. Since the central node is a more trusted node, the central node sends the data instead of directly sending the data to the data requester by the data provider, which can further ensure the security of the data and avoid data tampering. In addition, processing the data based on the data viewing authority can avoid the data requester without data viewing authority from viewing the data, thereby further improving the security of the data. Therefore, at least partially solves the technical problem that the data may be tampered with during the existing data flow process, and achieves the technical effect of improving data security. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] The above contents and other objects, features and advantages of the present disclosure will become more apparent through the following description of the embodiments of the present disclosure with reference to the accompanying drawings, in which:
[0020] Figure 1 The application scenario diagram of the blockchain-based data processing method, device, equipment, medium and program product according to the embodiment of the present disclosure is schematically shown;
[0021] Figure 2 The flowchart of the data processing method based on blockchain according to an embodiment of the present disclosure is schematically shown;
[0022] Figure 3 A flowchart schematically illustrates a method for generating target business data that matches the data viewing authority of a data requester according to an embodiment of the present disclosure;
[0023] Figure 4 A flowchart of a blockchain-based data processing method according to another embodiment of the present disclosure is schematically shown;
[0024] Figure 5 A block diagram schematically shows a structure of a data processing device based on blockchain according to an embodiment of the present disclosure; and
[0025] Figure 6 A block diagram of an electronic device suitable for implementing a blockchain-based data processing method according to an embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION
[0026] Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the present disclosure. In the following detailed description, for ease of explanation, many specific details are set forth to provide a comprehensive understanding of the embodiments of the present disclosure. However, it is apparent that one or more embodiments may also be implemented without these specific details. In addition, in the following description, descriptions of known structures and technologies are omitted to avoid unnecessary confusion of the concepts of the present disclosure.
[0027] The terms used herein are only for describing specific embodiments and are not intended to limit the present disclosure. The terms "comprise", "include", etc. used herein indicate the existence of features, steps, operations and / or components, but do not exclude the existence or addition of one or more other features, steps, operations or components.
[0028] All terms (including technical and scientific terms) used herein have the meanings commonly understood by those skilled in the art unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification and should not be interpreted in an idealized or overly rigid manner.
[0029] When using expressions such as "at least one of A, B, and C, etc.", they should generally be interpreted according to the meaning of the expression commonly understood by those skilled in the art (for example, "a system having at least one of A, B, and C" should include but is not limited to a system having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, C, etc.).
[0030] In the technical solution of the present disclosure, the user information (including but not limited to user personal information, user image information, user device information, such as location information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved are all information and data authorized by the user or fully authorized by all parties, and the collection, storage, use, processing, transmission, provision, disclosure and application of the relevant data comply with relevant laws, regulations and standards, take necessary confidentiality measures, do not violate public order and good morals, and provide corresponding operation entrances for users to choose to authorize or refuse.
[0031] In the scenario of using personal information for automated decision-making, the methods, devices, and systems provided by the embodiments of the present disclosure provide users with corresponding operation portals for users to choose to agree or reject the automated decision-making results; if the user chooses to reject, the expert decision-making process will be entered. The expression "automated decision-making" here refers to the activity of automatically analyzing and evaluating a person's behavioral habits, interests and hobbies, or economic, health, credit status, etc. through computer programs, and making decisions. The expression "expert decision-making" here refers to the activity of making decisions by people who specialize in a certain field, have specialized experience, knowledge and skills, and have reached a certain level of professionalism.
[0032] It should be noted that the blockchain-based data processing method and device, electronic device and medium of the embodiments of the present disclosure can be applied to the fields of blockchain technology, information security technology, big data technology and financial technology technology, and can also be used in any field other than the fields of blockchain technology, information security technology, big data technology and financial technology technology. The embodiments of the present disclosure do not limit the application fields of the above-mentioned blockchain-based data processing method and device, electronic device and medium.
[0033] An embodiment of the present disclosure provides a blockchain-based data processing method, comprising: in response to a data viewing request broadcasted by a data requester in a blockchain network, querying initial business data uploaded by a data provider from the blockchain network; processing the initial business data to generate target business data that matches the data viewing authority of the data requester; and storing the target business data in the blockchain network so that the data requester can query the target business data from the blockchain network.
[0034] Figure 1 The application scenario diagram of the blockchain-based data processing method, device, equipment, medium and program product according to an embodiment of the present disclosure is schematically shown.
[0035] like Figure 1 As shown, the application scenario according to this embodiment may include a blockchain network, which includes a data requester 101, a data provider 102, and a central node 103. The data requester 101, the data provider 102, and the central node 103 are all nodes in the same blockchain network.
[0036] In the scenario of the embodiment of the present disclosure, the data requester 101 can initiate a data viewing request. The data provider 102 is used to upload the business data to the blockchain network. The central node 103 is used to query the initial business data uploaded by the data provider from the blockchain network, generate target business data, and store the target business data in the blockchain network. The central node 103 can be a relatively stable and reliable node in the network. The central node 103 can be determined, for example, by voting.
[0037] It should be understood that Figure 1 The number of data requesters 101, data providers 102, and central nodes 103 in FIG. 1 is only for illustration purposes. The number of data requesters 101, data providers 102, and central nodes 103 may be adjusted according to implementation requirements.
[0038] The following will be based on Figure 1 The scene described by Figure 2~Figure 4 The data processing method based on blockchain in an embodiment of the present disclosure is described in detail.
[0039] Figure 2 The flowchart of the blockchain-based data processing method according to an embodiment of the present disclosure is schematically shown.
[0040] like Figure 2 As shown, the data processing method based on blockchain of this embodiment includes operations S210 to S230. The execution subject of the method of this embodiment is the central node.
[0041] In operation S210, in response to a data viewing request broadcasted by a data requester in a blockchain network, initial business data uploaded by a data provider is queried from the blockchain network.
[0042] In operation S220, the initial business data is processed to generate target business data that matches the data viewing authority of the data requester.
[0043] In operation S230, the target business data is stored in the blockchain network so that the data requester can query the target business data from the blockchain network.
[0044] According to the embodiments of the present disclosure, the above method of the embodiments of the present disclosure can be applied to application scenarios in which data is transferred between different systems. In the process of business data flowing between independent systems, users may tamper with the data, so the security of the data cannot be guaranteed. On this basis, each system can store the relevant business data in the blockchain and transfer the data through the central node to improve the security of the data.
[0045] According to an embodiment of the present disclosure, in operation S210, a blockchain network may include multiple data providers. Each data provider may correspond to an independent system. Each data provider may upload business data generated in an actual business scenario to the blockchain network. When a data requester requests to view data, the central node may query the business data uploaded by the data provider from the blockchain network. The central node may be a relatively stable and trustworthy node in the network.
[0046] According to an embodiment of the present disclosure, in operation S220, in order to ensure data security, the central node may process the initial business data to generate target business data that matches the data viewing authority of the data requester. For example, the initial business data may be desensitized based on the data viewing authority of the data requester.
[0047] According to an embodiment of the present disclosure, in operation S230, the initial business data after desensitization processing is the target business data. The target business data can be stored in the blockchain network. The data requester can query the target business data from the blockchain network. Based on this, the data requester can only obtain the target business data generated after desensitization processing from the blockchain network, and cannot view the unprocessed initial business data. This can prevent the data requester who has no data viewing authority for the initial business data from obtaining the initial business data, thereby improving the security of the data.
[0048] According to the embodiments of the present disclosure, the data provider uploads the initial business data to the blockchain network, the central node stores the processed initial business data to the blockchain network, and the data requester queries the target business data from the blockchain network. In this way, data can be transferred between institutions based on the blockchain network, so that the decentralized, tamper-proof and traceable characteristics of the blockchain system can be fully utilized to avoid tampering with data during data transfer. Since the central node is a more trusted node, the central node sends the data instead of directly sending the data to the data requester by the data provider, which can further ensure the security of the data and avoid data tampering. In addition, processing the data based on data viewing permissions can prevent data requesters without data viewing permissions from viewing the data, thereby further improving the security of the data.
[0049] Figure 3 The flowchart of the method for generating target business data matching the data viewing authority of the data requester according to an embodiment of the present disclosure is schematically shown.
[0050] like Figure 3 As shown, the method of generating target business data matching the data viewing authority of the data requester in this embodiment includes operations S310 to S340. The execution subject of the method in this embodiment is a central node.
[0051] In operation S310, initial service data is queried.
[0052] In operation S320, it is determined whether the initial business data is sensitive data. If the initial business data is not sensitive data, there is no need to perform desensitization processing on the initial business data.
[0053] In operation S330, when the initial business data is sensitive data, desensitization processing is performed on the initial business data.
[0054] In operation S340, target business data is generated.
[0055] According to an embodiment of the present disclosure, in operations S310 to S320, after the central node queries the initial business data uploaded by the data provider from the blockchain network, the central node can determine whether the initial business data is sensitive data based on predetermined key fields.
[0056] According to an embodiment of the present disclosure, in operations S330 to S340, when the initial business data is sensitive data, the initial business data can be desensitized based on data viewing permissions to generate target business data that matches the data viewing permissions of the data requester.
[0057] According to an embodiment of the present disclosure, specifically, judging whether the initial business data is sensitive data based on the predetermined key field includes: matching the initial business data with the predetermined key field. In the case where the initial business data includes the predetermined key field, the initial business data is sensitive data; in the case where the initial business data does not include the predetermined key field, the initial business data is not sensitive data.
[0058] According to an embodiment of the present disclosure, sensitive data may include, for example, financial data, account data, software production data, test data, vulnerability data, etc., but is not limited thereto and may also include other types of data.
[0059] According to the embodiments of the present disclosure, key fields can be pre-set, and when the initial business data contains the predetermined key fields, the initial business data is sensitive data. Specifically, a distributed data processing engine can be used to batch process multiple business data, and then a resilient distributed data set can be used to define key fields. For example, user identity information can be pre-defined as a key field, and when the initial business data contains the user identity information, the initial business data is sensitive data.
[0060] According to the embodiments of the present disclosure, in actual business scenarios, there may be situations where sensitive data obtained based on pre-defined key fields is not actually sensitive data. Therefore, the staff can review the situation of judging the initial business data based on the predetermined key fields, and further adjust the definition of the key fields based on the review results to improve the accuracy of the sensitive data screening process.
[0061] According to the embodiments of the present disclosure, by matching the initial business data with the predetermined key fields, sensitive data can be screened out simply and efficiently.
[0062] According to an embodiment of the present disclosure, specifically, desensitizing the initial business data based on the data viewing authority includes: determining sensitive fields in the initial business data based on the data viewing authority; and encrypting the sensitive fields.
[0063] According to an embodiment of the present disclosure, in order to ensure data security, in the case where the initial business data is sensitive data, the initial business data may be desensitized.
[0064] According to an embodiment of the present disclosure, different data requesters may have different data viewing permissions. Different data viewing permissions may correspond to different sensitive fields. Since the data requester has no permission to view the sensitive fields in the initial business data, it is necessary to desensitize the sensitive fields in the initial business data. For example: data requester A requests to obtain certain initial business data, and data requester A has low data viewing permissions. The sensitive fields corresponding to data requester A include user information and software testing information. Since data requester A has no permission to view user information and software testing information, it is necessary to desensitize the user information and software testing information in the initial business data.
[0065] According to an embodiment of the present disclosure, initial business data is desensitized based on the data viewing authority of the data requester, which can improve data security.
[0066] According to an embodiment of the present disclosure, for employees who are expected to leave, their leaving period can be determined based on the leaving time, employee position, etc., and their data viewing permissions can be re-determined based on the leaving period. For example, the data viewing permissions of employees to be resigned can be reduced to prevent them from accessing more important data, thereby preventing them from leaking important data. For example: Employee A has a higher data viewing permission, but Employee A has planned to leave. Therefore, the leaving period of Employee A can be determined, and his data viewing permission can be re-determined based on the leaving period. For example, the data viewing permission of Employee A can be reduced to prevent Employee A from accessing more important data.
[0067] According to an embodiment of the present disclosure, employee resignation may cause data leakage. In order to improve data security and reduce the risk of data leakage caused by employee resignation, data viewing permissions can be re-determined based on the employee's resignation period, thereby avoiding important data leakage and improving data security.
[0068] According to an embodiment of the present disclosure, the above-mentioned blockchain-based data processing method also includes: adding a data tag to the initial business data, and the data tag is used to characterize the identity information of the data requester.
[0069] According to an embodiment of the present disclosure, since the data tag can represent the identity information of the data requester, the identity of the data requester who views the initial business data can be determined based on the data tag, which facilitates data tracing.
[0070] According to the embodiments of the present disclosure, further, data tags can be added to the business data that employees have operated during work. Based on the data tags, the identity of the employees who have operated and accessed the business data can be clearly characterized. The business data that employees have operated during work and the corresponding data tags can be stored in the distributed data processing engine.
[0071] According to the embodiments of the present disclosure, further, an operation log can be generated for the operation behavior of the employee during work, and the operation log can include, for example, the operation time, the login ID of the data requester, the operating platform, the name of the software operated, the operating system, etc. The operation log can be stored in the distributed data processing engine. For example: after the data requester queries the target business data from the blockchain network, an operation log can be generated according to the viewing behavior of the data requester. The operation log can include the login ID of the data requester, the operating platform used, the software name, the operating system, and the viewing time, etc.
[0072] According to an embodiment of the present disclosure, specifically, adding a data tag to the initial business data includes: encrypting predetermined identity information for the data requester to generate a data tag for the initial business data.
[0073] According to the embodiments of the present disclosure, after the data requester queries the target business data from the blockchain network, the identity information of the data requester can be obtained, and the identity information of the data requester can be encrypted to obtain a data tag. For example, the SM4 national encryption algorithm can be used for encryption, or other encryption algorithms can be used to encrypt the identity information of the data requester, which is not limited here.
[0074] According to an embodiment of the present disclosure, the above-mentioned blockchain-based data processing method also includes: packaging the initial business data with data tags added into blocks and recording them on the blockchain network.
[0075] Figure 4 The figure schematically shows a flowchart of a blockchain-based data processing method according to another embodiment of the present disclosure.
[0076] like Figure 4 As shown, the blockchain-based data processing method of this embodiment includes operations S410 to S430.
[0077] In operation S410, the data requester queries the target business data from the blockchain network.
[0078] In operation S420, the central node adds a data tag to the initial service data.
[0079] In operation S430, the initial business data with the data tags added is packaged into blocks and recorded on the blockchain network.
[0080] According to an embodiment of the present disclosure, the above-mentioned blockchain-based data processing method also includes: adding a timestamp to the initial business data, wherein the timestamp is used to characterize the moment when the data requester queries the target business data.
[0081] According to an embodiment of the present disclosure, the above-mentioned blockchain-based data processing method also includes: packaging the initial business data with a timestamp into blocks and recording them on the blockchain network.
[0082] According to an embodiment of the present disclosure, by adding a timestamp to the initial business data and recording the initial business data with the timestamp on the blockchain network, the time when the data requester views the initial business data can be determined, further facilitating data tracing.
[0083] Based on the above-mentioned blockchain-based data processing method, the present disclosure also provides a blockchain-based data processing device. Figure 5 The device is described in detail.
[0084] Figure 5 The structural block diagram of a blockchain-based data processing device according to an embodiment of the present disclosure is schematically shown.
[0085] like Figure 5 As shown, the blockchain-based data processing device 500 of this embodiment includes a query module 510, a processing module 520, and a storage module 530.
[0086] The query module 510 is used to query the initial business data uploaded by the data provider from the blockchain network in response to the data viewing request broadcasted by the data requester in the blockchain network. In one embodiment, the query module 510 can be used to perform the operation S210 described above, which will not be repeated here.
[0087] The processing module 520 is used to process the initial business data and generate target business data that matches the data viewing authority of the data requester. In one embodiment, the processing module 520 can be used to perform the operation S220 described above, which will not be repeated here.
[0088] The storage module 530 is used to store the target business data in the blockchain network so that the data requester can query the target business data from the blockchain network. In one embodiment, the storage module 530 can be used to perform the operation S230 described above, which will not be repeated here.
[0089] According to an embodiment of the present disclosure, the processing module includes a judgment submodule and a desensitization submodule.
[0090] The judgment submodule is used to judge whether the initial business data is sensitive data based on predetermined key fields; the desensitizing submodule is used to desensitize the initial business data based on data viewing permissions when the initial business data is sensitive data, and generate target business data that matches the data viewing permissions of the data requester.
[0091] According to an embodiment of the present disclosure, the judgment submodule includes a matching unit.
[0092] The matching unit is used to match the initial business data with the predetermined key field. If the initial business data includes the predetermined key field, the initial business data is sensitive data; if the initial business data does not include the predetermined key field, the initial business data is not sensitive data.
[0093] According to an embodiment of the present disclosure, the desensitizing submodule includes a determination unit and an encryption unit.
[0094] The determination unit is used to determine the sensitive fields in the initial business data based on the data viewing permissions. The encryption unit is used to encrypt the sensitive fields.
[0095] According to an embodiment of the present disclosure, the data processing device of the blockchain also includes a first adding module.
[0096] The first adding module is used to add a data tag to the initial business data, and the data tag is used to represent the identity information of the data requester.
[0097] According to an embodiment of the present disclosure, the first adding module includes an encryption submodule.
[0098] The encryption submodule is used to encrypt the predetermined identity information of the data requester and generate a data label for the initial business data.
[0099] According to an embodiment of the present disclosure, the data processing device of the blockchain also includes a first packaging module.
[0100] The first packaging module is used to package the initial business data with data tags added into blocks and record them on the blockchain network.
[0101] According to an embodiment of the present disclosure, the data processing device of the blockchain also includes a second adding module.
[0102] The second adding module is used to add a timestamp to the initial business data, wherein the timestamp is used to represent the moment when the data requester queries the target business data.
[0103] According to an embodiment of the present disclosure, the data processing device of the blockchain also includes a second packaging module.
[0104] The second packaging module is used to package the initial business data with a timestamp into blocks and record them on the blockchain network.
[0105] According to an embodiment of the present disclosure, any multiple modules among the query module 510, the processing module 520 and the storage module 530 can be combined into one module for implementation, or any one of the modules can be split into multiple modules. Alternatively, at least part of the functions of one or more of these modules can be combined with at least part of the functions of other modules and implemented in one module. According to an embodiment of the present disclosure, at least one of the query module 510, the processing module 520 and the storage module 530 can be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on a chip, a system on a substrate, a system on a package, an application specific integrated circuit (ASIC), or can be implemented by hardware or firmware such as any other reasonable way of integrating or packaging the circuit, or implemented in any one of the three implementation methods of software, hardware and firmware or in any appropriate combination of any of them. Or at least one of the query module 510, the processing module 520 and the storage module 530 can be at least partially implemented as a computer program module, and when the computer program module is run, the corresponding function can be executed.
[0106] Figure 6 A block diagram of an electronic device suitable for implementing a blockchain-based data processing method according to an embodiment of the present disclosure is schematically shown.
[0107] like Figure 6 As shown, the electronic device 600 according to an embodiment of the present disclosure includes a processor 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage part 608 to a random access memory (RAM) 603. The processor 601 may include, for example, a general-purpose microprocessor (e.g., a CPU), an instruction set processor and / or a related chipset and / or a dedicated microprocessor (e.g., an application-specific integrated circuit (ASIC)), etc. The processor 601 may also include an onboard memory for caching purposes. The processor 601 may include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present disclosure.
[0108] In RAM 603, various programs and data required for the operation of electronic device 600 are stored. Processor 601, ROM 602 and RAM 603 are connected to each other via bus 604. Processor 601 performs various operations of the method flow according to the embodiment of the present disclosure by executing the program in ROM 602 and / or RAM 603. It should be noted that the program can also be stored in one or more memories other than ROM 602 and RAM 603. Processor 601 can also perform various operations of the method flow according to the embodiment of the present disclosure by executing the program stored in one or more memories.
[0109] According to an embodiment of the present disclosure, the electronic device 600 may further include an input / output (I / O) interface 605, which is also connected to the bus 604. The electronic device 600 may further include one or more of the following components connected to the input / output (I / O) interface 605: an input portion 606 including a keyboard, a mouse, etc.; an output portion 607 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage portion 608 including a hard disk, etc.; and a communication portion 609 including a network interface card such as a LAN card, a modem, etc. The communication portion 609 performs communication processing via a network such as the Internet. A drive 610 is also connected to the input / output (I / O) interface 605 as needed. A removable medium 611, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 610 as needed, so that a computer program read therefrom is installed into the storage portion 608 as needed.
[0110] The present disclosure also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments; or may exist independently without being assembled into the device / apparatus / system. The above computer-readable storage medium carries one or more programs, and when the above one or more programs are executed, the method according to the embodiment of the present disclosure is implemented.
[0111] According to an embodiment of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium, for example, it may include but is not limited to: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, an apparatus or a device. For example, according to an embodiment of the present disclosure, the computer-readable storage medium may include the ROM 602 and / or RAM 603 described above and / or one or more memories other than ROM 602 and RAM 603.
[0112] The embodiment of the present disclosure also includes a computer program product, which includes a computer program, and the computer program contains program code for executing the method shown in the flowchart. When the computer program product is run in a computer system, the program code is used to enable the computer system to implement the blockchain-based data processing method provided by the embodiment of the present disclosure.
[0113] The above functions defined in the system / device of the embodiment of the present disclosure are performed when the computer program is executed by the processor 601. According to the embodiment of the present disclosure, the system, device, module, unit, etc. described above can be implemented by a computer program module.
[0114] In one embodiment, the computer program may rely on tangible storage media such as optical storage devices, magnetic storage devices, etc. In another embodiment, the computer program may also be transmitted and distributed in the form of signals on a network medium, and downloaded and installed through the communication part 609, and / or installed from a removable medium 611. The program code contained in the computer program may be transmitted using any appropriate network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.
[0115] In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 609, and / or installed from the removable medium 611. When the computer program is executed by the processor 601, the above functions defined in the system of the embodiment of the present disclosure are performed. According to the embodiment of the present disclosure, the system, device, apparatus, module, unit, etc. described above can be implemented by a computer program module.
[0116] According to an embodiment of the present disclosure, the program code for executing the computer program provided by the embodiment of the present disclosure can be written in any combination of one or more programming languages. Specifically, these computing programs can be implemented using high-level process and / or object-oriented programming languages, and / or assembly / machine languages. Programming languages include, but are not limited to, Java, C++, python, "C" language or similar programming languages. The program code can be executed entirely on the user computing device, partially on the user device, partially on the remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device can be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (for example, using an Internet service provider to connect through the Internet).
[0117] The flow charts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0118] It will be appreciated by those skilled in the art that the features described in the various embodiments and / or claims of the present disclosure may be combined and / or combined in a variety of ways, even if such combinations and / or combinations are not explicitly described in the present disclosure. In particular, the features described in the various embodiments and / or claims of the present disclosure may be combined and / or combined in a variety of ways without departing from the spirit and teachings of the present disclosure. All of these combinations and / or combinations fall within the scope of the present disclosure.
[0119] The embodiments of the present disclosure are described above. However, these embodiments are only for the purpose of illustration and are not intended to limit the scope of the present disclosure. Although the embodiments are described above separately, this does not mean that the measures in the various embodiments cannot be used in combination to advantage. The scope of the present disclosure is defined by the attached claims and their equivalents. Without departing from the scope of the present disclosure, those skilled in the art may make various substitutions and modifications, which should all fall within the scope of the present disclosure.
Claims
1. A data processing method based on blockchain, It is characterized in that The method comprises: In response to a data viewing request broadcasted by a data requester in a blockchain network, querying the initial business data uploaded by the data provider from the blockchain network; Processing the initial business data to generate target business data that matches the data viewing authority of the data requester; The target business data is stored in the blockchain network so that the data requester can query the target business data from the blockchain network.
2. The method according to claim 1, It is characterized in that The processing of the initial business data to generate target business data matching the data viewing authority of the data requester includes: Determining whether the initial business data is sensitive data based on a predetermined key field; In the case that the initial business data is sensitive data, the initial business data is desensitized based on the data viewing authority to generate target business data that matches the data viewing authority of the data requester.
3. The method according to claim 2, It is characterized in that The determining whether the initial business data is sensitive data based on a predetermined key field includes: Matching the initial business data with the predetermined key field; In the case where the initial business data includes the predetermined key field, the initial business data is sensitive data; In the case that the initial business data does not include the predetermined key field, the initial business data does not belong to sensitive data.
4. The method according to claim 2, It is characterized in that The desensitizing the initial business data based on the data viewing authority includes: Based on the data viewing permission, determining sensitive fields in the initial business data; The sensitive field is encrypted.
5. The method according to claim 1, It is characterized in that The method further comprises: A data tag is added to the initial business data, where the data tag is used to represent the identity information of the data requester.
6. The method according to claim 5, It is characterized in that The adding of data tags to the initial business data comprises: The predetermined identity information of the data requester is encrypted to generate a data tag for the initial business data.
7. The method according to claim 5, It is characterized in that The method further comprises: The initial business data with data tags added are packaged into blocks and recorded on the blockchain network.
8. The method according to claim 1, It is characterized in that The method further comprises: A timestamp is added to the initial service data, wherein the timestamp is used to represent the moment when the data requester queries the target service data.
9. The method according to claim 8, It is characterized in that The method further comprises: The initial business data with a timestamp is packaged into blocks and recorded on the blockchain network.
10. A data processing device based on blockchain, It is characterized in that The device comprises: A query module, configured to query the initial business data uploaded by the data provider from the blockchain network in response to a data viewing request broadcasted by the data requester in the blockchain network; a processing module, configured to process the initial business data to generate target business data that matches the data viewing authority of the data requester; and A storage module is used to store the target business data in the blockchain network so that the data requester can query the target business data from the blockchain network.
11. An electronic device, include: one or more processors; a memory for storing one or more computer programs, It is characterized in that the one or more processors execute the one or more computer programs to implement the steps of the method according to any one of claims 1 to 9.
12. A computer-readable storage medium having a computer program or instruction stored thereon, It is characterized in that When the computer program or instruction is executed by a processor, the steps of the method according to any one of claims 1 to 9 are implemented.
13. A computer program product comprising a computer program or instructions, It is characterized in that When the computer program or instruction is executed by a processor, the steps of the method according to any one of claims 1 to 9 are implemented.
Citation Information
Patent Citations
Block chain-based data management method and device, equipment and storage medium
CN110222086A
Data processing method and device, electronic equipment and readable medium
CN111143880A
Method for communicating biometric data using packet ID
KR1020210105529A
