Resource data processing method and device, computer device and storage medium

CN115689292BActive Publication Date: 2026-08-18INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211410542.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-11
Publication Date
2026-08-18
Estimated Expiration
2042-11-11

AI Technical Summary

Technical Problem

然而,在业务对象与各资源账户进行资源交互的过程中往往缺乏对资源交互信息进行统一且集中地记录和处理,往往不利于提高各资源账户进行资源交互的效率

Benefits of technology

[0032]The aforementioned resource data processing method, apparatus, computer equipment, storage medium, and computer program product generate resource interaction information records by responding to target resource interactions that meet preset information generation conditions; set the record status corresponding to the resource interaction information record to an input state; acquire interaction risk information of the resource interaction information record; and, based on the interaction risk information, create a smart contract for the target resource interaction in the blockchain of the blockchain system; the smart contract is used to record contract risk information for the target resource interaction; the blockchain system is used to respond to the activation request initiated by the smart contract activation end, set the contract status of the smart contract to an activated state, and set the smart contract's... Contract activation information; when the smart contract is detected to be in an active state, the record status corresponding to the resource interaction information record is switched from the entry state to the transaction state, and a first prompt message indicating that the resource interaction information record has taken effect is displayed; in this way, by creating a smart contract in the blockchain of the blockchain system to manage the resource interaction information record, the resource interaction information associated with the record can be recorded and processed in a unified and orderly manner in real time and effectively, preventing the resource interaction information associated with the record from being tampered with. This ensures the data security of the resource interaction information while effectively improving the efficiency of resource interaction between various resource accounts.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115689292B_ABST
    Figure CN115689292B_ABST
Patent Text Reader

Abstract

The application relates to a resource data processing method and device, computer equipment and a storage medium. The application relates to the field of financial technology. The method comprises the following steps: in response to a target resource interaction meeting a preset information generation condition, generating a resource interaction information record; setting a record state corresponding to the resource interaction information record as an entry state; acquiring interaction risk information of the resource interaction information record, and creating a smart contract for the target resource interaction in a block chain of a block chain system according to the interaction risk information; the smart contract is used for recording contract activation information and contract risk information for the target resource interaction; in the case that the contract state of the smart contract is in an activated state, the record state corresponding to the resource interaction information record is switched from the entry state to a completed state, and first prompt information that the resource interaction information record has taken effect is displayed. The method can improve the interaction efficiency of resources.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of blockchain technology, and in particular to a resource data processing method, apparatus, computer equipment, storage medium, and computer program product. Background Technology

[0002] With the development of computer technology, more and more business applications are using computer technology to realize resource interaction operations between various resource accounts. However, in the process of resource interaction between business applications and various resource accounts, there is often a lack of unified and centralized recording and processing of resource interaction information, which is often detrimental to improving the efficiency of resource interaction between various resource accounts.

[0003] Therefore, the resource data processing methods of related technologies suffer from low resource interaction efficiency. Summary of the Invention

[0004] Therefore, it is necessary to provide a resource data processing method, apparatus, computer equipment, computer-readable storage medium, and computer program product that can improve the efficiency of resource interaction in response to the above-mentioned technical problems.

[0005] Firstly, this application provides a resource data processing method. The method includes:

[0006] In response to the target resource interaction meeting the preset information generation conditions, a resource interaction information record is generated, and the record status corresponding to the resource interaction information record is set to the input status.

[0007] The system acquires the interaction risk information recorded in the resource interaction information record, and creates a smart contract for the interaction with the target resource in the blockchain of the blockchain system based on the interaction risk information; the smart contract is used to record the contract risk information for the interaction with the target resource; the blockchain system is used to respond to the activation request initiated by the smart contract activation end for the smart contract, set the contract status of the smart contract to the activated state, and set the contract activation information of the smart contract.

[0008] If the smart contract is detected to be in an active state, the record state corresponding to the resource interaction information record will be switched from the input state to the transaction state, and a first prompt message indicating that the resource interaction information record has taken effect will be displayed.

[0009] In one embodiment, when the smart contract is in an active state, the method further includes:

[0010] The effective time limit for obtaining the resource interaction information record;

[0011] If the current time exceeds the valid time limit of the resource interaction information record, the record status corresponding to the resource interaction information record will be switched from the transaction status to the expired status, and a second prompt message indicating that the resource interaction information record has expired will be displayed.

[0012] In one embodiment, if the current time has not exceeded the valid time limit of the resource interaction information record, the method further includes:

[0013] Obtain the interaction risk information recorded in the resource interaction information record;

[0014] Based on the interaction risk information recorded in the resource interaction information, determine the current risk information for the smart contract;

[0015] If the current risk information is inconsistent with the contract risk information, the contract risk information corresponding to the smart contract shall be updated according to the current risk information.

[0016] In one embodiment, after the step of updating the contract risk information corresponding to the smart contract based on the current risk information, the method further includes:

[0017] If the contract risk value represented by the contract risk information is greater than the contract risk value represented by the contract activation information, an adjustment notification is sent to the smart contract activation terminal.

[0018] The information adjustment notification is used to instruct the smart contract activation end to send an adjustment request for the contract activation value, so that the adjusted contract activation value is greater than or equal to the contract risk value.

[0019] In one embodiment, if the smart contract activator does not send the adjustment request within a preset time period, the method further includes:

[0020] The record status corresponding to the resource interaction information record is switched from the transaction status to the default status, and a third prompt message indicating that the resource interaction information record has defaulted is displayed.

[0021] In one embodiment, obtaining the interaction risk information recorded in the resource interaction information record includes:

[0022] Obtain the identification information of the resource object corresponding to the target resource interaction;

[0023] A risk information query request carrying the identification information corresponding to the resource object is sent to the resource object interaction platform; the risk information query request is used to instruct the resource object interaction platform to return the resource numerical description information of the resource object.

[0024] Based on the resource numerical description information, determine the interaction risk information recorded in the resource interaction information.

[0025] Secondly, this application also provides a resource data processing apparatus. The apparatus includes:

[0026] The response module is used to generate a resource interaction information record in response to the target resource interaction meeting the preset information generation conditions, and set the record status corresponding to the resource interaction information record to the input status.

[0027] The acquisition module is used to acquire the interaction risk information recorded in the resource interaction information, and create a smart contract for the interaction with the target resource in the blockchain of the blockchain system according to the interaction risk information; the smart contract is used to record the contract risk information for the interaction with the target resource; the blockchain system is used to respond to the activation request initiated by the smart contract activation terminal for the smart contract, set the contract status of the smart contract to the activated state, and set the contract activation information of the smart contract.

[0028] The switching module is used to switch the record status corresponding to the resource interaction information record from the input state to the transaction state when the smart contract is detected to be in an active state, and to display a first prompt message that the resource interaction information record has taken effect.

[0029] Thirdly, this application also provides a computer device. The computer device includes a memory and a processor, the memory storing a computer program that, when executed by the processor, implements the steps of the method described above.

[0030] Fourthly, this application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program thereon, which, when executed by a processor, implements the steps of the above-described method.

[0031] Fifthly, this application also provides a computer program product. The computer program product includes a computer program that, when executed by a processor, implements the steps of the above-described method.

[0032] The aforementioned resource data processing method, apparatus, computer equipment, storage medium, and computer program product generate resource interaction information records by responding to target resource interactions that meet preset information generation conditions; set the record status corresponding to the resource interaction information record to an input state; acquire interaction risk information of the resource interaction information record; and, based on the interaction risk information, create a smart contract for the target resource interaction in the blockchain of the blockchain system; the smart contract is used to record contract risk information for the target resource interaction; the blockchain system is used to respond to the activation request initiated by the smart contract activation end, set the contract status of the smart contract to an activated state, and set the smart contract's... Contract activation information; when the smart contract is detected to be in an active state, the record status corresponding to the resource interaction information record is switched from the entry state to the transaction state, and a first prompt message indicating that the resource interaction information record has taken effect is displayed; in this way, by creating a smart contract in the blockchain of the blockchain system to manage the resource interaction information record, the resource interaction information associated with the record can be recorded and processed in a unified and orderly manner in real time and effectively, preventing the resource interaction information associated with the record from being tampered with. This ensures the data security of the resource interaction information while effectively improving the efficiency of resource interaction between various resource accounts. Attached Figure Description

[0033] Figure 1 This is an application environment diagram of a resource data processing method in one embodiment;

[0034] Figure 2 This is a flowchart illustrating a resource data processing method in one embodiment;

[0035] Figure 3 This is a schematic diagram illustrating the association of a smart contract in one embodiment;

[0036] Figure 4 This is a logic block diagram of a resource data processing method in one embodiment;

[0037] Figure 5 This is a timing diagram of a resource data processing method in one embodiment;

[0038] Figure 6 This is a flowchart illustrating a resource data processing method in another embodiment;

[0039] Figure 7 This is a structural block diagram of a resource data processing device in one embodiment;

[0040] Figure 8 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation

[0041] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0042] It should be noted that the application analysis report generation method, apparatus, computer equipment, storage medium and computer program product disclosed in this application can be applied to the financial technology field, or to any field other than the financial technology field.

[0043] The resource data processing method provided in this application embodiment can be applied to, for example... Figure 1 In the application environment shown, the smart contract creation terminal 102, in response to the target resource interaction meeting preset information generation conditions, generates a resource interaction information record and sets the record status corresponding to the resource interaction information record to the input state. The smart contract creation terminal 102 obtains the interaction risk information of the resource interaction information record and, based on the interaction risk information, creates a smart contract for the target resource interaction in the blockchain of the blockchain system 104. The smart contract is used to record the contract risk information for the target resource interaction. The blockchain system 104, in response to the activation request initiated by the smart contract activation terminal for the smart contract, sets the contract status of the smart contract to the active state and sets the contract activation information of the smart contract. When the smart contract creation terminal 102 detects that the contract status of the smart contract is active, it switches the record status corresponding to the resource interaction information record from the input state to the transaction state and displays a first prompt message indicating that the resource interaction information record has taken effect. Both the smart contract creation terminal 102 and the smart contract activation terminal 106 can be implemented using independent servers or a server cluster consisting of multiple servers.

[0044] In one embodiment, such as Figure 2 As shown, a resource data processing method is provided, which can be applied to... Figure 1 Taking the smart contract creation client in the example, the following steps are included:

[0045] Step S202: In response to the target resource interaction meeting the preset information generation conditions, a resource interaction information record is generated, and the record status corresponding to the resource interaction information record is set to the input status.

[0046] Among them, target resource interaction can refer to resource interaction that requires the generation of resource interaction information records.

[0047] In this context, "resources" can refer to objects used for interaction or transfer. For example, resources can refer to financial derivatives, goods, etc.

[0048] Resource interaction information records can refer to records containing agreed-upon information related to the interaction of a target resource. In practical applications, resource interaction information records can be named resource interaction contracts.

[0049] In practical applications, when the resource is a financial derivative, the target resource interaction can refer to a specific derivative transaction, the resource interaction information record can refer to the derivative transaction contract, and the smart contract creation end can refer to the derivative trading system of the derivative trading financial institution, i.e., the trading institution end. In practical applications, the derivative trading financial institution can also be named the trading institution.

[0050] In practice, when a user account inputs a signing operation for a target resource interaction to the smart contract creation end, the smart contract creation end responds to the signing operation by determining that the target resource interaction meets preset information generation conditions. Upon confirming that the target resource interaction meets the preset information generation conditions, the smart contract creation end generates a resource interaction information record and sets the record status corresponding to the resource interaction information record to the input state.

[0051] For example, when a user's account enters into a derivatives transaction with a trading institution, the trading institution confirms that it has received the transaction entry and, in response, determines that the derivatives transaction meets the preset contract generation conditions.

[0052] Once the derivative transaction meets the preset contract generation conditions, the trading institution generates the derivative transaction contract. Then, the trading institution sets the contract status of the derivative transaction contract to the "entry" status.

[0053] Step S204: Obtain the interaction risk information recorded in the resource interaction information record, and create a smart contract for the target resource interaction in the blockchain of the blockchain system based on the interaction risk information.

[0054] Interaction risk information can refer to information used to characterize the probability that an anomaly exists in the resource interaction information record. For example, when the target resource interaction is a derivative transaction, the interaction risk information can refer to the risk value of that derivative transaction.

[0055] Smart contracts are used to record contract risk information related to interactions with target resources.

[0056] Contract risk information refers to information used to characterize the degree of anomaly present in the smart contract. In practical applications, contract risk information can be determined based on the interaction risk information recorded in the resource interaction information. For example, contract risk information can be equal to the interaction risk information recorded in the resource interaction information.

[0057] The blockchain system is used to respond to activation requests initiated by the smart contract activation end, set the smart contract's contract status to active, and set the smart contract's activation information.

[0058] Contract activation information refers to the information set for the smart contract after instructing the smart contract activator to activate it. This contract activation information, along with contract risk information, can be used to subsequently determine whether the smart contract is abnormal.

[0059] For example, when the target resource interaction is a certain derivative transaction, the smart contract activation end can refer to the server associated with the guaranteeing financial institution that guarantees the derivative transaction, i.e., the guarantee institution end, and the contract activation information can refer to the value of the guarantee resource (e.g., the guarantee amount).

[0060] In practice, the smart contract creator can obtain the interaction risk information recorded in the resource interaction information record, and based on this risk information, create a smart contract for the target resource interaction within the blockchain system's blockchain. Specifically, the smart contract creator can determine the contract risk information for the target resource interaction based on the interaction risk information recorded in the resource interaction information record. Then, based on this contract risk information, the smart contract creator creates a smart contract for the target resource interaction within the blockchain system's blockchain.

[0061] Once a smart contract for target resource interaction exists in the blockchain of a blockchain system, the smart contract activation client can display the content declared by the smart contract (e.g., contract activation information for target resource interaction) for users to view and decide whether to activate the smart contract, and set the contract activation information. The smart contract activation client can also receive activation operations from user accounts for the smart contract, send an activation request to the blockchain system, so that the blockchain system sets the smart contract's contract state to active and sets the contract activation information.

[0062] For example, when the target resource interaction is a derivative transaction, the trading institution can obtain the risk value of that derivative transaction. Based on this risk value, the trading institution creates a smart contract (i.e., a comprehensive guarantee smart contract) for that derivative transaction on the blockchain system. This comprehensive guarantee smart contract declares the risk value of the derivative transaction. Of course, the smart contract can also declare information such as the derivative contract ID, contract currency, contract risk value, trading institution, and guarantee institution. For ease of understanding by those skilled in the art, Figure 3 A diagram illustrating the relationships between smart contracts is provided; please refer to [link / reference]. Figure 3 The derivatives trading contract and the comprehensive guarantee smart contract are related.

[0063] Once the trading institution creates a smart contract for the derivative transaction on the blockchain system, the guarantor can display the comprehensive guarantee smart contract, allowing guarantor user accounts to view the risk value of the derivative transaction. The guarantor can also receive activation requests from guarantor user accounts for the comprehensive guarantee smart contract, sending an activation request to the blockchain system to set the contract status of the comprehensive guarantee smart contract to active and to set the guarantee amount of the comprehensive guarantee smart contract.

[0064] Step S206: If the smart contract is detected to be in an active state, the record state corresponding to the resource interaction information record is switched from the entry state to the transaction state, and a first prompt message indicating that the resource interaction information record has taken effect is displayed.

[0065] In practice, when the smart contract activation end detects that the smart contract is in an active state, it switches the record status corresponding to the resource interaction information record from the entry state to the transaction state and displays the first prompt message that the resource interaction information record has taken effect.

[0066] Continuing the previous example, when the trading institution detects that the smart contract with comprehensive collateral is active, it updates the derivatives trading contract's status from "entered" to "traded" and displays a first notification that the derivatives trading contract has taken effect. If the trading institution detects that the smart contract with comprehensive collateral is inactive, it checks if the smart contract is inactive. If it is inactive, it updates the derivatives trading contract's status from "entered" to "inactive."

[0067] In the aforementioned resource data processing method, a resource interaction information record is generated in response to the target resource interaction meeting preset information generation conditions. The record status corresponding to the resource interaction information record is set to the input state, and the interaction risk information of the resource interaction information record is obtained. Based on the interaction risk information, a smart contract for the target resource interaction is created in the blockchain of the blockchain system. The smart contract records the contract activation information and contract risk information for the target resource interaction. The blockchain system responds to the activation request for the smart contract by setting the contract status of the smart contract to the activated state. The activation request is initiated by the smart contract activation end based on the contract activation information and contract risk information. When the smart contract is detected to be in the activated state, the record status corresponding to the resource interaction information record is switched from the input state to the transaction state, and a first prompt message indicating that the resource interaction information record has taken effect is displayed. Thus, by creating a smart contract in the blockchain system to manage the resource interaction information record, the resource interaction information associated with the record is recorded and processed in a unified and orderly manner in real time and effectively, preventing tampering with the resource interaction information associated with the record. This ensures the data security of the resource interaction information while effectively improving the efficiency of resource interactions between various resource accounts.

[0068] In another embodiment, when the smart contract is in an active state, the method further includes: obtaining the valid time limit of the resource interaction information record; if the current time exceeds the valid time limit of the resource interaction information record, switching the record status corresponding to the resource interaction information record from the transaction status to the expired status, and displaying a second prompt message that the resource interaction information record has expired.

[0069] In practice, when the smart contract is in an active state, the activating end can obtain the valid time limit of the resource interaction information record and determine whether the current time has exceeded the valid time limit of the resource interaction information record. If the current time has exceeded the valid time limit of the resource interaction information record, the activating end will switch the record status corresponding to the resource interaction information record from the transaction status to the expired status and display a second prompt message indicating that the resource interaction information record has expired.

[0070] Continuing with the previous example, the trading institution can detect whether a derivative trading contract has expired. Specifically, the trading institution can obtain the contract validity period of the derivative trading contract and determine whether the current time has exceeded the contract validity period. If the current time has exceeded the contract validity period, the trading institution will switch the contract status of the derivative trading contract from the traded status to the expired status and display a second prompt message indicating that the derivative trading contract has expired.

[0071] The technical solution of this embodiment, when the current time exceeds the valid time limit of the resource interaction information record, switches the record status of the corresponding resource interaction information record from the transaction status to the expired status and displays a second prompt message that the resource interaction information record has expired, so as to realize the record status of the resource interaction information record in a timely manner, so that users can effectively and timely understand the current status of the resource interaction information record.

[0072] In another embodiment, if the current time has not exceeded the valid time limit of the resource interaction information record, the method further includes: obtaining the interaction risk information of the resource interaction information record; determining the current risk information for the smart contract based on the interaction risk information of the resource interaction information record; and updating the contract risk information corresponding to the smart contract based on the current risk information if the current risk information is inconsistent with the contract risk information.

[0073] The process of obtaining interaction risk information from resource interaction information records includes: obtaining the identification information of the resource object corresponding to the target resource interaction; sending a risk information query request carrying the identification information of the resource object to the resource object interaction platform; the risk information query request is used to instruct the resource object interaction platform to return the resource numerical description information of the resource object; and determining the interaction risk information from the resource interaction information records based on the resource numerical description information.

[0074] In this context, the resource object interaction platform can refer to a resource interaction market platform. For example, when the resource is a financial derivative, the resource object interaction platform can refer to a financial derivative trading market platform, and the resource's numerical description information can refer to the market price of that financial derivative.

[0075] In practice, if the current time has not exceeded the valid time limit of the resource interaction information record, the smart contract activator can obtain the interaction risk information recorded in the resource interaction information record. Specifically, the smart contract activator can obtain the identification information of the resource object corresponding to the target resource interaction and send a risk information query request carrying the identification information of the resource object to the resource object interaction platform. This risk information query request instructs the resource object interaction platform to return the resource object's numerical description information. The smart contract activator performs valuation processing on the resource numerical description information to determine the interaction risk information recorded in the resource interaction information record. Based on the interaction risk information recorded in the resource interaction information record, the smart contract activator determines the current risk information for the smart contract and checks whether the current risk information is consistent with the contract risk information. If the smart contract activator determines that the current risk information is inconsistent with the contract risk information, the smart contract activator updates the corresponding contract risk information of the smart contract based on the current risk information.

[0076] For example, the trading institution can retrieve the derivative market price of a financial derivative from the financial derivative trading platform according to the product identifier of the financial derivative at a preset time period. The trading institution can then value the derivative transaction contract based on the derivative market price to obtain the current risk value of the derivative transaction contract, and update the risk value of the derivative transaction declared in the aforementioned comprehensive guarantee smart contract based on the current risk value of the derivative transaction contract.

[0077] In another embodiment, after updating the contract risk information corresponding to the smart contract based on the current risk information, the method further includes: if the contract risk value represented by the contract risk information is greater than the contract risk value represented by the contract activation information, sending an information adjustment notification to the smart contract activation end; wherein, the information adjustment notification is used to instruct the smart contract activation end to send an adjustment request for the contract activation value so that the adjusted contract activation value is greater than or equal to the contract risk value.

[0078] If the smart contract activation end does not send an adjustment request within a preset time period, the method also includes: switching the record status corresponding to the resource interaction information record from the transaction status to the default status, and displaying a third prompt message indicating that the resource interaction information record has defaulted.

[0079] In practice, the smart contract activator can determine whether the contract risk value represented by the contract risk information is greater than the contract risk value represented by the contract activation information. If the contract risk value represented by the contract risk information is greater than the contract risk value represented by the contract activation information, the smart contract activator sends an information adjustment notification. This information adjustment notification instructs the smart contract activator to send an adjustment request for the contract activation value so that the adjusted contract activation value is greater than or equal to the contract risk value.

[0080] If the smart contract activation end does not send an adjustment request within a preset time period, the smart contract activation end will switch the record status corresponding to the resource interaction information record from the transaction status to the default status, and display a third prompt message indicating that the resource interaction information record has defaulted.

[0081] For example, if the trading institution determines that the risk value of a derivative transaction declared in the comprehensive guarantee smart contract exceeds the guarantee amount, the trading institution will send a notification to the client and the guarantee institution to add to the guarantee amount for the derivative transaction contract. If the guarantee institution agrees to add to the guarantee amount, the guarantee institution updates the guarantee amount, and the contract remains valid.

[0082] If the guarantor refuses to add more funds, the smart contract activation end will switch the contract status of the corresponding derivative transaction from a completed state to a default state, and display a third-party notification that the derivative transaction has defaulted. Simultaneously, the trading institution can forcibly liquidate the derivative transaction, and the guarantor will perform profit and loss settlement on the trading institution's side based on min(guaranteed amount, actual profit and loss). Collateral settlement is conducted independently for the client account and the guarantor.

[0083] During the contract's term, the trading institution, the client account, and the guarantor can all terminate the comprehensive guarantee smart contract. The resulting profit or loss will be settled by the trading institution and the guarantor according to the comprehensive guarantee smart contract, and the collateral will be settled by the client account and the guarantor.

[0084] If no profit or loss is involved upon contract expiration, the comprehensive guarantee smart contract will terminate automatically. If profit or loss is involved, the guarantor will settle the profit and loss with the trading institution based on min(guarantee amount, actual profit or loss). Collateral settlement is conducted independently for client accounts and the guarantor.

[0085] For the convenience of those skilled in the art, Figure 4 A logical block diagram of a resource data processing method is provided, including the following steps:

[0086] 1) Creating a Derivative Contract: When a client's account enters into a derivative transaction with a trading institution, the trading institution confirms receipt of the transaction's entry request and, in response, determines that the transaction meets preset contract generation conditions. Upon confirming that the transaction meets these conditions, the trading institution generates the derivative transaction contract. Then, the trading institution sets the contract status to "entry status."

[0087] 2) Creating a comprehensive guarantee smart contract: The trading institution can obtain the risk value of the derivative transaction; based on the risk value of the derivative transaction, the trading institution creates a smart contract (i.e., a comprehensive guarantee smart contract) for the derivative transaction in the blockchain system. This comprehensive guarantee smart contract declares the risk value of the derivative transaction.

[0088] Once the trading institution creates a smart contract for the derivative transaction on the blockchain system, the guarantor can display the comprehensive guarantee smart contract, allowing guarantor user accounts to view the risk value of the derivative transaction. The guarantor can also receive activation requests from guarantor user accounts for the comprehensive guarantee smart contract, sending an activation request to the blockchain system to set the contract status of the comprehensive guarantee smart contract to active and to set the guarantee amount of the comprehensive guarantee smart contract.

[0089] 3) Derivatives Trading Contract Status Update: When the trading institution detects that the contract status of the comprehensive guarantee smart contract is active, the trading institution will update the contract status of the derivatives trading contract from the entry status to the transaction status and display the first prompt message that the derivatives trading contract has taken effect.

[0090] If the trading institution detects that the smart contract of the comprehensive guarantee is inactive, it will then check whether the smart contract of the comprehensive guarantee is invalid. If the smart contract of the comprehensive guarantee is invalid, the trading institution will update the contract status of the derivatives trading contract from the entry status to the invalid status.

[0091] Trading institutions can retrieve the derivative market price of a financial derivative from the financial derivative trading platform according to a preset time period (e.g., daily) based on the product identifier of the financial derivative. The trading institution can then value the derivative transaction contract based on the derivative market price to obtain its current risk value, and update the risk value of the derivative transaction declared in the aforementioned comprehensive guarantee smart contract based on this current risk value.

[0092] The trading institution can detect whether a derivative trading contract has expired; the trading institution can obtain the contract validity period of the derivative trading contract and determine whether the current time has exceeded the contract validity period of the derivative trading contract; if the current time has exceeded the contract validity period of the derivative trading contract, the trading institution will switch the contract status of the derivative trading contract from the traded status to the expired status and display a second prompt message that the derivative trading contract has expired.

[0093] When the trading institution determines that the risk value of the derivative transaction declared in the comprehensive guarantee smart contract exceeds the guarantee amount, the trading institution sends a notification to the client and the guarantee institution to add guarantee amount to the contract. For ease of understanding by those skilled in the art, Figure 5 A timing diagram of a resource data processing method is also provided.

[0094] The technical solution of this embodiment creates a smart contract in the blockchain of the blockchain system to manage the resource interaction information record. This enables real-time and effective unified and orderly recording and processing of the resource interaction information associated with the resource interaction information record, preventing the resource interaction information associated with the resource interaction information record from being tampered with. This allows the efficiency of resource interaction between various resource accounts to be effectively improved while ensuring the data security of the resource interaction information.

[0095] In another embodiment, such as Figure 6As shown, a resource data processing method is provided, which can be applied to... Figure 1 Taking the smart contract activation terminal in the example, the explanation includes the following steps:

[0096] Step S602: In response to the target resource interaction meeting the preset information generation conditions, a resource interaction information record is generated, and the record status corresponding to the resource interaction information record is set to the input status.

[0097] Step S604: Obtain the interaction risk information recorded in the resource interaction information record, and create a smart contract for the interaction of the target resource in the blockchain of the blockchain system based on the interaction risk information; the smart contract is used to record the contract risk information for the interaction of the target resource; the blockchain system is used to respond to the activation request initiated by the smart contract activation end for the smart contract, set the contract status of the smart contract to the activated state, and set the contract activation information of the smart contract.

[0098] Step S606: When it is detected that the smart contract is in an active state, the record state corresponding to the resource interaction information record is switched from the entry state to the transaction state, and the first prompt message that the resource interaction information record has taken effect is displayed.

[0099] Step S608: Obtain the identifier information corresponding to the resource object corresponding to the target resource interaction.

[0100] Step S610: Send a risk information query request carrying the identification information corresponding to the resource object to the resource object interaction platform; the risk information query request is used to instruct the resource object interaction platform to return the resource numerical description information of the resource object.

[0101] Step S612: Determine the interaction risk information of the resource interaction information record based on the resource numerical description information.

[0102] Step S614: Determine the current risk information for the smart contract based on the interaction risk information recorded in the resource interaction information.

[0103] Step S616: If the current risk information and the contract risk information are inconsistent, update the contract risk information corresponding to the smart contract according to the current risk information.

[0104] Step S618: If the contract risk value represented by the contract risk information is greater than the contract risk value represented by the contract activation information, an information adjustment notification is sent to the smart contract activation end. The information adjustment notification is used to instruct the smart contract activation end to send an adjustment request for the contract activation value so that the adjusted contract activation value is greater than or equal to the contract risk value.

[0105] It should be noted that the specific limitations of the above steps can be found in the specific limitations of a resource data processing method described above, and will not be repeated here.

[0106] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.

[0107] Based on the same inventive concept, this application also provides a resource data processing apparatus for implementing the resource data processing method described above. The solution provided by this apparatus is similar to the implementation scheme described in the above method; therefore, the specific limitations in one or more resource data processing apparatus embodiments provided below can be found in the limitations of the resource data processing method described above, and will not be repeated here.

[0108] In one embodiment, such as Figure 7 As shown, a resource data processing apparatus is provided, comprising:

[0109] The response module 710 is used to generate a resource interaction information record in response to the target resource interaction meeting the preset information generation conditions; and to set the record status corresponding to the resource interaction information record to the input status.

[0110] The acquisition module 720 is used to acquire the interaction risk information recorded in the resource interaction information record, and create a smart contract for the interaction with the target resource in the blockchain of the blockchain system according to the interaction risk information; the smart contract is used to declare the contract activation information and contract risk information for the interaction with the target resource; the blockchain system is used to respond to the activation request for the smart contract and set the contract status of the smart contract to the activated state; the activation request is a request initiated by the smart contract activation end based on the contract activation information and contract risk information.

[0111] The switching module 730 is used to switch the record status corresponding to the resource interaction information record from the input state to the transaction state when the smart contract is detected to be in an active state, and to display a first prompt message that the resource interaction information record has taken effect.

[0112] In one embodiment, when the smart contract is in an active state, the device is used to obtain the valid time limit of the resource interaction information record; when the current time exceeds the valid time limit of the resource interaction information record, the record status corresponding to the resource interaction information record is switched from the transaction status to the expired status, and a second prompt message indicating that the resource interaction information record has expired is displayed.

[0113] In one embodiment, if the current time has not exceeded the valid time limit of the resource interaction information record, the device is used to obtain the interaction risk information of the resource interaction information record; determine the current risk information for the smart contract based on the interaction risk information of the resource interaction information record; and update the contract risk information corresponding to the smart contract based on the current risk information if the current risk information is inconsistent with the contract risk information.

[0114] In one embodiment, the device is configured to send an information adjustment notification to the smart contract activation terminal when the contract risk value represented by the contract risk information is greater than the contract risk value represented by the contract activation information; wherein, the information adjustment notification is configured to instruct the smart contract activation terminal to send an adjustment request for the contract activation value so that the adjusted contract activation value is greater than or equal to the contract risk value.

[0115] In one embodiment, if the smart contract activation terminal does not send the adjustment request within a preset time period, the device is used to switch the record status corresponding to the resource interaction information record from the transaction status to the default status, and display a third prompt message indicating that the resource interaction information record has defaulted.

[0116] In one embodiment, the device further includes an evaluation module, which is used to obtain the identification information of the resource object corresponding to the target resource interaction; send a risk information query request carrying the identification information of the resource object to the resource object interaction platform; the risk information query request is used to instruct the resource object interaction platform to return the resource numerical description information of the resource object; and determine the interaction risk information recorded in the resource interaction information based on the resource numerical description information.

[0117] Each module in the aforementioned resource data processing device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device, or stored in the memory of a computer device as software, so that the processor can call and execute the operations corresponding to each module.

[0118] In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as follows: Figure 8 As shown, the computer device includes a processor, memory, and a network interface connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The database stores XX data. The network interface communicates with external terminals via a network connection. When executed by the processor, the computer program implements a resource data processing method.

[0119] Those skilled in the art will understand that Figure 8 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0120] In one embodiment, a computer device is provided, including a memory and a processor. The memory stores a computer program, which, when executed by the processor, causes the processor to perform the steps of the resource data processing method described above. The steps of the resource data processing method described here may be steps from one of the resource data processing methods in the various embodiments described above.

[0121] In one embodiment, a computer-readable storage medium is provided, storing a computer program that, when executed by a processor, causes the processor to perform the steps of the resource data processing method described above. The steps of the resource data processing method described here may be steps from one of the resource data processing methods in the various embodiments described above.

[0122] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, causes the processor to perform the steps of the resource data processing method described above. The steps of the resource data processing method described here may be steps from one of the resource data processing methods in the various embodiments described above.

[0123] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.

[0124] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.

[0125] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0126] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A resource data processing method, characterized in that, The method includes: In response to the target resource interaction meeting the preset information generation conditions, a resource interaction information record is generated, and the record status corresponding to the resource interaction information record is set to the input status. The system acquires interaction risk information from the resource interaction information record and creates a smart contract for the target resource interaction in the blockchain of the blockchain system based on the interaction risk information. The interaction risk information represents the probability that the resource interaction information record is abnormal. The smart contract records contract risk information for the target resource interaction. The blockchain system responds to an activation request initiated by the smart contract activation end, sets the smart contract's contract state to active, and sets the smart contract's contract activation information. The contract activation information instructs the smart contract activation end to set information for the smart contract after activation. If the smart contract is detected to be in an active state, the record state corresponding to the resource interaction information record is switched from the input state to the transaction state, and a first prompt message indicating that the resource interaction information record has taken effect is displayed. The step of obtaining the interaction risk information recorded in the resource interaction information includes: Obtain the identification information of the resource object corresponding to the target resource interaction; A risk information query request carrying the identification information corresponding to the resource object is sent to the resource object interaction platform; the risk information query request is used to instruct the resource object interaction platform to return the resource numerical description information of the resource object. Based on the resource numerical description information, determine the interaction risk information recorded in the resource interaction information.

2. The method according to claim 1, characterized in that, When the smart contract is in an active state, the method further includes: The effective time limit for obtaining the resource interaction information record; If the current time exceeds the valid time limit of the resource interaction information record, the record status corresponding to the resource interaction information record will be switched from the transaction status to the expired status, and a second prompt message indicating that the resource interaction information record has expired will be displayed.

3. The method according to claim 2, characterized in that, If the current time has not exceeded the valid time limit of the resource interaction information record, the method further includes: Obtain the interaction risk information recorded in the resource interaction information record; Based on the interaction risk information recorded in the resource interaction information, determine the current risk information for the smart contract; If the current risk information is inconsistent with the contract risk information, the contract risk information corresponding to the smart contract shall be updated according to the current risk information.

4. The method according to claim 3, characterized in that, After the step of updating the contract risk information corresponding to the smart contract based on the current risk information, the method further includes: If the contract risk value represented by the contract risk information is greater than the contract risk value represented by the contract activation information, an adjustment notification is sent to the smart contract activation terminal. The information adjustment notification is used to instruct the smart contract activation end to send an adjustment request for the contract activation value, so that the adjusted contract activation value is greater than or equal to the contract risk value.

5. The method according to claim 3, characterized in that, If the smart contract activation terminal does not send an adjustment request within a preset time period, the method further includes: The record status corresponding to the resource interaction information record is switched from the transaction status to the default status, and a third prompt message indicating that the resource interaction information record has defaulted is displayed.

6. A resource data processing device, characterized in that, The device includes: The response module is used to generate a resource interaction information record in response to the target resource interaction meeting the preset information generation conditions, and set the record status corresponding to the resource interaction information record to the input status. The acquisition module is used to acquire the interaction risk information recorded in the resource interaction information record, and create a smart contract for the interaction with the target resource in the blockchain of the blockchain system based on the interaction risk information; wherein, the interaction risk information refers to information characterizing the probability that the resource interaction information record has an anomaly; the smart contract is used to record the contract risk information for the interaction with the target resource; the blockchain system is used to respond to the activation request initiated by the smart contract activation end for the smart contract, set the contract state of the smart contract to the activated state, and set the contract activation information of the smart contract; wherein, the contract activation information refers to the information set for the smart contract after instructing the smart contract activation end to activate the smart contract; The switching module is used to switch the record status corresponding to the resource interaction information record from the input state to the transaction state when the smart contract is detected to be in an active state, and to display a first prompt message that the resource interaction information record has taken effect. The acquisition module is specifically used to acquire the identification information of the resource object corresponding to the target resource interaction; send a risk information query request carrying the identification information of the resource object to the resource object interaction platform; the risk information query request is used to instruct the resource object interaction platform to return the resource numerical description information of the resource object; and determine the interaction risk information recorded in the resource interaction information based on the resource numerical description information.

7. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 5.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 5.

9. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Financing method and equipment based on block chain intelligent contract technology

    CN113240530A

  • Block chain account risk query method and device

    CN114418578A