CN111783147A - Credit data exchange method, device, system and storage medium - Google Patents

Credit data exchange method, device, system and storage medium Download PDF

Info

Publication number
CN111783147A
CN111783147A CN202010612896.4A CN202010612896A CN111783147A CN 111783147 A CN111783147 A CN 111783147A CN 202010612896 A CN202010612896 A CN 202010612896A CN 111783147 A CN111783147 A CN 111783147A
Authority
CN
China
Prior art keywords
data
credit data
exchange
credit
verification
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.)
Granted
Application number
CN202010612896.4A
Other languages
Chinese (zh)
Other versions
CN111783147B (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.)
JD Digital Technology Holdings Co Ltd
Beijing Haiyi Tongzhan Information Technology Co Ltd
Original Assignee
JD Digital Technology Holdings Co Ltd
Beijing Haiyi Tongzhan Information 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 JD Digital Technology Holdings Co Ltd, Beijing Haiyi Tongzhan Information Technology Co Ltd filed Critical JD Digital Technology Holdings Co Ltd
Priority to CN202010612896.4A priority Critical patent/CN111783147B/en
Priority claimed from CN202010612896.4A external-priority patent/CN111783147B/en
Publication of CN111783147A publication Critical patent/CN111783147A/en
Priority to PCT/CN2021/085993 priority patent/WO2022001276A1/en
Application granted granted Critical
Publication of CN111783147B publication Critical patent/CN111783147B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The application provides a credit data exchange method, a device, a system and a storage medium, which are applied to the field of block chains. Since the credit data received by the requesting device is verified, the accuracy of the credit data can be ensured.

Description

Credit data exchange method, device, system and storage medium
Technical Field
The present application relates to the field of data processing technologies, and in particular, to a method, an apparatus, a system, and a storage medium for exchanging credit data.
Background
With the development of science and technology, various operation data generated by operation are recorded by each enterprise through electronic equipment so that the enterprises can manage the operation process. The credit data of the cooperative enterprise is one of the more important operation data, and can provide basic data for the enterprise to make a partner decision.
Each enterprise records credit data of already collaborating enterprises, such as: the stability of products, the reliability of products and the like are provided, but the credit data obtained by a single enterprise is relatively single, and other credit data of cooperative enterprises need to be obtained from other enterprises. Credit data exchange between enterprises is generally performed as follows: enterprise a needs to obtain the credit data of enterprise C from enterprise B, enterprise a sends a data request to the electronic device of enterprise B through the electronic device, and the electronic device of enterprise B retrieves the credit data of enterprise C from the database according to the data request and sends the credit data to the electronic device of enterprise a.
However, there is a phenomenon that the credit data is tampered by the enterprise B in the above credit data exchange process, so that the enterprise a cannot accurately obtain the credit data of the enterprise C.
Disclosure of Invention
The present application provides a credit data exchange method, device, system and storage medium, which aims to solve the above problems.
In a first aspect, the present application provides a credit data exchange method, where a data exchange system includes a response device and a request device, and the method is applied to the response device, and the method includes:
receiving an exchange request sent by a requesting device, wherein the exchange request is used for requesting to exchange credit data;
judging whether credit data stored in a preset database meets an exchange condition, wherein the exchange condition is used for indicating that the reliability of the credit data passes verification;
and if so, sending the credit data to the requesting equipment.
Optionally, the method further comprises:
and if the judgment result is negative, verifying the credit data.
Optionally, if the determination result is negative, the verifying the credit data specifically includes:
transmitting the credit data to at least one verification device;
receiving an intermediate verification result of credit data returned by at least one verification device;
a final verification result of the credit data is determined based on the at least one intermediate verification result.
Optionally, determining a final verification result of the credit data according to at least one intermediate verification result, specifically including:
judging whether the number of the intermediate verification results which show that the verification passes reaches a preset number or not;
if the judgment result is yes, generating a final verification result which represents that the verification is passed;
and if the judgment result is negative, generating a final verification result indicating that the verification fails.
In the technical scheme, when the credit data is not verified, the reliability of the data is verified by the plurality of verification devices, so that the reliability of the verification result can be improved, and the reliability of the data received by the request device from the response device is further ensured.
Optionally, after determining a final verification result of the credit data based on the at least one intermediate verification result, the method further comprises:
and when the final verification result shows that the verification is passed, storing the credit data into the block chain, and generating an updated block chain.
Optionally, after storing the credit data into the blockchain and generating the updated blockchain, the method further includes:
the updated blockchain is sent to the at least one authentication device and the requesting device to cause the at least one authentication device and the requesting device to update the locally stored blockchain.
In the technical scheme, the credit data verified by the verification devices is stored in the block chain, so that the credit data can be reliably transmitted between the response device and the request device, and the reliability of the credit data received by the request device is further ensured.
Optionally, the method further comprises:
and if the credit data meets the exchange condition, forwarding the exchange request to at least one verification device.
Optionally, before determining whether the credit data stored in the database satisfies the exchange condition, the method further includes:
judging whether the first summary data meets a first requirement condition, if so, continuously judging whether the credit data stored in the database meets an exchange condition;
the exchange request also comprises first summary data used for describing the exchange data.
In the above technical solution, the response device may determine whether the data provided by the request device is the data required by itself, and when the data is not the required data, stop performing data exchange with the request device, so that the adaptability of the exchange process is stronger.
Optionally, the method further comprises:
and if the first summary data does not meet the first requirement condition, forwarding the exchange request to at least one verification device.
Optionally, before sending the credit data to the requesting device if the determination result is yes, the method further includes:
and if the judgment result is yes, sending second summary data of the credit data to the requesting device so that the requesting device sends the exchange data when judging that the second summary data meets the second requirement condition.
Optionally, after sending the second summary data of the credit data to the requesting device if the determination result is yes, the method further includes:
exchange data is received from the requesting device.
In the above technical solution, the requesting device may determine whether the data provided by the responding device is the data required by itself, and when the data is not the required data, stop performing data exchange with the responding device, so that the adaptability of the exchange process is stronger.
Optionally, after sending the credit data to the requesting device if the determination result is yes, the method further includes:
generating logging data representing the data exchange;
and storing the recorded data into the block chain, and generating an updated block chain.
In the technical scheme, the data exchange process is recorded in a block chain, so that the traceability of the transaction process is realized.
Optionally, the credit data includes one or any number of product stability data and product reliability data.
In a second aspect, the present application provides a credit data exchange method, where a data exchange system includes a response device and a request device, and the method is applied to the request device, and the method includes:
sending an exchange request to a response device, wherein the exchange request is used for requesting to exchange credit data, and the response device is enabled to send the credit data when judging that the credit data meets an exchange condition, and the exchange condition is used for indicating that the reliability of the credit data is verified;
credit data that has been validated is received from the responding device.
Optionally, before receiving the credit data that has passed the verification from the responding device, the method further comprises:
receiving first summary data from the responding device, wherein the first summary data describes credit data that has been validated;
judging whether the first summary data meets a second requirement condition;
and if so, sending the exchange data to the response equipment.
In a third aspect, the present application provides a credit data exchange apparatus, a data exchange system including a response device and a request device, the apparatus being applied to the response device, the apparatus including:
the receiving module is used for receiving an exchange request sent by a request device, wherein the exchange request is used for requesting to exchange credit data;
the processing module is used for judging whether the credit data stored in the preset database meets an exchange condition, wherein the exchange condition is used for indicating that the reliability of the credit data passes verification;
and the sending module is used for sending the credit data to the requesting equipment if the judgment result is yes.
In a fourth aspect, the present application provides a credit data exchange apparatus, a data exchange system comprising a response device and a request device, the apparatus being applied to the request device, the apparatus comprising:
a sending module, configured to send an exchange request to a response device, where the exchange request is used to request to exchange credit data, so that the response device sends the credit data when determining that the credit data satisfies an exchange condition, and the exchange condition is used to indicate that the reliability of the credit data has been verified;
a receiving module for receiving the credit data that has passed the verification from the responding device.
In a fifth aspect, the present application provides a response device comprising:
a memory, a processor;
a memory; a memory for storing processor-executable instructions;
wherein the processor is configured to perform the credit data exchange method according to the first aspect and the alternative.
In a sixth aspect, the present application provides a requesting device, comprising:
a memory, a processor;
a memory; a memory for storing processor-executable instructions;
wherein the processor is configured to perform the credit data exchange method according to the second aspect and the alternative.
In a seventh aspect, the present application provides a switching system, including: a responding apparatus according to a fifth aspect and a requesting apparatus according to a sixth aspect.
In an eighth aspect, the present application provides a computer-readable storage medium having stored thereon computer-executable instructions for implementing the credit data exchange method according to the first aspect or the alternative, or the credit data exchange method according to the first aspect or the alternative.
The application provides a credit data exchange method, a device, a system and a storage medium, wherein a request device initiates an exchange request to a response device, the exchange request is used for requesting to exchange credit data, the response device searches the credit data from a database, and after the credit data is judged to pass verification, the credit data is sent to the request device. Compared with the prior art, the response device returns the credit data to the request device after the credit data passes the verification, and the accuracy of the credit data can be ensured because the credit data received by the request device is verified.
Drawings
Fig. 1 is a schematic structural diagram of a data exchange system provided in the present application;
fig. 2 is a schematic flow chart of a data exchange method according to an embodiment of the present application;
fig. 3 is a schematic flow chart of a data exchange method according to another embodiment of the present application;
fig. 4 is a schematic flowchart of a data exchange method according to another embodiment of the present application;
fig. 5 is a schematic flowchart of a data exchange method according to another embodiment of the present application;
fig. 6 is a schematic flowchart of a data exchange method according to another embodiment of the present application;
fig. 7 is a schematic structural diagram of a data exchange device according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a response device according to another embodiment of the present application.
Detailed Description
To make the purpose, technical solutions and advantages of the present application clearer, the technical solutions in the present application will be clearly and completely described below with reference to the drawings in the present application, and it is obvious that the described embodiments are some, but not all embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
With the development of science and technology, various operation data generated by operation are recorded by each enterprise through electronic equipment so that the enterprises can manage the operation process. The credit data of the cooperative enterprise is one of the more important operation data, and can provide basic data for the enterprise to make a partner decision.
Each enterprise records credit data of already collaborating enterprises, such as: the stability of products, the reliability of products and the like are provided, but the credit data obtained by a single enterprise is relatively single, and other credit data of cooperative enterprises need to be obtained from other enterprises. Credit data exchange between enterprises is generally performed as follows: enterprise a needs to obtain the credit data of enterprise C from enterprise B, enterprise a sends a data request to the electronic device of enterprise B through the electronic device, and the electronic device of enterprise B retrieves the credit data of enterprise C from the database according to the data request and sends the credit data to the electronic device of enterprise a.
However, there is a phenomenon that the credit data is tampered by the enterprise B in the above credit data exchange process, so that the enterprise a cannot accurately obtain the credit data of the enterprise C.
The present application provides a credit data exchange method, device, system and storage medium, which aims to solve the above problems. The invention conception of the application is as follows: when the response device receives the exchange request sent by the request device, it needs to judge whether the credit data in the exchange request passes the verification, and only after passing the verification, the credit data is returned to the request device, so as to ensure the reliability of the credit data.
As shown in fig. 1, the data exchange system provided by the present application includes a response device 101, a request device 102, and an authentication device. Wherein the responding device 101, the requesting device 102 and the authenticating device 103 are communicatively connected, and there is no master-slave relationship between the responding device 101, the requesting device 102 and the authenticating device 103, which are equal between the communication networks.
The responding device 101, the requesting device 102, and the verifying device 103 share the same blockchain, but each device is not required to locally store the complete blockchain, and only a preset number of devices need to store the complete blockchain. When data exchange occurs between any two devices in the exchange system, an exchange record is stored in the blockchain. In addition, any device in the switching system can upload the latest credit data to the block chain to realize real-time update of the block chain, and the credit data can be uploaded only after multi-party verification when being uploaded to the block chain, so that the reliability of the block chain is ensured. In addition, the block chain is stored in an encryption mode, so that the block chain is guaranteed against being stolen or tampered, and the reliability of the block chain is guaranteed.
The responding device 101 acts as a participant in the data exchange, requesting the device 102 to act as an initiator in the data exchange. The authentication device acts as an authenticator for the credit data. An exchange request is sent by requesting device 102 to responding device 101, and responding device 101 parses the credit data from the exchange request and looks up the credit data from the database. After finding the credit data, the responder device 101 determines whether the credit data is verified, and if the credit data is verified, the responder device sends the credit data to the requester device 102. Since the credit data has been verified, the reliability of the credit data can be ensured.
As shown in fig. 2, an embodiment of the present application provides a credit data exchange method, which is applied to a response device, and includes the following steps:
s201, the response equipment receives the request equipment and sends an exchange request.
In this case, the requesting device sends an exchange request to the responding device, the exchange request requesting to exchange credit data, that is, the requesting device requests to exchange credit data with the corresponding device. Credit data refers to data representing the credit of an enterprise, which may be credit data about products offered by the enterprise. For example: product reliability, product stability, delivery timeliness and the like.
For example: the request device stores the product reliability data of the enterprise A, the response device stores the product reliability data of the enterprise B, and the request device can request to exchange the product reliability data of the enterprise A stored locally with the product reliability data of the enterprise B stored in the response device by sending an exchange request to the response device.
S202, the response equipment judges whether the credit data stored in the preset database meets the exchange condition, if so, the step S203 is carried out, and if not, the step S204 is carried out.
And the response equipment analyzes the exchange request and obtains the credit data to be exchanged. Then, whether the credit data satisfies the exchange condition is judged. Wherein the exchange condition is used to indicate that the reliability of the credit data has been verified. That is, the reliability of the credit data has been verified, and the verification result is a pass verification. If the credit data passes the verification, the process proceeds to S203, otherwise, the process proceeds to S204.
S203, the response device sends the credit data to the request device.
When the credit data is verified, that is, the credit data is reliable, the credit data can be directly sent to the requesting device, so that the credit data can be exchanged with the requesting device. In addition, verification data indicating the reliability of the credit data may be added to the credit data.
And S204, the response equipment carries out verification processing on the credit data to obtain a final verification result.
When the credit data is not verified, the reliability of the credit data cannot be determined, and the credit data needs to be verified to obtain a final verification result.
The verification of the credit data may be that the credit data is forwarded to another verification device, i.e. a third-party device, and the authenticity of the credit data is verified by the third-party device and returned to the responding device. When the verification result indicates that the verification is passed, the credit data is transmitted to the requesting device.
In the credit data exchange method provided by the embodiment of the application, the response device sends the credit data to the request device through verification, so that the reliability of the credit data received by the request device can be ensured, and the request device can receive the credit data with high accuracy.
As shown in fig. 3, another embodiment of the present application provides a credit data exchange method, which is applied to a requesting device, and includes the following steps:
s301, the request device sends an exchange request to the response device.
Wherein the exchange request is for requesting an exchange of credit data. I.e. the requesting device requests a credit data exchange with the responding device. Credit data refers to data representing the credit of an enterprise, which may be credit data about products offered by the enterprise. For example: product reliability, product stability, delivery timeliness and the like.
After receiving the exchange request, the response equipment analyzes the exchange request and determines credit data to be exchanged. And determines whether the credit data to be exchanged satisfies the exchange condition, that is, whether the reliability of the credit data has been verified. And transmitting the credit data to the requesting device when the credit data meets the exchange condition. And when the credit information does not meet the exchange condition, verifying the credit data to obtain a verification result. When the verification result indicates that the verification data has been verified, the transmission of credit data to the requesting device may continue.
S302, the requesting device receives the credit data which is verified from the responding device.
Wherein the requesting device receives credit data from the responding device, the credit data satisfying the exchange condition, that is, the authenticity of the credit data has been verified, thereby ensuring the authenticity of the credit data received by the requesting device.
In the credit data exchange method in the embodiment of the application, the response device sends the credit data to the request device through verification, so that the reliability of the credit data received by the request device can be ensured, and the request device can receive the credit data with high accuracy.
As shown in fig. 4, another embodiment of the present application provides a credit data exchange method, which is applied to the above exchange system, and the method includes:
s401, the request device sends an exchange request to the response device.
The exchange request is used for requesting to exchange credit data, namely the requesting device requests to exchange credit data with the responding device.
Credit data refers to data representing the credit of an enterprise, which may be credit data about the products offered by the enterprise. For example: product reliability, product stability, delivery timeliness and the like.
For example: the request device stores the product reliability data of the enterprise A, the response device stores the product reliability data of the enterprise B, and the request device can request to exchange the product reliability data of the enterprise A stored locally with the product reliability data of the enterprise B stored in the response device by sending an exchange request to the response device.
S402, the response device judges that the credit data stored in the database meet the exchange condition.
After receiving the exchange request, the response equipment analyzes the exchange request to obtain the summary data of the credit data needing to be exchanged.
The requesting device exchanges the product reliability data of enterprise A stored locally with the product reliability data of enterprise B stored in the responding device, and the summary information of the credit data is the summary information of the product reliability data of enterprise A.
The responding device, after determining the credit information, looks up the credit data from a locally stored database. After the credit data is found, whether the credit data meets the exchange condition is judged. I.e. to determine whether the authenticity of the credit data has been verified.
And S403, the responding device sends the credit data to the requesting device when the credit data meets the exchange condition.
Wherein the credit data is sent by the responding device to the requesting device if the credit data has been validated, i.e. the credit data is authentic. In addition, verification data may be added to the credit data to indicate the authenticity of the credit data.
S404, the response equipment carries out verification processing on the credit data when the judgment result is negative, and a final verification result is obtained.
If the credit data is not verified, that is, the credit data is unreliable, the responding device needs to verify the reliability of the credit data to obtain a final verification result. If the final verification result shows that the verification is passed, the credit data can be continuously sent to the request equipment, and the credit data exchange between the request equipment and the credit data exchange is realized. If the final verification result indicates that the verification is not passed, the credit data exchange cannot be performed in the requesting device.
In the credit data exchange method provided in the embodiment of the application, after finding the credit data, the response device determines whether the credit data is verified, and if the credit data is verified, the response device sends the credit data to the request device. Since the credit data has been verified, the reliability of the credit data can be ensured.
As shown in fig. 5, another embodiment of the present application provides a credit data exchange method, which is applied to the above exchange system, and the method includes:
s501, the request device sends an exchange request to the response device.
S502, the response equipment judges that the credit data stored in the database meets the exchange condition.
S503, when the response device judges that the credit data stored in the database meets the exchange condition, the response device sends the credit data to the request device.
Steps S401 to S403 are the same as steps S201 to S203 in the embodiment shown in fig. 4, and are not repeated here.
S504, the response device sends the credit data to at least one verification device when the judgment result is negative.
If the credit data is not verified, the credit data is sent to the verification device for verification, that is, the reliability of the credit data needs to be verified by at least one verification device.
And S505, the verification equipment verifies the credit data to generate an intermediate verification result.
The verifying device verifies the reliability of the credit data sent by the response device according to the locally stored credit data and generates a corresponding intermediate verifying result.
The intermediate verification result includes verification pass and verification fail. And when the verification device determines that the credit data sent by the response device is unreliable according to the locally stored credit data, generating an intermediate verification result that the verification is not passed. And when the verification device determines that the credit data sent by the response device is reliable according to the locally stored credit data, generating an intermediate verification result of passing the verification.
S506, the response device receives the intermediate verification result of the credit data returned by the at least one verification device.
After the verification equipment generates the intermediate verification result of the credit data, the intermediate verification result is sent to the response equipment, and the response equipment determines the final verification result of the credit data according to at least one intermediate verification result.
S507, the response equipment determines the final verification result of the credit data according to at least one intermediate verification result.
Wherein after the response device receives at least one intermediate verification result, a final verification result is obtained by statistically analyzing the intermediate verification result credit data.
Obtaining a final verification result by statistically analyzing the intermediate verification result, which specifically comprises: and judging whether the number of the intermediate verification results which show that the verification is passed reaches a preset number. If the judgment result is yes, generating a final verification result which shows that the verification is passed. And if the judgment result is negative, generating a final verification result indicating that the verification fails.
Preferably, after the number of intermediate verification results indicating verification pass exceeds half, a final verification result indicating verification pass is generated. And if the number of the intermediate verification results which represent verification passing is less than half, generating a final verification result which represents verification passing.
And S508, when the final verification result shows that the verification is passed, the response equipment stores the credit data into the block chain to generate an updated block chain.
When the final verification result of the credit data indicates that the verification is passed, the credit data is stored in the block chain to generate an updated block chain, the data in the block chain are verified by the response device, the block chain can be directly transmitted between the response device and the request device in the switching network, and the block chain with high reliability can be obtained.
S509, the responding device sends the updated block chain to at least one of the verifying device and the requesting device.
After the verifying device and the requesting device receive the updated blockchain, the verifying device and the requesting device update the locally stored blockchain with the updated blockchain.
In the credit data exchange method provided by the embodiment of the application, the credit data is sent to the verification device for verification, and the final verification result of the credit data is determined according to the verification result obtained by the verification device, so that the reliability of the verification result can be improved.
As shown in fig. 6, another embodiment of the present application provides a credit data exchange method, which is applied to the above exchange system, and the method includes:
s601, the request device sends an exchange request to the response device.
Wherein the exchange request comprises description data of the credit data and the first summary data. The first summary data is used to describe the exchange data provided by the requesting device for exchanging credit data with the responding device. The exchanged data may also be credit data reflecting the credit rating of the enterprise, or other types of data.
For example: the summary data of the credit data provides stability data of the product for enterprise a in the first quarter and the summary data of the exchange data provides stability data of the product for enterprise B in the first quarter.
S602, the response device judges that the first summary data meets the first requirement condition.
The first requirement condition is whether the first summary data is the current requirement data. The method for judging whether the first summary data meets the first requirement condition by the response device specifically includes: and matching the first summary data with the current demand data, and determining that the first summary data meets the first demand condition if the matching is successful.
For example: when the current demand data provides stability data of products for enterprise B, the exchange data provides stability data of the products for enterprise B in the first quarter, the exchange data belongs to the stability data of the products provided by enterprise B, the stability data and the stability data can be matched, and then the first summary data meets the first demand condition.
S603, when the response equipment judges that the first summary data meets the first requirement condition, the response equipment continuously judges that the credit data stored in the preset database meets the exchange condition.
Here, this step has already been described in detail in S402, and is not described here again.
And S604, when the response equipment judges that the credit data stored in the preset database meets the exchange condition, sending second summary data of the credit data to the request equipment.
Wherein, when it is determined that the reliability of the credit data has been verified, second summary data of the credit data is transmitted to the requesting device, and the requesting device may determine whether the credit data satisfies the requirement condition based on the second summary data.
S605, the request device judges that the second summary data meets the second requirement condition.
The second requirement condition is whether the second summary data is the current requirement data. The requesting device determines whether the second summary data meets a second requirement, and specifically includes: and matching the second summary data with the current demand data, and determining that the second summary data meets a second demand condition if the matching is successful.
For example: when the current demand data provides stability data of the product for the enterprise A, the credit data returned by the response equipment provides the stability data of the product for the enterprise A, and the credit data and the stability data can be matched, so that the second summary data meets a second demand condition.
And S606, the request device sends the exchange data when judging that the second summary data meets the second requirement condition.
When the request equipment judges that the second summary data sent by the response equipment meet the requirements, the request equipment agrees to carry out data exchange with the response equipment, and complete data of the data are exchanged to the response equipment.
S607, the response device sends credit data to the request device.
After receiving the exchange data sent by the requesting device, the responding device also sends credit data to the requesting device, and completes data exchange.
And S608, the response device forwards the exchange request to at least one verification device when judging that the first summary data does not meet the first requirement condition.
When the response device does not exchange data with the request device, the response device forwards an exchange request to the verification device, and at this time, the verification device serves as a participant of data exchange, and can continue to execute the credit data exchange method executed by the response device.
And S609, the response equipment forwards the exchange request to at least one verification equipment when the credit data is judged to meet the exchange condition.
After the response device exchanges data with the request device, the response device forwards an exchange request to the verification device, and at this time, the verification device serves as a participant of data exchange, and can continue to execute the credit data exchange method executed by the response device. That is, the requesting device may receive credit data returned by multiple devices.
S610, the response device generates record data for representing data exchange.
The response device records the data exchange process between the response device and the request device, records the data exchange process between the response device and the verification device, and generates corresponding record data.
S611, the response equipment stores the recorded data into the block chain and generates an updated block chain.
After the response equipment generates the record data, the record data is stored into the block chain to generate an updated block chain.
In the credit data exchange method provided by the embodiment of the application, the data requiring party sends the required data and the summary data of the exchanged data to other participating parties, when the participating parties judge that the exchanged data meets the requirements and the demanders judge that the data sent by the participating parties meet the requirements, the two parties exchange data, and otherwise, the exchange fails. And the whole exchange process is recorded on the chain, and the data source and the data destination are also recorded on the chain for tracing.
As shown in fig. 7, the present application provides a credit data exchange apparatus, including:
a receiving module 701, configured to receive an exchange request sent by the requesting device, where the exchange request is used to request to exchange credit data;
a sending module 702, configured to send the credit data to the requesting device when it is determined that the credit data stored in a preset database meets an exchange condition;
wherein the exchange condition is used to indicate that the reliability of the credit data has been verified.
Optionally, the apparatus further comprises: a processing module 703, wherein the processing module 703 is configured to:
and if the judgment result is negative, verifying the credit data.
Optionally, the processing module 703 is specifically configured to:
transmitting the credit data to at least one verification device;
receiving an intermediate verification result of credit data returned by at least one verification device;
a final verification result of the credit data is determined based on the at least one intermediate verification result.
Optionally, the processing module 703 is specifically configured to:
judging whether the number of the intermediate verification results which show that the verification passes reaches a preset number or not;
if the judgment result is yes, generating a final verification result which represents that the verification is passed;
and if the judgment result is negative, generating a final verification result indicating that the verification fails.
Optionally, the processing module 703 is further configured to:
and when the final verification result shows that the verification is passed, storing the credit data into the block chain, and generating an updated block chain.
Optionally, the processing module 703 is further configured to:
the updated blockchain is sent to the at least one authentication device and the requesting device to cause the at least one authentication device and the requesting device to update the locally stored blockchain.
Optionally, the processing module 703 is further configured to:
and if the credit data meets the exchange condition, forwarding the exchange request to at least one verification device.
Optionally, the processing module 703 is further configured to:
judging whether the first summary data meets a first requirement condition, if so, continuously judging whether the credit data stored in the database meets an exchange condition;
the exchange request also comprises first summary data used for describing the exchange data.
Optionally, the processing module 703 is further configured to:
and if the first summary data does not meet the first requirement condition, forwarding the exchange request to at least one verification device.
Optionally, the processing module 703 is further configured to:
and if the judgment result is yes, sending second summary data of the credit data to the requesting device so that the requesting device sends the exchange data when judging that the second summary data meets the second requirement condition.
Optionally, the processing module 703 is further configured to:
exchange data is received from the requesting device.
Optionally, the processing module 703 is further configured to:
generating logging data representing the data exchange;
and storing the recorded data into the block chain, and generating an updated block chain.
Optionally, the credit data includes one or any of product stability data, product reliability data.
The present application further provides a credit data exchange apparatus, comprising:
a sending module, configured to send an exchange request to a response device, where the exchange request is used to request to exchange credit data, so that the response device sends the credit data when determining that the credit data satisfies an exchange condition, and the exchange condition is used to indicate that the reliability of the credit data has been verified;
a receiving module for receiving the credit data that has passed the verification from the responding device.
Optionally, the apparatus further comprises a processing module;
a receiving module for further receiving a first summary data from the responding device, wherein the first summary data describes credit data that has been validated;
the processing module is used for judging whether the first summary data meets a second requirement condition;
and the sending module is further used for sending the exchange data to the response equipment if the judgment result is yes.
The following describes a specific structure of a response device provided by the present application, and as shown in fig. 8, the response device includes: a transmitter 801, a receiver 802, a memory 803, and a processor 804.
A transmitter 801 for transmitting instructions and data;
a receiver 802 for receiving instructions and data;
a memory 803 for storing computer-executable instructions;
processor 804 is configured to execute computer-executable instructions stored in the memory to implement the steps performed by the responding device in the embodiments described above. Reference may be made specifically to the related description in the foregoing embodiments of the credit data exchange method.
Alternatively, the memory 803 may be separate or integrated with the processor 804.
When the memory 803 is separately provided, the electronic device further includes a bus for connecting the memory 803 and the processor 804.
The specific structure of the requesting device provided in the present application is the same, and only the steps executed in the processor are different, and the steps executed by the requesting device in the foregoing embodiment are executed in the processor, which may specifically refer to the related description in the foregoing credit data exchange method embodiment, and are not described herein again.
Embodiments of the present application further provide a computer-readable storage medium, in which computer-executable instructions are stored, and when the processor executes the computer-executable instructions, the method for exchanging credit data performed by the electronic device is implemented.
Finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.

