CN111666589A - Block chain distributed risk data sharing system and method - Google Patents

Block chain distributed risk data sharing system and method Download PDF

Info

Publication number
CN111666589A
CN111666589A CN202010466912.3A CN202010466912A CN111666589A CN 111666589 A CN111666589 A CN 111666589A CN 202010466912 A CN202010466912 A CN 202010466912A CN 111666589 A CN111666589 A CN 111666589A
Authority
CN
China
Prior art keywords
query request
query
service system
block chain
service
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
CN202010466912.3A
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.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
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 Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN202010466912.3A priority Critical patent/CN111666589A/en
Publication of CN111666589A publication Critical patent/CN111666589A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/21Design, administration or maintenance of databases
    • G06F16/215Improving data quality; Data cleansing, e.g. de-duplication, removing invalid entries or correcting typographical errors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/546Message passing systems or structures, e.g. queues
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/54Indexing scheme relating to G06F9/54
    • G06F2209/548Queue
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2141Access rights, e.g. capability lists, access control lists, access tables, access matrices

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Data Mining & Analysis (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Bioethics (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • Quality & Reliability (AREA)
  • Computational Linguistics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

A block chain distributed risk data sharing system and method, the said sharing system includes block chain system, business system and service system; the business system receives a first query request submitted by a user, delivers the first query request to a connected service system, and feeds back a query result on the message queue to the user; and/or receiving a second query request uploaded by the service system, processing the second query request, querying local data in a ciphertext database collision mode to obtain a query result, and feeding the query result back to the connected service system; the service system obtains mechanism information corresponding to the first query request in the block chain system according to the first query request, obtains a service system address corresponding to the first query request according to the mechanism information, delivers the first query request to the corresponding service system, and uploads a received query result to a message queue; and/or handing the received second query request to a connected service system, and feeding back a query result fed back by the service system to the service system.

Description

Block chain distributed risk data sharing system and method
Technical Field
The present invention relates to the field of block chain data sharing, and more particularly, to a system and method for sharing risk data in a distributed block chain.
Background
With the development of society, the scale of the internet has a leap development, and the generated data is continuously increased, but the data volume of the traditional single organization cannot meet the increasing user pressure all the time, and the development of technology is more and more severe for the richness of data and the data quality. The traditional distributed risk data sharing has the problems of high data leakage probability, difficulty in accounting, low constraint force and the like, so that the traditional risk data sharing is difficult to maintain. The block chain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, a consensus mechanism, an intelligent contract, an encryption algorithm and the like, and is currently divided into a public block chain, an industry block chain and a private block chain. The construction of the existing industry risk data sharing platform is realized through an industry block chain, and the shared data of all participating mechanisms is stored in a data storage unit in the mechanism. The platform mainly provides service for participating institutions, and aims to provide pre-affair, middle-affair and post-affair safety guarantee for normal business handling of clients. The participating institutions are both providers of risk data and queriers of risk data. Participating institutions issue query requests in the blockchain by way of "one-to-one" or "one-to-many" broadcasts. If the request information is hit, the corresponding queried mechanism will return the query result.
One of the important features of blockchains is to reduce the cost caused by untrusted relationships or to solve some of the problems caused by untrusted relationships. A federation chain in blockchain technology is well suited for business scenarios where a business consensus can be achieved between federation participants through technical means. In other words, after each enterprise joins the federation, neither the federation organization party nor other federation participants need to be trusted, but only the underlying blockchain technology and industry conventions above the technology need to be trusted. The trust problem between enterprises and alliances is solved through technical means, and a series of extra costs caused by the trust problem in the risk information sharing alliance are reduced.
In summary, at present, there is no reasonable solution to the problem of data sharing, and therefore, how to provide a new solution to solve the above technical problem is a technical problem to be solved in the art.
Disclosure of Invention
The invention aims to provide a block chain distributed risk data sharing system and a block chain distributed risk data sharing method to solve the problems that data of various enterprise organizations form data islands at present, the utilization rate is low, and risk leakage exists in risk data sharing, and improve the safety and the data utilization rate of data sharing.
In order to achieve the above object, the present invention provides a block chain distributed risk data sharing system, where the sharing system includes a block chain system, M business systems, and N service systems; the service system is correspondingly connected with the service systems, and the N service systems are connected through a block chain system; the business system is used for receiving a first query request submitted by a user, handing the first query request to a connected service system and feeding back a query result on a message queue to the user; and/or receiving a second query request uploaded by the connected service system, processing the second query request, querying local data in a ciphertext database collision mode to obtain a query result, and feeding the query result back to the connected service system; the service system is used for acquiring mechanism information corresponding to the first query request in the block chain system according to the first query request, acquiring a service system address corresponding to the first query request according to the mechanism information, handing the first query request to the corresponding service system, and uploading a received query result to a message queue; and/or handing the received second query request to a connected service system, and feeding back a query result fed back by the service system to mechanism information corresponding to the corresponding service system; m and N are integers greater than one.
In the block chain distributed risk data sharing system, preferably, the service system includes a front-end parameter control module, a service system query request processing module and a data storage module; the front-end parameter control module is used for configuring a query request according to user input information and a preset rule; the business system query request module is used for encrypting the first query request, packaging the first query request according to a preset format and delivering the packaged first query request to a connected service system; processing according to the second query request to obtain a query result, and feeding the query result back to the connected service system; the data storage module is used for storing service data and the initiating and receiving records of the first query request and/or the second query request.
In the block chain distributed risk data sharing system, preferably, the service system includes a service node, a message queue unit and a recording unit; the service node is used for acquiring mechanism information corresponding to the first query request in the block chain system according to the first query request, acquiring a service system address corresponding to the first query request according to the mechanism information, handing the first query request to a corresponding service system, and uploading a received query result to a message queue unit; verifying the received second query request according to the mechanism information in the block chain system, handing the second query request to a connected service system after the second query request passes the verification, feeding a query result fed back by the service system back to a corresponding service system, and storing the query result and a corresponding query record to the block chain system through the message queue unit; the message queue unit is configured to queue the received first query request and/or the second query request in sequence, and deliver the first query request and/or the second query request to the service node in sequence according to a queuing sequence; the recording unit is used for recording mechanism information corresponding to the query record corresponding to the first query request and/or the second query request.
In the block chain distributed risk data sharing system, preferably, the block chain system further includes an organization information management module, a data price management module, and an integral management module; the mechanism information management module is used for storing mechanism information of all service systems connected with the block chain system and service system addresses of all server systems; the data price management module is used for adjusting the integral values of the service system of the query initiator and the service system of the query feedback party according to the query records and preset rules; the point management module is used for recording the point values of all service systems connected with the block chain system and the point change record in a preset period.
In the above block chain distributed risk data sharing system, preferably, the point management module further includes a monitoring unit, where the monitoring unit is configured to monitor an integral value of each service system, and when the integral value is lower than a preset threshold, limit to receive the second query request of the corresponding service system.
The invention also provides a block chain distributed risk data sharing method, which comprises the following steps: receiving a first query request submitted by a user; according to the first query request, obtaining mechanism information corresponding to the first query request in a block chain system; acquiring a service system address corresponding to the first query request according to the mechanism information, and handing the first query request to a corresponding service system; receiving a query result fed back by the service system, and uploading the received query result to a message queue; and feeding back the query result on the message queue to the mechanism information corresponding to the user.
The invention also provides a block chain distributed risk data sharing method, which comprises the following steps: receiving a second query request sent by a service system connected with the block chain system; verifying the service system through the mechanism information recorded in the block chain system, and after the verification is passed, inquiring local data in a ciphertext database collision mode according to the second inquiry request to obtain an inquiry result; and feeding back the query result to a corresponding service system, and uploading a query record corresponding to the query result to a block chain system for storage.
In the above block chain distributed risk data sharing method, preferably, the sharing method further includes: and the block chain system adjusts integral values of the service system of the query initiator and the service system of the query feedback party according to the query record according to a preset rule, and stores the change condition of the integral values to a preset position.
In the above block chain distributed risk data sharing method, preferably, the sharing method further includes: and monitoring an integral value of each service system, and limiting to receive the second query request of the corresponding service system when the integral value is lower than a preset threshold value.
The invention also provides a computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method when executing the computer program.
The present invention also provides a computer-readable storage medium storing a computer program for executing the above method.
The invention has the beneficial technical effects that: the risk data ciphertext collision library is adopted, and the intelligent contract and distributed accounting function of the block chain are utilized to realize the risk data sharing function; the method helps participating mechanisms to reduce the problem of resource waste caused by the establishment of the first transaction service, and ensures the stable trend of the transaction service to the maximum extent. Each organization still keeps the access control right of the data without reporting the data, and the data security is ensured; the inquired data can be verified in real time through the service process, and the data quality can be effectively controlled through a feedback mechanism; and a mechanism of post accounting and post auditing is adopted, so that the efficiency of data query is not influenced by a distributed framework.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the principles of the invention. In the drawings:
fig. 1A is a schematic structural diagram of a block chain distributed risk data sharing system according to an embodiment of the present invention;
fig. 1B is a schematic application structure diagram of a block chain distributed risk data sharing system according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a service system according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a service system according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a block link entering device according to an embodiment of the present invention;
fig. 5 is a block chain network structure according to an embodiment of the present invention;
fig. 6 is a flowchart illustrating a method for sharing risk data with a block chain distributed type according to an embodiment of the present invention;
fig. 7 is a flowchart illustrating a method for sharing risk data with a block chain distributed type according to an embodiment of the present invention;
fig. 8 is a schematic application flow chart of a block chain distributed risk data sharing method according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The following detailed description of the embodiments of the present invention will be provided with reference to the drawings and examples, so that how to apply the technical means to solve the technical problems and achieve the technical effects can be fully understood and implemented. It should be noted that, unless otherwise specified, the embodiments and features of the embodiments of the present invention may be combined with each other, and the technical solutions formed are within the scope of the present invention.
Additionally, the steps illustrated in the flow charts of the figures may be performed in a computer system such as a set of computer-executable instructions and, although a logical order is illustrated in the flow charts, in some cases, the steps illustrated or described may be performed in an order different than here.
Referring to fig. 1A, the block chain distributed risk data sharing system provided in the present invention includes a block chain system, M business systems and N service systems; the service system is correspondingly connected with the service systems, and the N service systems are connected through a block chain system; the business system is used for receiving a first query request submitted by a user, handing the first query request to a connected service system and feeding back a query result on a message queue to the user; and/or receiving a second query request uploaded by the connected service system, processing the second query request, querying local data in a ciphertext database collision mode to obtain a query result, and feeding the query result back to the connected service system; the service system is used for acquiring mechanism information corresponding to the first query request in the block chain system according to the first query request, acquiring a service system address corresponding to the first query request according to the mechanism information, handing the first query request to the corresponding service system, and uploading a received query result to a message queue; and/or, the received second query request is delivered to the connected service system, and the query result fed back by the service system is fed back to the corresponding service system; m and N are integers greater than 1. Wherein, the number of M and N can be the same, or M is greater than N or N is greater than M, and related technicians in the field can select the setting according to actual needs; the first query request and the second query request may be the same data packet or may have a difference therebetween, which is not further limited in the present invention; in actual work, please refer to fig. 1B, the service system may be a BS service system, a service system, and other mechanisms that join in a shared platform obtain query parameters input by a user at a front end, and forward the query parameters to the BS service system after being encrypted by the service system, and the BS service system forwards the query parameters to a BS service system of a target mechanism. And then, the BS service system receives the query response result of the target mechanism, forwards the query response result to the service system, and the service system returns to the front end and logs in a database. The BS service system receives the queried request, forwards the queried request to the service system for analysis, enters the database ciphertext collision library, and returns the hit result to the query initiating mechanism, and the specific structure may refer to fig. 1B, and may include a service system, a BS service system, a block chain system, and an operation system, where the service system, the BS service system, and the block chain system are described in the above example, and the remaining operation systems may be set according to actual conditions, for example, an operator of the sharing system may manage the block chain system based on the operation system, thereby setting different permissions for different service systems, and a person skilled in the art may select the setting according to actual conditions, which is not limited herein.
Referring to fig. 2, in an embodiment of the present invention, the service system may include a front-end parameter control module, a service system query request processing module, and a data storage module; the front-end parameter control module is used for configuring a query request according to user input information and a preset rule; the business system query request module is used for encrypting the first query request, packaging the first query request according to a preset format and delivering the packaged first query request to a connected service system; processing according to the second query request to obtain a query result, and feeding the query result back to the connected service system; the data storage module is used for storing service data and the initiating and receiving records of the first query request and/or the second query request. As shown in fig. 2, in actual operation, the service system includes a front-end parameter control module, a service system query request processing module, and a data storage module. The front-end parameter control module is mainly used for actively initiating a page for inquiring and configuring inquiry conditions by a mechanism. The relevant definition information is saved to the project configuration file. The service system inquiry request processing module is mainly responsible for encrypting the initiated inquiry request, packaging the request according to an agreed format and forwarding the request to the BS service system. The data storage module is mainly responsible for storing records for initiating query and queried records, and data sharing service provided for the alliance chain.
In an embodiment of the present invention, the service system may further include a service node, a message queue unit, and a recording unit; the service node is used for acquiring mechanism information corresponding to the first query request in the block chain system according to the first query request, acquiring a service system address corresponding to the first query request according to the mechanism information, handing the first query request to a corresponding service system, and uploading a received query result to a message queue unit; verifying the received second query request according to the mechanism information in the block chain system, handing the second query request to a connected service system after the second query request passes the verification, feeding a query result fed back by the service system back to a corresponding service system, and storing the query result and a corresponding query record to the block chain system through the message queue unit; the message queue unit is configured to queue the received first query request and/or the second query request in sequence, and deliver the first query request and/or the second query request to the service node in sequence according to a queuing sequence; the recording unit is used for recording mechanism information corresponding to the query record corresponding to the first query request and/or the second query request. Specifically, referring to fig. 3, the message queue unit may employ Kafka message queue, and the recording unit may employ Mongodb data; the BS service node is mainly responsible for searching the forwarding and receiving of the new request, and searching the contents of data uplink and the like; kafka is mainly responsible for queuing query requests and sequentially processes the query requests; mongodb mainly records the query request records.
Referring to fig. 1B again, in an embodiment of the present invention, the block chain system may further include a mechanism information management module, a data price management module, and a point management module; the mechanism information management module is used for storing mechanism information of all service systems connected with the block chain system and service system addresses of all server systems; the data price management module is used for adjusting the integral values of the service system of the query initiator and the service system of the query feedback party according to the query records and preset rules; the point management module is used for recording the point values of all service systems connected with the block chain system and the point change record in a preset period. The point management module further comprises a monitoring unit, wherein the monitoring unit is used for monitoring the integral value of each service system, and when the integral value is lower than a preset threshold value, the receiving of the second query request of the corresponding service system is limited. In actual work, a person skilled in the art can introduce an integration mechanism, and record and change of the related integration are also recorded through a block chain; for example: (1) the initial integral of each mechanism is zero; (2) consuming the integral of the query mechanism after the query is hit, transferring the integral to increase the corresponding integral by the query mechanism, and not consuming the integral when the query is not hit; (3) and integrating rolling difference. For example: according to each query hit record, the query initiating mechanism deducts 1 point, the queried mechanism adds 0.95 point, and in addition, the 0.05 point can be deducted as a platform operation, and of course, the adjustment can be performed according to the actual situation in the actual work, and the invention is not further limited herein.
Referring to fig. 4 again, the content structure of the blockchain access device in the blockchain system may include a Peer node and an orderer sorting node; the underlying infrastructure of the block chain can adopt HyperLedger Fabrict 1.1.0 version, and is the underlying infrastructure of the block chain. The Peer node bears an intelligent contract, provides functions of endorsement, query, block chain data synchronization and the like for each mechanism, and provides an interface for accessing a block chain for each mechanism; in order to improve the overall performance of the blockchain, the Peer nodes are divided into an endorsement node and a query node, and each node is at least one. The deployment modes of Peer are different, and for example, deployment can be performed through a cloud platform, such as K8s, Mesosphere, docker sweep, VSphere and other container arrangement tools, or single-machine deployment; the orderer sequencing node is mainly used for generating blocks and emphasizes certain performance consideration, and does not influence the consensus and the node distribution attribute of a service level. In actual work, the network structure of the blockchain system is as shown in fig. 5, each organization respectively deploys blockchain applications to local nodes, a blockchain network is constructed through network configuration, acquired generated certificates and network configuration, each organization peer node comprises a blockchain account book, an intelligent contract and blockchain services, and a blockchain service system provides query service and operation management service; the outer layer business system directly accesses the block chain service system to inquire the list data, and the operation management mechanism can also carry out the operation management of the system; in actual work, all the coalition member organizations participating in the sharing process clean data according to standards, a comparison query function is opened to member organizations in a coalition, each participant queries data of other participants through a block chain service system, and an initiating organization can query feedback results according to a self-demand use list and automatically develop risk control.
Referring to fig. 6, the present invention further provides a method for sharing block chain distributed risk data, where the method includes: s101, receiving a first query request submitted by a user; s102, according to the first query request, obtaining mechanism information corresponding to the first query request in a block chain system; s103, acquiring a service system address corresponding to the first query request according to the mechanism information, and handing the first query request to a corresponding service system; s104, receiving the query result fed back by the service system, and uploading the received query result to a message queue; s105, the query result on the message queue is fed back to the user. Therefore, the risk data sharing function is realized by using the intelligent contract and the distributed accounting function of the block chain; the method helps participating mechanisms to reduce the problem of resource waste caused by the establishment of the first transaction service, and ensures the stable trend of the transaction service to the maximum extent. Each organization still keeps the access control right of the data without reporting the data, and the data security is ensured; the inquired data can be verified in real time through the service process, and the data quality can be effectively controlled through a feedback mechanism
Referring to fig. 7, the present invention further provides a method for sharing block chain distributed risk data, where the method includes: s201, receiving a second query request sent by a service system connected with the block chain system; s202, the service system is verified through the mechanism information recorded in the block chain system, and after the verification is passed, local data is queried in a ciphertext database collision mode according to the second query request to obtain a query result; s203, the query result is fed back to the corresponding service system, and the query record corresponding to the query result is uploaded to the block chain system for storage. Therefore, the risk data ciphertext collision library is adopted, and the intelligent contract and distributed accounting function of the block chain is utilized to realize the risk data sharing function; by utilizing the characteristics of the block chain and adopting a mechanism of post accounting and post auditing, the efficiency of data query is not influenced by the distributed framework.
In the above embodiment, the sharing method may further include: and the block chain system adjusts integral values of the service system of the query initiator and the service system of the query feedback party according to the query record according to a preset rule, and stores the change condition of the integral values to a preset position. Furthermore, the integral value of each service system can be monitored, and when the integral value is lower than a preset threshold value, the second query request of the corresponding service system is limited to be received.
For a clearer understanding of the above block chain distributed risk data sharing method, please refer to fig. 8, an overall flow of the risk data sharing method may be as follows:
1) service system a initiates a query request to BS system a. The query interface may support list queries.
2) The BS system A sends a response result to the message queue, acquires the mechanism information of the B according to a mechanism information list synchronized from the block chain, judges the information type supported by the mechanism B, acquires the address of the BS system B in the mechanism B, and forwards the inquiry request to the BS system B after encrypting (the inquiry request is encrypted by an encryption machine and needs to be encrypted in a service system); and, warehousing the query records into Mongodb;
3) and the BS system B acquires the mechanism information in the synchronous block chain, acquires the related information of the mechanism A to judge whether the mechanism A is reliable, and sends a query request to the service system B if the mechanism A is reliable.
4) And the service system B feeds back the query result to the BS system B after receiving the query request.
5) The BS system B feeds back the query result to the BS system A, and the feedback information only contains the hit condition and other necessary information and does not report the original data.
6) And the BS system A receives the query result and sends the query result to the message queue, and the service system A acquires the query result through the message queue.
7) The BS system B sends the relevant information record of the query to a message queue, records the query information and the result to a block chain (a peer node writes a shared account book through an intelligent contract) through the message in the message queue of the consumption, and puts the response result of the query request into a Mongobb; .
8) The BS system B synchronizes the block information to confirm that the transaction has been successfully recorded on the block chain. Otherwise, the transaction is sent to the message queue again to wait for the block chain (uplink failure compensation mechanism).
As shown in fig. 9, the electronic device 600 may further include: communication module 110, input unit 120, audio processing unit 130, display 160, power supply 170. It is noted that the electronic device 600 does not necessarily include all of the components shown in FIG. 9; furthermore, the electronic device 600 may also comprise components not shown in fig. 9, which may be referred to in the prior art.
As shown in fig. 9, the central processor 100, sometimes referred to as a controller or operational control, may include a microprocessor or other processor device and/or logic device, the central processor 100 receiving input and controlling the operation of the various components of the electronic device 600.
The memory 140 may be, for example, one or more of a buffer, a flash memory, a hard drive, a removable media, a volatile memory, a non-volatile memory, or other suitable device. The information relating to the failure may be stored, and a program for executing the information may be stored. And the central processing unit 100 may execute the program stored in the memory 140 to realize information storage or processing, etc.
The input unit 120 provides input to the cpu 100. The input unit 120 is, for example, a key or a touch input device. The power supply 170 is used to provide power to the electronic device 600. The display 160 is used to display an object to be displayed, such as an image or a character. The display may be, for example, an LCD display, but is not limited thereto.
The memory 140 may be a solid state memory such as Read Only Memory (ROM), Random Access Memory (RAM), a SIM card, or the like. There may also be a memory that holds information even when power is off, can be selectively erased, and is provided with more data, an example of which is sometimes called an EPROM or the like. The memory 140 may also be some other type of device. Memory 140 includes buffer memory 141 (sometimes referred to as a buffer). The memory 140 may include an application/function storage section 142, and the application/function storage section 142 is used to store application programs and function programs or a flow for executing the operation of the electronic device 600 by the central processing unit 100.
The memory 140 may also include a data store 143, the data store 143 for storing data, such as contacts, digital data, pictures, sounds, and/or any other data used by the electronic device. The driver storage portion 144 of the memory 140 may include various drivers of the electronic device for communication functions and/or for performing other functions of the electronic device (e.g., messaging application, address book application, etc.).
The communication module 110 is a transmitter/receiver 110 that transmits and receives signals via an antenna 111. The communication module (transmitter/receiver) 110 is coupled to the central processor 100 to provide an input signal and receive an output signal, which may be the same as in the case of a conventional mobile communication terminal.
Based on different communication technologies, a plurality of communication modules 110, such as a cellular network module, a bluetooth module, and/or a wireless local area network module, may be provided in the same electronic device. The communication module (transmitter/receiver) 110 is also coupled to a speaker 131 and a microphone 132 via an audio processor 130 to provide audio output via the speaker 131 and receive audio input from the microphone 132 to implement general telecommunications functions. Audio processor 130 may include any suitable buffers, decoders, amplifiers and so forth. In addition, an audio processor 130 is also coupled to the central processor 100, so that recording on the local can be enabled through a microphone 132, and so that sound stored on the local can be played through a speaker 131.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may 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, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are only exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (11)

