CN111552822A - User information report generation method based on block chain node communication - Google Patents

User information report generation method based on block chain node communication Download PDF

Info

Publication number
CN111552822A
CN111552822A CN202010345396.9A CN202010345396A CN111552822A CN 111552822 A CN111552822 A CN 111552822A CN 202010345396 A CN202010345396 A CN 202010345396A CN 111552822 A CN111552822 A CN 111552822A
Authority
CN
China
Prior art keywords
field
assigned
information
user information
block chain
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010345396.9A
Other languages
Chinese (zh)
Inventor
魏威
赵达悦
高建欣
王梦寒
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
OneConnect Smart Technology Co Ltd
OneConnect Financial Technology Co Ltd Shanghai
Original Assignee
OneConnect Financial Technology Co Ltd Shanghai
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by OneConnect Financial Technology Co Ltd Shanghai filed Critical OneConnect Financial Technology Co Ltd Shanghai
Priority to CN202010345396.9A priority Critical patent/CN111552822A/en
Publication of CN111552822A publication Critical patent/CN111552822A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/38Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/36Creation of semantic tools, e.g. ontology or thesauri
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/21Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
    • G06F18/214Generating training patterns; Bootstrap methods, e.g. bagging or boosting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/30Semantic analysis

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Computational Linguistics (AREA)
  • Artificial Intelligence (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Evolutionary Computation (AREA)
  • Evolutionary Biology (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Library & Information Science (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application relates to the technical field of computers, in particular to a user information report generation method based on block chain node communication. The method comprises the following steps: receiving a user information query request, wherein the user information query request carries a query identifier; acquiring a user information report template associated with the query identifier; extracting fields to be assigned in a user information report template by utilizing a pre-trained segmentation algorithm; searching block chain link points related to each field to be assigned, and acquiring access authority of each block chain link node so as to extract field information from the block chain link points according to each access authority; processing the field information by utilizing a pre-trained semantic recognition algorithm or a pre-trained field processing algorithm to obtain assignment information corresponding to each field to be assigned; and inputting the assignment information into a user information report template to generate a user information report. By adopting the method, the generation efficiency of the user information report can be improved.

Description

User information report generation method based on block chain node communication
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method for generating a user information report based on block-level node communication.
Background
Although China has acquired a great deal of development in electronic government construction, due to the lack of unified standards in system construction, data islands exist among systems of government departments or institutions at all levels at the present stage, and unified entrances are lacked.
In a traditional manner, in order to acquire various types of information of a user, different mechanisms of the user on line are required to acquire the information respectively, or various types of websites of the user on line are required to acquire the information respectively, but data barriers exist among systems of different mechanisms or websites, and the process of acquiring data from different systems is complicated, so that the efficiency of acquiring the information is low.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a method, an apparatus, a computer device and a storage medium for generating a user information report based on block-link point communication, which can improve the efficiency of generating a user information report.
A user information report generation method based on block chain node communication comprises the following steps:
receiving a user information query request, wherein the user information query request carries a query identifier;
acquiring a user information report template associated with the query identifier;
extracting fields to be assigned in a user information report template by utilizing a pre-trained segmentation algorithm;
searching block chain link points related to each field to be assigned, and acquiring access authority of each block chain link node so as to extract field information from the block chain link points according to each access authority;
processing the field information by utilizing a pre-trained semantic recognition algorithm or a pre-trained field processing algorithm to obtain assignment information corresponding to each field to be assigned;
and inputting the assignment information into a user information report template to generate a user information report.
In one embodiment, processing field information by using a pre-trained semantic recognition algorithm or a field processing algorithm to obtain assignment information corresponding to each field to be assigned includes:
performing semantic recognition on the field information by utilizing a pre-trained semantic recognition algorithm to obtain field recognition information;
and searching assignment information corresponding to each field to be assigned from a preset semantic library according to the field identification information.
In one embodiment, the processing of the field information by using a pre-trained semantic recognition algorithm or a field processing algorithm includes:
acquiring a to-be-assigned format corresponding to a to-be-assigned field and a field format corresponding to field information;
and when the field format is inconsistent with the format to be assigned, processing the field information according to a field processing algorithm corresponding to the field to be assigned.
In one embodiment, processing field information according to a field processing algorithm corresponding to a field to be assigned includes:
when the field to be assigned is a text, carrying out standardized processing on field information by utilizing a Chinese word segmentation algorithm to obtain assignment information;
and when the field to be assigned is the picture, identifying the picture by using an optical character recognition algorithm to obtain assignment information.
In one embodiment, obtaining assignment information of a field to be assigned from a blockchain node includes:
receiving a decryption authority corresponding to a field to be assigned, which is sent by a block chain node;
and acquiring assignment information corresponding to the field to be assigned from the blockchain server according to the decryption authority.
In one embodiment, obtaining assignment information of a field to be assigned from a blockchain node includes:
receiving decryption permission sent by a blockchain node within preset time;
and obtaining assignment information corresponding to the fields to be assigned from each block chain node according to the decryption authority within a preset time.
In one embodiment, the searching for the block link point associated with each field to be assigned includes:
acquiring a to-be-assigned identifier corresponding to a to-be-assigned field;
and searching the block chain node associated with each field to be assigned according to the identifier to be assigned.
A block-node communication-based user information report generation apparatus, comprising:
the request receiving module is used for receiving a user information query request, and the user information query request carries a query identifier;
the template acquisition module is used for acquiring a user information report template related to the query identifier;
the field extraction module is used for extracting fields to be assigned in the user information report template by utilizing a pre-trained segmentation algorithm;
the block chain searching module is used for searching block chain link points related to each field to be assigned and acquiring access authority of each block chain node so as to extract field information from the block chain link points respectively according to the access authority;
the assignment information calculation module is used for processing the field information by utilizing a pre-trained semantic recognition algorithm or a pre-trained field processing algorithm to obtain assignment information corresponding to each field to be assigned;
and the report generation module is used for inputting the assignment information into the user information report template to generate a user information report.
A computer device comprising a memory storing a computer program and a processor implementing the steps of the method when the processor executes the computer program.
A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the above-mentioned method.
The user information report generation method, the device, the computer equipment and the storage medium based on the block link point communication receive a user information query request, wherein the user information query request carries a query identifier; further, a user information report template associated with the query identifier can be obtained; automatically extracting fields to be assigned in a user information report template by utilizing a preset segmentation algorithm in a computer; automatically searching block chain link points related to each field to be assigned, and acquiring access authority of each block chain node so as to extract field information from the block chain link points according to each access authority; the field information corresponding to the field to be assigned is automatically acquired from the block chain. The computer processes the field information by utilizing a pre-trained semantic recognition algorithm or a field processing algorithm to obtain assignment information corresponding to each field to be assigned, so that the format of each assignment information conforms to the requirements in the report; and then, inputting the assignment information meeting the format requirement into a user information report template, and automatically generating a user information report. The field information is automatically acquired from the block chain nodes by using a computer, and the format of the field information is standardized to obtain the assignment information meeting the report requirement, so that the automatic generation of the user information report is realized, and the efficiency and the accuracy of report generation are greatly improved.
Drawings
FIG. 1 is a diagram illustrating an exemplary scenario in which a method for generating a report of user information based on block-level node communication is implemented;
FIG. 2 is a flow diagram illustrating a method for generating a user information report based on block-based point-to-point communication in one embodiment;
FIG. 3 is a flow diagram that illustrates the processing of field information using a field processing algorithm, according to one embodiment;
FIG. 4 is a block diagram of an embodiment of a device for generating a user information report based on block-based point-to-point communication;
FIG. 5 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The method for generating the user information report based on the block link point communication can be applied to the application environment shown in fig. 1. Wherein the user terminal 102 communicates with the server 104 via a network, and the server 104 communicates with the plurality of blockchain nodes 103 via the network. The server 104 receives a user information query request sent by the user terminal 102, wherein the user information query request carries a query identifier; acquiring a user information report template associated with the query identifier; extracting fields to be assigned in a user information report template by utilizing a pre-trained segmentation algorithm; searching block chain link points 103 related to each field to be assigned, and acquiring access authority of each block chain link point 103 so as to extract field information from the block chain link points 103 according to each access authority; processing the field information by utilizing a pre-trained semantic recognition algorithm or a pre-trained field processing algorithm to obtain assignment information corresponding to each field to be assigned; the assignment information is input into the user information report template to generate a user information report, and further, the server 104 may also push the user information report to the user terminal 102.
The user terminal 102 may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices, and the server 104 may be implemented by an independent server or a server cluster composed of a plurality of servers. When the server 104 is an independent server, a plurality of databases may be deployed in the server 104, and each database may store a service data table of a specific service; when the server 104 is a server cluster composed of a plurality of servers, a service data table of a specific service may be stored in a database disposed in each server.
In one embodiment, as shown in fig. 2, a method for generating a user information report based on block-node communication is provided, which is described by taking the method as an example applied to the server 104 in fig. 1, and in other embodiments, the method may also be applied to a terminal, and the method includes the following steps:
step 210, receiving a user information query request, where the user information query request carries a query identifier.
The user information may be financial information of the user, which is information that may be used to certify the credit worthiness of the user, such as a financer. As in financing, a financing party (user) often needs to provide data, such as tax, power, water usage data, etc., pertaining to itself, but from different government departments or institutions when applying for a loan to the financing party (e.g., a bank), which can be used to justify the financing capabilities of the financing party, and thus can be broadly calculated as financial information pertaining to the financing party.
The query identifier comprises a type identifier and a user identifier, the user identifier can be used for uniquely identifying the user, and the type identifier can be used for identifying the type of the user information report. For example, a financing party sends a loan request to a financial institution such as a bank, the loan request carries an inquiry identifier, the financial institution initiates a data viewing request of financial information report corresponding to the inquiry identifier to a government data administration, so that the government data administration initiates a data inquiry authorization request for the financial institution to the financing party according to the received request, and when the financing party confirms the data viewing request, the data viewing request is digitally signed, and the government data administration verifies and signs the digital signature of the financing party.
Step 220, a user information report template associated with the query identifier is obtained.
Specifically, the memory in the server may store in advance the correspondence between the types of user information report templates and the type identifications. Then, the server queries the user information report template corresponding to the type identifier from the corresponding memory according to the type identifier in the query identifier. The user information report template may include fields to be filled in.
And step 230, extracting the fields to be assigned in the user information report template by using a pre-trained segmentation algorithm.
Specifically, in order to completely supplement the user information in the user information report template, the server extracts the fields to be assigned in the user information report template. Specifically, the server can search the fields to be assigned from the user information report template according to a pre-trained segmentation algorithm, so that the effect of automatically extracting the fields to be assigned from the information report template is realized, and the acquisition efficiency of the fields to be assigned is improved. Specifically, the segmentation algorithm may be a segmentation model based on an artificial neural network, a linear decision is obtained by training a multi-layer perception mechanism, and then a decision function is used to classify pixels to achieve the purpose of segmentation. In particular, the acquisition of the segmentation model requires a large amount of training data, wherein the training process may include: the method comprises the steps of dividing a plurality of tested information report templates into different areas corresponding to fields to be assigned, for example, the areas can be divided into different areas such as a user name input box, a income input box and an income-of-year box, and then inputting the divided areas into a machine learning model to train so as to obtain a division model, wherein the machine learning model can be a CNN network. In another embodiment, the server may also set a placeholder in the user information report template in advance, and then search the field to be assigned from the user information report template according to the placeholder.
And 240, searching the block chain link points associated with the fields to be assigned, and acquiring the access authority of each block chain node so as to respectively extract field information from the block chain link points according to each access authority.
The method includes presetting sources of fields in a user information report in a server, for example, a tax field value is derived from a tax field value in a tax system, and establishing a mapping relation between each field and a source block link point of each field. After the server successfully checks the user information, the server finds corresponding source block link points for each field in the user information report template according to a preset mapping relation, reads assignment information of the corresponding fields from the block link points to realize assignment of each field in the user information report template, and further realizes automatic generation of a user information report according to the assignment information.
Further, reading field information corresponding to the field to be assigned from the block link point, including: and acquiring the access authority of each block chain node, and respectively selecting field information meeting the access authority from the plurality of block chain nodes. That is to say, only the data with access right can be obtained from each blockchain node, but the data without access right cannot be directly obtained, so that the security of data interaction is increased.
And step 250, processing the field information by utilizing a pre-trained semantic recognition algorithm or a pre-trained field processing algorithm to obtain assignment information corresponding to each field to be assigned.
Considering that the format of the field to be assigned in the user information report template is inconsistent with the format of the field information stored in the block chain node, the field information in the block chain node needs to be preprocessed so as to conform to the format required in the user information report template.
Specifically, semantic recognition may be performed on field information acquired from the block chain by using a semantic recognition algorithm to obtain a semantic result of each field information, and then corresponding assignment information may be searched for according to the semantic result. The semantic recognition algorithm can recognize semantics and perform semantic matching according to the recognized semantics, and is a pre-trained neural network model without limitation. In another embodiment, the field information may be processed by using a field processing algorithm to obtain the assignment information corresponding to each field information to be processed, wherein the processing algorithm may be divided into a word processing algorithm for words and an image processing algorithm for image fields.
Specifically, the field information acquired from the block link point is preprocessed, including: obtaining the data type corresponding to each field information, for example, the data type may include: image type, text type, and audio or video type, etc. And then searching processing algorithms corresponding to the data types to perform data preprocessing on the field information according to the corresponding processing algorithms to obtain processed assignment information, wherein the assignment information meets the requirement of generating a user information report. In this embodiment, by preprocessing the information stored in each block chain node, the preprocessed information can be consistent with the format of the assignment information required in the user information report template, so that the adaptability to information in various formats is realized, and the efficiency of automatically generating the user information report is improved.
Step 260, inputting the assignment information into the user information report template to generate a user information report.
Specifically, the server inputs the assignment information into a corresponding position in the user information report template, so as to realize assignment of the user information report template and further generate the user information report.
It should be noted that, in one embodiment, a blockchain network composed of a government data administration, a financial institution (i.e., a fund), a supervisory institution, a financer (which may be an individual or an enterprise), and the like is established in advance, each participant has a respective blockchain node, and the blockchain nodes may participate in the automatic generation of the user information report together. The block chain network has high expandability, each financial institution can participate in the block chain network by the identity of the node, and accesses the application layer of the self party to the bottom layer of the block chain by the mode of API port butt joint, and the mode is simple, convenient and flexible. In the process of generating the user information report, the government affair data administration is used as a uniform outlet of the user information of the financing party, the acquisition and mapping of related data are directly completed by the system based on the corresponding relation preset in the system, and the financial institution can directly acquire the structured data of the financing party, so that the convenience of acquiring and transmitting the related information is improved, and the efficiency is improved.
In this embodiment, by presetting the source block chain nodes of each field to be assigned in the user information report, the assignment information of each field to be assigned can be automatically acquired from each source block chain node, and automatic assignment of the user information report is realized. Meanwhile, the accuracy and traceability of the information are improved by obtaining the assignment information from the block chain, the safety of the data is improved, and when the source of the assignment information relates to a plurality of block chain nodes, the plurality of block chain nodes can participate in the automatic generation link of the user information report at the same time, so that the report generation efficiency is improved.
Furthermore, the block chain network can ensure the information safety, and because a plurality of distributed nodes exist in the network, when part of the nodes have faults, the rest nodes can still operate normally, and the information interaction can not be interrupted. After the node failure is eliminated, other nodes can copy the accounting account book to the failed node, so that the follow-up nodes can still normally participate in accounting. The block chain can ensure the non-tampering property and the traceability of credit investigation data, all nodes on the chain participate in accounting together, and the account book of each node is unique, so that the data tampering can be effectively prevented. Meanwhile, the data are uploaded with time stamps and recorded in the blocks, and the blocks can be connected with each other only in a sequential adding mode, so that the data can be traced, data can be accurately traced when a data leakage event occurs, and the default cost is improved.
In one embodiment, processing field information by using a pre-trained semantic recognition algorithm or a field processing algorithm to obtain assignment information corresponding to each field to be assigned includes: performing semantic recognition on the field information by utilizing a pre-trained semantic recognition algorithm to obtain field recognition information; and searching assignment information corresponding to each field to be assigned from a preset semantic library according to the field identification information.
A large amount of information meeting the assignment information standard is stored in the preset semantic library in advance, so that when the information can be successfully extracted from the semantic library, the extracted information can be directly used as assignment information, and when the information cannot be successfully extracted from the semantic library, the field information can be further subjected to data processing by using a field processing algorithm to obtain assignment information meeting requirements.
In the embodiment, the semantics of the field information are identified through the semantic identification algorithm, so that the assignment information matched with the field information can be quickly and accurately obtained, extra computer resources are not wasted for data processing, and the acquisition efficiency of the assignment information is greatly improved.
In one embodiment, as shown in fig. 3, a flow chart for processing field information by using a field processing algorithm is provided, which includes:
step 310, a to-be-assigned format corresponding to the to-be-assigned field and a field format corresponding to the field information are obtained.
In order to realize the correct assignment of the fields to be assigned in the user information report template, it is necessary to ensure that the format of the field information acquired from the block link points is completely consistent with the format of the fields to be assigned. Therefore, the server is also used for acquiring the format to be assigned corresponding to the field to be assigned and the field format corresponding to the field information; and detecting whether the formats of the two are consistent.
And step 320, when the field format is inconsistent with the format to be assigned, processing the field information according to the field processing algorithm corresponding to the field to be assigned.
And when the field format is inconsistent with the format to be assigned, processing the field information according to a field processing algorithm corresponding to the field to be assigned so as to unify the formats of the field information and the field information.
In this embodiment, by comparing the formats, the consistency of the formats of the field to be assigned and the field information is ensured, so that the accuracy of assigning the user information report template by using the field information is further ensured.
In one embodiment, processing field information according to a field processing algorithm corresponding to a field to be assigned includes: and when the field to be assigned is a text, carrying out standardized processing on the field information by utilizing a Chinese word segmentation algorithm to obtain assignment information.
The Chinese word segmentation algorithm comprises the following concrete implementation steps: dividing information acquired from the block link points into unit information according to a preset rule; and matching the unit marking information with the information in the information database, and extracting the information with the maximum matching degree as assignment information to realize standardized processing of the information.
Specifically, there may be a case where the formats of the information stored in advance in the blockchain node and the assignment information required in the user information report are inconsistent. In order to carry out standardized processing on information prestored in the block chain link points, the server can utilize a Chinese natural language processing word segmentation method, such as HanLP, to carry out Chinese word segmentation processing, the obtained information is segmented and adjusted according to a certain rule to obtain a plurality of unit information, then the unit information is matched with words in an information database, such as a dictionary, and the information with the maximum matching degree in the dictionary is extracted as assignment information. Since the information stored in the dictionary is standardized information, the information can be standardized using the dictionary matching technique. For example, the Chinese word segmentation method includes a word segmentation method based on character string matching, a word segmentation method based on understanding, a word segmentation method based on statistics, and the like.
In the embodiment, assignment information is generated by performing Chinese word segmentation processing based on HanLP, so that standardized processing of information pre-stored in block chain nodes is realized, and subsequent automatic assignment of fields to be assigned in a user information report template is facilitated.
Processing the field information according to a field processing algorithm corresponding to the field to be assigned, comprising: and when the field to be assigned is the picture, identifying the picture by using an optical character recognition algorithm to obtain assignment information. Further, when the field to be assigned required by the user information report is a picture in the corresponding block link point, the method also comprises the step of identifying the picture by using an optical character recognition algorithm to obtain text information; and then when the format of the text information is inconsistent with that of the assignment information, carrying out standardized processing on the text information by utilizing a Chinese word segmentation algorithm to generate the assignment information.
In this embodiment, when the field information is a picture, the method further includes extracting the assignment information by using a character recognition technology, so as to extract the assignment information from the picture, and further improve the capability of acquiring the assignment information from the block link point.
In one embodiment, obtaining assignment information of a field to be assigned from a blockchain node includes: receiving a decryption authority corresponding to a field to be assigned, which is sent by a block chain node; and acquiring assignment information corresponding to the field to be assigned from the blockchain server according to the decryption authority.
Specifically, providers of different field contents in the user information report encrypt various data information and write the encrypted data information into corresponding block chain nodes. When a user information report is generated, corresponding assignment information needs to be acquired from corresponding block chain nodes, and decryption authorities of related data need to be gradually authorized to a government data administration by the block chain nodes, so that the government data administration obtains decryption authorities of all related assignment information, and then acquires the corresponding assignment information.
For example, the government affair data administration encrypts and sends the user information report of the financing party to the corresponding financial institution, the government affair data administration authorizes the decryption authority of the report to the financial institution, the financial institution decrypts the report and checks the content, records generated by actions such as data calling and the like can be checked by the monitoring institution by using the private key of the monitoring institution, and when a data leakage event occurs, the data can be traced and accountable for related personnel or institutions. For example, when an organization on the chain wants to check plaintext data of other participants, the organization can initiate a decryption authorization application to the other participants, the data owner can decrypt and authorize the data according to conditions, the authorization granularity can reach the field level, and the authorization decryption of fields to be assigned in the user information report is realized.
In this embodiment, the encryption algorithm in the blockchain can achieve privacy protection for the data owner. When different organizations upload data by node identities, the block chain encrypts the plaintext data, and the data stored in the chain is stored in a ciphertext form. All participants in the chain have different private keys, the private keys only allow the addition, deletion, modification and check of own data, and the data of other parties cannot be checked or otherwise operated under the condition that the authorization of the data belonging party is not obtained, so that the data privacy of all parties is guaranteed not to be invaded.
In one embodiment, obtaining assignment information of a field to be assigned from a blockchain node includes: receiving decryption permission sent by a blockchain node within preset time; and obtaining assignment information corresponding to the fields to be assigned from each block chain node according to the decryption authority within a preset time.
For example, when an organization of a blockchain node wants to view plaintext data of other participants, an application of decryption authorization can be initiated to the other participants, the party to which the data belongs can decrypt and authorize the data according to conditions, and authorization granularity can be authorized according to time periods, so that field information can be acquired only in the authorized time periods, and field information cannot be acquired in other time periods, and the security of data acquisition is further improved.
In one embodiment, the searching for the block link point associated with each field to be assigned includes: acquiring a to-be-assigned identifier corresponding to a to-be-assigned field; and searching the block chain node associated with each field to be assigned according to the identifier to be assigned.
In one embodiment, after generating the user information report, the method further includes: encrypting the user information report; and sending the encrypted user information report to an auditing mechanism so that the auditing mechanism can check the qualification of the user according to the user information report.
In the embodiment, the information can be acquired only by the personnel with the decryption authority through the encryption technology, so that the information security is improved.
In one embodiment, as shown in fig. 4, there is provided a user information report generating apparatus based on block-node communication, including:
the request receiving module 410 is configured to receive a user information query request, where the user information query request carries a query identifier.
And the template obtaining module 420 is configured to obtain a user information report template associated with the query identifier.
And the field extraction module 430 is configured to extract the fields to be assigned in the user information report template by using a pre-trained segmentation algorithm.
The block chain searching module 440 is configured to search for block chain link points associated with each field to be assigned, and obtain access permissions of each block chain node, so as to extract field information from the block chain link points according to each access permission.
And the assignment information calculation module 450 is configured to process the field information by using a pre-trained semantic recognition algorithm or a pre-trained field processing algorithm to obtain assignment information corresponding to each to-be-assigned field.
And a report generating module 460, configured to input the assignment information into the user information report template, and generate a user information report.
In one embodiment, the assignment information calculation module 450 includes:
and the identification information acquisition unit is used for carrying out semantic identification on the field information by utilizing a pre-trained semantic identification algorithm to obtain the field identification information.
And the searching unit is used for searching the assignment information corresponding to each field to be assigned from a preset semantic library according to the field identification information.
In one embodiment, the assignment information calculation module 450 includes:
and the format obtaining unit is used for obtaining the format to be assigned corresponding to the field to be assigned and the field format corresponding to the field information.
And the processing unit is used for processing the field information according to a field processing algorithm corresponding to the field to be assigned when the field format is inconsistent with the format to be assigned.
In one embodiment, a processing unit includes:
and the text processing subunit is used for carrying out standardized processing on the field information by utilizing a Chinese word segmentation algorithm to obtain the assignment information when the field to be assigned is a text.
And the image processing subunit is used for identifying the image by using an optical character recognition algorithm to obtain assignment information when the field to be assigned is the image.
In one embodiment, the block chain lookup module 440 includes:
and the first decryption authority acquisition unit is used for receiving the decryption authority which is sent by the block chain node and corresponds to the field to be assigned.
And the first information acquisition unit is used for acquiring the assignment information corresponding to the field to be assigned from the block chain server according to the decryption authority.
In one embodiment, the block chain lookup module 440 includes:
and the second decryption authority acquisition unit is used for receiving the decryption authority which is sent by the block chain node within the preset time.
And the second information acquisition unit is used for acquiring assignment information corresponding to the fields to be assigned from each block chain node according to the decryption authority within the preset time.
In one embodiment, the block chain lookup module 440 includes:
and the identifier acquisition unit is used for acquiring the identifier to be assigned corresponding to the field to be assigned.
And the searching unit is used for searching the block chain node associated with each field to be assigned according to the identifier to be assigned.
In one embodiment, a computer device is provided, which may be a server, the internal structure of which may be as shown in fig. 5. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing the related data of the user information report template. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a method for user information report generation based on block-linked point communication.
Those skilled in the art will appreciate that the architecture shown in fig. 5 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, there is provided a computer device comprising a memory storing a computer program and a processor implementing the following steps when the processor executes the computer program: receiving a user information query request, wherein the user information query request carries a query identifier; acquiring a user information report template associated with the query identifier; extracting fields to be assigned in a user information report template by utilizing a pre-trained segmentation algorithm; searching block chain link points related to each field to be assigned, and acquiring access authority of each block chain link node so as to extract field information from the block chain link points according to each access authority; processing the field information by utilizing a pre-trained semantic recognition algorithm or a pre-trained field processing algorithm to obtain assignment information corresponding to each field to be assigned; and inputting the assignment information into a user information report template to generate a user information report.
In one embodiment, when the processor executes the computer program, the step of processing the field information by using a pre-trained semantic recognition algorithm or a field processing algorithm to obtain assignment information corresponding to each to-be-assigned field is further configured to: performing semantic recognition on the field information by utilizing a pre-trained semantic recognition algorithm to obtain field recognition information; and searching assignment information corresponding to each field to be assigned from a preset semantic library according to the field identification information.
In one embodiment, the step of processing the field information using the field processing algorithm is further performed when the processor executes the computer program to: acquiring a to-be-assigned format corresponding to a to-be-assigned field and a field format corresponding to field information; and when the field format is inconsistent with the format to be assigned, processing the field information according to a field processing algorithm corresponding to the field to be assigned.
In one embodiment, when the processor executes the computer program, the step of processing the field information according to the field processing algorithm corresponding to the field to be assigned is further configured to: when the field to be assigned is a text, carrying out standardized processing on field information by utilizing a Chinese word segmentation algorithm to obtain assignment information; and when the field to be assigned is the picture, identifying the picture by using an optical character recognition algorithm to obtain assignment information.
In one embodiment, the step of obtaining the assignment information of the field to be assigned from the blockchain node is further performed when the processor executes the computer program, and the step of: receiving a decryption authority corresponding to a field to be assigned, which is sent by a block chain node; and acquiring assignment information corresponding to the field to be assigned from the blockchain server according to the decryption authority.
In one embodiment, the step of obtaining the assignment information of the field to be assigned from the blockchain node is further performed when the processor executes the computer program, and the step of: receiving decryption permission sent by a blockchain node within preset time; and obtaining assignment information corresponding to the fields to be assigned from each block chain node according to the decryption authority within a preset time.
In one embodiment, when the processor executes the computer program, the step of searching for the blockchain node associated with each field to be assigned is further configured to: acquiring a to-be-assigned identifier corresponding to a to-be-assigned field; and searching the block chain node associated with each field to be assigned according to the identifier to be assigned.
In one embodiment, the processor when executing the computer program performs the steps after generating the user information report further for: encrypting the user information report; and sending the encrypted user information report to an auditing mechanism so that the auditing mechanism can check the qualification of the user according to the user information report.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of: receiving a user information query request, wherein the user information query request carries a query identifier; acquiring a user information report template associated with the query identifier; extracting fields to be assigned in a user information report template by utilizing a pre-trained segmentation algorithm; searching block chain link points related to each field to be assigned, and acquiring access authority of each block chain link node so as to extract field information from the block chain link points according to each access authority; processing the field information by utilizing a pre-trained semantic recognition algorithm or a pre-trained field processing algorithm to obtain assignment information corresponding to each field to be assigned; and inputting the assignment information into a user information report template to generate a user information report.
In one embodiment, when executed by the processor, the computer program implements a step of processing the field information by using a pre-trained semantic recognition algorithm or a field processing algorithm to obtain assignment information corresponding to each to-be-assigned field, and is further configured to: performing semantic recognition on the field information by utilizing a pre-trained semantic recognition algorithm to obtain field recognition information; and searching assignment information corresponding to each field to be assigned from a preset semantic library according to the field identification information.
In one embodiment, the computer program when executed by the processor further performs the step of processing the field information using a field processing algorithm to: acquiring a to-be-assigned format corresponding to a to-be-assigned field and a field format corresponding to field information; and when the field format is inconsistent with the format to be assigned, processing the field information according to a field processing algorithm corresponding to the field to be assigned.
In one embodiment, when executed by the processor, the computer program further performs the step of processing the field information according to the field processing algorithm corresponding to the field to be assigned, and is further configured to: when the field to be assigned is a text, carrying out standardized processing on field information by utilizing a Chinese word segmentation algorithm to obtain assignment information; and when the field to be assigned is the picture, identifying the picture by using an optical character recognition algorithm to obtain assignment information.
In one embodiment, the computer program when executed by the processor performs the step of obtaining assignment information for a field to be assigned from the block chain nodes is further configured to: receiving a decryption authority corresponding to a field to be assigned, which is sent by a block chain node; and acquiring assignment information corresponding to the field to be assigned from the blockchain server according to the decryption authority.
In one embodiment, the computer program when executed by the processor performs the step of obtaining assignment information for a field to be assigned from the block chain nodes is further configured to: receiving decryption permission sent by a blockchain node within preset time; and obtaining assignment information corresponding to the fields to be assigned from each block chain node according to the decryption authority within a preset time.
In one embodiment, when executed by the processor, the computer program further performs the step of searching for a blockchain node associated with each field to be assigned: acquiring a to-be-assigned identifier corresponding to a to-be-assigned field; and searching the block chain node associated with each field to be assigned according to the identifier to be assigned.
In one embodiment, the computer program when executed by the processor performs the steps after generating the user information report further for: encrypting the user information report; and sending the encrypted user information report to an auditing mechanism so that the auditing mechanism can check the qualification of the user according to the user information report.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware related to instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A method for generating a user information report based on block-link point communication, the method comprising:
receiving a user information query request, wherein the user information query request carries a query identifier;
acquiring a user information report template associated with the query identifier;
extracting fields to be assigned in the user information report template by utilizing a pre-trained segmentation algorithm;
searching block chain link points related to the fields to be assigned, and acquiring access rights of the block chain nodes so as to extract field information from the block chain nodes according to the access rights;
processing the field information by utilizing a pre-trained semantic recognition algorithm or a pre-trained field processing algorithm to obtain assignment information corresponding to each field to be assigned;
and inputting the assignment information into the user information report template to generate a user information report.
2. The method according to claim 1, wherein the processing the field information by using a pre-trained semantic recognition algorithm or a field processing algorithm to obtain assignment information corresponding to each field to be assigned comprises:
performing semantic recognition on the field information by utilizing a pre-trained semantic recognition algorithm to obtain field recognition information;
and searching assignment information corresponding to each field to be assigned from a preset semantic library according to the field identification information.
3. The method according to claim 1 or 2, wherein the processing the field information by using a pre-trained semantic recognition algorithm or a field processing algorithm comprises:
acquiring a to-be-assigned format corresponding to the to-be-assigned field and a field format corresponding to the field information;
and when the field format is inconsistent with the format to be assigned, processing the field information according to a field processing algorithm corresponding to the field to be assigned.
4. The method according to claim 3, wherein the processing the field information according to the field processing algorithm corresponding to the field to be assigned comprises:
when the field to be assigned is a text, carrying out standardized processing on the field information by utilizing a Chinese word segmentation algorithm to obtain assignment information;
and when the field to be assigned is a picture, identifying the picture by using an optical character recognition algorithm to obtain assignment information.
5. The method according to claim 1, wherein the obtaining assignment information of the field to be assigned from the blockchain node comprises:
receiving the decryption authority corresponding to the field to be assigned, which is sent by the block chain node;
and acquiring assignment information corresponding to the field to be assigned from the block chain server according to the decryption authority.
6. The method according to claim 1 or 5, wherein the obtaining assignment information of the field to be assigned from the blockchain node comprises:
receiving decryption permission sent by the block chain node within preset time;
and acquiring assignment information corresponding to the fields to be assigned from each block chain node according to the decryption authority within the preset time.
7. The method according to claim 1, wherein said finding the block link point associated with each of said fields to be assigned comprises:
acquiring a to-be-assigned identifier corresponding to the to-be-assigned field;
and searching the block chain node associated with each field to be assigned according to the identifier to be assigned.
8. A block-node point communication based user information report generating apparatus, the apparatus comprising:
the request receiving module is used for receiving a user information query request, and the user information query request carries a query identifier;
the template acquisition module is used for acquiring a user information report template associated with the query identifier;
the field extraction module is used for extracting fields to be assigned in the user information report template by utilizing a pre-trained segmentation algorithm;
the block chain searching module is used for searching block chain link points related to the fields to be assigned and acquiring access rights of the block chain nodes so as to extract field information from the block chain nodes according to the access rights;
the assignment information calculation module is used for processing the field information by utilizing a pre-trained semantic recognition algorithm or a pre-trained field processing algorithm to obtain assignment information corresponding to each field to be assigned;
and the report generation module is used for inputting the assignment information into the user information report template to generate a user information report.
9. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the method of any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
CN202010345396.9A 2020-04-27 2020-04-27 User information report generation method based on block chain node communication Pending CN111552822A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010345396.9A CN111552822A (en) 2020-04-27 2020-04-27 User information report generation method based on block chain node communication

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010345396.9A CN111552822A (en) 2020-04-27 2020-04-27 User information report generation method based on block chain node communication

Publications (1)

Publication Number Publication Date
CN111552822A true CN111552822A (en) 2020-08-18

Family

ID=72007803

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010345396.9A Pending CN111552822A (en) 2020-04-27 2020-04-27 User information report generation method based on block chain node communication

Country Status (1)

Country Link
CN (1) CN111552822A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112131837A (en) * 2020-09-22 2020-12-25 平安证券股份有限公司 Service report configuration method, device, computer equipment and storage medium
CN114818645A (en) * 2022-06-29 2022-07-29 深圳红途科技有限公司 Automatic report generation method, device, equipment and medium based on data body
CN117436108A (en) * 2023-11-05 2024-01-23 邦邦汽车销售服务(北京)有限公司 Automobile part price analysis method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107239479A (en) * 2017-03-28 2017-10-10 阿里巴巴集团控股有限公司 A kind of method and device of data storage and inquiry based on block chain
CN108932297A (en) * 2018-06-01 2018-12-04 阿里巴巴集团控股有限公司 A kind of data query, data sharing method, device and equipment
CN110472219A (en) * 2019-08-22 2019-11-19 浙江大搜车软件技术有限公司 Electronic document generation method, device, computer equipment and storage medium
CN110555698A (en) * 2019-07-25 2019-12-10 深圳壹账通智能科技有限公司 data processing method, data processing device, computer equipment and storage medium
CN110647553A (en) * 2019-08-02 2020-01-03 广州供电局有限公司 Block chain-based power transaction contract management method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107239479A (en) * 2017-03-28 2017-10-10 阿里巴巴集团控股有限公司 A kind of method and device of data storage and inquiry based on block chain
CN108932297A (en) * 2018-06-01 2018-12-04 阿里巴巴集团控股有限公司 A kind of data query, data sharing method, device and equipment
CN110555698A (en) * 2019-07-25 2019-12-10 深圳壹账通智能科技有限公司 data processing method, data processing device, computer equipment and storage medium
CN110647553A (en) * 2019-08-02 2020-01-03 广州供电局有限公司 Block chain-based power transaction contract management method and system
CN110472219A (en) * 2019-08-22 2019-11-19 浙江大搜车软件技术有限公司 Electronic document generation method, device, computer equipment and storage medium

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112131837A (en) * 2020-09-22 2020-12-25 平安证券股份有限公司 Service report configuration method, device, computer equipment and storage medium
CN112131837B (en) * 2020-09-22 2023-11-03 平安证券股份有限公司 Service report configuration method, device, computer equipment and storage medium
CN114818645A (en) * 2022-06-29 2022-07-29 深圳红途科技有限公司 Automatic report generation method, device, equipment and medium based on data body
CN114818645B (en) * 2022-06-29 2022-10-28 深圳红途科技有限公司 Automatic report generation method, device, equipment and medium based on data body
CN117436108A (en) * 2023-11-05 2024-01-23 邦邦汽车销售服务(北京)有限公司 Automobile part price analysis method and system
CN117436108B (en) * 2023-11-05 2024-04-26 邦邦汽车销售服务(北京)有限公司 Automobile part price analysis method and system

Similar Documents

Publication Publication Date Title
US11936789B1 (en) Biometric reference template record
CN110581860B (en) Identity authentication method, device, storage medium and equipment based on block chain
CN110365670B (en) Blacklist sharing method and device, computer equipment and storage medium
CN109325342B (en) Identity information management method, device, computer equipment and storage medium
CN109784922B (en) Electronic contract signing method, electronic contract signing device, computer equipment and storage medium
EP3819855A1 (en) Cross-block chain interaction method and system, computer device, and storage medium
US10917249B2 (en) Processing data elements stored in blockchain networks
CN111552822A (en) User information report generation method based on block chain node communication
CN112632581A (en) User data processing method and device, computer equipment and storage medium
CN110505201B (en) Conference information processing method, conference information processing device, computer equipment and storage medium
CN112597481A (en) Sensitive data access method and device, computer equipment and storage medium
CN109614825B (en) Contract signing method, contract signing device, computer equipment and storage medium
CN110610430B (en) Bill information processing method, device, computer equipment and storage medium
CN111241555B (en) Access method and device for simulating user login, computer equipment and storage medium
CN110442654A (en) Promise breaking information query method, device, computer equipment and storage medium
CN110647641A (en) Identity authentication method, identity authentication device, computer equipment and storage medium
US20230116631A1 (en) System and method for secure collection and display of sensitive data
CN114238883A (en) Identity authentication method, device, equipment and storage medium
CN116962021A (en) Method, device, equipment and medium for user real name authentication in financial cooperative institution
US11853451B2 (en) Controlled data access
CN116567008A (en) Business privacy data transmission method and device, computer equipment and storage medium
CN114244519A (en) Password verification method and device, computer equipment and storage medium
CN113992359A (en) Encryption control method and device for user information, computer equipment and storage medium
CN107682161B (en) Offline authentication method and device for two-dimensional code
CN113642009A (en) Block chain based printing method and device, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination