Customer information session acquisition method and device based on blockchain technology

By building a private blockchain for bank sessions within mobile banking, the problem of customer information session drift is solved using blockchain technology, enabling secure information sharing and reliable access, and improving user experience.

CN115525718BActive Publication Date: 2026-06-19INDUSTRIAL AND COMMERCIAL BANK OF CHINA

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
INDUSTRIAL AND COMMERCIAL BANK OF CHINA
Filing Date
2022-09-29
Publication Date
2026-06-19

AI Technical Summary

Technical Problem

In existing technologies, customer information sessions in mobile banking are prone to session drift, causing users to be unable to continue accessing services.

Method used

A private blockchain for bank sessions is built using blockchain technology. Customer information sessions are retrieved through block indexes, ensuring that information is shared and securely stored in distributed node containers.

Benefits of technology

It effectively solves the session drift problem, ensures reliable access to customer information sessions between service containers, and improves user experience and information security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115525718B_ABST
    Figure CN115525718B_ABST
Patent Text Reader

Abstract

The embodiment of the application discloses a kind of based on blockchain technology's customer information session acquisition method and device, it is related to blockchain technology field, it can be used in financial field or other fields, the method comprises: obtaining preset block index and preset bank session private chain;According to the block index, the position information of the data block corresponding to the target customer in the bank session private chain is determined, then the data block is obtained from the bank session private chain according to the position information, and then the customer information session of the target customer is obtained from the data block.This application effectively prevents the occurrence of session drift, effectively avoids the problem that customers cannot obtain services due to session drift.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of blockchain technology, and more specifically, to a method and apparatus for obtaining customer information sessions based on blockchain technology. Background Technology

[0002] Currently, customer information in mobile banking is stored and transmitted in the form of sessions (i.e., customer information sessions). These customer information sessions reside on the main group server. When a business group logs in, it needs to retrieve the customer information session from the main group and store it in the service container currently accessed by the user. However, other service containers within the same business group do not store this customer information session. This current method of retrieving customer information sessions from the main group frequently suffers from session drift. Session drift occurs when a user, after handling some transactions that require exiting the service and then returning, is reassigned to a different container than the original one due to service allocation issues. When session drift occurs during a user's mobile banking access, the customer information session, which only exists in the original service container, cannot be retrieved in the drifted-to container, causing service unavailability and impacting user experience.

[0003] Current solutions for acquiring customer information sessions often suffer from session drift, and existing technologies lack an effective solution. Summary of the Invention

[0004] In order to solve at least one of the technical problems in the background art, the present invention proposes a method and apparatus for obtaining customer information sessions based on blockchain technology.

[0005] To achieve the above objectives, according to one aspect of the present invention, a method for obtaining customer information sessions based on blockchain technology is provided, the method comprising:

[0006] Obtain the preset block index and the preset bank session private chain;

[0007] The location information of the data block corresponding to the target customer in the bank session private chain is determined according to the block index. Then, the data block is obtained from the bank session private chain according to the location information, and the customer information session of the target customer is obtained from the data block.

[0008] Optionally, the data block includes: a session core block and a user information modification record block; the session core block is used to store the original customer information session, and the user information modification record block is used to store customer information modification records; the block index includes: a session core block index and a user information modification record block index.

[0009] Optionally, the location information of the data block corresponding to the target customer in the bank session private chain is determined according to the block index, and then the data block is obtained from the bank session private chain according to the location information, and then the customer information session of the target customer is obtained from the data block, specifically including:

[0010] The location information of the session core block corresponding to the target customer is queried from the session core block index. Then, the corresponding session core block is obtained from the bank session private chain based on the location information. The original customer information session is then extracted from the obtained session core block.

[0011] Check if a data record corresponding to the target customer exists in the user information modification record block index;

[0012] If no data record exists for the target customer, the extracted original customer information session will be identified as the target customer's customer information session.

[0013] Optionally, the location information of the data block corresponding to the target customer in the bank session private chain is determined according to the block index, and then the data block is obtained from the bank session private chain according to the location information, and then the customer information session of the target customer is obtained from the data block. Specifically, this further includes:

[0014] If a data record corresponding to the target customer exists, the location information of the user information modification record block corresponding to the target customer is queried from the user information modification record block index. Then, the corresponding user information modification record block is obtained from the bank session private chain based on the location information, and the customer information modification record is extracted from the obtained user information modification record block.