1. A block chain distributed risk data sharing system is characterized in that the sharing system comprises a block chain system, M business systems and N service systems;
the service system is correspondingly connected with the service systems, and the N service systems are connected through a block chain system;
the business system is used for receiving a first query request submitted by a user, handing the first query request to a connected service system and feeding back a query result on a message queue to the user; and/or receiving a second query request uploaded by the connected service system, processing the second query request, querying local data in a ciphertext database collision mode to obtain a query result, and feeding the query result back to the connected service system;
the service system is used for acquiring mechanism information corresponding to the first query request in the block chain system according to the first query request, acquiring a service system address corresponding to the first query request according to the mechanism information, handing the first query request to the corresponding service system, and uploading a received query result to a message queue; and/or, the received second query request is delivered to the connected service system, and the query result fed back by the service system is fed back to the corresponding service system;
m and N are integers greater than 1.
2. The system of claim 1, wherein the business system comprises a front-end parameter control module, a business system query request processing module, and a data storage module;
the front-end parameter control module is used for configuring a query request according to user input information and a preset rule;
the business system query request module is used for encrypting the first query request, packaging the first query request according to a preset format and delivering the packaged first query request to a connected service system; processing according to the second query request to obtain a query result, and feeding the query result back to the connected service system;
the data storage module is used for storing service data and the initiating and receiving records of the first query request and/or the second query request.
3. The system of claim 1, wherein the service system comprises a service node, a message queue unit, and a record unit;
the service node is used for acquiring mechanism information corresponding to the first query request in the block chain system according to the first query request, acquiring a service system address corresponding to the first query request according to the mechanism information, handing the first query request to a corresponding service system, and uploading a received query result to a message queue unit; verifying the received second query request according to the mechanism information in the block chain system, handing the second query request to a connected service system after the second query request passes the verification, feeding a query result fed back by the service system back to a corresponding service system, and storing the query result and a corresponding query record to the block chain system through the message queue unit;
the message queue unit is configured to queue the received first query request and/or the second query request in sequence, and deliver the first query request and/or the second query request to the service node in sequence according to a queuing sequence;
the recording unit is used for recording the query records corresponding to the first query request and/or the second query request.
4. The system of claim 3, wherein the blockchain system further comprises an organization information management module, a data price management module, and a points management module;
the mechanism information management module is used for storing mechanism information of all service systems connected with the block chain system and service system addresses of all server systems;
the data price management module is used for adjusting the integral values of the service system of the query initiator and the service system of the query feedback party according to the query records and preset rules;
the point management module is used for recording the point values of all service systems connected with the block chain system and the point change record in a preset period.
5. The system according to claim 4, wherein the credit management module further comprises a monitoring unit, and the monitoring unit is configured to monitor a credit value of each service system, and limit the receiving of the second query request of the corresponding service system when the credit value is lower than a preset threshold.
6. A method for sharing risk data in a block chain distributed manner, the method comprising:
receiving a first query request submitted by a user;
according to the first query request, obtaining mechanism information corresponding to the first query request in a block chain system;
acquiring a service system address corresponding to the first query request according to the mechanism information, and handing the first query request to a corresponding service system;
receiving a query result fed back by the service system, and uploading the received query result to a message queue;
and feeding back the query result on the message queue to the user.
7. A method for sharing risk data in a block chain distributed manner, the method comprising:
receiving a second query request sent by a service system connected with the block chain system;
verifying the service system through the mechanism information recorded in the block chain system, and after the verification is passed, inquiring local data in a ciphertext database collision mode according to the second inquiry request to obtain an inquiry result;
and feeding back the query result to a corresponding service system, and uploading a query record corresponding to the query result to a block chain system for storage.
8. The method of claim 7, further comprising: and the block chain system adjusts integral values of the service system of the query initiator and the service system of the query feedback party according to the query record according to a preset rule, and stores the change condition of the integral values to a preset position.
9. The method of claim 8, further comprising: and monitoring an integral value of each service system, and limiting to receive the second query request of the corresponding service system when the integral value is lower than a preset threshold value.
10. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of any one of claims 6 to 9 when executing the computer program.
11. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program for executing the method of any one of claims 6 to 9.
CN202010466912.3A 2020-05-28 2020-05-28 Block chain distributed risk data sharing system and method Pending CN111666589A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010466912.3A CN111666589A (en) 2020-05-28 2020-05-28 Block chain distributed risk data sharing system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010466912.3A CN111666589A (en) 2020-05-28 2020-05-28 Block chain distributed risk data sharing system and method

