CN111401889B - Credit data processing method, device, equipment and medium based on block chain - Google Patents

Credit data processing method, device, equipment and medium based on block chain Download PDF

Info

Publication number
CN111401889B
CN111401889B CN201910005167.XA CN201910005167A CN111401889B CN 111401889 B CN111401889 B CN 111401889B CN 201910005167 A CN201910005167 A CN 201910005167A CN 111401889 B CN111401889 B CN 111401889B
Authority
CN
China
Prior art keywords
data
credit
blockchain
processing
rule
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.)
Active
Application number
CN201910005167.XA
Other languages
Chinese (zh)
Other versions
CN111401889A (en
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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201910005167.XA priority Critical patent/CN111401889B/en
Publication of CN111401889A publication Critical patent/CN111401889A/en
Application granted granted Critical
Publication of CN111401889B publication Critical patent/CN111401889B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/02Banking, e.g. interest calculation or account maintenance
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Technology Law (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The embodiment of the invention discloses a credit data processing method, device, equipment and medium based on a blockchain. The method is applied to the service server, and comprises the following steps: if the data source device is determined to store the credit source data into the blockchain, acquiring the credit source data and a blockchain address from the data source device or the blockchain; processing the credit source data according to a set processing mode to obtain a credit processing result, wherein rule data of the set processing mode is stored in the blockchain; and carrying out association display on the credit processing result, the set processing mode and the blockchain address of the credit source data. The technical scheme provided by the embodiment of the invention optimizes the credit data processing mode and improves the acceptance of credit processing results.

Description

Credit data processing method, device, equipment and medium based on block chain
Technical Field
The embodiment of the invention relates to a blockchain technology, in particular to a credit data processing method, device, equipment and medium based on a blockchain.
Background
Enterprise credit is the basis of cooperation, financial credit and other works among enterprises, and along with the development of network communication and online interaction technology, the information quantity for representing the enterprise credit is larger and larger. The information amount is large, and a demander can know a certain enterprise more, but massive information also increases the information amount and the filtering workload for the demander, and on the contrary, the credit evaluation for the enterprise is difficult to be accurately and efficiently carried out.
In the prior art, some institutions provide credit data processing platforms, namely, the institutions are responsible for collecting credit data, analyzing and processing the credit data, and displaying the result to a requester for viewing. However, both the demander and the enterprise can only see the data processing result, but the transparency of the data processing process is low, the reliability is poor, and the data is easy to damage and miss due to various reasons, so that the acceptance of the credit evaluation result provided by the technology is low.
Disclosure of Invention
The embodiment of the invention provides a credit data processing method, device, equipment and medium based on a blockchain, which are used for optimizing a credit data processing mode and improving the acceptance of a credit processing result.
In a first aspect, an embodiment of the present invention provides a credit data processing method based on a blockchain, which is applied to a service server, and the method includes:
If the data source device is determined to store the credit source data into the blockchain, acquiring the credit source data and a blockchain address from the data source device or the blockchain;
processing the credit source data according to a set processing mode to obtain a credit processing result, wherein rule data of the set processing mode is stored in the blockchain;
and carrying out association display on the credit processing result, the set processing mode and the blockchain address of the credit source data.
In a second aspect, an embodiment of the present invention further provides a credit data processing method based on a blockchain, applied to a blockchain node, where the method includes:
receiving credit source data uploaded by data source equipment, and storing the credit source data into a blockchain as transaction data;
receiving rule data of a set processing mode provided by a service server, and storing the rule data of the set processing mode into a block chain as transaction data;
and receiving a credit processing result or a credit source data verification request, and providing a credit processing result or credit source data verification operation according to the blockchain address in the verification request.
In a third aspect, an embodiment of the present invention further provides a credit data processing apparatus based on a blockchain, configured in a service server, where the apparatus includes:
The data address acquisition module is used for acquiring the credit source data and the block chain address from the data source equipment or the block chain if the data source equipment is determined to store the credit source data into the block chain;
the data processing module is used for processing the credit source data according to a set processing mode to obtain a credit processing result, wherein the rule data of the set processing mode is stored in the block chain;
and the display module is used for carrying out association display on the credit processing result, the used setting processing mode and the blockchain address of the credit source data.
In a fourth aspect, an embodiment of the present invention further provides a credit data processing apparatus based on a blockchain, configured in a blockchain node, the apparatus including:
the source data storage module is used for receiving credit source data uploaded by the data source equipment and storing the credit source data into the blockchain as transaction data;
the rule data storage module is used for receiving rule data of a set processing mode provided by the service server and storing the rule data of the set processing mode into the block chain as transaction data;
the verification request receiving module is used for receiving a credit processing result or a verification request of credit source data;
And the data providing module is used for providing the credit processing result or the verification operation of the credit source data according to the blockchain address in the verification request.
In a fifth aspect, an embodiment of the present invention further provides an apparatus, including:
one or more processors;
a storage means for storing one or more programs;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the blockchain-based credit data processing method of the first aspect or the blockchain-based credit data processing method of the second aspect.
In a sixth aspect, an embodiment of the present invention further provides a medium, where a computer program is stored, where the program when executed by a processor implements the blockchain-based credit data processing method of the first aspect or the blockchain-based credit data processing method of the second aspect.
The embodiment of the invention provides a credit data processing method, a device, equipment and a medium based on a blockchain, wherein after determining that a data source device stores credit source data into the blockchain, a service server acquires the credit source data and a blockchain address from the data source device or the blockchain; and then, the acquired credit source data is processed by adopting a setting processing mode that the rule data of the setting processing mode is stored in the blockchain, so that a credit processing result is acquired, and the credit processing result, the used setting processing mode and the blockchain address of the credit source data are displayed in a correlated way. Compared with the existing credit data processing platform, the credit source data is stored in the blockchain, so that the reliability of the credit source data source is ensured; meanwhile, the rule data of the set processing mode for processing the credit source data is stored in the blockchain, so that the rule data of the set processing mode is transparent, any enterprise or individual can acquire the rule data of the set processing mode from the blockchain at any time, the credit processing result of the credit source data is verified, and the acceptance of the credit processing result is improved.
Drawings
FIG. 1 is a flow chart of a method for processing credit data based on a blockchain in accordance with a first embodiment of the invention;
FIG. 2 is a flow chart of a method for processing credit data based on a blockchain in accordance with a second embodiment of the invention;
FIG. 3 is a flow chart of a method for processing credit data based on a blockchain provided in a third embodiment of the invention;
FIG. 4 is a flow chart of a method for processing credit data based on a blockchain provided in a fourth embodiment of the invention;
FIG. 5 is a flow chart of a method for processing credit data based on a blockchain provided in a fifth embodiment of the invention;
FIG. 6 is a flow chart of a method for processing credit data based on a blockchain provided in a sixth embodiment of the invention;
FIG. 7 is a schematic diagram of a credit data processing apparatus based on a blockchain provided in a seventh embodiment of the invention;
FIG. 8 is a schematic diagram of a credit data processing apparatus based on a blockchain provided in an eighth embodiment of the invention;
fig. 9 is a schematic structural view of an apparatus provided in a ninth embodiment of the present invention.
Detailed Description
The invention is described in further detail below with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting thereof. It should be further noted that, for convenience of description, only some, but not all of the structures related to the present invention are shown in the drawings.
Example 1
Fig. 1 is a flowchart of a credit data processing method based on a blockchain according to an embodiment of the present invention, where the present embodiment is applicable to the case of processing credit data based on a blockchain technique. The applicable blockchain may be a public chain or a federated chain. The whole set of credit data processing method based on the block chain is usually carried out by the block chain node, a service server for processing credit data and a data source device for uploading data for signal. The service server may be a dedicated server for providing enterprise credit service, and may interact with the blockchain node, for example, may be a common node in the blockchain that stores transaction data, may be a lightweight node that does not store transaction data, or may be a server that hops to a blockchain technology based on a client interface or a web page, or the like. The scheme of the embodiment of the invention is applied to the business server, the method can be executed by a credit data processing device or equipment based on a block chain, and the device can be realized in a hardware and/or software mode and can be integrated in a computing equipment carrying the business server. Referring to fig. 1, the method specifically comprises the following steps:
s110, if the data source device is determined to store the credit source data into the blockchain, the credit source data and the blockchain address are acquired from the data source device or the blockchain.
In this embodiment, the data source device refers to a device such as a server or a terminal that can be used to upload source data for signaling to a blockchain, where the device is a device that generates original credit data and has a strong public trust; the node can be a common node for storing transaction data in a blockchain or a lightweight node for not storing the transaction data; the blockchain node may not be present, but may interact with the blockchain through a data interaction platform (e.g., a client interface or web page, etc.) provided by the blockchain node, such as may send data to the blockchain. By way of example, the data source devices may include government agencies, third party agencies, and other highly trusted devices; government agencies may include, but are not limited to, national committee for improvement, business bureau, highest national court, tax bureau, and the like; third party institutions may include, but are not limited to, banks (e.g., china Bank, etc.), insurance companies, and the like.
The credit source data is credit original data of any enterprise or person generated by the data source device, and can include at least one of the following: administrative penalty data, legal referees documents, business management data, tax data, bank transfer data, credit data, and insurance claim data.
Specifically, the service server can determine whether the data source device stores credit source data in the blockchain by monitoring the behavior of the data source device or transaction requests in the blockchain, and the like, and can also determine that the data source device stores the credit source data in the blockchain by receiving a notification of the data source device; queries may also be made from the blockchain to determine that the data source device is storing credit source data into the blockchain, and so on. For example, determining that the data source device stores credit source data into the blockchain may include at least one of:
A. monitoring the behavior of the data source device for uploading credit source data to the blockchain to determine that the data source device stores the credit source data into the blockchain;
alternatively, the data source device may upload the source data for the signal to the blockchain through a specific frequency or communication channel or the like. Thus, the traffic server may monitor the frequency or communication channel in real time to determine if the data source device has the act of uploading credit source data to the blockchain. For example, when the service server monitors that the communication channel where the data source device and the blockchain interact has information flow, and the direction of the information flow is that the data source device flows to the blockchain, it is determined that the data source device has a behavior of uploading credit source data to the blockchain at the moment, and then it can be determined that the data source device stores the credit source data in the blockchain.
B. Monitoring credit source data storage transaction requests in the blockchain network to determine that the data source device stores credit source data into the blockchain;
in this embodiment, the credit source data storage transaction request refers to a transaction request for storing credit source data to a blockchain network; a declaration identification may be included for informing the blockchain network that credit source data is included in the transaction request; alternatively, the declaration identification may be a source address of the credit source data (address of the data source device), an identification of the credit source data, or the like. The identification of the credit source data may be obtained by hash signing of the credit source data by the data source device.
Specifically, the service server may monitor all or credit source data storage transaction requests in the blockchain network, and if the transaction requests store an active address or an identifier of the credit source data, the transaction requests are considered to carry the credit source data, so as to determine that the data source device stores the credit source data into the blockchain.
C. Transaction data query is conducted on the current generation block to determine that credit source data storage exists in the current generation block;
specifically, if the service server is the current block generation node, the transaction data can be traversed from the current generation block of the local block chain, and if the current generation block is queried to store credit source data, the current generation block can be determined to store the credit source data.
If the service server is not the current block generation node, is a lightweight node or is not a blockchain node, a transaction data query request can be sent to the current block generation node to request the current block generation node to traverse the current generation block for transaction data query, and if the current generation block is queried to store credit source data, the credit source data and the blockchain address are fed back to the service server; the service server receives the credit source data and the blockchain address fed back by the current block generating node, and can determine that the credit source data is stored in the current generating block.
D. And receiving a credit source data uplink notification sent by the data source device to determine that the data source device stores the credit source data into the blockchain.
In this embodiment, the credit source data uplink notification may be a notification sent to the service server after the data source device sends the credit source data as a transaction request to the blockchain network. Specifically, when the service server receives the credit source data uplink notification sent by the data source device, it may be determined that the data source device stores the credit source data in the blockchain.
In this embodiment, the blockchain address refers to a storage address of credit source data in the blockchain, and may include a block identifier and an offset.
Specifically, if the service server determines that the data source device stores credit source data into the blockchain, the credit source data and a blockchain address for storing the credit source data can be obtained from the blockchain; because the data source equipment sends the credit source data as the transaction request to the blockchain network for storage, the blockchain network can feed back the blockchain address of the transaction data corresponding to the transaction request to the data source equipment or the service server when the transaction request is stored in the uplink; thus, the service server may obtain credit source data and blockchain addresses directly from the data source device or obtain credit source data from the data source device and blockchain addresses from the blockchain.
S120, processing the credit source data according to a set processing mode to obtain a credit processing result, wherein rule data of the set processing mode is stored in a blockchain.
In this embodiment, the setting processing mode refers to a preset mode of processing credit source data, and may include at least one of setting a cleaning mode, setting an aggregation mode, setting a credit evaluation model, and the like. The rule data for setting the processing mode is the processing rule or specification for setting the processing mode. The credit processing result may be a rating result, an aggregation result, or the like. Alternatively, different setting processing modes may correspond to different credit processing results.
In order to improve the credibility of the credit processing result, the rule data of the setting processing mode can be stored in the blockchain, so that the rule data of the setting processing mode is transparent, any enterprise or individual can acquire the rule data of the setting processing mode from the blockchain at any time, and further, the rule data of the setting processing mode is adopted to verify whether the credit processing result of the business server or the blockchain node is correct.
For example, rule data for setting the processing mode may be updated according to actual situations. If the rule data of the set processing mode is updated, the updated rule data of the set processing mode may be sent to the blockchain network, so that the blockchain network stores the rule data of the new set processing mode. Therefore, if the blockchain network receives a rule data acquisition request or a verification request sent by any enterprise or person through a client interface or a web page, the blockchain network can traverse forward from the current block, and feed back the rule data of the first acquired setting processing mode, so as to ensure that the rule data of the setting processing mode is up to date.
Specifically, the service server may process the acquired credit source data according to one or more of the set processing modes, so as to obtain a credit processing result; and a credit data processing transaction request can be sent to the blockchain network to request the blockchain link point to process the credit source data according to the set processing mode, and feedback the credit processing result and the like. Optionally, different processing manners may correspond to different scheduling policies, and the following embodiments will describe in detail a scheme for processing credit source data according to a set processing manner.
And S130, carrying out association display on the credit processing result, the set processing mode and the blockchain address of the credit source data.
Specifically, after obtaining the credit processing result corresponding to the credit source data, the service server can establish the association relationship among the blockchain address of the credit source data, the credit processing result and the used setting processing mode, and display the association relationship to the enterprise or the individual in a webpage or other forms, so that the enterprise or the individual can verify or inquire the credit processing result of this time, and the relevant information is perfected according to the credit processing result, and the benign development of the enterprise is finally realized.
According to the technical scheme provided by the embodiment of the invention, after the service server determines that the data source equipment stores the credit source data into the blockchain, the service server acquires the credit source data and the blockchain address from the data source equipment or the blockchain; and then, the acquired credit source data is processed by adopting a setting processing mode that the rule data of the setting processing mode is stored in the blockchain, so that a credit processing result is acquired, and the credit processing result, the used setting processing mode and the blockchain address of the credit source data are displayed in a correlated way. Compared with the existing credit data processing platform, the credit source data is stored in the blockchain, so that the reliability of the credit source data source is ensured; meanwhile, the rule data of the set processing mode for processing the credit source data is stored in the blockchain, so that the rule data of the set processing mode is transparent, any enterprise or individual can acquire the rule data of the set processing mode from the blockchain at any time, the credit processing result of the credit source data is verified, and the acceptance of the credit processing result is improved.
Example two
Fig. 2 is a flowchart of a credit data processing method based on a blockchain according to a second embodiment of the present invention, where the credit source data is further processed according to a set processing manner based on the above embodiment of the present invention, so as to obtain a credit processing result for explanation. Referring to fig. 2, the method specifically comprises the following steps:
s210, if the data source device is determined to store credit source data into the blockchain, the credit source data and the blockchain address are acquired from the data source device or the blockchain.
S220, performing cleaning treatment on the credit source data according to a set cleaning treatment mode to obtain a cleaned credit treatment result, wherein the set cleaning treatment mode comprises a compliance treatment rule.
In this embodiment, the set cleansing processing mode is one of the set processing modes, and is used for processing the format, the content, and the like of the credit source data so as to remove or change the content or the format which does not meet the regulations, and is a standard processing. Optionally, setting the cleaning processing mode may include integrating a planning processing rule, where the integrating a planning processing rule may include a data content processing rule, a format processing rule, and the like.
Specifically, after the service server obtains the credit source data, the format of the credit source data can be processed according to the format processing rule in the planning processing rule, for example, the credit source data adopts Song style, and the regular script is appointed in the format processing rule, so that the font of the credit source data can be changed into regular script and the like, and further, the situation of obvious format errors is avoided; processing the data content of the credit source data subjected to format processing according to the content processing rules in the compliance processing rules so as to remove or change the data content which does not meet the regulations, and finally obtaining the credit processing result after cleaning; the cleaned credit processing results may then be sent to the data source device or blockchain in the cleaning mode used.
Alternatively, the cleaned credit processing results may be presented in the form of scores or the like, so that the data source device normalizes the credit source data format or the like.
And S230, carrying out association display on the credit processing result, the set processing mode and the blockchain address of the credit source data.
According to the technical scheme provided by the embodiment of the invention, after the credit source data is acquired, the service server can carry out cleaning treatment on the credit source data according to the set cleaning treatment mode so as to remove or change the data content or data format which does not accord with the regulation, thereby avoiding the situation of obvious format or content error; and carrying out association display on the credit processing result after cleaning, the blockchain address of the credit source data and the cleaning mode used so as to enable the data source equipment to standardize the credit source data format and the like.
Illustratively, processing the credit source data according to a set processing manner to obtain a credit processing result may further include at least one of:
A. and carrying out aggregation processing on the credit source data according to a set aggregation processing mode to obtain an aggregation result taking a set target as a dimension, wherein the set aggregation processing mode comprises a format unification rule, a content unification rule and an association aggregation rule, and the set target is at least one of data type, enterprise, time and set result content.
In this embodiment, the format unification rule is to set the format of the credit source data to a unified format, for example, the format may be set as "regular script is small four, two ends are aligned, and a single line space"; it may also be uniformly set to "binary form" or the like. The content unification rule is a rule for extracting, from credit source data, credit source data of the same content having the same meaning, purpose, function, or the like, as credit source data required for setting an aggregation processing method. The association aggregation rule refers to a rule for aggregation between credit source data, such as aggregation in data type, time or enterprise.
Specifically, format and content unification processing can be performed on credit source data according to format unification rules and content unification rules in a set aggregation processing mode, and then association aggregation is performed on the processed credit source data according to association aggregation rules in the set aggregation processing mode, for example, aggregation is performed according to data types, so that an aggregation result taking the data types as dimensions is obtained.
B. And carrying out rating processing on the credit source data according to a set credit rating model to obtain a rating result.
In this embodiment, the set credit rating model refers to a model set in advance to evaluate credit. Alternatively, the function or purpose may be different, and the credit rating model may be set differently.
Specifically, a credit rating model can be set, and credit source data required by the setting of the rating model can be rated, so that a rating result can be obtained. Alternatively, the rating results may be presented in a hierarchical or fractional format so that the business or individual can intuitively obtain their own credit scores.
It should be noted that, for the processing of the credit source data, any one or more of the three setting processing modes given above may be adopted. The three setting processing modes have no absolute association relation and no sequence division, and can be flexibly selected according to actual requirements. If the credit rating model is used, the cleaning treatment is firstly carried out by adopting a set cleaning treatment mode, then the aggregation treatment is carried out on the cleaned credit treatment results according to a set aggregation treatment mode, and finally the aggregation results are rated by adopting a set credit rating model to carry out rating treatment.
Example III
Fig. 3 is a flowchart of a credit data processing method based on a blockchain according to a third embodiment of the present invention, where the credit source data is further processed according to a set processing manner based on the above embodiment of the present invention, so as to obtain a credit processing result for explanation. A scheme for processing credit data based on a blockchain node to further obtain a credit processing result is provided. Referring to fig. 3, the method specifically comprises the following steps:
s310, if it is determined that the data source device stores credit source data into the blockchain, the credit source data and the blockchain address are obtained from the data source device or the blockchain.
S320, carrying the rule data with the set processing mode in a rule storage transaction request, and initiating to a blockchain network to request to store in the blockchain.
In this embodiment, the rule storing transaction request refers to rule data for instructing the block link point to set the processing mode as transaction data stored in the block chain. Optionally, the rule storage transaction request may include a rule data identifier, where the rule data identifier may be obtained by performing hash signing on rule data set in a processing manner by the service server.
Specifically, the service server can carry rule data of a set processing mode in a rule storage transaction request and initiate the rule data to the blockchain network; after receiving the rule storage transaction request, the blockchain node determines that the rule storage transaction request comprises rule data of a set processing mode by identifying a rule data identifier, and stores the rule data of the set processing mode into the blockchain; the blockchain node may then feed back the blockchain address of the rule data to the service server for later use in querying or verifying, etc.
It should be noted that, step S320 may be performed before or after the credit source data is processed in the set processing manner to obtain the credit processing result (steps S330 and S340 in the present embodiment). Alternatively, if executed after S330 and S340, the credit processing result and the rule data of the set processing mode may be stored in the same block in an associated manner, that is, only one blockchain address is needed to obtain the rule data of the set processing mode and the credit processing result at the same time.
S330, a credit data processing transaction request is initiated to the blockchain network to request the blockchain node to process the credit source data required by the setting processing mode according to the rule data of the setting processing mode specified in the credit data processing transaction request so as to obtain a credit processing result, and the credit processing result is stored in the blockchain.
In this embodiment, the credit data processing transaction request refers to a transaction request for requesting the blockchain node to process the credit source data, and optionally, the credit data processing request may include rule data or a blockchain address of the rule data for setting a processing manner. If step S320 is performed before step S330, the credit data processing request may include the blockchain address of the rule data; otherwise, the credit data processing request may include rule data for setting a processing manner. In addition, the credit data processing request may also include a blockchain address of the credit data source, etc.
Specifically, after obtaining the credit source data, the service server may send a credit data processing transaction request including a blockchain address of the credit source and a blockchain address of the rule data to the blockchain network; in the process of receiving the credit data processing transaction request, the blockchain node can acquire rule data of a set processing mode according to the blockchain address of the rule data in the credit data processing transaction request, and acquire credit source data required by the set processing mode according to the blockchain address of the credit data source in the credit data processing transaction request; and then adopting a set processing mode to process the required credit source data so as to obtain a credit processing result, and storing the credit processing result in a blockchain.
After obtaining the credit source data, the service server can also send a credit data processing transaction request comprising the blockchain address of the credit data source and rule data for setting a processing mode to the blockchain network; in the process that the block chain node receives the credit data processing transaction request, the block chain node can acquire the credit source data required by setting the processing mode according to the block chain address of the credit data source in the credit data processing transaction request; and then, processing the required credit source data by adopting rule data of a set processing mode included in the credit data processing transaction request so as to obtain a credit processing result, and storing the credit processing result in a blockchain.
In addition, the blockchain node can also feed back the credit processing result, the setting processing mode used and the blockchain address of the credit source data to the service server.
S340, receiving the credit processing result fed back by the block chain node, and setting the processing mode and the block chain address of the credit source data.
Specifically, the service server receives the credit processing result fed back by the blockchain node, the used setting processing mode and the blockchain address of the credit source data, and performs local storage.
S350, carrying out association display on the credit processing result, the set processing mode and the blockchain address of the credit source data.
According to the technical scheme provided by the embodiment of the invention, the service server processes the credit source data required by the set processing mode by means of the block chain node according to the rule data of the set processing mode, so that the credit processing result is obtained, and the credibility of the credit processing result is increased.
Example IV
Fig. 4 is a flowchart of a credit data processing method based on a blockchain according to a fourth embodiment of the present invention, where the present embodiment is applicable to the case of processing credit data based on a blockchain technique. The applicable blockchain may be a public chain or a federated chain. The whole set of credit data processing method based on the block chain is usually carried out by the block chain node, a service server for processing credit data and a data source device for uploading data for signal. The scheme of the embodiment of the invention is applied to the blockchain node, the method can be executed by a blockchain-based credit data processing device or equipment, and the device can be realized in a hardware and/or software mode and can be integrated in a computing equipment carrying a service server. Referring to fig. 4, the method specifically comprises the following steps:
S410, credit source data uploaded by the data source device is received, and the credit source data is stored into the blockchain as transaction data.
Specifically, the data source device sends credit source data as a transaction request to the blockchain node, and the blockchain node receives the transaction request including the credit source data sent by the data source device and stores the credit source data as transaction data in the blockchain.
If credit source data of different enterprises or individuals are stored in the blockchain, larger storage space of the blockchain is occupied, and the operation speed of the blockchain node is reduced. Thus, to save the blockchain memory space is large, the credit source data may be stored in a trusted third party database, such as a central database.
Illustratively, receiving credit source data uploaded by a data source device and storing the credit source data as transaction data into a blockchain may include: receiving credit source data uploaded by data source equipment; storing the credit source data in a central database; signature data of the credit source data is calculated, and the signature data of the credit source data and a storage address of the central database are stored as transaction data into the blockchain.
In this embodiment, the signature data of the credit data may be obtained by performing a hash operation on the credit source data. The central database is a third party database with larger storage space and higher credit degree, and can be used for specially storing credit source data.
Specifically, after receiving a transaction request including credit source data sent by a data source device, the blockchain node may calculate signature data of the credit source data by using a hash algorithm or the like; transmitting the credit source data to a central database so that the central database stores the credit source data and feeds back a storage address; and the block chain node receives the storage address fed back by the central database, and takes the signature data of the credit source data and the storage address of the central data as data transaction data to be stored in the block.
Illustratively, receiving credit source data uploaded by the data source device and storing the credit source data as transaction data into the blockchain may further include: receiving signature data of credit source data uploaded by data source equipment and a storage address of a central database fed back by the central database; signature data of credit source data and a storage address of a central database are stored as transaction data into a blockchain.
Specifically, the data source device sends a transaction request including signature data of credit source data to the block link point, and sends the credit source data to the central database for storage; the block chain node receives a transaction request including the signature of the credit source data sent by the data source device and a storage address fed back by the central database, and then stores the signature data of the credit source data and the storage address of the central data into the block as data transaction data.
Illustratively, after storing the credit source data as transaction data in the blockchain, it may further include: and feeding back the blockchain address of the credit source data to the data source device or the service server.
S420, receiving the rule data of the set processing mode provided by the service server, and storing the rule data of the set processing mode into the block chain as transaction data.
In this embodiment, the setting processing mode may include setting a cleaning processing mode, setting an aggregation processing mode, and/or setting a credit rating model. The rule data for setting the processing mode is the processing rule or specification for setting the processing mode.
Specifically, the service server carries rule data of a set processing mode in a rule storage transaction request and initiates the rule data to a blockchain network; the block chain link point receives a rule storage transaction request which is sent by a service server and comprises rule data of a set processing mode, and the rule data of the set processing mode is stored into a block chain as transaction data; the blockchain node may then also feed back the blockchain address of the rule data to the service server for later use in querying or verifying, etc.
S430, receiving the credit processing result or the verification request of the credit source data, and providing the credit processing result or the verification operation of the credit source data according to the blockchain address in the verification request.
In this embodiment, the verification request of the credit processing result may be a request sent to the blockchain node through the client interface or the web page when any enterprise has a question about the credit processing result displayed by the service server; the verification request of the credit source data refers to a request sent to the blockchain node when any enterprise has a question about the reliability of the credit source data stored in the central database.
Specifically, after receiving the credit processing result or the credit source data verification request, the block link point may provide the credit processing result or the credit source data verification result or the data required for verification to the initiator of the verification request according to the block chain address in the verification request.
According to the technical scheme provided by the embodiment of the invention, the block link point stores the credit source data in the block chain, so that the reliability of the credit source data source is ensured; meanwhile, the rule data of the set processing mode for processing the credit source data is stored in the blockchain, so that the rule data of the set processing mode is transparent, any enterprise or individual can acquire the rule data of the set processing mode from the blockchain at any time, the credit processing result of the credit source data is verified, and the acceptance of the credit processing result is improved.
Example five
Fig. 5 is a flowchart of a blockchain-based credit data processing method according to a fifth embodiment of the present invention, where the embodiment further explains the verification operation of providing credit processing results or credit source data according to the blockchain address in the verification request based on the above embodiment. A scheme is provided for verifying credit source data by an initiator of a verification request based on rules data provided by a blockchain node that sets a processing manner and/or the credit source data. Referring to fig. 5, the method specifically comprises the following steps:
s510, credit source data uploaded by the data source device is received, and the credit source data is stored into the blockchain as transaction data.
S520, the rule data of the set processing mode provided by the service server is received, and the rule data of the set processing mode is stored into the block chain as transaction data.
S530, receiving a credit processing result or a credit source data verification request, and inquiring and acquiring rule data of a set processing mode corresponding to the credit processing result and/or credit source data from a blockchain according to a blockchain address in the verification request.
In this embodiment, the blockchain address may include at least one of the following memory addresses: 1) Setting a storage address of rule data of a processing mode in a block chain; 2) The storage address of the credit source data in the blockchain, or the storage address of the signature data of the credit source data and the storage address of the central database in the blockchain, etc.
Specifically, after receiving the credit processing result verification request, the block link point may query and obtain rule data of a set processing mode corresponding to the credit processing result from the local block chain according to the block chain address in the verification request, and credit source data or a storage address of the credit source data in the central database; and feeds it back to the originator of the authentication request. Optionally, if the initiator of the verification request locally stores credit source data, the blockchain node only needs to query and acquire rule data of a set processing mode corresponding to the credit processing result from the local blockchain according to the blockchain address in the verification request, and feeds the rule data back to the initiator of the verification request.
After receiving the credit source data verification request, the block link point can query and acquire credit source data from the block chain or the signature data of the credit source data and the storage address of the credit source data in the central database according to the block chain address in the verification request, and feed the signature data and the storage address of the credit source data back to the initiator of the verification request.
S540, the rule data for setting the processing mode and/or the credit source data are fed back to the initiator of the verification request.
Specifically, the block link point feeds back the acquired rule data of the set processing mode and/or credit source data to the initiator of the verification request, so that the initiator of the verification request verifies the credit processing result or the credit source data according to the rule data of the set processing mode fed back by the block link point and/or the credit source data.
For example, if the verification request is a verification request of a credit processing result, the blockchain node may feed back rule data of a set processing mode corresponding to the credit processing result and credit source data or a storage address of the credit source data in the central database to an initiator of the verification request; after receiving feedback of the blockchain node, the initiator of the verification request can process the credit source data according to rule data of a set processing mode so as to obtain a credit processing result; or the verification requester acquires credit source data required by the rule data of the set processing mode from the central database according to the storage address of the credit source data in the central database, and then processes the credit source data required by the rule data of the set processing mode according to the rule data of the set processing mode so as to obtain a credit processing result; then the initiator of the verification request compares the credit processing result with the credit processing result of the service server, and if the credit processing result is consistent with the credit processing result of the service server, the correct credit processing result can be confirmed; if not, the block link points may be requested to verify.
If the verification request is a verification request of credit source data, the blockchain node may feed back the credit source data or signature data of the credit source data and a storage address of the credit source data in a central database to an initiator of the verification request. The initiator of the verification request can inquire and acquire credit source data according to the storage address of the credit source data in the central database, then signs the credit source data in the same signature mode as that of the block chain node or the data source equipment, compares the signature data with the signature data acquired from the block chain node, and if the signature data are consistent, the credit source data are not changed; if the credit source data is inconsistent, the possibility of tampering with the credit source data storage is described. In addition, the initiator of the verification request can also directly compare the credit source data acquired from the blockchain node with the credit source data acquired by local storage or other modes, and if the credit source data are consistent, the credit source data are not changed; if the credit source data is inconsistent, the possibility of tampering with the credit source data storage is described.
According to the technical scheme provided by the embodiment of the invention, after receiving the credit processing result or the credit source data verification request, the blockchain node inquires and acquires the rule data of the set processing mode corresponding to the credit processing result and/or the credit source data from the blockchain according to the blockchain address in the verification request, and feeds the rule data of the set processing mode corresponding to the credit processing result and/or the credit source data back to the initiator of the verification request, so that the initiator of the verification request verifies the credit processing result or the credit source data according to the rule data of the set processing mode fed back by the blockchain node and/or the credit source data. According to the scheme, the credit source data and the rule data of the set processing mode are stored in the blockchain, so that the reliability of the credit source data source and the transparency of the rule data of the set processing mode are ensured, and the acceptance of a credit processing result is improved.
If the authentication request is an authentication request for credit processing results, exemplary authentication operations for providing credit processing results according to the blockchain address in the authentication request may further include:
A. inquiring and acquiring rule data of a set processing mode corresponding to a credit processing result and required credit source data from a blockchain according to a blockchain address in the verification request;
Specifically, the blockchain node may query and obtain rule data of a set processing mode corresponding to the credit processing result and required credit source data from the blockchain along with the blockchain address in the verification request; or firstly inquiring and acquiring rule data of a set processing mode corresponding to the credit processing result from the blockchain, and the storage address of the credit source data in the central database, and then acquiring the required credit source data from the central database according to the storage address of the credit source data in the central database.
B. And processing the credit source data according to the rule data of the set processing mode, and feeding back the obtained credit processing result to the initiator of the verification request.
Specifically, after obtaining rule data of a set processing mode corresponding to a credit processing result and required credit source data, the blockchain node processes the credit source data according to the rule data of the set processing mode to obtain the credit processing result, and feeds the credit processing result back to an initiator of the verification request; after receiving the credit processing result fed back by the blockchain node, the initiator of the verification request compares the credit processing result with the credit processing result of the service server, and if the credit processing result is consistent with the credit processing result, the initiator can confirm that the credit processing result is correct; if the block link points are inconsistent, the block link points can be requested to be verified again, or the credit processing result of the service server is confirmed to be wrong, and the like.
Example six
Fig. 6 is a flowchart of a credit data processing method based on a blockchain according to a sixth embodiment of the present invention, where the embodiment provides a preferred example of the credit data processing method based on the blockchain implemented by matching execution of a blockchain node, a service server for processing credit data, and a data source device for uploading data for signaling. Referring to fig. 6, the method specifically comprises the following steps:
s610, the data source device uploads a transaction request including credit source data to the blockchain network.
S620, the blockchain node receives the credit source data uploaded by the data source device and stores the credit source data as transaction data into the blockchain.
S630, if the service server determines that the data source device stores credit source data into the blockchain, the service server obtains the credit source data and the blockchain address from the data source device or the blockchain.
S640, the business server carries the rule data of the set processing mode in the rule storage transaction request and initiates the request to the blockchain network to be stored in the blockchain.
S650, the block chain link point receives the rule data of the set processing mode provided by the service server and stores the rule data of the set processing mode as transaction data into the block chain.
S660, the service server processes the credit source data according to the set processing mode to obtain a credit processing result.
And S670, the service server carries out association display on the credit processing result, the set processing mode and the blockchain address of the credit source data.
S680, if the blockchain node receives the credit processing result or the credit source data verification request, the blockchain node provides the credit processing result or the credit source data verification operation according to the blockchain address in the verification request.
According to the technical scheme provided by the embodiment of the invention, the reliability of the credit source data source is ensured by storing the credit source data in the blockchain; meanwhile, the rule data of the set processing mode for processing the credit source data is stored in the blockchain, so that the rule data of the set processing mode is transparent, any enterprise or individual can acquire the rule data of the set processing mode from the blockchain at any time, the credit processing result of the credit source data is verified, and the acceptance of the credit processing result is improved.
Example seven
Fig. 7 is a schematic structural diagram of a credit data processing apparatus based on blockchain provided in a seventh embodiment of the present invention, where the apparatus is configured in a service server, and the credit data processing method based on blockchain provided in the first to third embodiments of the present invention can be executed, and the credit data processing apparatus based on blockchain has corresponding functional modules and beneficial effects of the executing method. As shown in fig. 7, the apparatus includes:
A data address acquisition module 710, configured to acquire the credit source data and the blockchain address from the data source device or the blockchain if it is determined that the data source device stores the credit source data into the blockchain;
the data processing module 720 is configured to process the credit source data according to a set processing manner, so as to obtain a credit processing result, where rule data of the set processing manner is stored in the blockchain;
and a display module 730, configured to display the credit processing result, the setting processing mode used, and the blockchain address of the credit source data in association.
The technical proposal provided by the embodiment of the invention,
illustratively, the data address acquisition module 710, when configured to determine that the data source device stores credit source data into the blockchain, may perform at least one of the following:
monitoring the behavior of the data source device for uploading credit source data to the blockchain to determine that the data source device stores the credit source data into the blockchain;
monitoring credit source data storage transaction requests in the blockchain network to determine that the data source device stores credit source data into the blockchain;
and carrying out transaction data query on the current generation block to determine that credit source data storage exists in the current generation block.
By way of example, the data processing module 720 may be specifically configured to perform at least one of the following operations:
carrying out cleaning treatment on the credit source data according to a set cleaning treatment mode to obtain a cleaned credit treatment result, wherein the set cleaning treatment mode comprises a compliance treatment rule;
carrying out aggregation processing on the credit source data according to a set aggregation processing mode to obtain an aggregation result taking a set target as a dimension, wherein the set aggregation processing mode comprises a format unification rule, a content unification rule and an association aggregation rule, and the set target is at least one of a data type, an enterprise, time and set result content;
and carrying out rating processing on the credit source data according to a set credit rating model to obtain a rating result.
Illustratively, the apparatus may further include:
the transaction request initiating module is used for carrying rule data of the set processing mode in a rule storage transaction request before or after the credit source data is processed according to the set processing mode to obtain a credit processing result, and initiating the rule data to a blockchain network to request to be stored in the blockchain.
Illustratively, the data processing module 720 may also be specifically configured to:
Initiating a credit data processing transaction request to a blockchain network to request a blockchain node to process credit source data required by a set processing mode according to rule data of the set processing mode specified in the credit data processing transaction request so as to obtain a credit processing result, and storing the credit processing result in the blockchain;
and receiving the credit processing result fed back by the blockchain node, and setting the processing mode and the blockchain address of the credit source data.
By way of example, the data source device may comprise: government agencies and third party agencies; the credit source data may include at least one of: administrative penalty data, legal referees documents, business management data, tax data, bank transfer data, credit data, and insurance claim data.
Example eight
Fig. 8 is a schematic structural diagram of a credit data processing apparatus based on a blockchain, which is provided in an embodiment eight of the present invention, and the apparatus is configured in a blockchain node, and can execute the credit data processing method based on the blockchain, which is provided in embodiments four to five of the present invention, and has functional modules and beneficial effects corresponding to the execution method. As shown in fig. 8, the apparatus includes:
a source data storage module 810, configured to receive credit source data uploaded by a data source device, and store the credit source data as transaction data in a blockchain;
A rule data storage module 820 for receiving rule data of a set processing mode provided by the service server and storing the rule data of the set processing mode as transaction data into the blockchain;
a verification request receiving module 830, configured to receive a credit processing result or a verification request of credit source data;
the data providing module 840 is configured to provide a credit processing result or a credit source data verification operation according to the blockchain address in the verification request.
Illustratively, the data providing module 840 may also be configured to:
inquiring and acquiring rule data of a set processing mode corresponding to a credit processing result and/or credit source data from a blockchain according to a blockchain address in the verification request;
and feeding back rule data for setting the processing mode and/or credit source data to the initiator of the verification request.
Illustratively, the data providing module 840 may also be configured to:
inquiring and acquiring rule data of a set processing mode corresponding to the credit processing result and required credit source data from a blockchain according to a blockchain address in the verification request;
and processing the credit source data according to the rule data of the set processing mode, and feeding back the obtained credit processing result to the initiator of the verification request.
By way of example, the setting processing manner may include: setting a cleaning process, setting an aggregation process, and/or setting a credit rating model.
Illustratively, the rule data store module 820 is specifically configured to:
receiving credit source data uploaded by data source equipment;
storing the credit source data in a central database;
signature data of the credit source data is calculated, and the signature data of the credit source data and a storage address of the central database are stored as transaction data into the blockchain.
Example nine
Fig. 9 is a schematic structural diagram of an apparatus according to a ninth embodiment of the present invention. Fig. 9 shows a block diagram of an exemplary device 12 suitable for use in implementing embodiments of the present invention. The device 12 shown in fig. 9 is merely an example and should not be construed as limiting the functionality and scope of use of embodiments of the present invention. Device 12 is typically a computing device that assumes the functionality of a blockchain network node or a service server.
As shown in fig. 9, device 12 is in the form of a general purpose computing device. Components of device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, a bus 18 that connects the various system components, including the system memory 28 and the processing units 16.
Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, and a local bus using any of a variety of bus architectures. By way of example, and not limitation, such architectures include Industry Standard Architecture (ISA) bus, micro channel architecture (MAC) bus, enhanced ISA bus, video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Device 12 typically includes a variety of computer system readable media. Such media can be any available media that is accessible by device 12 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM) 30 and/or cache memory 32. Device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from or write to non-removable, nonvolatile magnetic media (not shown in FIG. 9, commonly referred to as a "hard disk drive"). Although not shown in fig. 9, a magnetic disk drive for reading from and writing to a removable non-volatile magnetic disk (e.g., a "floppy disk"), and an optical disk drive for reading from or writing to a removable non-volatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In such cases, each drive may be coupled to bus 18 through one or more data medium interfaces. The system memory 28 may include at least one program product having a set (e.g., at least one) of program modules configured to carry out the functions of the embodiments of the invention.
A program/utility 40 having a set (at least one) of program modules 42 may be stored in, for example, system memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment. Program modules 42 generally perform the functions and/or methods of the embodiments described herein.
Device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), one or more devices that enable a user to interact with device 12, and/or any devices (e.g., network card, modem, etc.) that enable device 12 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 22. Also, device 12 may communicate with one or more networks such as a Local Area Network (LAN), a Wide Area Network (WAN) and/or a public network, such as the Internet, via network adapter 20. As shown, network adapter 20 communicates with other modules of device 12 over bus 18. It should be appreciated that although not shown, other hardware and/or software modules may be used in connection with device 12, including, but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
The processing unit 16 executes various functional applications and data processing by running programs stored in the system memory 28, such as implementing the blockchain-based credit data processing method provided by embodiments of the present invention.
Examples ten
The tenth embodiment of the present invention also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, can implement the blockchain-based credit data processing method provided in the above embodiment. The computer readable storage medium may be configured on a blockchain node or a service server.
The computer storage media of embodiments of the invention may take the form of any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
Note that the above is only a preferred embodiment of the present invention and the technical principle applied. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, while the invention has been described in connection with the above embodiments, the invention is not limited to the embodiments, but may be embodied in many other equivalent forms without departing from the spirit or scope of the invention, which is set forth in the following claims.