[0015] The target customer's customer information session is generated based on the extracted original customer information session and the extracted customer information modification records.

[0016] Optionally, the method for obtaining customer information sessions based on blockchain technology also includes:

[0017] After obtaining the customer information session of the target customer, an access record is generated and uploaded to the bank's private session chain.

[0018] Optionally, the data block includes: an access record storage block; the access record storage block is used to store access records; the block index includes: an access record storage block index.

[0019] The method further includes:

[0020] Upon receiving an access record query request corresponding to the target customer, the location information of the access record storage block corresponding to the target customer is obtained from the access record storage block index. Then, based on the location information, the corresponding access record storage block is obtained from the bank session private chain, and the access record corresponding to the target customer is extracted from the obtained access record storage block.

[0021] Optionally, the block index is stored in the bank session private chain.

[0022] Optionally, the block index is used to store the correspondence between the customer's unique identification information and the location information of the data blocks in the bank's private session chain.

[0023] To achieve the above objectives, according to another aspect of the present invention, a customer information session acquisition device based on blockchain technology is provided, the device comprising:

[0024] The blockchain data acquisition unit is used to acquire the preset block index and the preset bank session private chain;

[0025] The customer information session acquisition unit is used to determine the location information of the data block corresponding to the target customer in the bank session private chain according to the block index, and then obtain the data block from the bank session private chain according to the location information, and then obtain the customer information session of the target customer from the data block.

[0026] To achieve the above objectives, according to another aspect of the present invention, a computer device is also provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the above-described customer information session acquisition method based on blockchain technology.

[0027] To achieve the above objectives, according to another aspect of the present invention, a computer-readable storage medium is also provided, on which a computer program / instruction is stored, which, when executed by a processor, implements the steps of the above-described customer information session acquisition method based on blockchain technology.

[0028] To achieve the above objectives, according to another aspect of the present invention, a computer program product is also provided, including a computer program / instructions that, when executed by a processor, implement the steps of the above-described customer information session acquisition method based on blockchain technology.

[0029] The beneficial effects of this invention are as follows:

[0030] This invention utilizes blockchain technology to establish a private blockchain for bank sessions. Customer information sessions are stored on this private blockchain, allowing service containers to retrieve customer information sessions directly from it when needed. This eliminates the need to download customer information sessions from the main group server for local storage, fundamentally solving the problem of session drift and effectively preventing customers from being unable to access services due to session drift. Attached Figure Description

[0031] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort. In the drawings:

[0032] Figure 1 This is a first flowchart of the customer information session acquisition method based on blockchain technology according to an embodiment of the present invention;

[0033] Figure 2 This is a second flowchart of the customer information session acquisition method based on blockchain technology according to an embodiment of the present invention;

[0034] Figure 3 This is a schematic diagram of the system architecture of the present invention;

[0035] Figure 4 This is a schematic diagram of the private blockchain for bank sessions in this invention;

[0036] Figure 5 This is a structural block diagram of a customer information session acquisition device based on blockchain technology according to an embodiment of the present invention;

[0037] Figure 6 This is a schematic diagram of a computer device according to an embodiment of the present invention. Detailed Implementation

[0038] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.

[0039] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0040] It should be noted that the terms "comprising" and "having" and any variations thereof in the specification, claims and accompanying drawings of this invention are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such process, method, product or device.

[0041] It should be noted that, unless otherwise specified, the embodiments and features described in the present invention can be combined with each other. The present invention will now be described in detail with reference to the accompanying drawings and embodiments.

[0042] It should be noted that the acquisition, storage, use, and processing of data in the technical solution of this application all comply with the relevant provisions of national laws and regulations.

[0043] It should be noted that the customer information session acquisition method and device based on blockchain technology of the present invention can be used in the financial field, or in any field other than the financial field. The application field of the customer information session acquisition method and device based on blockchain technology of the present invention is not limited.

[0044] This invention addresses the shortcomings of current mobile banking session management by combining private blockchain technology to provide a secure, distributed, shareable node container for managing mobile banking sessions, supporting scalable applications. This invention modifies blockchain block nodes, customizes block classifications, and constructs a private session chain, making it more suitable for storing mobile banking sessions and applications.

[0045] Figure 3 This is a schematic diagram of the system architecture of the present invention, as shown below. Figure 3 As shown, this invention builds a private blockchain for bank sessions based on blockchain technology, and uses Docker containers (i.e., Docker technology) to achieve this. Figure 3 Each service container (as a private chain node) can be used as a private chain node to facilitate scaling. Each service container, acting as a private chain node, can retrieve data from the bank's private session chain and upload data to the chain.

[0046] like Figure 4As shown, the data blocks on the bank session private chain include: session core blocks, user information modification record blocks, and access record storage blocks, among other types.

[0047] like Figure 4 As shown, the structure of a data block on the bank's private blockchain includes three areas: a block header, a hash storage area, and a data storage area. The block header stores the timestamp, the generated Merkle tree root, the block hash calculated from the current Merkle tree root and the hash value of the previous block, the node's UUID, and the node type. The hash storage area stores a Merkle tree structure with the hash values ​​of the information stored in the current block as leaf nodes. The data storage area stores the data information stored in the block in key-value format, such as session information and access records.

[0048] The core session block stores the original customer information session in the data storage area. The original customer information session is a customer information session established based on the original customer information. A Merkle tree of the block is constructed based on the hash value of the original customer information session information, thereby building the core session block.

[0049] The user information modification record block stores customer information modification records, the modified customer's unique identifier, and the UUID of the original customer information session stored in the session core block. A Merkle tree is constructed based on the hash value of the customer information modification record, thus building the user information modification record block.

[0050] The access record storage block stores information such as the client's request timestamp, the IP address of the service container that initiated the request, the user's username, phone number, and name. A Merkle tree is constructed based on the hash values ​​of the user's access record information, thus building the access record storage block.

[0051] This invention constructs a private blockchain for bank sessions based on the above blocks in the order of their construction, and then builds a block index according to the block categories. In one embodiment of this invention, the block index is used to store the correspondence between customer unique identification information and the location information of data blocks in the private blockchain for bank sessions. Specifically, the block index of this invention includes: a session core block index, a user information modification record block index, and an access record storage block index.

[0052] Figure 1 This is a first flowchart of the customer information session acquisition method based on blockchain technology according to an embodiment of the present invention, as follows: Figure 1 As shown, in one embodiment of the present invention, the customer information session acquisition method based on blockchain technology includes steps S101 to S103.

[0053] Step S101: Obtain the preset block index and the preset bank session private chain.

[0054] In one embodiment of the present invention, the block index is stored in the bank session private chain. In another embodiment of the present invention, the block index may also be stored within a service container or in the bank system.

[0055] Step S102: Determine the location information of the data block corresponding to the target customer in the bank session private chain according to the block index, then obtain the data block from the bank session private chain according to the location information, and then obtain the customer information session of the target customer from the data block.

[0056] This invention overcomes the problem of session drift and subsequent service failure caused by existing mobile banking customer information session acquisition solutions. Based on the sharing characteristics of blockchain technology, it enables the sharing of customer information sessions within a distributed group, while simultaneously recording user access records. Furthermore, this invention overcomes the insecurity of storing customer information sessions in a service container cache. Based on the data integrity, tamper-proof data, and access record registration features of blockchain technology, it ensures the integrity and security of customer information within the session.

[0057] In one embodiment of the present invention, the data block includes: a session core block and a user information modification record block; the session core block is used to store original customer information sessions, and the user information modification record block is used to store customer information modification records; the block index includes: a session core block index and a user information modification record block index.

[0058] In one embodiment of the present invention, the block index is used to store the correspondence between customer unique identification information and the location information of data blocks in the bank session private chain. The session core block index is used to store the correspondence between customer unique identification information and the location information of session core blocks. The user information modification record block index is used to store the correspondence between customer unique identification information and the location information of user information modification record blocks.

[0059] In one embodiment of the present invention, the customer's unique identification information may be the customer's unique number or the customer's bank card number, and the block's location information may be the block's unique identifier code (UUID).

[0060] like Figure 2 As shown, in one embodiment of the present invention, the above step S102 specifically includes steps S201 to S203.

[0061] Step S201: Query the location information of the session core block corresponding to the target customer from the session core block index, and then obtain the corresponding session core block from the bank session private chain according to the location information, and then extract the original customer information session from the obtained session core block.

[0062] Step S202: Query whether there is a data record corresponding to the target customer in the user information modification record block index.

[0063] Step S203: If there is no data record corresponding to the target customer, the extracted original customer information session is determined as the target customer's customer information session.

[0064] In the scenario of obtaining session information, the service container first accesses the user information modification record block index in the block index to check if there is a modification record corresponding to the current customer. If not, it accesses the session core block index in the block index to find the original customer information session of the current customer and determines the original customer information session as the customer's customer information session.

[0065] like Figure 2 As shown, in one embodiment of the present invention, step S102 further includes steps S204 and S205.

[0066] Step S204: If a data record corresponding to the target customer exists, query the location information of the user information modification record block corresponding to the target customer from the user information modification record block index, and then obtain the corresponding user information modification record block from the bank session private chain according to the location information, and then extract the customer information modification record from the obtained user information modification record block.

[0067] Step S205: Generate the target customer's customer information session based on the extracted original customer information session and the extracted customer information modification record.

[0068] In this invention, when acquiring session information, the service container first accesses the user information modification record block index in the block index to check if there is a modification record corresponding to the current customer. If so, it accesses the corresponding user information modification record block, retrieves and stores the current customer's customer information modification record. Then, it accesses the session core block index in the block index to find the current customer's original customer information session. After obtaining it, it modifies and merges the original customer information session with the latest complete customer information modification record and returns it to the service container. At the same time, it generates an access record and stores it in the currently generated access record storage block.

[0069] In one embodiment of the present invention, the customer information session acquisition method based on blockchain technology further includes the following steps:

[0070] After obtaining the customer information session of the target customer, an access record is generated and uploaded to the bank's private session chain.

[0071] In one embodiment of the present invention, access records can be generated based on information such as the customer's request timestamp, the IP address of the service container initiating the request, the user's username, mobile phone number, and name.

[0072] In one embodiment of the present invention, the data block includes: an access record storage block; the access record storage block is used to store access records; the block index includes: an access record storage block index.

[0073] The access record storage block index is used to store the correspondence between customer unique identification information and the location information of the access record storage block.

[0074] In one embodiment of the present invention, the customer information session acquisition method based on blockchain technology further includes the following steps:

[0075] Upon receiving an access record query request corresponding to the target customer, the location information of the access record storage block corresponding to the target customer is obtained from the access record storage block index. Then, based on the location information, the corresponding access record storage block is obtained from the bank session private chain, and the access record corresponding to the target customer is extracted from the obtained access record storage block.

[0076] This invention allows the mobile banking backend to access access records. First, it accesses the access record storage block index, searches for the access record storage block based on the customer's keywords, and retrieves the customer's access records from the corresponding block.

[0077] As can be seen from the above embodiments, the customer information session acquisition based on blockchain technology of the present invention achieves at least the following beneficial effects:

[0078] 1. This invention improves the blockchain construction structure, making it better adapted to the storage, retrieval, and application of mobile banking sessions.

[0079] 2. This invention can effectively protect the security and tamper-proof nature of user information.

[0080] 3. The blockchain-based bank session acquisition method of this invention can effectively avoid the problem of customers being unable to obtain services due to session drift.

[0081] It should be noted that the steps shown in the flowchart in 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 may be executed in a different order than that shown here.

[0082] Based on the same inventive concept, embodiments of the present invention also provide a customer information session acquisition device based on blockchain technology, which can be used to implement the customer information session acquisition method based on blockchain technology described in the above embodiments, as described in the following embodiments. Since the principle of the customer information session acquisition device based on blockchain technology is similar to that of the customer information session acquisition method based on blockchain technology, embodiments of the customer information session acquisition device based on blockchain technology can refer to embodiments of the customer information session acquisition method based on blockchain technology, and repeated details will not be repeated. As used below, the terms "unit" or "module" can refer to a combination of software and / or hardware that implements a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.

[0083] Figure 5 This is a structural block diagram of a customer information session acquisition device based on blockchain technology according to an embodiment of the present invention, such as... Figure 5 As shown, in one embodiment of the present invention, the customer information session acquisition device based on blockchain technology includes:

[0084] Blockchain data acquisition unit 1 is used to acquire a preset block index and a preset bank session private chain;

[0085] The customer information session acquisition unit 2 is used to determine the location information of the data block corresponding to the target customer in the bank session private chain according to the block index, and then obtain the data block from the bank session private chain according to the location information, and then obtain the customer information session of the target customer from the data block.

[0086] In one embodiment of the present invention, the data block includes: a session core block and a user information modification record block; the session core block is used to store original customer information sessions, and the user information modification record block is used to store customer information modification records; the block index includes: a session core block index and a user information modification record block index.

[0087] In one embodiment of the present invention, the customer information session acquisition unit 2 specifically includes:

[0088] The original customer information session acquisition module is used to query the location information of the session core block corresponding to the target customer from the session core block index, and then obtain the corresponding session core block from the bank session private chain according to the location information, and then extract the original customer information session from the obtained session core block.

[0089] The user information modification record query module is used to query whether there is a data record corresponding to the target customer in the user information modification record block index;

[0090] The first customer information session determination module is used to determine the extracted original customer information session as the customer information session of the target customer if no data record corresponding to the target customer exists.

[0091] In one embodiment of the present invention, the customer information session acquisition unit 2 further includes:

[0092] The customer information modification record acquisition module is used to query the location information of the user information modification record block corresponding to the target customer from the user information modification record block index if a data record corresponding to the target customer exists, and then obtain the corresponding user information modification record block from the bank session private chain according to the location information, and then extract the customer information modification record from the obtained user information modification record block.

[0093] The second customer information session determination module is used to generate the target customer's customer information session based on the extracted original customer information session and the extracted customer information modification record.

[0094] In one embodiment of the present invention, the customer information session acquisition device based on blockchain technology further includes:

[0095] The access record on-chain unit is used to generate an access record after obtaining the customer information session of the target customer, and to upload the access record to the bank's private session chain.

[0096] In one embodiment of the present invention, the data block includes: an access record storage block; the access record storage block is used to store access records; the block index includes: an access record storage block index.

[0097] In one embodiment of the present invention, the customer information session acquisition device based on blockchain technology further includes:

[0098] The access record query unit is used to, upon receiving an access record query request corresponding to the target customer, obtain the location information of the access record storage block corresponding to the target customer from the access record storage block index, then obtain the corresponding access record storage block from the bank session private chain based on the location information, and then extract the access record corresponding to the target customer from the obtained access record storage block.

[0099] To achieve the above objectives, according to another aspect of this application, a computer device is also provided. For example... Figure 6 As shown, the computer device includes a memory, a processor, a communication interface, and a communication bus. The memory stores a computer program that can run on the processor. When the processor executes the computer program, it implements the steps in the method of the above embodiments.

[0100] The processor can be a central processing unit (CPU). The processor can also be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or combinations of the above types of chips.

[0101] Memory, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs, non-transitory computer-executable programs, and units, such as the program units corresponding to the above-described method embodiments of the present invention. The processor executes various functional applications and data processing of the processor by running the non-transitory software programs, instructions, and modules stored in the memory, thereby implementing the methods described in the above-described method embodiments.

[0102] The memory may include a program storage area and a data storage area. The program storage area may store the operating system and applications required for at least one function; the data storage area may store data created by the processor, etc. Furthermore, the memory may include high-speed random access memory and non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid-state storage device. In some embodiments, the memory may optionally include memory remotely located relative to the processor, which can be connected to the processor 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.

[0103] The one or more units are stored in the memory and, when executed by the processor, perform the methods described in the above embodiments.

[0104] The specific details of the aforementioned computer equipment can be understood by referring to the relevant descriptions and effects in the above embodiments, and will not be repeated here.

[0105] To achieve the above objectives, according to another aspect of this application, a computer-readable storage medium is also provided, which stores a computer program that, when executed in a computer processor, implements the steps in the aforementioned blockchain-based customer information session acquisition method. Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. The storage medium can be a magnetic disk, optical disk, read-only memory (ROM), random access memory (RAM), flash memory, hard disk drive (HDD), or solid-state drive (SSD), etc.; the storage medium may also include combinations of the above types of memory.

[0106] To achieve the above objectives, according to another aspect of this application, a computer program product is also provided, including a computer program / instructions that, when executed by a processor, implement the steps of the above-described blockchain-based customer information session acquisition method.

[0107] Obviously, those skilled in the art will understand that the modules or steps of the present invention described above can be implemented using general-purpose computing devices. They can be centralized on a single computing device or distributed across a network of multiple computing devices. Optionally, they can be implemented using computer-executable program code, thereby storing them in a storage device for execution by a computing device, or fabricating them separately as individual integrated circuit modules, or fabricating multiple modules or steps as a single integrated circuit module. Thus, the present invention is not limited to any particular hardware and software combination.

[0108] The above description is merely a preferred embodiment of the present invention and is not intended to limit the invention. Various modifications and variations can be made to the present invention by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.

Claims