Publications (1)

Publication Number Publication Date
CN111666589A true CN111666589A (en) 2020-09-15

Family

ID=72384968

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010466912.3A Pending CN111666589A (en) 2020-05-28 2020-05-28 Block chain distributed risk data sharing system and method

Country Status (1)

Country Link
CN (1) CN111666589A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112148796A (en) * 2020-09-28 2020-12-29 中钞信用卡产业发展有限公司杭州区块链技术研究院 Electronic trade document sharing method, device, equipment and medium
CN113034178A (en) * 2021-03-15 2021-06-25 深圳市麦谷科技有限公司 Multi-system integral calculation method and device, terminal equipment and storage medium
CN112148796B (en) * 2020-09-28 2024-05-31 中钞信用卡产业发展有限公司杭州区块链技术研究院 Electronic trade bill sharing method, device, equipment and medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108717443A (en) * 2018-05-17 2018-10-30 北京京东金融科技控股有限公司 Data sharing method, block catenary system and computer readable storage medium
CN109447643A (en) * 2018-10-31 2019-03-08 中国银联股份有限公司 A kind of data-sharing systems and data sharing method based on block chain
US20200151266A1 (en) * 2018-11-08 2020-05-14 International Business Machines Corporation Data processing using external information

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108717443A (en) * 2018-05-17 2018-10-30 北京京东金融科技控股有限公司 Data sharing method, block catenary system and computer readable storage medium
CN109447643A (en) * 2018-10-31 2019-03-08 中国银联股份有限公司 A kind of data-sharing systems and data sharing method based on block chain
US20200151266A1 (en) * 2018-11-08 2020-05-14 International Business Machines Corporation Data processing using external information

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112148796A (en) * 2020-09-28 2020-12-29 中钞信用卡产业发展有限公司杭州区块链技术研究院 Electronic trade document sharing method, device, equipment and medium
CN112148796B (en) * 2020-09-28 2024-05-31 中钞信用卡产业发展有限公司杭州区块链技术研究院 Electronic trade bill sharing method, device, equipment and medium
CN113034178A (en) * 2021-03-15 2021-06-25 深圳市麦谷科技有限公司 Multi-system integral calculation method and device, terminal equipment and storage medium