Claims (21)

1. A credit data exchange method, wherein the data exchange system comprises a response device and a request device, and the method is applied to the response device, and the method comprises:
receiving an exchange request sent by a requesting device, wherein the exchange request is used for requesting to exchange credit data;
when the credit data stored in a preset database is judged to meet the exchange condition, the credit data is sent to the request equipment;
wherein the exchange condition is used to indicate that the reliability of the credit data has been verified.
2. The method of claim 1, further comprising:
and if the judgment result is negative, verifying the credit data to obtain a final verification result.
3. The method according to claim 2, wherein the data exchange system includes at least one verification device, and if the determination result is negative, performing verification processing on the credit data to obtain a final verification result, specifically including:
transmitting the credit data to the at least one verification device;
receiving an intermediate verification result of the credit data returned by the at least one verification device;
determining the final verification result of the credit data according to the at least one intermediate verification result.
4. The method according to claim 3, wherein said determining the final verification result of the credit data based on at least one of the intermediate verification results comprises:
judging whether the number of the intermediate verification results which show that the verification passes reaches a preset number or not;
if the judgment result is yes, generating a final verification result which represents that the verification is passed;
and if the judgment result is negative, generating a final verification result indicating that the verification fails.
5. The method of claim 4, wherein after said determining a final verification result for said credit data based on at least one of said intermediate verification results, said method further comprises:
and when the final verification result shows that the verification is passed, storing the credit data into the block chain, and generating an updated block chain.
6. The method of claim 5, wherein after storing the credit data into a blockchain and generating an updated blockchain, the method further comprises:
and sending the updated blockchain to the at least one verifying device and the requesting device so that the at least one verifying device and the requesting device update the locally stored blockchain.
7. The method according to any one of claims 1 to 6, further comprising:
and if the credit data meets the exchange condition, forwarding the exchange request to at least one verification device.
8. The method according to any one of claims 1 to 6, wherein before determining whether the credit data stored in the database satisfies an exchange condition, the method further comprises:
judging whether the first summary data meets a first requirement condition, if so, continuously judging whether the credit data stored in the database meets an exchange condition;
wherein, the exchange request further includes the first summary data for describing the exchange data.
9. The method of claim 8, further comprising:
and if the summary data is judged not to meet the first requirement condition, forwarding the exchange request to at least one verification device.
10. The method according to any one of claims 1 to 6, wherein before sending the credit data to the requesting device if the determination result is yes, the method further comprises:
and if the exchange condition is met, sending second summary data of the credit data to the request equipment, so that the request equipment sends the exchange data when judging that the second summary data meet a second requirement condition.
11. The method of claim 10, wherein after sending the second summary data of the credit data to the requesting device if the determination result is yes, the method further comprises:
receiving the exchange data from the requesting device.
12. The method according to any one of claims 1 to 6, wherein after sending the credit data to the requesting device if the determination result is yes, the method further comprises:
generating logging data representing the data exchange;
and storing the recorded data into a block chain, and generating an updated block chain.
13. The method of any one of claims 1 to 6, wherein the credit data comprises one or any combination of product stability data and product reliability data.
14. A credit data exchange method, wherein the data exchange system comprises a responding device and a requesting device, and the method is applied to the requesting device, and the method comprises:
sending an exchange request to the response device, wherein the exchange request is used for requesting to exchange credit data, and the response device is enabled to send the credit data when judging that the credit data meets an exchange condition, and the exchange condition is used for indicating that the reliability of the credit data is verified;
receiving the credit data that has been validated from the responding device.
15. The method of claim 14, wherein prior to receiving the credit data from the responding device that has been validated, the method further comprises:
receiving first summary data from the responding device, wherein the first summary data describes the credit data that has been validated;
judging whether the first summary data meets a first requirement condition;
and if so, sending the exchange data to the response equipment.
16. A credit data exchange apparatus, the apparatus comprising:
the device comprises a receiving module, a sending module and a receiving module, wherein the receiving module is used for receiving an exchange request sent by a requesting device, and the exchange request is used for requesting to exchange credit data;
the sending module is used for sending the credit data to the request equipment when the credit data stored in a preset database meets the exchange condition;
wherein the exchange condition is used to indicate that the reliability of the credit data has been verified.
17. A credit data exchange apparatus, the apparatus comprising:
a sending module, configured to send an exchange request to a response device, where the exchange request is used to request to exchange credit data, so that the response device sends the credit data when determining that the credit data satisfies an exchange condition, and the exchange condition is used to indicate that the reliability of the credit data has been verified;
a receiving module for receiving the credit data that has been validated from the responding device.
18. A response device, comprising: a memory and a processor;
a memory; a memory for storing the processor-executable instructions;
wherein the processor is configured to perform the credit data exchange method of any of claims 1 to 13.
19. A requesting device, comprising: a memory and a time processor;
a memory; a memory for storing the processor-executable instructions;
wherein the processor is configured to perform the credit data exchange method as claimed in claim 14 or 15.
20. A switching system, comprising: a responding device according to claim 18 and a requesting device according to claim 19.
21. A computer-readable storage medium, having stored thereon computer-executable instructions for implementing a credit data exchange method as claimed in any one of claims 1 to 13 or a credit data exchange method as claimed in claim 14 or 15 when executed by a processor.
CN202010612896.4A 2020-06-30 2020-06-30 Credit data exchange method, device, system and storage medium Active CN111783147B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010612896.4A CN111783147B (en) 2020-06-30 Credit data exchange method, device, system and storage medium
PCT/CN2021/085993 WO2022001276A1 (en) 2020-06-30 2021-04-08 Credit data exchanging method and apparatus, and system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010612896.4A CN111783147B (en) 2020-06-30 Credit data exchange method, device, system and storage medium