Claims (13)

1. A credit data processing method based on a block chain, which is applied to a service server, and is characterized by comprising the following steps:
the method comprises the steps that if the data source equipment is determined to store credit source data into a blockchain, the credit source data and a blockchain address are acquired from the data source equipment or the blockchain;
processing the credit source data according to a set processing mode to obtain a credit processing result, wherein the rule data of the set processing mode is stored in the blockchain, and the rule data of the set processing mode is a processing rule or specification of the set processing mode; carrying out association display on the credit processing result, the set processing mode and the blockchain address of the credit source data;
The credit source data is processed according to a set processing mode to obtain the credit processing result, wherein the credit processing result comprises at least two of the following steps:
performing cleaning treatment on the credit source data according to a set cleaning treatment mode to obtain a cleaned credit treatment result, wherein the set cleaning treatment mode comprises a compliance treatment rule;
performing aggregation processing on the credit source data according to a set aggregation processing mode to obtain an aggregation result taking a set target as a dimension, wherein the set aggregation processing mode comprises a format unification rule, a content unification rule and an association aggregation rule, and the set target is at least one of a data type, an enterprise, time and set result content;
performing rating processing on the credit source data according to a set credit rating model to obtain a rating result;
before or after the credit source data is processed according to the set processing mode to obtain the credit processing result, the method further comprises the following steps:
and carrying the rule data with the set processing mode in a rule storage transaction request, and initiating the rule data to a blockchain network to request to be stored in the blockchain.
2. The method of claim 1, wherein determining that the data source device stores credit source data into the blockchain comprises at least one of:
monitoring the behavior of the data source device for uploading credit source data to the blockchain to determine that the data source device stores the credit source data into the blockchain;
monitoring credit source data storage transaction requests in the blockchain network to determine that the data source device stores credit source data into the blockchain;
and carrying out transaction data query on the current generation block to determine that credit source data storage exists in the current generation block.
3. The method of claim 1, wherein processing the credit source data in a set processing manner to obtain a credit processing result comprises:
initiating a credit data processing transaction request to a blockchain network to request a blockchain link point to process the credit source data required by a set processing mode according to the rule data of the set processing mode appointed in the credit data processing transaction request so as to obtain a credit processing result, and storing the credit source data in the blockchain;
and receiving the credit processing result fed back by the blockchain node, and setting the processing mode and the blockchain address of the credit source data.
4. A method according to any of claims 1-3, wherein the data source device comprises: government agencies and third party agencies;
the credit source data includes at least one of: administrative penalty data, legal referees documents, business management data, tax data, bank transfer data, credit data, and insurance claim data.
5. A blockchain-based credit data processing method applied to blockchain nodes, comprising:
receiving credit source data uploaded by data source equipment, and storing the credit source data into a blockchain as transaction data;
receiving rule data of a set processing mode provided by a service server, and storing the rule data of the set processing mode into a block chain as transaction data; the rule data for setting the processing mode is a processing rule or specification for setting the processing mode;
receiving a credit processing result or a verification request of credit source data, and providing verification operation of the credit processing result or the credit source data according to a blockchain address in the verification request;
correspondingly, the credit source data is processed according to a set processing mode to obtain the credit processing result, which comprises at least two of the following steps:
Performing cleaning treatment on the credit source data according to a set cleaning treatment mode to obtain a cleaned credit treatment result, wherein the set cleaning treatment mode comprises a compliance treatment rule;
performing aggregation processing on the credit source data according to a set aggregation processing mode to obtain an aggregation result taking a set target as a dimension, wherein the set aggregation processing mode comprises a format unification rule, a content unification rule and an association aggregation rule, and the set target is at least one of a data type, an enterprise, time and set result content;
performing rating processing on the credit source data according to a set credit rating model to obtain a rating result;
wherein storing rule data for setting a processing mode as transaction data in a blockchain includes: and receiving a rule storage transaction request which is initiated by the service server and carries rule data of a set processing mode, and storing the rule data of the set processing mode into a blockchain as transaction data.
6. The method of claim 5, wherein providing the credit processing result or the validation operation of the credit source data based on the blockchain address in the validation request comprises:
Inquiring and acquiring rule data and/or credit source data of a set processing mode corresponding to the credit processing result from a blockchain according to the blockchain address in the verification request;
and feeding back rule data for setting the processing mode and/or credit source data to the initiator of the verification request.
7. The method of claim 5, wherein providing the validation operation of the credit processing result based on the blockchain address in the validation request comprises:
inquiring and acquiring rule data of a set processing mode corresponding to the credit processing result and required credit source data from a blockchain according to a blockchain address in the verification request;
and processing the credit source data according to the rule data of the set processing mode, and feeding back the obtained credit processing result to the initiator of the verification request.
8. The method according to any one of claims 5-7, wherein setting the processing means comprises: setting a cleaning process, setting an aggregation process, and/or setting a credit rating model.
9. The method of claim 5, wherein receiving credit source data uploaded by the data source device and storing the credit source data as transaction data in the blockchain comprises:
Receiving credit source data uploaded by data source equipment;
storing the credit source data into a central database;
and calculating signature data of the credit source data, and storing the signature data of the credit source data and a storage address of a central database into a blockchain as transaction data.
10. A blockchain-based credit data processing device configured in a service server, comprising:
the data address acquisition module is used for determining that the data source equipment stores credit source data into the blockchain, and acquiring the credit source data and the blockchain address from the data source equipment or the blockchain;
the data processing module is used for processing the credit source data according to a set processing mode to obtain a credit processing result, wherein the rule data of the set processing mode is stored in the blockchain, and the rule data of the set processing mode is a processing rule or specification of the set processing mode;
the display module is used for carrying out association display on the credit processing result, the set processing mode used and the blockchain address of the credit source data;
the credit source data is processed according to a set processing mode to obtain the credit processing result, wherein the credit processing result comprises at least two of the following steps:
Performing cleaning treatment on the credit source data according to a set cleaning treatment mode to obtain a cleaned credit treatment result, wherein the set cleaning treatment mode comprises a compliance treatment rule;
performing aggregation processing on the credit source data according to a set aggregation processing mode to obtain an aggregation result taking a set target as a dimension, wherein the set aggregation processing mode comprises a format unification rule, a content unification rule and an association aggregation rule, and the set target is at least one of a data type, an enterprise, time and set result content;
performing rating processing on the credit source data according to a set credit rating model to obtain a rating result;
wherein the apparatus further comprises a transaction request initiation module configured to:
before or after the credit source data is processed according to a set processing mode to obtain a credit processing result, carrying rule data of the set processing mode in a rule storage transaction request, and initiating the rule data to a blockchain network to request to be stored in the blockchain.
11. A blockchain-based credit data processing device configured in a blockchain node, comprising:
The source data storage module is used for receiving credit source data uploaded by the data source equipment and storing the credit source data into the blockchain as transaction data;
the rule data storage module is used for receiving rule data of a set processing mode provided by the service server and storing the rule data of the set processing mode into the block chain as transaction data; the rule data for setting the processing mode is a processing rule or specification for setting the processing mode;
the verification request receiving module is used for receiving a credit processing result or a verification request of credit source data;
the data providing module is used for providing the credit processing result or the verification operation of the credit source data according to the blockchain address in the verification request;
correspondingly, the credit source data is processed according to a set processing mode to obtain the credit processing result, which comprises at least two of the following steps:
performing cleaning treatment on the credit source data according to a set cleaning treatment mode to obtain a cleaned credit treatment result, wherein the set cleaning treatment mode comprises a compliance treatment rule;
performing aggregation processing on the credit source data according to a set aggregation processing mode to obtain an aggregation result taking a set target as a dimension, wherein the set aggregation processing mode comprises a format unification rule, a content unification rule and an association aggregation rule, and the set target is at least one of a data type, an enterprise, time and set result content;
Performing rating processing on the credit source data according to a set credit rating model to obtain a rating result;
wherein storing rule data for setting a processing mode as transaction data in a blockchain includes: and receiving a rule storage transaction request which is initiated by the service server and carries rule data of a set processing mode, and storing the rule data of the set processing mode into a blockchain as transaction data.
12. An apparatus, comprising:
one or more processors;
a storage means for storing one or more programs;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the blockchain-based credit data processing method of any of claims 1-4 or the blockchain-based credit data processing method of any of claims 5-9.
13. A medium having stored thereon a computer program, which when executed by a processor implements a blockchain-based credit data processing method as claimed in any of claims 1-4 or a blockchain-based credit data processing method as claimed in any of claims 5-9.
CN201910005167.XA 2019-01-03 2019-01-03 Credit data processing method, device, equipment and medium based on block chain Active CN111401889B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910005167.XA CN111401889B (en) 2019-01-03 2019-01-03 Credit data processing method, device, equipment and medium based on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910005167.XA CN111401889B (en) 2019-01-03 2019-01-03 Credit data processing method, device, equipment and medium based on block chain