Similar Documents

Publication Publication Date Title
CN111539726B (en) Block chain consensus system and method
CN108681965B (en) Block chain network transaction processing method and device for offline node
CN109522330B (en) Cloud platform data processing method, device, equipment and medium based on block chain
KR20190114023A (en) Device identifier dependent operation processing of packet based data communication
CN110601816B (en) Lightweight node control method and device in block chain system
CN109521956B (en) Cloud storage method, device, equipment and storage medium based on block chain
CN113157648A (en) Block chain based distributed data storage method, device, node and system
CN108512814B (en) Media data processing method, device and system
CN112787812A (en) Block chain-based calculation job processing method, device and system
JP2009521773A5 (en)
CN109377220B (en) Block chain-based media data transaction method and system and computer storage medium
CN112767113A (en) Account checking data processing method, device and system based on block chain
CN114119021A (en) Image file security multi-party calculation method and system
JP2015180992A (en) Information processing system, information processing apparatus, and program
CN114244851B (en) Block chain-based data distribution method
US20210019705A1 (en) Method and apparatus for sharing data across groups
CN112995317B (en) Block chain consensus method and block chain link points
CN113420007B (en) Audit processing method and device for database access and electronic equipment
CN111666589A (en) Block chain distributed risk data sharing system and method
CN112783853A (en) Operation processing method, device and system based on block chain
CN111464295A (en) Bank card making method and device
CN115526629A (en) Receipt transaction method and device based on block chain network and identity authentication device
CN114979234A (en) Session control sharing method and system in distributed cluster system
CN113535852A (en) File processing method, file access method, device and system based on block chain
CN114286039A (en) Audio and video call method and system

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200915