Publications (2)

Publication Number Publication Date
CN111783147A true CN111783147A (en) 2020-10-16
CN111783147B CN111783147B (en) 2024-07-16

Family

ID=

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022001276A1 (en) * 2020-06-30 2022-01-06 京东科技信息技术有限公司 Credit data exchanging method and apparatus, and system and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107291862A (en) * 2017-06-12 2017-10-24 腾讯科技(深圳)有限公司 Business datum storage method, device, storage medium and electronic equipment
US20170372392A1 (en) * 2016-06-24 2017-12-28 Raise Marketplace Inc. Securely processing exchange items in a data communication system
CN107947940A (en) * 2017-11-29 2018-04-20 树根互联技术有限公司 A kind of method and device of data exchange
CN107967350A (en) * 2017-12-14 2018-04-27 四川智信九鼎科学技术评估有限公司 A kind of resource interchange equipment based on network big data
CN109636402A (en) * 2018-12-14 2019-04-16 泰康保险集团股份有限公司 Based on the credit information processing method of block chain, device, equipment, storage medium
CN109766374A (en) * 2018-12-26 2019-05-17 科大国创软件股份有限公司 A kind of credit joint supervising platform
CN110414983A (en) * 2019-08-06 2019-11-05 北京软通智慧城市科技有限公司 Reference information processing method, device, equipment and storage medium based on block chain
CN110597908A (en) * 2019-09-10 2019-12-20 腾讯科技(深圳)有限公司 Credit investigation recording method, device and storage medium based on block chain
CN110704531A (en) * 2019-04-25 2020-01-17 中国南方电网有限责任公司 Block chain-based electricity consumption client credit management method and system

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170372392A1 (en) * 2016-06-24 2017-12-28 Raise Marketplace Inc. Securely processing exchange items in a data communication system
CN107291862A (en) * 2017-06-12 2017-10-24 腾讯科技(深圳)有限公司 Business datum storage method, device, storage medium and electronic equipment
WO2018228331A1 (en) * 2017-06-12 2018-12-20 腾讯科技(深圳)有限公司 Service data storage method, device, storage medium, and electronic device
CN107947940A (en) * 2017-11-29 2018-04-20 树根互联技术有限公司 A kind of method and device of data exchange
CN107967350A (en) * 2017-12-14 2018-04-27 四川智信九鼎科学技术评估有限公司 A kind of resource interchange equipment based on network big data
CN109636402A (en) * 2018-12-14 2019-04-16 泰康保险集团股份有限公司 Based on the credit information processing method of block chain, device, equipment, storage medium
CN109766374A (en) * 2018-12-26 2019-05-17 科大国创软件股份有限公司 A kind of credit joint supervising platform
CN110704531A (en) * 2019-04-25 2020-01-17 中国南方电网有限责任公司 Block chain-based electricity consumption client credit management method and system
CN110414983A (en) * 2019-08-06 2019-11-05 北京软通智慧城市科技有限公司 Reference information processing method, device, equipment and storage medium based on block chain
CN110597908A (en) * 2019-09-10 2019-12-20 腾讯科技(深圳)有限公司 Credit investigation recording method, device and storage medium based on block chain

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022001276A1 (en) * 2020-06-30 2022-01-06 京东科技信息技术有限公司 Credit data exchanging method and apparatus, and system and storage medium

