Data sharing method and device based on block chain, storage medium and electronic equipment
By adopting distributed storage and quantum encryption technology on the blockchain network, the problems of low efficiency and insufficient security of blockchain data sharing are solved, and efficient and secure data sharing is achieved.
Patent Information
- Application Number
- CN202510652018.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-20
- Publication Date
- 2025-08-15
AI Technical Summary
Blockchain data sharing is inefficient, and the risk of data theft is high. It is difficult for existing technology to effectively ensure the security and efficiency of data sharing.
The blockchain network uses distributed storage to store data and encrypts the shared data through quantum encryption to ensure the security of the data during transmission.
It improves the security and sharing efficiency of data transmission, reduces the risk of data theft, and improves the reliability and efficiency of data sharing.
Smart Images

Figure CN120498781A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to a field, specifically, to a data sharing method, device, storage medium and electronic device based on blockchain. Background Art
[0002] Amid the banking industry's digital transformation, data management and sharing have become crucial for financial institutions to improve service quality and competitiveness, particularly in personalized services and risk control. However, traditional banking data management faces significant challenges. Data silos lead to information fragmentation, while centralized data sharing is susceptible to single points of failure and presents serious data security vulnerabilities, making it difficult to effectively protect user information from malicious attacks or unauthorized access. This not only reduces the efficiency of data sharing but also severely undermines the reputation of financial institutions and user trust. Existing data sharing mechanisms limit banks' ability to provide customized financial services, making it difficult to meet the growing demand for personalized services and effectively manage financial risks.
[0003] There is currently no effective solution to the problems of low efficiency in blockchain data sharing and high risk of data theft in related technologies. Summary of the Invention
[0004] The main purpose of this application is to provide a blockchain-based data sharing method, device, storage medium and electronic device to solve the problems of low blockchain data sharing efficiency and high risk of data theft in related technologies.
[0005] To achieve the above-mentioned objectives, according to one aspect of the present application, a blockchain-based data sharing method is provided. The method comprises: upon receiving a data sharing request from a sender, parsing the data sharing request to obtain a data recipient; obtaining the data requested for sharing from a blockchain network to obtain shared data, wherein the blockchain network stores the uploaded data on each node in a distributed storage manner; encrypting the shared data using a quantum encryption method to obtain encrypted shared data; sending the encrypted shared data to the recipient, and storing the shared data record on the blockchain network.
[0006] Optionally, before obtaining the data requested to be shared by the data sharing request from the blockchain system, the method also includes: obtaining data collected by the terminal device of the financial system, and preprocessing and normalizing the collected data to obtain processed data, wherein the collected data at least includes user information and transaction records; checking and verifying the processed data, and if the check and verification pass, distributing and storing the processed data on each node of the blockchain network.
[0007] Optionally, encrypting shared data using a quantum encryption method includes: obtaining a quantum key negotiated by a sender and a receiver through sending and receiving quantum signals; and encrypting the shared data using the quantum key.
[0008] Optionally, the sender and the receiver obtain the quantum key in the following manner: the sender uses a quantum light source to prepare a quantum bit in a specific quantum state, and sends the quantum signal carrying the quantum bit to the receiver through a quantum channel; after receiving the quantum signal, the receiver measures the quantum bit according to an agreed measurement basis, and informs the sender of the measurement basis used through a classical channel; the sender screens out the target quantum bit through the measurement basis used by itself and the measurement basis used by the receiver, and determines the quantum key based on the measurement result of the target quantum bit, wherein the target quantum bit is the same measurement basis used by the sender and the receiver.
[0009] Optionally, encrypting shared data using a quantum key includes: converting the shared data into plaintext data in a binary format; using the quantum key as input to an encryption algorithm to encrypt the plaintext data to obtain encrypted shared data.
[0010] Optionally, after sending the encrypted shared data to the recipient, the method further includes: classifying the shared data of the blockchain network to obtain classified shared data, where the classification types include at least one of the following: transaction amount, transaction frequency and financial institution of the transaction; for a user, calculating the proportion of the user's transaction amount at the target financial institution in the user's total transaction amount, taking a weighted sum of the proportion and the transaction frequency, and obtaining the user's preference value for using the target financial institution; for a user, comparing the user's preference value for using each financial institution with the threshold of the corresponding financial institution, and when the preference value is greater than the threshold of the corresponding financial institution, determining the user as a target user of the corresponding financial institution, wherein the threshold of each financial institution is determined based on the average transaction record data of the financial institution.
[0011] Optionally, the method further includes: obtaining initial feedback information of target users on preset questions, deduplicating the initial feedback information, and obtaining feedback information, wherein the preset questions include questions related to the business or products of financial institutions and banks; determining the quantitative distribution of different types of feedback information, determining the target type of feedback information based on the quantity, and determining the target problem area targeted by the target type of feedback information, and obtaining analysis results, wherein feedback information associated with the target problem area is tracked to determine the resolution of problems in the target problem area; generating a report based on the feedback information and analysis results, wherein the report presents the feedback information and analysis results in at least one of the following visual forms: charts, text, or a combination of charts and text.
[0012] To achieve the above-mentioned purpose, according to another aspect of the present application, a data sharing device based on blockchain is provided. The device comprises: a parsing unit for, upon receiving a data sharing request from a sender, parsing the data sharing request to obtain a data recipient; a data acquisition unit for acquiring the data requested for sharing from a blockchain network to obtain shared data, wherein the blockchain network stores the uploaded data on each node in a distributed storage manner; an encryption unit for encrypting the shared data using a quantum encryption method to obtain encrypted shared data; and a sending unit for sending the encrypted shared data to the recipient and storing the shared record on the blockchain network.
[0013] A computer-readable storage medium includes a stored executable program, wherein, when the executable program is run, the device where the computer-readable storage medium is located is controlled to execute any one of the blockchain-based data sharing methods in the embodiments of the present application.
[0014] An electronic device comprises: a memory storing an executable program; and a processor for running the program, wherein when the program is running, the blockchain-based data sharing method of any one of the embodiments of the present application is executed.
[0015] In an embodiment of the present application, upon receiving a data sharing request from a sender, the data sharing request is parsed to obtain the recipient of the data; the data requested for sharing by the data sharing request is obtained from the blockchain network to obtain shared data, wherein the blockchain network stores the uploaded data in a distributed storage manner on each node; the shared data is encrypted using a quantum encryption method to obtain encrypted shared data; the encrypted shared data is sent to the recipient, and the shared record is stored on the blockchain network, thereby solving the problems of low blockchain data sharing efficiency and high risk of data theft in related technologies. By obtaining shared data distributedly stored on the blockchain, encrypting the shared data by quantum encryption and sending it to the recipient, and storing the shared record on the blockchain network, the effect of improving data transmission security and sharing efficiency is achieved. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] The accompanying drawings, which constitute part of this application, are intended to provide a further understanding of this application. The exemplary embodiments and descriptions of this application are intended to explain this application and do not constitute an improper limitation on this application. In the accompanying drawings:
[0017] Figure 1 It is a hardware structure block diagram of a computer terminal for implementing a data sharing method based on blockchain;
[0018] Figure 2 This is a flowchart of a blockchain-based data sharing method provided in accordance with an embodiment of the present application;
[0019] Figure 3 is a schematic diagram of a blockchain-based data sharing system provided according to an embodiment of the present application;
[0020] Figure 4 2 is a schematic diagram of a blockchain-based data sharing device provided according to an embodiment of the present application;
[0021] Figure 5 This is a structural block diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0022] In order to enable those skilled in the art to better understand the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of this application.
[0023] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in a sequence other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0024] It should be noted that the collected information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for display, data for analysis, etc.) involved in this application are 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 portals for users to choose to authorize or refuse. For example, an interface is set up between this system and relevant users or institutions to provide users with corresponding operation portals for users to choose to agree or refuse the automated decision-making results; if the user chooses to refuse, the expert decision-making process will be entered.
[0025] Example 1
[0026] According to an embodiment of the present application, a method embodiment of blockchain-based data sharing is also provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0027] The method embodiment provided in the first embodiment of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Figure 1 This is a hardware structure diagram of a computer terminal for implementing a data sharing method based on blockchain. Figure 1 As shown, the computer terminal 10 may include one or more ( Figure 1 The computer system includes a processor 102 (shown as 102a, 102b, ..., 102n) (the processor 102 may include but is not limited to a processing device such as a microprocessor (MCU) or a programmable logic device (FPGA), a memory 104 for storing data, and a transmission device 106 for communication functions. In addition, the computer system may also include: a display, an input / output interface (I / O interface, Input / Output interface), a universal serial bus (USB) port (which may be included as one of the ports of the BUS bus), a network interface, a power supply and / or a camera. It will be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above electronic device. Figure 1 More or fewer components than shown, or with Figure 1 Different configurations shown.
[0028] It should be noted that the one or more processors 102 and / or other data processing circuits described above may generally be referred to herein as "data processing circuitry". The data processing circuitry may be embodied in whole or in part as software, hardware, firmware, or any other combination thereof. In addition, the data processing circuitry may be a single independent processing module, or may be incorporated in whole or in part into any of the other components of the computer terminal 10 (or mobile device). As described in the embodiments of the present application, the data processing circuitry serves as a processor control (e.g., selection of a variable resistor terminal path connected to an interface).
[0029] Memory 104 can be used to store software programs and modules for application software, such as the program instructions / data storage device corresponding to the blockchain-based data sharing method in the embodiments of the present application. Processor 102 executes the software programs and modules stored in memory 104 to perform various functional applications and data processing, thereby implementing the aforementioned blockchain-based data sharing method. Memory 104 may include high-speed random access memory (RAM) and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, memory 104 may further include memory remotely located relative to processor 102, and such remote memory may be connected to computer terminal 10 via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
[0030] The transmission device 106 is configured to receive or transmit data via a network. A specific example of the aforementioned network may include a wireless network provided by the communications provider of the computer terminal 10. In one embodiment, the transmission device 106 includes a network interface controller (NIC), which can be connected to other network devices via a base station to enable communication with the Internet. In another embodiment, the transmission device 106 may be a radio frequency (RF) module, which is configured to communicate with the Internet wirelessly.
[0031] The display may be, for example, a touch screen liquid crystal display (LCD), which enables a user to interact with a user interface of the computer terminal 10 (or mobile device).
[0032] Under the above operating environment, this application provides Figure 2 The data sharing method shown. Figure 2 This is a flowchart of a blockchain-based data sharing method provided according to an embodiment of the present application.
[0033] Step S201: upon receiving a data sharing request from a sender, the data sharing request is parsed to obtain a data receiver.
[0034] Specifically, a data sharing request refers to an electronic request submitted by the party initiating data sharing, i.e. the sender, to the blockchain network through the interface and communication protocol. This request contains detailed information, such as the initiator's identity information, the type of data requested to be shared, a description of the data's purpose, and relevant business scenario identification information.
[0035] Parsing a data sharing request means that after the system receives the request, it will conduct a detailed analysis and understanding of it to extract the key elements of the request and determine which financial institution is designated as the party receiving the shared data, i.e. the recipient, providing a clear path for the subsequent data transmission process.
[0036] Step S202: Obtain the data requested for sharing by the data sharing request from the blockchain network to obtain shared data, wherein the blockchain network stores the uploaded data on each node in a distributed storage manner.
[0037] Specifically, a blockchain network is a decentralized, distributed ledger technology platform composed of multiple nodes (servers within the bank, servers in data centers, and servers at partner banks) that collectively maintain a complete, immutable data record system. Distributed storage means that data is not stored centrally on a single server, but is instead divided into multiple parts and stored on different nodes in the network. If a node fails, other nodes can still provide data services, ensuring business continuity. This storage method improves data redundancy and security, preventing data loss or corruption due to single node failure or attack.
[0038] When retrieving data requested for sharing, the system locates the nodes storing the requested data based on the request details recorded in the blockchain network and then extracts the data from these nodes. The data requested for sharing is pre-processed and encrypted before being uploaded to the blockchain network.
[0039] Step S203: Encrypt the shared data using a quantum encryption method to obtain encrypted shared data.
[0040] Specifically, quantum cryptography utilizes the properties of quantum states to generate keys for data encryption and decryption. The core advantage of quantum cryptography lies in the cloning and eavesdropping-resistant nature of its keys. Any attempt to steal the key without detection would disrupt the quantum state, making it undetectable to both the sender and receiver. The encryption process using quantum cryptography converts shared data into an unreadable form, known as ciphertext, protecting its contents from unauthorized access or tampering during data transmission.
[0041] Step S204: Send the encrypted shared data to the recipient and store the shared record on the blockchain network.
[0042] Specifically, the recipient is an authorized party on the blockchain network. After receiving the quantum-encrypted shared data, the recipient decrypts it. The decryption process is the inverse of the encryption process, restoring the ciphertext to the original plaintext data. The process of sending the encrypted shared data utilizes the protection of quantum encryption. The shared record includes metadata about the data transmission, such as the data type, sending and receiving time, and the identities of both parties. These records will be stored on the blockchain network, facilitating the subsequent unified management of data sharing records and tracing back the shared records.
[0043] In an embodiment of the present application, upon receiving a data sharing request from a sender, the data sharing request is parsed to obtain the recipient of the data; the data requested for sharing by the data sharing request is obtained from the blockchain network to obtain shared data, wherein the blockchain network stores the uploaded data in a distributed storage manner on each node; the shared data is encrypted using a quantum encryption method to obtain encrypted shared data; the encrypted shared data is sent to the recipient, and the shared record is stored on the blockchain network, thereby solving the problems of low blockchain data sharing efficiency and high risk of data theft in related technologies. By obtaining shared data distributedly stored on the blockchain, encrypting the shared data by quantum encryption and sending it to the recipient, and storing the shared record on the blockchain network, the effect of improving data transmission security and sharing efficiency is achieved.
[0044] In order to ensure the quality and security of the data, optionally, in the blockchain-based data sharing method provided in the embodiment of the present application, before obtaining the data requested to be shared by the data sharing request from the blockchain system, the method also includes: obtaining data collected by the terminal device of the financial system, and preprocessing and normalizing the collected data to obtain processed data, wherein the collected data includes at least user information and transaction records; checking and verifying the processed data, and if the check and verification pass, distributing and storing the processed data on each node of the blockchain network.
[0045] Specifically, terminal devices can refer to various data collection tools used by banks or financial institutions. The collected data contains rich information about user activities and serves as the basis for subsequent data sharing and user analysis. Preprocessing refers to the cleaning, format conversion, and preliminary analysis of raw data before uploading it to the blockchain network to ensure its accuracy and consistency. For example, this includes removing noise, filling missing values, and checking for logical errors. Normalization converts data into a unified format or scale to facilitate data comparison and analysis. For example, transaction amounts in different units can be converted to a unified monetary unit, or transaction frequencies can be converted to statistical values within the same time span.
[0046] After preprocessing and normalizing the collected data, it is categorized and organized according to classification rules. User information is categorized into basic identity information, bank account information, and financial status information, and transaction records are categorized into basic transaction information, transaction object information, and transaction channel information. Checksum verification checks the data classification results to ensure that the data has not been misclassified during the preprocessing and normalization process. If the checksum verification passes, the data will be distributed and stored across the nodes of the blockchain network. That is, the data is divided and stored in multiple geographically dispersed storage locations rather than being centralized in a single server or data center, improving data redundancy.
[0047] The embodiments of the present application process data from collection to storage, including data preprocessing and normalization, checksum and verification, and distributed storage, thereby not only ensuring the quality and consistency of data, but also greatly enhancing the security and reliability of data.
[0048] In order to improve the security of shared data encryption, optionally, in the blockchain-based data sharing method provided in the embodiment of the present application, the shared data is encrypted using a quantum encryption method, including: obtaining a quantum key negotiated by the sender and the receiver through sending and receiving quantum signals; and encrypting the shared data using the quantum key.
[0049] It should be noted that even the most advanced traditional encryption technology will become vulnerable when faced with the threat of quantum computing, while quantum encryption can effectively resist this potential risk. Quantum encryption is based on the principles of quantum mechanics and is unbreakable, making it impossible for attackers to steal or tamper with data, further enhancing data security. Only authorized recipients can obtain the corresponding data information, effectively preventing unauthorized access.
[0050] Quantum encryption requires both communicating parties to first negotiate a quantum key over a quantum channel. This key is generated through quantum signals before data is transmitted. Based on the quantum no-cloning theorem and the Heisenberg uncertainty principle, this key is highly secure during transmission. The process by which the sender and receiver negotiate the quantum key through quantum signal transmission can be as follows: the sender and receiver exchange quantum signals over the quantum channel. The quantum signals contain qubits in specific quantum states. The receiver measures these qubits and communicates the measurement basis to the sender via a classical channel. The two parties compare their measurement bases to identify qubits using the same basis. The measurement results of these qubits form part of the quantum key.
[0051] The embodiments of the present application encrypt shared data by obtaining quantum keys through the transmission, reception, and negotiation of quantum signals, thereby reducing the risk of shared data being monitored or copied during transmission. Even if the data is intercepted by a third party, it cannot be decrypted to obtain the true content of the data, effectively protecting the security of the data and the privacy of the user.
[0052] In order to encrypt and protect shared data, optionally, in the blockchain-based data sharing method provided in the embodiment of the present application, the sender and the receiver obtain the quantum key in the following manner: the sender uses a quantum light source to prepare a quantum bit in a specific quantum state, and sends the quantum signal carrying the quantum bit to the receiver through a quantum channel; after receiving the quantum signal, the receiver measures the quantum bit according to the agreed measurement basis, and informs the sender of the measurement basis used through the classical channel; the sender screens out the target quantum bit through the measurement basis used by itself and the measurement basis used by the receiver, and determines the quantum key based on the measurement result of the target quantum bit, wherein the target quantum bit is the same measurement basis used by the sender and the receiver.
[0053] Specifically, a quantum light source is a device that generates quantum signals and can produce qubits in specific quantum states, which carry the information used for key generation. These specific quantum states refer to several possible quantum states defined in quantum mechanics and are produced using photon polarization states, such as horizontal and vertical polarization states, or diagonal polarization states. The selection and use of these states follows the rules of the quantum key distribution protocol, which ensures the security of the key based on fundamental principles of quantum mechanics, such as the quantum no-cloning theorem and the Heisenberg uncertainty principle.
[0054] Quantum signals, consisting of qubits, are sent to the blockchain via a quantum channel, and then from the blockchain to the recipient. A quantum channel is a physical channel, such as an optical fiber, that can transmit quantum states. Its use is based on the requirements of the quantum key distribution protocol because it can transmit quantum states, and any eavesdropping on the quantum state will alter it, making it detectable by both the sender and the receiver. Furthermore, quantum signals exhibit strong anti-interference capabilities during transmission. Due to the unique nature of quantum states, quantum signals are not susceptible to traditional electromagnetic interference and noise, allowing for stable transmission in complex environments. Qubits are the core of quantum signals, and quantum signals are the carrier and transmission form of quantum states. Together, they form the foundation of technologies such as quantum communication and quantum encryption.
[0055] A measurement basis is the reference framework used to measure quantum states. It determines the parameters and directions used when measuring qubits. After receiving a quantum signal, the receiver randomly selects one or more measurement bases to measure the qubits and obtain the key information. The receiver then communicates the measurement basis used to the sender via a classical channel (such as the internet or a telephone line).
[0056] The sender and receiver select qubits using the same measurement basis to determine which qubit measurement results constitute a valid quantum key. The sender and receiver discard measurement results corresponding to qubits using different measurement bases, thereby obtaining a consistent set of quantum keys. The target qubits are those corresponding to the same measurement basis used by both parties in the measurement; the measurement results of these bits are used to construct the quantum key. The key is composed of qubit measurement results that are mutually agreed upon, and any changes in the quantum state are immediately detectable by any third party attempting to eavesdrop, ensuring the security of the key.
[0057] The embodiments of the present application ensure that even if a data packet is intercepted during transmission, an attacker cannot crack the quantum key and thus cannot decipher the data through the generation and distribution of quantum keys and the transmission of quantum signals, thereby greatly improving the security of inter-bank data sharing.
[0058] In order to convert the format of shared data and facilitate encryption, optionally, in the blockchain-based data sharing method provided in the embodiment of the present application, encrypting the shared data by quantum key includes: converting the shared data into plaintext data in binary format; using the quantum key as the input of the encryption algorithm to encrypt the plaintext data to obtain encrypted shared data.
[0059] Specifically, the shared data is converted into binary plaintext because quantum encryption algorithms require digital input, and binary is a convenient representation of digital data. By converting the shared data into binary plaintext, the quantum key is correctly applied to each bit of the data, achieving precise encryption.
[0060] Encrypted data, also known as ciphertext, is the result of symmetric key encryption. Even if intercepted during transmission, attackers without the correct quantum key cannot decrypt the data and obtain its true content. Upon receiving the encrypted shared data, the receiver uses the same quantum key as the sender to decrypt it. The decryption process is the inverse of the encryption process. By applying the key to the ciphertext, the ciphertext is restored to its original plaintext, thus obtaining the shared data.
[0061] The embodiments of the present application convert shared data into binary plaintext and encrypt it using a quantum key, thereby processing the plaintext data in binary format into encrypted shared data, thereby efficiently achieving quantum-level secure transmission of data.
[0062] In order to obtain the user's preference level and recommend services to the user, optionally, in the blockchain-based data sharing method provided in the embodiment of the present application, after sending the encrypted shared data to the recipient, the method also includes: classifying the shared data of the blockchain network to obtain classified shared data, and the classification types include at least one of the following: transaction amount, transaction frequency and financial institution of the transaction; for a user, calculating the proportion of the user's transaction amount at the target financial institution in the user's total transaction amount, and performing weighted summation on the proportion and transaction frequency to obtain the user's preference value for using the target financial institution; for a user, comparing the user's preference value for using each financial institution with the threshold of the corresponding financial institution, and when the preference value is greater than the threshold of the corresponding financial institution, determining the user as a target user of the corresponding financial institution, wherein the threshold of each financial institution is determined based on the average transaction record data of the financial institution.
[0063] Specifically, after the data is uploaded to the blockchain network, the shared data is classified, including classification according to different dimensions such as transaction amount, transaction frequency, and financial institutions involved in the transaction, so as to facilitate subsequent data analysis and mining, and ensure that user data can be understood and utilized from different angles.
[0064] The process of calculating a user's preference for a financial institution involves applying data mining algorithms to conduct in-depth analysis of a user's transaction information to determine their preference for a specific financial institution. The percentage of a user's transaction amount at the target financial institution relative to their total transaction amount across all financial institutions reflects their level of transaction activity with that institution. Transaction frequency refers to the frequency of a user's interactions with the target financial institution. By weighting the percentage and frequency, the percentage of transaction amount and frequency are added together according to pre-set weights to determine the user's preference for the target financial institution.
[0065] The formula for calculating the preference value is:
[0066]
[0067] Where Pij is the preference value of user i in financial institution j, α and β are the weight of transaction amount and transaction rate respectively, and α+β=1, is the proportion of user i’s transaction amount in financial institution j to the total transaction amount of the user, is the frequency of user i’s transactions in financial institution j, and the transaction preference value of user i’s financial institution is obtained by calculation.
[0068] The process of identifying target users can be as follows: after determining user i's preference value, compare it with a threshold set by each financial institution to determine which financial institution user i should be considered as a target user. The threshold can be set based on the average transaction record data of the financial institution. The average transaction record data can be the average preference value of the financial institution's users, reflecting the frequency of transactions among users of that financial institution. When a user's preference value exceeds the threshold of a financial institution, and the user has the highest preference value for that financial institution, it indicates that the user's transaction frequency with that financial institution is higher than the average level, and they tend to trade with that financial institution, indicating that they have high value and potential. Therefore, this user can be considered a target user of the financial institution and be given priority recommendation and maintenance.
[0069] Because target users are highly compatible with the bank's services and products, they are more likely to stay for a long time, reducing customer churn. For example, a bank focusing on financial services for small and medium-sized enterprises can obtain target users who frequently conduct business-related transactions through the methods of the embodiments of this application. These users will be more loyal to the bank. Financial institutions targeting target users can enhance the interactivity and stickiness between users and banks, and banks can provide high-quality services and personalized solutions.
[0070] The embodiments of the present application facilitate financial institutions in identifying target users through data classification, quantitative preference analysis, and target user identification, accurately acquiring users with a high degree of match to their own business characteristics, improving customer acquisition efficiency, meeting user needs, further consolidating customer relationships, and realizing intelligent user management based on blockchain data sharing.
[0071] In order to deeply understand the target users' satisfaction and opinions on the business or products of the financial institution, optionally, in the blockchain-based data sharing method provided in the embodiment of the present application, the method also includes: obtaining the target users' initial feedback information on preset questions, deduplicating the initial feedback information, and obtaining feedback information, wherein the preset questions include questions related to the business or products of the financial institution bank; determining the quantity distribution of different types of feedback information, determining the target type of feedback information based on the quantity, and determining the target problem area targeted by the target type of feedback information, and obtaining analysis results, wherein the feedback information associated with the target problem area is tracked to determine the resolution of the problems under the target problem area; generating a report based on the feedback information and analysis results, wherein the report displays the feedback information and analysis results in at least one of the following visual forms: charts, text, and a combination of charts and text.
[0072] Specifically, obtaining initial feedback from target users on pre-set questions involves conducting user experience follow-up interviews through the user maintenance module. This process involves proactively initiating surveys with target users, using methods such as telephone follow-up, online questionnaires, and email communications, asking them questions related to the financial institution's banking services or products. These questions are pre-set based on business scenarios and are intended to cover all aspects of user satisfaction, such as service convenience, response speed, and the rationality of business processes, as well as their feelings and suggestions about new services and products launched by the financial institution.
[0073] The collected initial user feedback information contains various forms and contents. It is necessary to deduplicate the initial feedback information and remove duplicate initial feedback information to avoid bias in subsequent analysis.
[0074] Based on the deduplicated feedback information, we classify the information into different types and count the number of responses. For example, we divide the feedback into categories such as "service convenience," "response speed," and "business process rationality," and count the number of responses in each category. By analyzing the quantitative distribution of feedback information, we can determine which type of feedback information is the most prominent. This type of information is the target type of feedback information, and the corresponding problem area is considered the target problem area to obtain the analysis results. For example, if the "response speed" type of feedback accounts for the majority, then "response speed" becomes the target problem area. Problems within the target problem area need to be resolved as a priority, and the feedback information associated with the target problem area needs to be tracked. This means observing the trend of the number of feedback information over time to determine the resolution of the problems within the target problem area, that is, to determine whether the problems are improving or worsening.
[0075] The collected feedback and analysis results are integrated into a report that is easy to understand and communicate. This report uses at least one visual format to present the feedback and analysis results, whether it is a chart, text description, or a combination of both, to ensure that financial institutions can quickly grasp key information.
[0076] The embodiments of the present application communicate with users in various ways, collect initial feedback information from target users, deduplicate, classify, count, resolve and analyze the initial feedback information, and finally generate an intuitive report, thereby realizing dynamic monitoring and management of user satisfaction; at the same time, actively return visits to users, enhance user favorability towards financial institutions, improve user satisfaction and loyalty, and bring more potential users to financial institutions.
[0077] The present application also provides a data sharing system based on blockchain. Figure 3 is a schematic diagram of a data sharing system based on blockchain provided in an embodiment of the present application, such as Figure 3 As shown, the system includes:
[0078] The data acquisition module is used to obtain data collected by the terminal devices of the financial system, where the collected data includes at least user information and transaction records, and store the data in a distributed manner on each node of the blockchain network.
[0079] The storage module is used to distribute and store the data uploaded by the data acquisition module on each node of the blockchain network based on blockchain technology.
[0080] The data sharing module is used to realize data sharing between blockchain and financial institutions. When there is a need for data sharing, the initiator sends a request to the blockchain network to share the shared data stored on each node of the blockchain network with the recipient. The authorized recipient can obtain the corresponding data. At the same time, the data sharing process is recorded on the blockchain, which is traceable and cannot be tampered with. It is encrypted based on quantum encryption during the sending process.
[0081] The user analysis module is used to analyze the user's transaction information based on the shared user data, obtain the user's financial institution usage preferences, and recommend the user to the corresponding financial institution as a key user based on the user's preferences.
[0082] The user maintenance module is used to maintain key users after obtaining their transaction information, including user experience feedback and improvement.
[0083] It should be noted that the data acquisition module is electrically connected to the storage module, the data sharing module is electrically connected to the storage module, the user analysis module is electrically connected to the data sharing module, and the user analysis module is electrically connected to the user maintenance module.
[0084] The embodiment of the present application integrates the data acquisition module, storage module, data sharing module, and user analysis module of the financial institution based on the blockchain network, uses the integrated modules to obtain data collected by the terminal devices of the financial system, and stores the data in a distributed manner on each node of the blockchain network, thereby realizing data sharing between the blockchain and the financial institution. Based on the shared user data, the user's transaction information is analyzed, realizing the processing flow from acquisition to analysis of transaction information. Finally, a user maintenance module is added to improve the service level of the financial institution based on user feedback.
[0085] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0086] Example 2
[0087] The present application also provides a blockchain-based data sharing device. It should be noted that the blockchain-based data sharing device of the present application can be used to execute the blockchain-based data sharing method provided in the present application. The following describes the blockchain-based data sharing device provided in the present application.
[0088] According to an embodiment of the present application, a device for implementing the above-mentioned blockchain-based data sharing method is also provided. Figure 4 is a schematic diagram of a data sharing device based on blockchain provided in an embodiment of the present application, such as Figure 4 As shown, the device includes:
[0089] The parsing unit 401 is configured to parse the data sharing request upon receiving the data sharing request from the sender, and obtain the data receiver.
[0090] The data acquisition unit 402 is used to obtain the data requested to be shared by the data sharing request from the blockchain network to obtain the shared data, wherein the blockchain network stores the uploaded data on each node in a distributed storage manner.
[0091] The encryption unit 403 is used to encrypt the shared data using a quantum encryption method to obtain encrypted shared data.
[0092] The sending unit 404 is used to send the encrypted shared data to the recipient and store the shared record on the blockchain network.
[0093] In an embodiment of the present application, the parsing unit 401, upon receiving a data sharing request from a sender, parses the data sharing request to obtain a recipient of the data; the data acquisition unit 402 acquires the data requested for sharing by the data sharing request from the blockchain network to obtain shared data, wherein the blockchain network stores the uploaded data in a distributed storage manner on each node; the encryption unit 403 encrypts the shared data using a quantum encryption method to obtain encrypted shared data; the sending unit 404 sends the encrypted shared data to the recipient and stores the shared record on the blockchain network, thereby solving the problems of low blockchain data sharing efficiency and high risk of data theft in related technologies. By acquiring the shared data distributedly stored on the blockchain, encrypting the shared data by quantum encryption and sending it to the recipient, and storing the shared record on the blockchain network, the effect of improving data transmission security and sharing efficiency is achieved.
[0094] Optionally, in the blockchain-based data sharing device of the present application, the data acquisition unit 402 also includes: a data processing module, which is used to obtain data collected by the terminal equipment of the financial system, and preprocess and normalize the collected data to obtain processed data, wherein the collected data includes at least user information and transaction records; a data verification and validation module, which is used to verify and validate the processed data, and if the verification and validation pass, the processed data is distributedly stored on each node of the blockchain network.
[0095] Optionally, in the blockchain-based data sharing device of the present application, the encryption unit 403 also includes: a quantum key acquisition module, used to obtain the quantum key obtained by the sender and the receiver through negotiation by sending and receiving quantum signals; and an encryption module, used to encrypt the shared data using the quantum key.
[0096] Optionally, in the blockchain-based data sharing device of the present application, the quantum key acquisition module also includes: a quantum bit preparation module, which is used by the sender to prepare quantum bits in a specific quantum state using a quantum light source, and send the quantum signal carrying the quantum bit to the receiver through a quantum channel; a quantum bit measurement module, which is used by the receiver to measure the quantum bit according to the agreed measurement basis after receiving the quantum signal, and inform the sender of the measurement basis used through the classical channel; a quantum key determination module, which is used by the sender to screen out the target quantum bit through the measurement basis used by itself and the measurement basis used by the receiver, and determine the quantum key based on the measurement result of the target quantum bit, wherein the target quantum bit is the same measurement basis used by the sender and the receiver.
[0097] Optionally, in the blockchain-based data sharing device of the present application, the encryption module also includes: a conversion module for converting the shared data into plaintext data in binary format; an encryption sub-module for using the quantum key as the input of the encryption algorithm to encrypt the plaintext data to obtain encrypted shared data.
[0098] Optionally, in the blockchain-based data sharing device of the present application, the sending unit 404 also includes: a classification module, which is used to classify the shared data of the blockchain network to obtain classified shared data, and the classification types include at least one of the following: transaction amount, transaction frequency and transaction financial institution; a preference calculation module, which is used to calculate, for a user, the proportion of the user's transaction amount at the target financial institution in the user's total transaction amount, and perform weighted summation of the proportion and transaction frequency to obtain the user's preference value for using the target financial institution; a target user determination module, which is used to compare, for a user, the user's preference value for using each financial institution with the threshold of the corresponding financial institution, and when the preference value is greater than the threshold of the corresponding financial institution, determine the user as a target user of the corresponding financial institution, wherein the threshold of each financial institution is determined based on the average transaction record data of the financial institution.
[0099] Optionally, in the blockchain-based data sharing device of the present application, the sending unit 404 also includes: a feedback information acquisition module, which is used to obtain the initial feedback information of the target user on the preset problem, deduplicate the initial feedback information, and obtain feedback information, wherein the preset problem includes questions related to the business or products of the financial institution bank; a feedback analysis module, which is used to determine the quantitative distribution of different types of feedback information, determine the target type of feedback information based on the quantity, and determine the target problem area targeted by the target type of feedback information, and obtain analysis results, wherein the feedback information associated with the target problem area is tracked to determine the resolution of the problems under the target problem area; a report generation module, which is used to generate a report based on the feedback information and analysis results, wherein the report displays the feedback information and analysis results in at least one of the following visual forms: charts, text, and a combination of charts and text.
[0100] It should be noted that the above-mentioned units and modules correspond to steps S201 to S204 in Example 1. The examples and application scenarios implemented by each unit and module are the same as those of the corresponding steps, but are not limited to the contents disclosed in the above-mentioned Example 1. It should be noted that the above-mentioned modules or units can be hardware components or software components stored in a memory (e.g., memory 104) and processed by one or more processors (e.g., processors 102a, 102b, ..., 102n). The above-mentioned modules can also be run as part of the device in the computer terminal 10 provided in Example 1.
[0101] Example 3
[0102] An embodiment of the present application may provide an electronic device, Figure 5 This is a structural block diagram of an electronic device according to an embodiment of the present application. Figure 5 As shown, the electronic device may include: one or more ( Figure 5Only one is shown) processor 502, memory 504, storage controller, and peripheral interface, wherein the peripheral interface is connected to the radio frequency module, audio module and display.
[0103] Among them, the memory can be used to store software programs and modules, such as program instructions / modules corresponding to the methods and devices in the embodiments of the present application. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory, that is, implementing the above-mentioned method. The memory may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory may further include a memory remotely arranged relative to the processor, and these remote memories may be connected to the terminal via a network. Examples of the above-mentioned network include but are not limited to the Internet, an intranet, a local area network, a mobile communication network and a combination thereof.
[0104] The processor can call the information and application stored in the memory through the transmission device to perform the following steps: upon receiving a data sharing request from the sender, parse the data sharing request to obtain the recipient of the data; obtain the data requested to be shared by the data sharing request from the blockchain network to obtain shared data, wherein the blockchain network stores the uploaded data on each node in a distributed storage manner; encrypt the shared data using a quantum encryption method to obtain encrypted shared data; send the encrypted shared data to the recipient, and store the shared record on the blockchain network.
[0105] The processor can also call the information and application programs stored in the memory through the transmission device to perform the following steps: obtain data collected by the terminal equipment of the financial system, and preprocess and normalize the collected data to obtain processed data, wherein the collected data includes at least user information and transaction records; check and verify the processed data, and if the check and verification pass, the processed data will be distributed and stored on each node of the blockchain network.
[0106] The processor can also call the information and applications stored in the memory through the transmission device to perform the following steps: obtaining the quantum key negotiated by the sender and receiver through sending and receiving quantum signals; encrypting the shared data using the quantum key.
[0107] The processor can also call the information and application programs stored in the memory through the transmission device to perform the following steps: the sender uses a quantum light source to prepare a quantum bit in a specific quantum state, and sends the quantum signal carrying the quantum bit to the receiver through a quantum channel; after receiving the quantum signal, the receiver measures the quantum bit according to the agreed measurement basis, and informs the sender of the measurement basis used through the classical channel; the sender screens out the target quantum bit through the measurement basis used by itself and the measurement basis used by the receiver, and determines the quantum key based on the measurement result of the target quantum bit, wherein the target quantum bit is the same measurement basis used by the sender and the receiver.
[0108] The processor can also call the information and applications stored in the memory through the transmission device to perform the following steps: convert the shared data into plaintext data in binary format; use the quantum key as the input of the encryption algorithm to encrypt the plaintext data to obtain encrypted shared data.
[0109] The processor can also call the information and application programs stored in the memory through the transmission device to perform the following steps: classify the shared data of the blockchain network to obtain classified shared data, and the classification types include at least one of the following: transaction amount, transaction frequency and financial institution of the transaction; for a user, calculate the proportion of the user's transaction amount at the target financial institution in the user's total transaction amount, and perform weighted summation of the proportion and transaction frequency to obtain the user's preference value for using the target financial institution; for a user, compare the user's preference value for using each financial institution with the threshold of the corresponding financial institution. When the preference value is greater than the threshold of the corresponding financial institution, the user is determined as a target user of the corresponding financial institution, wherein the threshold of each financial institution is determined based on the average transaction record data of the financial institution.
[0110] The processor can also call the information and application stored in the memory through the transmission device to perform the following steps: obtain the initial feedback information of the target user on the preset problem, deduplicate the initial feedback information, and obtain feedback information, wherein the preset problem includes questions related to the business or products of the financial institution bank; determine the quantity distribution of different types of feedback information, determine the target type of feedback information based on the quantity, and determine the target problem area targeted by the target type of feedback information, and obtain analysis results, wherein the feedback information associated with the target problem area is tracked to determine the resolution of the problems under the target problem area; generate a report based on the feedback information and analysis results, wherein the report displays the feedback information and analysis results in at least one of the following visual forms: charts, text, and a combination of charts and text.
[0111] In an embodiment of the present application, upon receiving a data sharing request from a sender, the data sharing request is parsed to obtain the recipient of the data; the data requested for sharing by the data sharing request is obtained from the blockchain network to obtain shared data, wherein the blockchain network stores the uploaded data in a distributed storage manner on each node; the shared data is encrypted using a quantum encryption method to obtain encrypted shared data; the encrypted shared data is sent to the recipient, and the shared record is stored on the blockchain network, thereby solving the problems of low blockchain data sharing efficiency and high risk of data theft in related technologies. By obtaining shared data distributedly stored on the blockchain, encrypting the shared data by quantum encryption and sending it to the recipient, and storing the shared record on the blockchain network, the effect of improving data transmission security and sharing efficiency is achieved.
[0112] It can be understood by those skilled in the art that Figure 5 The structure shown is for illustration only, and the electronic device may also be a terminal device such as a smart phone, a tablet computer, a PDA, a mobile Internet device (MID), or a PAD. Figure 5 It does not limit the structure of the above electronic device. For example, the electronic device may also include Figure 5 More or fewer components (such as network interfaces, display devices, etc.) shown in, or with Figure 5 Different configurations shown.
[0113] A person skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing the hardware related to the terminal device through a program, and the program can be stored in a computer-readable storage medium, which may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0114] Example 4
[0115] The embodiment of the present application further provides a storage medium. Optionally, in this embodiment, the storage medium can be used to store the program code executed by the blockchain-based data sharing method provided in the first embodiment.
[0116] Optionally, in this embodiment, the storage medium may be located in any computer terminal in a computer terminal group in a computer network, or in any mobile terminal in a mobile terminal group.
[0117] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing the steps of the blockchain-based data sharing method.
[0118] The serial numbers of the above embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0119] In the above embodiments of the present application, the description of each embodiment has its own focus. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.
[0120] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0121] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.
[0122] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.
[0123] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for enabling a computer device (which can be a personal computer, a server or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk.
[0124] The above is only a preferred embodiment of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A data sharing method based on blockchain, characterized in that: include: Upon receiving a data sharing request from a sender, parsing the data sharing request to obtain a data receiver; Obtaining the data requested to be shared by the data sharing request from the blockchain network to obtain shared data, wherein the blockchain network stores the uploaded data on each node in a distributed storage manner; Encrypting the shared data using a quantum encryption method to obtain encrypted shared data; The encrypted shared data is sent to the recipient, and the shared record is stored on the blockchain network.
2. The method according to claim 1, characterized in that Before obtaining the data requested to be shared by the data sharing request from the blockchain system, the method further includes: Acquiring data collected by a terminal device of a financial system, and performing preprocessing and normalization on the collected data to obtain processed data, wherein the collected data includes at least user information and transaction records; The processed data is checked and verified, and if the check and verification pass, the processed data is distributed and stored on each node of the blockchain network.
3. The method according to claim 1, characterized in that Encrypting the shared data using a quantum encryption method includes: Obtaining a quantum key negotiated by the sender and the receiver through sending and receiving quantum signals; The shared data is encrypted using the quantum key.
4. The method according to claim 3, characterized in that The sender and the receiver obtain the quantum key in the following manner: The sender uses a quantum light source to prepare a quantum bit in a specific quantum state, and sends a quantum signal carrying the quantum bit to the receiver through a quantum channel; After receiving the quantum signal, the receiver measures the quantum bit according to the agreed measurement basis and informs the sender of the measurement basis used through the classical channel; The sender selects a target quantum bit through a measurement basis used by the sender and a measurement basis used by the receiver, and determines the quantum key based on a measurement result of the target quantum bit, wherein the target quantum bit is in the same measurement basis used by the sender and the receiver.
5. The method according to claim 3, characterized in that Encrypting the shared data by using the quantum key includes: Converting the shared data into plaintext data in binary format; The quantum key is used as an input of an encryption algorithm to encrypt the plaintext data to obtain the encrypted shared data.
6. The method according to claim 1, characterized in that After sending the encrypted shared data to the recipient, the method further includes: Classifying the shared data of the blockchain network to obtain classified shared data, where the classification type includes at least one of the following: transaction amount, transaction frequency, and transaction financial institution; For a user, calculating the proportion of the user's transaction amount at the target financial institution to the user's total transaction amount, performing a weighted sum of the proportion and the transaction frequency, and obtaining a user's preference value for using the target financial institution; For a user, the user's preference value for using each financial institution is compared with the threshold of the corresponding financial institution. If the preference value is greater than the threshold of the corresponding financial institution, the user is determined as a target user of the corresponding financial institution, wherein the threshold of each financial institution is determined based on the average transaction record data of the financial institution.
7. The method according to claim 6, characterized in that The method further comprises: Obtaining initial feedback information of the target user on preset questions, removing duplicates from the initial feedback information, and obtaining feedback information, wherein the preset questions include questions related to the business or products of a financial institution or bank; Determining the quantitative distribution of the feedback information of different types, determining feedback information of a target type based on the quantitative distribution, and determining the target problem domain targeted by the feedback information of the target type, to obtain analysis results, wherein feedback information associated with the target problem domain is tracked to determine the resolution of the problems in the target problem domain; A report is generated based on the feedback information and the analysis results, wherein the report presents the feedback information and the analysis results in at least one of the following visual forms: a chart, text, or a combination of a chart and text.
8. A data sharing device based on blockchain, characterized in that: include: a parsing unit, configured to, upon receiving a data sharing request from a sender, parse the data sharing request to obtain a data receiver; a data acquisition unit, configured to acquire the data requested to be shared by the data sharing request from the blockchain network to obtain the shared data, wherein the blockchain network stores the uploaded data on each node in a distributed storage manner; an encryption unit, configured to encrypt the shared data using a quantum encryption method to obtain encrypted shared data; A sending unit is used to send the encrypted shared data to the recipient and store the shared record on the blockchain network.
9. A computer-readable storage medium, characterized in that The computer-readable storage medium includes a stored executable program, wherein, when the executable program is running, the device where the computer-readable storage medium is located is controlled to execute the blockchain-based data sharing method according to any one of claims 1 to 7.
10. An electronic device, characterized in that: include: a memory storing an executable program; A processor, configured to run the program, wherein the program, when running, executes the blockchain-based data sharing method described in any one of claims 1 to 7.