Publications (2)

Publication Number Publication Date
CN111401889A CN111401889A (en) 2020-07-10
CN111401889B true CN111401889B (en) 2023-08-18

Family

ID=71435838

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910005167.XA Active CN111401889B (en) 2019-01-03 2019-01-03 Credit data processing method, device, equipment and medium based on block chain

Country Status (1)

Country Link
CN (1) CN111401889B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112579929B (en) * 2020-11-04 2024-04-05 京信数据科技有限公司 Method and device for constructing visual blockchain browser page
CN114238898A (en) * 2021-12-27 2022-03-25 深圳微众信用科技股份有限公司 Credit information processing method, virtual server and related device

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103970919A (en) * 2013-02-04 2014-08-06 上海市城市建设设计研究总院 Automatic building information modeling data processing method
CN106649516A (en) * 2016-10-18 2017-05-10 安徽天达网络科技有限公司 A large data processing method for educational resources
CN106682825A (en) * 2016-12-22 2017-05-17 南京邮电大学 System and method for evaluating credit of Social Internet of Things based on block chain
CN206497498U (en) * 2017-02-28 2017-09-15 天合泽泰(厦门)征信服务有限公司 A kind of integrated system of credit rating information data based on enterprise's reference business
CN107392758A (en) * 2017-09-01 2017-11-24 上海专精特新金融信息服务有限公司 Reference method and device based on block chain
CN107657509A (en) * 2017-09-19 2018-02-02 前海云链科技(深圳)有限公司 A kind of reference method and device based on block chain
GB201809966D0 (en) * 2018-06-18 2018-08-01 Right Of Reply Ltd A method of analysis of information content on a data communication infrastructure
CN108564286A (en) * 2018-04-19 2018-09-21 天合泽泰(厦门)征信服务有限公司 A kind of artificial intelligence finance air control credit assessment method and system based on big data reference
CN108596766A (en) * 2018-04-28 2018-09-28 深圳市优学链科技有限公司 Block chain credit rating method, apparatus, computer equipment and storage medium
CN108667632A (en) * 2018-04-19 2018-10-16 阿里巴巴集团控股有限公司 Blockchain-based credit record sharing method, device, and electronic equipment
CN108846742A (en) * 2018-05-30 2018-11-20 杭州复杂美科技有限公司 Block chain user credit stage division and system, equipment and storage medium
CN109086325A (en) * 2018-06-29 2018-12-25 阿里巴巴集团控股有限公司 Data processing method and device based on block chain
CN109118355A (en) * 2018-08-09 2019-01-01 南京安链数据科技有限公司 A kind of credit data based on block chain, model guarantor is solid and method of calibration
CN110543502A (en) * 2019-09-05 2019-12-06 腾讯科技(深圳)有限公司 Credit data processing method, device and equipment based on block chain and storage medium

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103970919A (en) * 2013-02-04 2014-08-06 上海市城市建设设计研究总院 Automatic building information modeling data processing method
CN106649516A (en) * 2016-10-18 2017-05-10 安徽天达网络科技有限公司 A large data processing method for educational resources
CN106682825A (en) * 2016-12-22 2017-05-17 南京邮电大学 System and method for evaluating credit of Social Internet of Things based on block chain
CN206497498U (en) * 2017-02-28 2017-09-15 天合泽泰(厦门)征信服务有限公司 A kind of integrated system of credit rating information data based on enterprise's reference business
CN107392758A (en) * 2017-09-01 2017-11-24 上海专精特新金融信息服务有限公司 Reference method and device based on block chain
CN107657509A (en) * 2017-09-19 2018-02-02 前海云链科技(深圳)有限公司 A kind of reference method and device based on block chain
CN108667632A (en) * 2018-04-19 2018-10-16 阿里巴巴集团控股有限公司 Blockchain-based credit record sharing method, device, and electronic equipment
CN108564286A (en) * 2018-04-19 2018-09-21 天合泽泰(厦门)征信服务有限公司 A kind of artificial intelligence finance air control credit assessment method and system based on big data reference
CN108596766A (en) * 2018-04-28 2018-09-28 深圳市优学链科技有限公司 Block chain credit rating method, apparatus, computer equipment and storage medium
CN108846742A (en) * 2018-05-30 2018-11-20 杭州复杂美科技有限公司 Block chain user credit stage division and system, equipment and storage medium
GB201809966D0 (en) * 2018-06-18 2018-08-01 Right Of Reply Ltd A method of analysis of information content on a data communication infrastructure
CN109086325A (en) * 2018-06-29 2018-12-25 阿里巴巴集团控股有限公司 Data processing method and device based on block chain
CN109118355A (en) * 2018-08-09 2019-01-01 南京安链数据科技有限公司 A kind of credit data based on block chain, model guarantor is solid and method of calibration
CN110543502A (en) * 2019-09-05 2019-12-06 腾讯科技(深圳)有限公司 Credit data processing method, device and equipment based on block chain and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
融入区块链技术的大数据征信平台的设计与应用研究;琚春华;邹江波;傅小康;;计算机科学(S2);第532-536+562页 *

Also Published As

Publication number Publication date
CN111401889A (en) 2020-07-10

Similar Documents

Publication Publication Date Title
JP6985576B2 (en) Business process systems, business data processing methods and equipment
US20210304201A1 (en) Transaction verification method and apparatus, storage medium, and electronic device
CN112579632B (en) A data verification method, device, equipment and medium
CN111814045B (en) Data query method, device, electronic equipment and storage medium
CN109101664B (en) Data transmission method, device, equipment and medium for lightweight node
CN109002349B (en) Application program interaction method, implementation method, device, equipment and medium
CN108073429B (en) Payment mode configuration method, device, equipment and storage medium
US9998450B2 (en) Automatically generating certification documents
CN102129634A (en) Digital certificate management system and digital certificate management method
KR102009336B1 (en) Apparatus, method and computer program for cloud scrapping using pre-scrapped bigdata
CN110688827B (en) Data processing method, device, electronic equipment and storage medium
CN108650289A (en) A kind of method and apparatus of the management data based on block chain
CN111401889B (en) Credit data processing method, device, equipment and medium based on block chain
CN111444416B (en) Financial service popularization method, system and device
CN111045823A (en) Context data load distribution method, device, equipment and storage medium
CN112994900B (en) File countersigning method, device, client, server and storage medium
CN113326500B (en) Information verification method combining edge computing and cloud edge fusion and central cloud platform
CN113554411A (en) Processing method and device for enterprise qualification declaration by combining RPA and AI
CN116383243B (en) Information processing method and device, electronic device, and computer-readable storage medium
CN111563814B (en) Information processing method, device, system and electronic equipment
CN111209540B (en) Information verification method, device and storage medium
CN114169984A (en) Method, system, apparatus, medium and product for funds release
CN113989059A (en) Customer information checking method, system, computer device and storage medium
CN116128518B (en) Electronic archive management method, device, equipment and storage medium
KR20190130957A (en) Apparatus, method and computer program for cloud scrapping using pre-scrapped bigdata

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
GR01 Patent grant
GR01 Patent grant