1. A method for obtaining customer information sessions based on blockchain technology, characterized in that, include: Obtain the preset block index and the preset bank session private chain; The location information of the data block corresponding to the target customer in the bank session private chain is determined according to the block index. Then, the data block is obtained from the bank session private chain according to the location information, and then the customer information session of the target customer is obtained from the data block. The data blocks include: a session core block and a user information modification record block; the session core block stores original customer information sessions, and the user information modification record block stores customer information modification records; the block index includes: a session core block index and a user information modification record block index; the session core block index stores the correspondence between customer unique identification information and the location information of the session core block; the user information modification record block index stores the correspondence between customer unique identification information and the location information of the user information modification record block; The step of determining the location information of the data block corresponding to the target customer in the bank session private chain based on the block index, then retrieving the data block from the bank session private chain based on the location information, and then retrieving the customer information session of the target customer from the data block, specifically includes: The location information of the session core block corresponding to the target customer is queried from the session core block index. Then, the corresponding session core block is obtained from the bank session private chain based on the location information. The original customer information session is then extracted from the obtained session core block. Check if a data record corresponding to the target customer exists in the user information modification record block index; If no data record exists for the target customer, the extracted original customer information session will be identified as the target customer's customer information session.

2. The method for obtaining customer information sessions based on blockchain technology according to claim 1, characterized in that, The location information of the data block corresponding to the target customer in the bank's private session chain is determined based on the block index. Then, the data block is retrieved from the bank's private session chain based on the location information, and the customer information session of the target customer is retrieved from the data block. Specifically, the process also includes: If a data record corresponding to the target customer exists, the location information of the user information modification record block corresponding to the target customer is queried from the user information modification record block index. Then, the corresponding user information modification record block is obtained from the bank session private chain based on the location information, and the customer information modification record is extracted from the obtained user information modification record block. The target customer's customer information session is generated based on the extracted original customer information session and the extracted customer information modification records. 3.The blockchain-based customer information session acquisition method of claim 1, wherein, Also includes: After obtaining the customer information session of the target customer, an access record is generated and uploaded to the bank's private session chain.

4. The method for obtaining customer information sessions based on blockchain technology according to claim 3, characterized in that, The data block includes: an access record storage block; the access record storage block is used to store access records; the block index includes: an access record storage block index; The method further includes: Upon receiving an access record query request corresponding to the target customer, the location information of the access record storage block corresponding to the target customer is obtained from the access record storage block index. Then, based on the location information, the corresponding access record storage block is obtained from the bank session private chain, and the access record corresponding to the target customer is extracted from the obtained access record storage block.

5. The method for obtaining customer information sessions based on blockchain technology according to claim 1, characterized in that, The block index is stored in the bank session private chain. 6.The blockchain-based customer information session acquisition method of claim 1, wherein, The block index is used to store the correspondence between the customer's unique identification information and the location information of the data blocks in the bank's private session chain.

7. A customer information session acquisition device based on blockchain technology, characterized in that, include: The blockchain data acquisition unit is used to acquire the preset block index and the preset bank session private chain; The customer information session acquisition unit is used to determine the location information of the data block corresponding to the target customer in the bank session private chain according to the block index, and then obtain the data block from the bank session private chain according to the location information, and then obtain the customer information session of the target customer from the data block; The data blocks include: a session core block and a user information modification record block; the session core block stores original customer information sessions, and the user information modification record block stores customer information modification records; the block index includes: a session core block index and a user information modification record block index; the session core block index stores the correspondence between customer unique identification information and the location information of the session core block; the user information modification record block index stores the correspondence between customer unique identification information and the location information of the user information modification record block; The customer information session acquisition unit includes: The original customer information session acquisition module is used to query the location information of the session core block corresponding to the target customer from the session core block index, and then obtain the corresponding session core block from the bank session private chain according to the location information, and then extract the original customer information session from the obtained session core block. The user information modification record query module is used to query whether there is a data record corresponding to the target customer in the user information modification record block index; The first customer information session determination module is used to determine the extracted original customer information session as the customer information session of the target customer if no data record corresponding to the target customer exists.

8. A computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 6.

9. A computer-readable storage medium having a computer program / instructions stored thereon, characterized in that, When the computer program / instructions are executed by the processor, they implement the steps of the method according to any one of claims 1 to 6.

10. A computer program product comprising computer programs / instructions, characterized in that, When the computer program / instructions are executed by the processor, they implement the steps of the method according to any one of claims 1 to 6.