Also Published As

Publication number Publication date
WO2022001276A1 (en) 2022-01-06

Similar Documents

Publication Publication Date Title
CN107078910B (en) Method, device, node, signature device and system for generating block chain block
RU2019111926A (en) SYSTEM AND METHOD FOR PROTECTING INFORMATION
CN111340494B (en) Asset type consistency evidence generation, transaction and transaction verification method and system
US11165591B2 (en) System and method for a dynamic-PKI for a social certificate authority
CN112487011B (en) Block chain-based Internet of things terminal data uplink method and system
CN111178894B (en) Asset type registration and transaction record verification method and system
US9081969B2 (en) Apparatus and method for remotely deleting critical information
CN109660330B (en) Method and system for identity authentication on block chain
US8243928B2 (en) Authentication method in communication system
CN111866042B (en) Method and device for synchronizing telecommunication account number change
CN111314172A (en) Data processing method, device and equipment based on block chain and storage medium
KR20200081533A (en) Blockchain Consensus Method based Improved Dynamic Blind Voting for Internet of Things Environment
US20210349881A1 (en) Data verification in a distributed data processing system
CN110879879A (en) Internet of things identity authentication method and device, electronic equipment, system and storage medium
CN113254972A (en) Information security management method based on block chain
CN115203749A (en) Data transaction method and system based on block chain
KR20120091618A (en) Digital signing system and method using chained hash
CN108075895B (en) Node permission method and system based on block chain
KR102400402B1 (en) Authentication Data Feed for Smart Contract using Public Key Infrastructure
CN112651044B (en) Business transaction method, system and storage medium based on block chain technology
CN111275417B (en) Transaction endorsement processing method, server and computer readable storage medium
CN110610418A (en) Transaction state query method, system, device and storage medium based on block chain
CN111783147B (en) Credit data exchange method, device, system and storage medium
CN111783147A (en) Credit data exchange method, device, system and storage medium
JP2018530266A (en) Entity identity validity verification method and apparatus

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
CB02 Change of applicant information

Address after: 601, 6 / F, building 2, No. 18, Kechuang 11th Street, Daxing District, Beijing, 100176

Applicant after: Jingdong Technology Information Technology Co.,Ltd.

Applicant after: Jingdong Technology Holding Co.,Ltd.

Address before: 601, 6 / F, building 2, No. 18, Kechuang 11th Street, Daxing District, Beijing, 100176

Applicant before: Jingdong Shuke Haiyi Information Technology Co.,Ltd.

Applicant before: Jingdong Digital Technology Holding Co.,Ltd.

Address after: 601, 6 / F, building 2, No. 18, Kechuang 11th Street, Daxing District, Beijing, 100176

Applicant after: Jingdong Shuke Haiyi Information Technology Co.,Ltd.

Applicant after: Jingdong Digital Technology Holding Co.,Ltd.

Address before: 601, 6 / F, building 2, No. 18, Kechuang 11th Street, Beijing Economic and Technological Development Zone, Beijing 100176

Applicant before: BEIJING HAIYI TONGZHAN INFORMATION TECHNOLOGY Co.,Ltd.

Applicant before: JINGDONG DIGITAL TECHNOLOGY HOLDINGS Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant