Resource transaction method and device, electronic equipment, storage medium and computer program product

By determining the transaction link based on account attributes in resource transactions and conducting node service function checks, the problem that the bank side cannot return transaction results in a timely manner is solved, the closed-loop efficiency of unknown transactions is improved, the calculation overhead is reduced, and efficient processing of resource transactions is achieved .

CN119313438APending Publication Date: 2025-01-14INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410573248.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-10
Publication Date
2025-01-14

AI Technical Summary

Technical Problem

In the existing resource trading business, the bank side cannot return the transaction results in a timely manner, resulting in the transaction being unable to be closed loop. It is difficult for the partner system to initiate a corrective or suspicious inquiry, resulting in a high frequency of unknown transactions and the frequency of unknown transactions. The bank side is unknown. The closed-loop transaction efficiency is reduced, and the system calculation overhead is large.

Method used

By responding to resource transaction requests, determining the transaction link based on account attributes, conducting node service function inspections and business element inspections, determining the results of inspection errors, and determining the abnormal results of resource transactions based on this result, monitoring possible failures during the transaction process in real time, reducing possible failures in the transaction process The number of unknown transactions improves the efficiency of rapid closed-loop in unknown transactions.

Benefits of technology

It reduces the number of unknown transactions, improves the rapid closed-loop efficiency of unknown transactions, reduces the computing overhead of computing devices, and improves the efficiency and reliability of the transaction process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119313438A_ABST
    Figure CN119313438A_ABST
Patent Text Reader

Abstract

The invention provides a resource transaction method and device, electronic equipment, a storage medium and a computer program product, which can be applied to the fields of big data and financial science and technology. The method comprises the steps that in response to a resource transaction request from a transaction request end, a transaction link is determined according to account attributes in the resource transaction request, and the transaction link comprises at least one transaction task node; performing node service function inspection and business element inspection on the transaction task node to obtain a node service function detection result and a business element detection result; determining an inspection error report result from the node service function detection result and the service element detection result; determining a resource transaction abnormal result based on the checking error reporting result; and sending the resource transaction exception result to the transaction request end.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of big data and financial technology, and more specifically, to a resource trading method and device, an electronic device, a storage medium, and a computer program product. Background Art

[0002] In the existing resource trading business, the bank needs to return the transaction results to the brokerage and other partners. Due to unknown reasons in the transaction process, the transaction cannot be completed and the transaction results cannot be returned in time. When the transaction cannot be closed, the completion of the closed loop generally depends on the partner system to actively initiate a correction or a suspicious account inquiry.

[0003] In the process of realizing the concept disclosed in the present invention, the inventors found that there are at least the following problems in the related technology: the existing partner system has great difficulty in initiating reversals or inquiries into doubtful accounts, resulting in a high number and frequency of unknown transactions, reduced closed-loop efficiency of unknown transactions on the bank side, and high system computing overhead. Summary of the invention

[0004] In view of the above problems, the present disclosure provides a resource trading method and device, an electronic device, a storage medium and a computer program product.

[0005] According to a first aspect of the present disclosure, a resource transaction method is provided, comprising:

[0006] In response to a resource transaction request from a transaction request end, a transaction link is determined according to account attributes in the resource transaction request, wherein the transaction link includes at least one transaction task node; a node service function check and a business element check are performed on the transaction task node to obtain a node service function test result and a business element test result; a check error result is determined from the node service function test result and the business element test result; a resource transaction abnormality result is determined based on the check error result; and the resource transaction abnormality result is sent to the transaction request end.

[0007] According to an embodiment of the present disclosure, the resource transaction method further includes:

[0008] The inspection pass result is determined from the node service function inspection results and the business element inspection results; based on the inspection pass result, the transaction task node is called to execute the transaction task to obtain a successful resource transaction result.

[0009] According to an embodiment of the present disclosure, the account attributes include public attributes and non-public attributes; wherein determining the transaction link according to the account attributes in the resource transaction request includes:

[0010] When the account attributes in the resource transaction request are all public attributes, determine the public settlement transaction task node corresponding to the public settlement product transaction application and the public account transaction task node corresponding to the public account transaction application; and based on the task execution dependency relationship between the public settlement transaction task node and the public account transaction task node, determine the transaction link related to the public attribute.

[0011] According to an embodiment of the present disclosure, determining a transaction link according to an account attribute in a resource transaction request further includes:

[0012] In the case where the account attributes in the resource transaction request include public attributes and non-public attributes, determine the public settlement transaction task node corresponding to the public settlement product transaction application, the public account transaction task node corresponding to the public account transaction application, the non-public account transaction task node corresponding to the non-public account transaction application, and the non-public settlement transaction task node corresponding to the non-public settlement product transaction application; based on the task execution dependency relationship between the public settlement transaction task node, the public account transaction task node, the non-public account transaction task node, and the non-public settlement transaction task node, determine the transaction links related to the public attributes and the non-public attributes.

[0013] According to an embodiment of the present disclosure, determining the check error result from the node service function detection result and the business element detection result includes:

[0014] When there are failed results in the node service function test results and the business element test results, the log abnormal information is determined; based on the extraction algorithm, the key fields of the log abnormal information are extracted to obtain the abnormal transaction task node and the abnormal information corresponding to the abnormal transaction task node; the inspection error result is determined according to the abnormal transaction task node and the abnormal information.

[0015] According to an embodiment of the present disclosure, a node service function check and a business element check are performed on a transaction task node to obtain a node service function test result and a business element test result, including:

[0016] When the transaction task node is an access layer, a node service function check is performed on the transaction task node to obtain a first node service function test result; when the transaction task node is a service layer, a node service function check and a business element check are performed on the transaction task node to obtain a second node service function test result and a business element test result; the node service function test result is determined based on the first node service function test result and the second node service function test result.

[0017] According to an embodiment of the present disclosure, the node service function check includes at least one of the following:

[0018] Database availability check, container availability check, and node connectivity check.

[0019] According to an embodiment of the present disclosure, the business element check includes at least one of the following:

[0020] Account status check, resource pool agreement check, payment and receipt identification check, risk control identification check, and card agreement check.

[0021] A second aspect of the present disclosure provides a resource transaction device, comprising:

[0022] A first determination module, configured to respond to a resource transaction request from a transaction request end and determine a transaction link according to an account attribute in the resource transaction request, wherein the transaction link includes at least one transaction task node;

[0023] A generation module is used to perform node service function inspection and business element inspection on the transaction task node, and obtain node service function inspection results and business element inspection results;

[0024] A second determination module is used to determine the inspection error result from the node service function detection result and the business element detection result;

[0025] A third determination module is used to determine the abnormal result of the resource transaction based on the error checking result; and

[0026] The sending module is used to send the resource transaction abnormality result to the transaction request end.

[0027] A third aspect of the present disclosure provides an electronic device, comprising: one or more processors; and a memory for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors execute the above-mentioned resource trading method.

[0028] A fourth aspect of the present disclosure further provides a computer-readable storage medium having executable instructions stored thereon, which, when executed by a processor, causes the processor to execute the above-mentioned resource trading method.

[0029] The fifth aspect of the present disclosure also provides a computer program product, including a computer program, which implements the above-mentioned resource trading method when executed by a processor.

[0030] According to the resource transaction method and device, electronic device, computer-readable storage medium and computer program product provided by the present disclosure, the transaction task node in the transaction link is determined according to the account attributes in the resource transaction request, and then the node service function check and business element check are performed on each transaction task node, and then the abnormal result of the resource transaction is determined according to the check error result. Since the node service function check and business element check are introduced to each transaction task node before executing the resource transaction task, the possible faults in the transaction process are monitored in real time and the transaction is closed-loop. The real-time update of the check error result reduces the number of unknown transactions, improves the efficiency of the fast closed-loop of unknown transactions, and reduces the computing overhead of the computing device. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] The above contents and other objects, features and advantages of the present disclosure will become more apparent through the following description of the embodiments of the present disclosure with reference to the accompanying drawings, in which:

[0032] Figure 1 The application scenario of the resource transaction method according to the embodiment of the present disclosure is schematically shown;

[0033] Figure 2 A flowchart of a resource transaction method according to an embodiment of the present disclosure is schematically shown;

[0034] Figure 3 The example schematic diagram of resource transaction according to the embodiment of the present disclosure is schematically shown;

[0035] Figure 4 The example schematic diagram of checking a transaction task node according to an embodiment of the present disclosure is schematically shown;

[0036] Figure 5 The example schematic diagram schematically shows a resource transaction failure according to an embodiment of the present disclosure;

[0037] Figure 6 A schematic diagram of a structure of a resource transaction device according to an embodiment of the present disclosure is shown; and

[0038] Figure 7 A block diagram of an electronic device suitable for implementing a resource trading method according to an embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION

[0039] Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the present disclosure. In the following detailed description, for ease of explanation, many specific details are set forth to provide a comprehensive understanding of the embodiments of the present disclosure. However, it is apparent that one or more embodiments may also be implemented without these specific details. In addition, in the following description, descriptions of known structures and technologies are omitted to avoid unnecessary confusion of the concepts of the present disclosure.

[0040] The terms used herein are only for describing specific embodiments and are not intended to limit the present disclosure. The terms "comprise", "include", etc. used herein indicate the existence of features, steps, operations and / or components, but do not exclude the existence or addition of one or more other features, steps, operations or components.

[0041] All terms (including technical and scientific terms) used herein have the meanings commonly understood by those skilled in the art, unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification, and should not be interpreted in an idealized or overly rigid manner.

[0042] When using expressions such as "at least one of A, B, and C, etc.", they should generally be interpreted according to the meaning of the expression commonly understood by those skilled in the art (for example, "a system having at least one of A, B, and C" should include but is not limited to a system having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, C, etc.).

[0043] In the existing resource trading business, the bank needs to return the transaction results to the securities companies and other partners. Due to the unknown reasons in the transaction process, the transaction cannot be completed and the transaction results cannot be returned in time. When the transaction cannot be closed, the completion of the closed loop generally depends on the partner system to actively initiate the reversal or doubtful account inquiry. However, it is difficult for the existing partner system to initiate the reversal or doubtful account inquiry, which leads to a high number and frequency of unknown transactions, a reduced efficiency of the unknown transaction closed loop on the bank side, and a large system calculation overhead.

[0044] In view of this, an embodiment of the present disclosure provides a resource transaction method. The method includes: responding to a resource transaction request from a transaction request end, determining a transaction link according to account attributes in the resource transaction request, wherein the transaction link includes at least one transaction task node; performing a node service function check and a business element check on the transaction task node to obtain a node service function test result and a business element test result; determining a check error result from the node service function test result and the business element test result; determining a resource transaction abnormality result based on the check error result; and sending the resource transaction abnormality result to the transaction request end.

[0045] It should be noted that the resource trading method and resource trading device provided by the present disclosure can be used in the financial field, such as banks and other financial institutions, and can also be used in any field other than the financial field. Therefore, the application field of the resource trading method and resource trading device provided by the present disclosure is not limited.

[0046] In the technical solution of the present invention, the user information (including but not limited to user personal information, user image information, user device information, such as location information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved are all information and data authorized by the user or fully authorized by all parties, and the collection, storage, use, processing, transmission, provision, disclosure and application of relevant data comply with relevant laws, regulations and standards, take necessary confidentiality measures, do not violate public order and good morals, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0047] Figure 1 The application scenario of the resource trading method according to the embodiment of the present disclosure is schematically shown.

[0048] like Figure 1 As shown, the system architecture 100 according to this embodiment may include a first terminal device 101, a second terminal device 102, a third terminal device 103, a network 104 and a server 105. The network 104 is used to provide a medium for a communication link between the first terminal device 101, the second terminal device 102, the third terminal device 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.

[0049] The user may use at least one of the first terminal device 101, the second terminal device 102, and the third terminal device 103 to interact with the server 105 through the network 104 to receive or send messages, etc. Various communication client applications may be installed on the first terminal device 101, the second terminal device 102, and the third terminal device 103, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc. (only as examples).

[0050] The first terminal device 101, the second terminal device 102, and the third terminal device 103 may be various electronic devices having display screens and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, desktop computers, and the like.

[0051] The server 105 may be a server that provides various services, such as a background management server (only as an example) that provides support for websites browsed by users using the first terminal device 101, the second terminal device 102, and the third terminal device 103. The background management server may analyze and process the received data such as user requests, and feed back the processing results (such as web pages, information, or data obtained or generated according to user requests) to the terminal device.

[0052] It should be noted that the resource transaction method provided in the embodiment of the present disclosure can generally be executed by the server 105. Accordingly, the resource transaction device provided in the embodiment of the present disclosure can generally be set in the server 105. The resource transaction method provided in the embodiment of the present disclosure can also be executed by a server or server cluster that is different from the server 105 and can communicate with the first terminal device 101, the second terminal device 102, the third terminal device 103 and / or the server 105. Accordingly, the resource transaction device provided in the embodiment of the present disclosure can also be set in a server or server cluster that is different from the server 105 and can communicate with the first terminal device 101, the second terminal device 102, the third terminal device 103 and / or the server 105.

[0053] Alternatively, the resource transaction method provided in the embodiment of the present disclosure may also be executed by the first terminal device 101, the second terminal device 102 or the third terminal device 103, or may also be executed by other terminal devices different from the first terminal device 101, the second terminal device 102 or the third terminal device 103. Accordingly, the resource transaction apparatus provided in the embodiment of the present disclosure may also be provided in the first terminal device 101, the second terminal device 102 or the third terminal device 103, or may be provided in other terminal devices different from the first terminal device 101, the second terminal device 102 or the third terminal device 103.

[0054] It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.

[0055] It should be noted that the sequence numbers of the operations in the following method are only used as representations of the operations for the purpose of description, and should not be regarded as representing the execution order of the operations. Unless explicitly stated, the method does not need to be executed completely in the order shown.

[0056] The following will be based on Figure 1 The scene described by Figure 2 to Figure 5 The resource transaction method of the disclosed embodiment is described in detail.

[0057] Figure 2 The flowchart of the resource transaction method according to the embodiment of the present disclosure is schematically shown.

[0058] like Figure 2 As shown, the method 200 includes operations S210 to S250.

[0059] In operation S210 , in response to a resource transaction request from a transaction request end, a transaction link is determined according to an account attribute in the resource transaction request.

[0060] According to an embodiment of the present disclosure, a transaction link includes at least one transaction task node.

[0061] According to an embodiment of the present disclosure, the transaction request end may be a client of a partner registered in a bank application software, for example, a client of a securities company.

[0062] According to an embodiment of the present disclosure, for example, the resource transaction request may be a request to transfer resources from a bank account to a partner account, or a request to transfer resources from a partner account to a bank account.

[0063] According to an embodiment of the present disclosure, a resource applicant applies for a resource transaction at a transaction request end, the transaction request end sends the resource transaction request to a bank system access layer, the bank system access layer sends the resource transaction request to a bank system service layer, the bank system service layer responds to the resource transaction request from the transaction request end, and determines a transaction link according to the account attributes of the resource applicant and the partner in the resource transaction request.

[0064] According to an embodiment of the present disclosure, a transaction link represents a link for resource transactions between a resource applicant and a partner. The transaction link includes a transaction task node corresponding to a transaction application of a banking system, and the transaction task node is used to execute a resource transaction subtask between a resource applicant and a partner that flows to the transaction task node.

[0065] In operation S220, a node service function check and a business element check are performed on the transaction task node to obtain a node service function check result and a business element check result.

[0066] According to an embodiment of the present disclosure, the node service function check represents the test check of the hardware functions of the node server, database, etc. The business element check represents the account transaction element check of the resource applicant account and the partner account at the transaction task node, for example, whether the account is normal.

[0067] According to an embodiment of the present disclosure, before performing node service function checks and business element checks on transaction task nodes, pre-processing may be performed on transaction applications in the banking system, for example, message decryption / signature verification, system access control, partner checks, transaction agreement checks, business anti-duplicate processing, transaction detail creation, business risk control, etc.

[0068] In operation S230, a check error result is determined from the node service function detection result and the business element detection result.

[0069] According to an embodiment of the present disclosure, when the node service function detection result and the business element detection result fail, the log information is updated and the error inspection result is determined based on the log. The error inspection result may include the problem transaction task node and the related error reasons.

[0070] In operation S240, the resource transaction abnormality result is determined based on the check error result.

[0071] According to the embodiments of the present disclosure, the transaction application returns the inspection error result to the bank system service layer. If the node service function detection result and the business element detection result fail, the resource transaction interface call will not be performed, and the bank system service layer will be post-processed. For example, the application calls the log record update, transaction status update, and account balance update to obtain the resource transaction abnormality result. The resource transaction abnormality result may include the reason for the transaction abnormality, the transaction abnormality time, the account ID, the account balance, etc.

[0072] In operation S250, the resource transaction abnormality result is sent to the transaction request end.

[0073] According to an embodiment of the present disclosure, the banking system service layer may send the resource transaction abnormality result to the banking system access layer, and the banking system access layer sends the resource transaction abnormality result to the transaction request end and the resource applicant.

[0074] According to the embodiments of the present disclosure, since node service function checks and business element checks are introduced at each transaction task node before executing the resource transaction task, possible faults in the transaction process are monitored in real time and the transaction is closed-looped. Real-time updates of error check results reduce the number of unknown transactions, improve the efficiency of rapid closing of unknown transactions, and reduce the computing overhead of computing equipment.

[0075] According to an embodiment of the present disclosure, the resource transaction method further includes:

[0076] The inspection pass result is determined from the node service function inspection results and the business element inspection results; based on the inspection pass result, the transaction task node is called to execute the transaction task to obtain a successful resource transaction result.

[0077] According to an embodiment of the present disclosure, when both the node service function detection result and the business element detection result are passed, the inspection pass result is determined.

[0078] According to the embodiment of the present disclosure, the transaction application sends the check result to the bank system service layer, and the bank system service layer initiates a resource transaction interface call request to the transaction task node corresponding to the transaction application, and executes the transaction task at the transaction task node, including resource processing of the partner account and resource processing of the resource applicant. The transaction application sends the resource transaction result to the bank system service layer.

[0079] According to an embodiment of the present disclosure, post-processing is performed on the bank system service layer to obtain a successful resource transaction result, which may include account change balance, account identification, transaction date, etc. The bank system service layer sends the successful resource transaction result to the bank system access layer, and the bank system access layer sends the successful resource transaction result to the transaction request end and the resource applicant.

[0080] Figure 3 An example schematic diagram of resource transaction according to an embodiment of the present disclosure is schematically shown.

[0081] like Figure 3 As shown, the transaction request end sends the resource transaction request to the bank system access layer, and the bank system access layer sends the resource transaction request to the bank system service layer. The bank system service layer determines at least one transaction task node in the transaction link according to the account attributes of the resource applicant and the partner in the resource transaction request. In the case that the node service function detection result and the business element detection result fail, the check error result is determined, and the transaction application returns the check error result to the bank system service layer. The transaction application returns the check error result to the bank system service layer, performs post-processing on the bank system service layer, and obtains the resource transaction abnormality result. The bank system service layer sends the resource transaction abnormality result to the bank system access layer, and the bank system access layer sends the resource transaction success result to the transaction request end and the resource applicant.

[0082] According to the embodiments of the present disclosure, when both the node service function test result and the business element test result are passed, the inspection pass result is determined. The transaction application sends the inspection pass result to the bank system service layer, and the bank system service layer initiates a resource transaction interface call request to the transaction task node corresponding to the transaction application, executes the transaction task at the transaction task node, obtains the resource transaction success result, and the transaction application sends the resource transaction success result to the bank system service layer. The bank system service layer is post-processed to obtain the resource transaction result, and the bank system service layer sends the resource transaction result to the bank system access layer, and the bank system access layer sends the resource transaction result to the transaction request end and the resource applicant.

[0083] According to the embodiments of the present disclosure, since node service function checks and business element checks are introduced at each transaction task node before executing a resource transaction task, the transaction task is executed after all check results have passed, and the resource transaction results are promptly fed back to the transaction request end and the resource applicant, the efficiency of rapid closed-loop control of unknown transactions is improved.

[0084] According to an embodiment of the present disclosure, account attributes include public attributes and non-public attributes.

[0085] According to an embodiment of the present disclosure, for example, a public account may be an account established by an enterprise, an institution, or the like, and a non-public account may be an account established by an individual.

[0086] According to an embodiment of the present disclosure, determining a transaction link according to an account attribute in a resource transaction request includes:

[0087] When the account attributes in the resource transaction request are all public attributes, determine the public settlement transaction task node corresponding to the public settlement product transaction application and the public account transaction task node corresponding to the public account transaction application; and based on the task execution dependency relationship between the public settlement transaction task node and the public account transaction task node, determine the transaction link related to the public attribute.

[0088] According to an embodiment of the present disclosure, a resource applicant applies for a resource transaction at a transaction request end, and the transaction request end sends the resource transaction request to a bank system access layer. When the resource transaction request is a request to transfer resources from a bank account to a partner account, the resource applicant is the resource requester and the partner is the resource supplier.

[0089] According to an embodiment of the present disclosure, when the resource transaction request is a request to transfer resources in a partner's account to a bank account, the partner is a resource requester and the resource applicant is a resource supplier.

[0090] For example, in a resource transaction request, when the account attributes of the resource requester and the resource supplier are both public attributes, the public settlement product transaction application and the public account transaction application are called. The public settlement product transaction application includes at least one public settlement transaction task node, and the public account transaction application includes at least one public account transaction task node.

[0091] According to an embodiment of the present disclosure, the task execution dependency relationship represents the execution order of resource transaction tasks according to the transaction task node, for example, first performing resource transfer-out processing on the resource supplier, and then performing resource transfer-in processing on the resource requester. Based on the task execution dependency relationship between at least one public settlement transaction task node and at least one public account transaction task node, a transaction link related to the public attribute is determined.

[0092] For example, when all account attributes are public attributes, determine the transaction link from the public account transaction task node to the public settlement transaction task node in order.

[0093] According to an embodiment of the present disclosure, determining a transaction link according to an account attribute in a resource transaction request further includes:

[0094] In the case where the account attributes in the resource transaction request include public attributes and non-public attributes, determine the public settlement transaction task node corresponding to the public settlement product transaction application, the public account transaction task node corresponding to the public account transaction application, the non-public account transaction task node corresponding to the non-public account transaction application, and the non-public settlement transaction task node corresponding to the non-public settlement product transaction application; based on the task execution dependency relationship between the public settlement transaction task node, the public account transaction task node, the non-public account transaction task node, and the non-public settlement transaction task node, determine the transaction links related to the public attributes and the non-public attributes.

[0095] For example, in a resource transaction request, when the account attribute of the resource requester is a non-public attribute and the account attribute of the resource supplier is a public attribute, the non-public account transaction application and the non-public settlement product transaction application, the public settlement product transaction application, and the public account transaction application are called. The non-public account transaction application includes at least one non-public account transaction task node, and the non-public settlement product transaction application includes at least one non-public settlement transaction task node.

[0096] According to an embodiment of the present disclosure, based on the task execution dependency between at least one public settlement transaction task node, at least one public account transaction task node, at least one non-public account transaction task node and at least one non-public settlement transaction task node, the transaction links related to public attributes and non-public attributes are determined.

[0097] According to an embodiment of the present disclosure, when the account attributes of the resource requester are non-public attributes and the account attributes of the resource supplier are public attributes, a transaction link is determined in the order of non-public account transaction task node → non-public settlement transaction task node → public settlement transaction task node → public account transaction task node.

[0098] For example, in a resource transaction request, when the account attribute of the resource requester is public and the account attribute of the resource supplier is non-public, the public settlement product transaction application, the public account transaction application, the non-public account transaction application and the non-public settlement product transaction application are called.

[0099] According to an embodiment of the present disclosure, based on the task execution dependency between at least one public settlement transaction task node, at least one public account transaction task node, at least one non-public account transaction task node and at least one non-public settlement transaction task node, the transaction links related to public attributes and non-public attributes are determined.

[0100] According to an embodiment of the present disclosure, when the account attributes of the resource requester are public attributes and the account attributes of the resource supplier are non-public attributes, a transaction link is determined in the order of public settlement transaction task node → public account transaction task node → non-public account transaction task node → non-public settlement transaction task node.

[0101] According to an embodiment of the present disclosure, determining the check error result from the node service function detection result and the business element detection result includes:

[0102] When there are failed results in the node service function test results and the business element test results, the log abnormal information is determined; based on the extraction algorithm, the key fields of the log abnormal information are extracted to obtain the abnormal transaction task node and the abnormal information corresponding to the abnormal transaction task node; the inspection error result is determined according to the abnormal transaction task node and the abnormal information.

[0103] According to the embodiments of the present disclosure, after performing a node service function check or a business element check on each transaction task node, a node service function test result or a business element test result corresponding to each transaction task node is obtained. If there is a failed result in all the node service function test results and the business element test results, the check log is updated and the log abnormal information is recorded.

[0104] According to an embodiment of the present disclosure, the extraction algorithm may be a natural language processing algorithm. According to the extraction algorithm, key fields of the log abnormal information are extracted to obtain an abnormal transaction task node and abnormal information corresponding to the abnormal transaction task node. For example, the abnormal transaction task node is the i-th non-public account transaction task node in the non-public account transaction application, and the abnormal information corresponding to the i-th non-public account transaction task node is a database availability detection abnormality.

[0105] According to an embodiment of the present disclosure, by summarizing and counting abnormal transaction task nodes and abnormal information, an inspection error result is obtained.

[0106] According to an embodiment of the present disclosure, a node service function check and a business element check are performed on a transaction task node to obtain a node service function test result and a business element test result, including:

[0107] When the transaction task node is an access layer, a node service function check is performed on the transaction task node to obtain a first node service function test result; when the transaction task node is a service layer, a node service function check and a business element check are performed on the transaction task node to obtain a second node service function test result and a business element test result; the node service function test result is determined based on the first node service function test result and the second node service function test result.

[0108] According to an embodiment of the present disclosure, when the transaction task node is an access layer, only the node service function check can be performed on the transaction task node to obtain a first node service function test result. The first node service function test result represents a basic function test result of a node server or database, such as a capacity test result, a load test result, etc.

[0109] According to an embodiment of the present disclosure, when the transaction task node is a service layer, a node service function check and a business element check are performed on the transaction task node at the same time to obtain a second node service function test result and a business element test result. The second node service function test result represents the key function check result of the node server or database, etc., for example, the availability check result, the inter-node connectivity check result, etc. The business element test result represents the business element check of the account related to the transaction task node. For example, the non-public settlement transaction task node can check whether the account is normal, the account authority, whether the account is on the abnormal transaction list, the card agreement information, etc.

[0110] According to an embodiment of the present disclosure, the first node service function detection result and the second node service function detection result are summarized to determine the node service function detection result.

[0111] Figure 4 The example diagram of checking a transaction task node according to an embodiment of the present disclosure is schematically shown.

[0112] like Figure 4As shown, when the account attributes of the resource requester and the resource supplier are both public attributes, the public settlement product transaction application and the public account transaction application are called to determine the transaction link of the order of public account transaction task node → public settlement transaction task node. Each public settlement product transaction application includes at least one public settlement transaction task node, and each public account transaction application includes at least one public account transaction task node. The order of checking the transaction task nodes in the transaction link is: performing a node service function check on the public settlement transaction task node corresponding to the access layer → performing a node service function check and a business element check on the public settlement transaction task node corresponding to the service layer → performing a node service function check on the public account transaction task node corresponding to the access layer → performing a node service function check on the public account transaction task node corresponding to the service layer.

[0113] According to an embodiment of the present disclosure, when the account attributes of the resource requester are non-public attributes and the account attributes of the resource supplier are public attributes, the non-public account transaction application and the non-public settlement product transaction application, the public settlement product transaction application, and the public account transaction application are called to determine the transaction link in the order of non-public account transaction task node → non-public settlement transaction task node → public settlement transaction task node → public account transaction task node.

[0114] According to an embodiment of the present disclosure, the order of checking the transaction task nodes in the transaction link is: performing a node service function check on the non-public account transaction task node corresponding to the access layer → performing a node service function check and a business element check on the non-public account transaction task node corresponding to the service layer → performing a node service function check on the non-public settlement transaction task node corresponding to the access layer → performing a node service function check and a business element check on the non-public settlement transaction task node corresponding to the service layer → performing a node service function check on the public settlement transaction task node corresponding to the access layer → performing a node service function check and a business element check on the public settlement transaction task node corresponding to the service layer → performing a node service function check on the public account transaction task node corresponding to the access layer → performing a node service function check and a business element check on the public account transaction task node corresponding to the service layer.

[0115] According to an embodiment of the present disclosure, when the account attribute of the resource requester is a public attribute and the account attribute of the resource supplier is a non-public attribute, the public settlement product transaction application, the public account transaction application, the non-public account transaction application and the non-public settlement product transaction application are called to determine the transaction link in the order of public settlement transaction task node → public account transaction task node → non-public account transaction task node → non-public settlement transaction task node.

[0116] According to an embodiment of the present disclosure, the order of checking the transaction task nodes in the transaction link is: performing a node service function check on the public settlement transaction task node corresponding to the access layer → performing a node service function check and a business element check on the public settlement transaction task node corresponding to the service layer → performing a node service function check on the public account transaction task node corresponding to the access layer → performing a node service function check and a business element check on the public account transaction task node corresponding to the service layer → performing a node service function check on the non-public account transaction task node corresponding to the access layer → performing a node service function check and a business element check on the non-public account transaction task node corresponding to the service layer → performing a node service function check on the non-public settlement transaction task node corresponding to the access layer → performing a node service function check and a business element check on the non-public settlement transaction task node corresponding to the service layer.

[0117] According to an embodiment of the present disclosure, the node service function check includes at least one of the following:

[0118] Database availability check, container availability check, and node connectivity check.

[0119] According to an embodiment of the present disclosure, the database availability check is used to check whether the database can be read and written normally, the container availability check is used to check whether the server corresponding to the transaction task node can operate normally, etc., and the node connectivity check is used to check whether the transaction task nodes can communicate with each other.

[0120] According to an embodiment of the present disclosure, the business element check includes at least one of the following:

[0121] Account status check, resource pool agreement check, payment and receipt identification check, risk control identification check, and card agreement check.

[0122] According to an embodiment of the present disclosure, the account status check is used to check whether the account is in a normal state or an account cancellation state. The resource pool protocol check is used to check accounts with public attributes.

[0123] According to an embodiment of the present disclosure, a non-public account transaction task node can check the payment identification of a non-public account, and the payment identification check is used to check whether the account is set with protocols such as only receiving but not transferring out or only transferring out but not accepting. A non-public settlement transaction task node can check the risk control identification of a non-public account, and the risk control identification check is used to check the risk level of the account. The card agreement check is used to check the relevant contract agreement signed by the bank card bound to the account.

[0124] Figure 5 An example schematic diagram of a resource transaction failure according to an embodiment of the present disclosure is schematically shown.

[0125] like Figure 5As shown in the figure, the check of resource transaction ① before the failure occurred has been successful. When the failure occurred, since the check of some in-transit resource transactions ② had been successful before, the transactions in the window will continue to be in an unknown state for a period of time, and the length of the unrecognizable position window is the average time taken for a transaction of 750ms. After the check is implemented, the number of unrecognizable unknown transactions ③ is the transaction volume 750ms after the failure occurred.

[0126] Table 1 Transaction failure reasons

[0127]

[0128] According to the embodiments of the present disclosure, for container-level failures (points 1-4 in Table 1) and database shard-level failures (point 5 in Table 1), taking failure 5 in Table 1 as an example, the failure occurred for 6 minutes, and the proportion of unknown transactions was 0.75 / (6*60)=0.21%, which was significantly lower than the original 11.8%.

[0129] Based on the above resource transaction method, the present disclosure also provides a resource transaction device. Figure 6 The device is described in detail.

[0130] Figure 6 The structure block diagram of the resource transaction device according to the embodiment of the present disclosure is schematically shown.

[0131] like Figure 6 As shown, the resource transaction device 600 of this embodiment includes a first determination module 610 , a generation module 620 , a second determination module 630 , a third determination module 640 and a sending module 650 .

[0132] The first determination module 610 is used to respond to the resource transaction request from the transaction request end and determine the transaction link according to the account attribute in the resource transaction request, wherein the transaction link includes at least one transaction task node. In one embodiment, the first determination module 610 can be used to perform the operation S210 described above, which will not be repeated here.

[0133] The generation module 620 is used to perform node service function check and business element check on the transaction task node to obtain node service function test results and business element test results. In one embodiment, the generation module 620 can be used to perform the operation S220 described above, which will not be repeated here.

[0134] The second determination module 630 is used to determine the check error result from the node service function detection result and the business element detection result. In one embodiment, the second determination module 630 can be used to perform the operation S230 described above, which will not be repeated here.

[0135] The third determination module 640 is used to determine the abnormal result of the resource transaction based on the error checking result. In one embodiment, the third determination module 640 can be used to perform the operation S240 described above, which will not be described in detail here.

[0136] The sending module 650 is used to send the resource transaction abnormality result to the transaction request end. In one embodiment, the sending module 650 can be used to perform the operation S250 described above, which will not be repeated here.

[0137] According to an embodiment of the present disclosure, the second generation module 620 includes a first generation submodule, a second generation submodule and a third generation submodule.

[0138] According to an embodiment of the present disclosure, the resource transaction device 600 further includes a fourth determination module and a transaction module.

[0139] The fourth determination module is used to determine the inspection pass result from the node service function detection results and the business element detection results.

[0140] The transaction module is used to call the transaction task node to execute the transaction task based on the inspection result and obtain the successful resource transaction result.

[0141] According to an embodiment of the present disclosure, the first determination module 610 includes a first determination submodule and a second determination submodule.

[0142] The first determination submodule is used to determine the public settlement transaction task node corresponding to the public settlement product transaction application and the public account transaction task node corresponding to the public account transaction application when all account attributes in the resource transaction request are public attributes.

[0143] The second determination submodule is used to determine the transaction link related to the public attribute based on the task execution dependency relationship between the public settlement transaction task node and the public account transaction task node.

[0144] According to an embodiment of the present disclosure, the first determination module 610 further includes a third determination submodule and a fourth determination submodule.

[0145] The third determination submodule is used to determine the public settlement transaction task node corresponding to the public settlement product transaction application, the public account transaction task node corresponding to the public account transaction application, the non-public account transaction task node corresponding to the non-public account transaction application, and the non-public settlement transaction task node corresponding to the non-public settlement product transaction application when the account attributes in the resource transaction request include public attributes and non-public attributes.

[0146] The fourth determination submodule is used to determine the transaction links related to the public attributes and the non-public attributes based on the task execution dependency between the public settlement transaction task node, the public account transaction task node, the non-public account transaction task node and the non-public settlement transaction task node.

[0147] According to an embodiment of the present disclosure, the second determination module 630 includes a fifth determination submodule, a sixth determination submodule and a seventh determination submodule.

[0148] The fifth determination submodule is used to determine log abnormality information when there are failed results in the node service function detection results and the business element detection results.

[0149] The sixth determination submodule is used to extract key fields from the log abnormality information based on the extraction algorithm to obtain the abnormal transaction task node and the abnormal information corresponding to the abnormal transaction task node.

[0150] The seventh determination submodule is used to determine the check error result according to the abnormal transaction task node and the abnormal information.

[0151] According to an embodiment of the present disclosure, the generation module 620 includes a first generation submodule, a second generation submodule, and a third generation submodule.

[0152] The first generating submodule is used to perform a node service function check on the transaction task node when the transaction task node is an access layer, and obtain a first node service function detection result.

[0153] The second generation submodule is used to perform a node service function check and a business element check on the transaction task node when the transaction task node is a service layer, and obtain a second node service function test result and a business element test result.

[0154] The third generating submodule is used to determine the node service function detection result according to the first node service function detection result and the second node service function detection result.

[0155] According to an embodiment of the present disclosure, any multiple modules among the first determination module 610, the generation module 620, the second determination module 630, the third determination module 640 and the sending module 650 may be combined into one module for implementation, or any one of the modules may be split into multiple modules. Alternatively, at least part of the functions of one or more of these modules may be combined with at least part of the functions of other modules and implemented in one module.

[0156] According to an embodiment of the present disclosure, at least one of the first determination module 610, the generation module 620, the second determination module 630, the third determination module 640 and the sending module 650 can be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on a chip, a system on a substrate, a system on a package, an application-specific integrated circuit (ASIC), or can be implemented by hardware or firmware such as any other reasonable way of integrating or packaging the circuit, or by any one of the three implementation methods of software, hardware and firmware or by an appropriate combination of any of them. Alternatively, at least one of the first determination module 610, the generation module 620, the second determination module 630, the third determination module 640 and the sending module 650 can be at least partially implemented as a computer program module, and when the computer program module is run, the corresponding function can be executed.

[0157] Figure 7 A block diagram of an electronic device suitable for implementing a resource trading method according to an embodiment of the present disclosure is schematically shown.

[0158] Figure 7 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0159] like Figure 7 As shown, the computer electronic device 700 according to an embodiment of the present disclosure includes a processor 701, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 702 or a program loaded from a storage part 709 into a random access memory (RAM) 703. The processor 701 may include, for example, a general-purpose microprocessor (e.g., a CPU), an instruction set processor and / or a related chipset and / or a special-purpose microprocessor (e.g., an application-specific integrated circuit (ASIC)), etc. The processor 701 may also include an onboard memory for caching purposes. The processor 701 may include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present disclosure.

[0160] In RAM 703, various programs and data required for the operation of electronic device 700 are stored. Processor 701, ROM 702 and RAM 703 are connected to each other via bus 704. Processor 701 performs various operations of the method flow according to the embodiment of the present disclosure by executing the program in ROM 702 and / or RAM 703. It should be noted that the program can also be stored in one or more memories other than ROM 702 and RAM 703. Processor 701 can also perform various operations of the method flow according to the embodiment of the present disclosure by executing the program stored in one or more memories.

[0161] According to an embodiment of the present disclosure, the electronic device 700 may further include an input / output (I / O) interface 705, which is also connected to the bus 704. The electronic device 700 may further include one or more of the following components connected to the input / output (I / O) interface 705: an input portion 706 including a keyboard, a mouse, etc.; an output portion 707 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage portion 708 including a hard disk, etc.; and a communication portion 709 including a network interface card such as a LAN card, a modem, etc. The communication portion 709 performs communication processing via a network such as the Internet. A drive 710 is also connected to the input / output (I / O) interface 705 as needed. A removable medium 711, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 710 as needed, so that a computer program read therefrom is installed into the storage portion 708 as needed.

[0162] According to an embodiment of the present disclosure, the method flow according to an embodiment of the present disclosure can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable storage medium, and the computer program contains a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 709, and / or installed from the removable medium 711. When the computer program is executed by the processor 701, the above-mentioned functions defined in the system of the embodiment of the present disclosure are executed. According to an embodiment of the present disclosure, the system, equipment, device, module, unit, etc. described above can be implemented by a computer program module.

[0163] The present disclosure also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments; or may exist independently without being assembled into the device / apparatus / system. The above computer-readable storage medium carries one or more programs, and when the above one or more programs are executed, the method according to the embodiment of the present disclosure is implemented.

[0164] According to an embodiment of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium. For example, it may include, but is not limited to: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, apparatus, or device.

[0165] For example, according to an embodiment of the present disclosure, the computer-readable storage medium may include the ROM 702 and / or the RAM 703 described above and / or one or more memories other than the ROM 702 and the RAM 703 .

[0166] The embodiments of the present disclosure also include a computer program product, which includes a computer program, and the computer program contains program code for executing the method provided by the embodiments of the present disclosure. When the computer program product runs on an electronic device, the program code is used to enable the electronic device to implement the resource trading method provided by the embodiments of the present disclosure.

[0167] When the computer program is executed by the processor 701, the above functions defined in the system / device of the embodiment of the present disclosure are executed. According to the embodiment of the present disclosure, the system, device, module, unit, etc. described above can be implemented by a computer program module.

[0168] In one embodiment, the computer program may rely on tangible storage media such as optical storage devices, magnetic storage devices, etc. In another embodiment, the computer program may also be transmitted and distributed in the form of signals on a network medium, and downloaded and installed through the communication part 709, and / or installed from the removable medium 711. The program code contained in the computer program may be transmitted using any appropriate network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.

[0169] According to an embodiment of the present disclosure, the program code for executing the computer program provided by the embodiment of the present disclosure can be written in any combination of one or more programming languages. Specifically, these computing programs can be implemented using high-level process and / or object-oriented programming languages, and / or assembly / machine languages. Programming languages ​​include, but are not limited to, Java, C++, python, "C" language or similar programming languages. The program code can be executed entirely on the user computing device, partially on the user device, partially on the remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device can be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (for example, using an Internet service provider to connect through the Internet).

[0170] The flow charts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0171] It will be appreciated by those skilled in the art that the features described in the various embodiments and / or claims of the present disclosure may be combined and / or combined in a variety of ways, even if such combinations and / or combinations are not explicitly described in the present disclosure. In particular, the features described in the various embodiments and / or claims of the present disclosure may be combined and / or combined in a variety of ways without departing from the spirit and teachings of the present disclosure. All of these combinations and / or combinations fall within the scope of the present disclosure.

[0172] The above specific embodiments further illustrate the purpose, technical solutions and beneficial effects of the present disclosure in detail. It should be understood that the above are only specific embodiments of the present disclosure and are not intended to limit the present disclosure. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present disclosure should be included in the protection scope of the present disclosure.

Claims

1. A resource trading method, characterized in that: The method comprises: In response to a resource transaction request from a transaction request end, determining a transaction link according to an account attribute in the resource transaction request, wherein the transaction link includes at least one transaction task node; Performing a node service function check and a business element check on the transaction task node to obtain a node service function test result and a business element test result; Determine the check error result from the node service function test result and the business element test result; Determining abnormal resource transaction results based on the check error results; and Sending the resource transaction abnormality result to the transaction request end.

2. The method according to claim 1, characterized in that The method further comprises: Determining a check pass result from the node service function test result and the business element test result; Based on the check result, the transaction task node is called to execute the transaction task and obtain a successful resource transaction result.

3. The method according to claim 1, characterized in that The account attributes include public attributes and non-public attributes; Wherein, determining the transaction link according to the account attribute in the resource transaction request includes: In the case where the account attributes in the resource transaction request are all public attributes, determining a public settlement transaction task node corresponding to a public settlement product transaction application and a public account transaction task node related to a public account transaction application; and Based on the task execution dependency relationship between the public settlement transaction task node and the public account transaction task node, a transaction link related to the public attribute is determined.

4. The method according to claim 3, characterized in that Determining a transaction link according to the account attribute in the resource transaction request also includes: In the case where the account attributes in the resource transaction request include public attributes and non-public attributes, determining the public settlement transaction task node corresponding to the public settlement product transaction application, the public account transaction task node corresponding to the public account transaction application, the non-public account transaction task node corresponding to the non-public account transaction application, and the non-public settlement transaction task node corresponding to the non-public settlement product transaction application; Based on the task execution dependency relationship among the public settlement transaction task node, the public account transaction task node, the non-public account transaction task node and the non-public settlement transaction task node, a transaction link related to the public attribute and the non-public attribute is determined.

5. The method according to claim 1, characterized in that Determining the check error result from the node service function test result and the business element test result includes: In the case where there is a failed result in the node service function test result and the business element test result, determining log abnormality information; Based on the extraction algorithm, key fields are extracted from the log abnormal information to obtain abnormal transaction task nodes and abnormal information corresponding to the abnormal transaction task nodes; The check error result is determined according to the abnormal transaction task node and the abnormal information.

6. The method according to claim 1, characterized in that Performing node service function check and business element check on the transaction task node to obtain node service function test results and business element test results, including: In the case where the transaction task node is an access layer, performing a node service function check on the transaction task node to obtain a first node service function test result; In the case where the transaction task node is a service layer, performing a node service function check and a business element check on the transaction task node to obtain a second node service function check result and the business element check result; The node service function detection result is determined according to the first node service function detection result and the second node service function detection result.

7. The method according to claim 1, characterized in that The node service function check includes at least one of the following: Database availability check, container availability check, and node connectivity check.

8. The method according to claim 1, characterized in that The business element check includes at least one of the following: Account status check, resource pool agreement check, payment and receipt identification check, risk control identification check, and card agreement check.

9. A resource trading device, characterized in that: The device comprises: A first determination module, configured to respond to a resource transaction request from a transaction request end and determine a transaction link according to an account attribute in the resource transaction request, wherein the transaction link includes at least one transaction task node; A generating module, used to perform a node service function check and a business element check on the transaction task node, and obtain a node service function test result and a business element test result; A second determination module is used to determine the check error result from the node service function detection result and the business element detection result; A third determination module is used to determine the abnormal result of the resource transaction based on the error checking result; and The sending module is used to send the resource transaction abnormality result to the transaction request end.

10. An electrical device comprising: one or more processors; a memory for storing one or more computer programs, The method is characterized in that the one or more processors execute the one or more computer programs to implement the steps of the method according to any one of claims 1 to 8.

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

12. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 8 are implemented.