Business processing method and device, electronic equipment and computer readable medium

By generating and approving smart contracts, the problem of insufficient flexibility and inefficiency in handling existing cash management business is solved, customized cash business processing is realized, and flexibility and efficiency are improved.

CN119539931APending Publication Date: 2025-02-28CHINA CONSTRUCTION BANK +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411625903.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-14
Publication Date
2025-02-28

AI Technical Summary

Technical Problem

The existing cash management business is not flexible enough and inefficient, so companies cannot customize private cash management needs, and it is difficult to meet regulatory needs.

Method used

By receiving the service processing request, obtaining the scenario identifier and determining it as a cash service, and obtaining the cash service processing process data. Based on these data, the functions of the target smart contract to be generated are determined, including interaction with external, circular execution and conditional control. Then generate a smart contract and send it to the blockchain platform for approval, and cash business processing will be carried out after the approval is approved.

Benefits of technology

Customized cash business processing has been realized, and the flexibility and efficiency of cash-related business processing has been improved. It can meet the private needs of enterprises while taking into account supervision and banking needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119539931A_ABST
    Figure CN119539931A_ABST
Patent Text Reader

Abstract

The invention discloses a business processing method and device, electronic equipment and a computer readable medium, and relates to the technical field of computers, and the method comprises the steps: receiving a business processing request, obtaining a scene identifier, and responding to the determination that the scene identifier corresponds to cash business, acquiring cash business processing flow data to determine the function of a to-be-generated target smart contract; in response to functions including external interaction, loop execution and condition control, determining a passive trigger event and interaction interface data corresponding to external interaction, and loop execution condition data and condition data of condition control to generate a target smart contract; and sending the target smart contract to each target examination and approval node of the block chain platform for examination and approval, and after each target examination and approval node passes examination and approval, performing cash business processing based on the target smart contract. And the cash-related business processing flexibility and efficiency are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a business processing method, device, electronic device and computer-readable medium. Background Art

[0002] At present, cash management is basically implemented on the bank side, which is not flexible enough. Enterprises cannot customize their private cash management needs while meeting regulatory requirements. They can only manage their cash flow offline through the bank. Cash-related business processing is not flexible enough and inefficient. Summary of the invention

[0003] In view of this, the embodiments of the present application provide a business processing method, device, electronic device and computer-readable medium, which can solve the problems of insufficient flexibility and low efficiency of existing cash-related business processing.

[0004] To achieve the above-mentioned purpose, according to one aspect of an embodiment of the present application, a business processing method is provided, including: receiving a business processing request, obtaining a corresponding scenario identifier, and in response to determining that the scenario identifier corresponds to a cash business, obtaining cash business processing flow data; based on the cash business processing flow data, determining the function of the target smart contract to be generated; in response to the functions including interaction with the outside, loop execution and conditional control, determining the corresponding passive trigger events and interaction interface data, loop execution condition data and conditional data of conditional control when interacting with the outside; based on the passive trigger events and interaction interface data, loop execution condition data and conditional data of conditional control, generating a target smart contract; sending the target smart contract to each target approval node of the blockchain platform for approval, and after each target approval node has approved it, performing cash business processing based on the target smart contract.

[0005] Optionally, obtaining cash business processing flow data includes: obtaining a subject identifier corresponding to the business processing request, and determining the type of the associated cash business based on the subject identifier; and obtaining corresponding cash business processing flow data based on the type.

[0006] Optionally, based on the cash business processing flow data, the function of the target smart contract to be generated is determined, including: determining the transaction participants and transaction closed-loop conditions corresponding to the cash business processing flow data; and determining the function of the target smart contract to be generated based on the transaction participants and transaction closed-loop conditions.

[0007] Optionally, the function of the target smart contract to be generated is determined based on the transaction participants and the transaction closed-loop conditions, including: in response to the transaction participants having subjective awareness and the transaction closed-loop conditions including a loop count threshold and a clause execution trigger condition, determining that the function of the target smart contract to be generated includes external interaction, loop execution and conditional control.

[0008] Optionally, determining the passive trigger events and interaction interface data corresponding to the external interaction includes: determining the controls required for the external interaction, and determining the passive trigger events and interaction interface data corresponding to the external interaction according to the events and interfaces associated with the controls.

[0009] Optionally, generating a target smart contract includes: calling a smart contract generation template related to cash business corresponding to the blockchain platform to fill passive trigger events and interactive interface data, loop execution condition data and conditional control condition data into corresponding placeholder positions in the smart contract generation template, thereby generating a target smart contract.

[0010] In addition, the present application also provides a business processing device, including: a receiving unit, configured to receive a business processing request, obtain a corresponding scenario identifier, and obtain cash business processing flow data in response to determining that the scenario identifier corresponds to a cash business; a function determination unit, configured to determine the function of the target smart contract to be generated based on the cash business processing flow data; a data determination unit, configured to determine the corresponding passive trigger event and interaction interface data, loop execution condition data and condition data of condition control when interacting with the outside in response to functions including interaction with the outside, loop execution and conditional control; a contract generation unit, configured to generate a target smart contract based on passive trigger events and interaction interface data, loop execution condition data and condition data of condition control; a sending unit, configured to send the target smart contract to each target approval node of the blockchain platform for approval, and after each target approval node has approved it, perform cash business processing based on the target smart contract.

[0011] Optionally, the receiving unit is further configured to: obtain a subject identifier corresponding to the business processing request, determine the type of the associated cash business based on the subject identifier; and obtain corresponding cash business processing flow data based on the type.

[0012] Optionally, the function determination unit is further configured to: determine the transaction participants and transaction closed-loop conditions corresponding to the cash business processing flow data; and determine the function of the target smart contract to be generated based on the transaction participants and transaction closed-loop conditions.

[0013] Optionally, the function determination unit is further configured to: in response to the transaction participants having subjective awareness and the transaction closed-loop conditions being configured as a loop number threshold and a clause execution trigger condition, determine that the function of the target smart contract to be generated is configured to interact with the outside, execute in a loop and be conditionally controlled.

[0014] Optionally, the data determination unit is further configured to: determine the controls required for external interaction, and determine the passive trigger events and interaction interface data corresponding to the external interaction according to the events and interfaces associated with the controls.

[0015] Optionally, the contract generation unit is further configured to: call the smart contract generation template related to cash business corresponding to the blockchain platform to fill the passive trigger event and interaction interface data, loop execution condition data and condition control condition data into the corresponding placeholder positions in the smart contract generation template, thereby generating a target smart contract.

[0016] In addition, the present application also provides a business processing electronic device, including: one or more processors; a storage device for storing one or more programs, when the one or more programs are executed by one or more processors, the one or more processors implement the business processing method as described above.

[0017] In addition, the present application also provides a computer-readable medium on which a computer program is stored, and when the program is executed by a processor, the business processing method as described above is implemented.

[0018] To achieve the above objective, according to another aspect of the embodiments of the present application, a computer program product is provided.

[0019] A computer program product according to an embodiment of the present application includes a computer program, and when the program is executed by a processor, the business processing method provided by the embodiment of the present application is implemented.

[0020] One embodiment of the above invention has the following advantages or beneficial effects: the present application receives a business processing request, obtains a corresponding scenario identifier, and obtains cash business processing flow data in response to determining that the scenario identifier corresponds to a cash business; based on the cash business processing flow data, determines the function of the target smart contract to be generated; in response to the functions including external interaction, loop execution and conditional control, determines the corresponding passive trigger event and interaction interface data, loop execution condition data and conditional control condition data when interacting with the outside; generates a target smart contract based on the passive trigger event and interaction interface data, loop execution condition data and conditional control condition data; sends the target smart contract to each target approval node of the blockchain platform for approval, and after each target approval node is approved, performs cash business processing based on the target smart contract. Customized cash business processing is realized, the processing of cash business is flexibly managed, and the flexibility and efficiency of cash-related business processing are improved.

[0021] The further effects of the above-mentioned non-conventional optional manner will be described below in conjunction with the specific implementation manner. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] The accompanying drawings are used to better understand the present application and do not constitute an improper limitation on the present application.

[0023] Figure 1 is a schematic diagram of the main process of a business processing method according to an embodiment of the present application;

[0024] Figure 2 is a schematic diagram of the main process of a business processing method according to an embodiment of the present application;

[0025] Figure 3 It is a main flow chart of a business processing method according to an embodiment of the present application;

[0026] Figure 4 is a schematic diagram of main units of a service processing device according to an embodiment of the present application;

[0027] Figure 5 is an exemplary system architecture diagram to which the embodiments of the present application can be applied;

[0028] Figure 6 It is a structural diagram of a computer system of a terminal device or server suitable for implementing an embodiment of the present application. DETAILED DESCRIPTION

[0029] The following is a description of the exemplary embodiments of the present application in conjunction with the accompanying drawings, including various details of the embodiments of the present application to facilitate understanding, and they should be considered as merely exemplary. Therefore, those of ordinary skill in the art should recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the present application. Similarly, for the sake of clarity and conciseness, the description of known functions and structures is omitted in the following description. It should be noted that the acquisition, transmission, storage, use, and processing of data in the technical solution of the present application are in compliance with the relevant provisions of national laws and regulations. It should be noted that in the embodiments of the present application, certain software, components, models, and other existing solutions in the industry may be mentioned, which should be considered as exemplary, and their purpose is only to illustrate the feasibility of the implementation of the technical solution of the present application, but it does not mean that the applicant has or must have used the solution. In the technical solution of the present application, the collection, analysis, use, transmission, storage, and other aspects of the user's personal information involved are in compliance with the provisions of relevant laws and regulations, and are used for legal and reasonable purposes, and are not shared, leaked, or sold outside of these legal uses, and are subject to supervision and management by regulatory authorities. Take necessary measures to prevent illegal access to such personal information, ensure that persons with access to personal information comply with relevant laws and regulations, and ensure the security of personal information. Once such personal information is no longer needed, risks should be minimized by limiting or even prohibiting data collection and / or deleting data.

[0030] When used, including in certain related applications, user privacy is protected by de-identifying data, such as by removing specific identifiers when used, controlling the amount or specificity of data stored, controlling how data is stored, and / or other methods of de-identification.

[0031] Figure 1 is a schematic diagram of the main process of a business processing method according to an embodiment of the present application, such as Figure 1 As shown, the business processing method mainly includes the following steps S101 to S105.

[0032] Step S101, receiving a business processing request, obtaining a corresponding scenario identifier, and in response to determining that the scenario identifier corresponds to a cash business, obtaining cash business processing flow data.

[0033] In this embodiment, the execution subject of the business processing method (for example, it can be a server) can receive the business processing request by wired connection or wireless connection. After receiving the business processing request, the execution subject can obtain the scene identification carried in the request. The scene identification can be used to characterize the current business scene. The subsequent business processing logic can be called according to the business scene for business processing. When the scene identification corresponds to a cash business, the execution subject can obtain the cash business processing flow data corresponding to the cash business. It can be understood that the cash business can include multiple businesses. For example, the cash business can include deposit business, withdrawal business, loan business, remittance business and bill exchange business, etc. The embodiment of the present application does not specifically limit the cash business. The cash business processing flow corresponding to the cash business can also include multiple processes. The cash business processing flow data may include configuration data corresponding to each process node for processing the cash business. The embodiment of the present application can solve the problem that the traditional cash management business is not flexible enough, needs to be implemented by the bank end, and cannot be customized.

[0034] Step S102, based on the cash business processing flow data, determine the function of the target smart contract to be generated.

[0035] Specifically, based on the cash business processing flow data, the function of the target smart contract to be generated is determined, including: determining the transaction participants and transaction closed-loop conditions corresponding to the cash business processing flow data; and determining the function of the target smart contract to be generated based on the transaction participants and transaction closed-loop conditions.

[0036] For example, transaction participants may include physical merchants, consumers, etc. Transaction closed-loop conditions may include, for example, after a consumer conducts a cash transaction, the cash transaction result triggers a transaction end control, or the current number of cash transactions reaches a preset threshold or the cash transaction result triggers a transaction end clause. If both transaction participants and transaction closed-loop conditions exist, it can be determined that the functions of the target smart contract to be generated include external interaction, loop execution, and conditional control.

[0037] Specifically, the function of the target smart contract to be generated is determined based on the transaction participants and the transaction closed-loop conditions, including: in response to the transaction participants having subjective consciousness and the transaction closed-loop conditions including a loop count threshold and a clause execution trigger condition, the function of the target smart contract to be generated is determined to include external interaction, loop execution and conditional control.

[0038] If the transaction participants are offline users, such as buyers and sellers, it can be determined that the transaction participants have subjective consciousness and are not robots or set programs, and the conditions for cash transaction business can be met. On this basis, if the transaction closed-loop conditions (that is, the conditions for ending cash transactions) include a cycle threshold (that is, the cash business can be ended when the cycle threshold is reached) and a clause execution trigger condition (that is, the cash business can be ended immediately when the set terms are met), it can be determined that the functions of the target smart contract related to the cash business include external interaction (for example, interacting with users outside the institution to handle cash business), cyclic execution (that is, the cash business can be ended when the cycle threshold is reached) and conditional control (that is, the cash business can be ended immediately when the set terms are met).

[0039] Step S103, in response to the functions including external interaction, loop execution and conditional control, determine the passive trigger event and interaction interface data, loop execution condition data and conditional control condition data corresponding to the external interaction.

[0040] Specifically, determining the passive trigger events and interaction interface data corresponding to the external interaction includes: determining the controls required for the external interaction, and determining the passive trigger events and interaction interface data corresponding to the external interaction according to the events and interfaces associated with the controls.

[0041] The control required for interaction with the outside (i.e., users outside the organization) may be, for example, a button through which the user conducts cash transactions. The event associated with the control required for interaction with the outside may be a "confirmation" event, and the associated interface may be, for example, an interface at the location of the control required for interaction with the outside, which may be a USB interface or a Type-C interface for data transmission by the user. The passive trigger event corresponding to the interaction with the outside may be a "confirmation" event triggered by the user clicking the button corresponding to the control required for interaction with the outside. The interactive interface data may be data fixedly allowed to be transmitted by the interface at the location of the control, such as user demand data, user configuration data, and the like. For example, the interactive interface data may be video data, voice data, text data, or image data, etc.

[0042] Step S104, generating a target smart contract based on the passive trigger event and the interactive interface data, the loop execution condition data and the condition control condition data.

[0043] Specifically, generating a target smart contract includes: calling a smart contract generation template related to cash business corresponding to the blockchain platform to fill passive trigger events and interactive interface data, loop execution condition data and conditional control condition data into corresponding placeholder positions in the smart contract generation template, thereby generating a target smart contract.

[0044] In the smart contract generation template, placeholders corresponding to various data can be set, and each placeholder is annotated, and the annotation contains description data of the function of the data corresponding to the placeholder. The execution subject can match the passive trigger event and interactive interface data, loop execution condition data and conditional control condition data with the description data in the annotation corresponding to each placeholder in the smart contract generation template by semantic similarity, determine the placeholders corresponding to the passive trigger event and interactive interface data, loop execution condition data and conditional control condition data according to the semantic similarity matching results, and fill the passive trigger event and interactive interface data, loop execution condition data and conditional control condition data into the corresponding placeholder positions to generate the target smart contract, thereby improving the accuracy of the generated target smart contract.

[0045] Step S105, the target smart contract is sent to each target approval node of the blockchain platform for approval, and after each target approval node has approved it, cash business processing is performed based on the target smart contract.

[0046] Since the blockchain platform is built by banks, enterprises and regulators, the target approval nodes of the blockchain platform can include regulatory nodes and bank nodes. After all target approval nodes are approved, cash business processing is carried out based on the target smart contract. This can achieve the personalization and flexibility of cash business processing while meeting the needs of banks and regulators.

[0047] This embodiment receives a business processing request, obtains the corresponding scenario identifier, and in response to determining that the scenario identifier corresponds to a cash business, obtains cash business processing flow data; based on the cash business processing flow data, determines the function of the target smart contract to be generated; in response to the functions including external interaction, loop execution and conditional control, determines the passive trigger event and interactive interface data, loop execution condition data and conditional control corresponding to the external interaction; generates the target smart contract based on the passive trigger event and interactive interface data, loop execution condition data and conditional control condition data; sends the target smart contract to each target approval node of the blockchain platform for approval, and after each target approval node has approved, performs cash business processing based on the target smart contract. Customized cash business processing is realized, the processing of cash business is flexibly managed, and the flexibility and efficiency of cash-related business processing are improved.

[0048] Figure 2 is a main flow chart of a business processing method according to an embodiment of the present application, such as Figure 2 As shown, the business processing method mainly includes the following steps S201 to S206.

[0049] Step S201, receiving a business processing request, obtaining a corresponding scenario identifier, in response to determining that the scenario identifier corresponds to a cash business, obtaining a subject identifier corresponding to the business processing request, and determining the type of the associated cash business based on the subject identifier.

[0050] The subject identifier corresponding to the business processing request can be used to represent the number or name of the institution or individual who needs to handle cash business, or it can be used to represent the type of user who needs to handle cash business, such as a member user or an ordinary user. Different subjects can have different cash business handling permissions and limits, and the type of associated cash business is determined based on the subject identifier. The types of cash business may include: large loan business, small loan business, large remittance business, small remittance business, etc. The executing subject can determine the type of cash business associated with the subject identifier corresponding to the business processing request based on the correspondence between the preset subject identifier and the type of cash business, so as to obtain the cash business processing flow data later.

[0051] Step S202, based on the type, obtain the corresponding cash business processing flow data.

[0052] The executing entity may query the cash business handling manual according to the type of cash business to obtain the cash business processing flow data corresponding to the type of cash business.

[0053] In some embodiments, if the cash business processing flow data corresponding to the type of cash business associated with the subject identifier corresponding to the business processing request is not found in the cash business processing manual, the execution subject can summarize the various cash business processing flow data in the cash business processing manual to obtain the summary data, and match the functions that can be realized by each cash business process node in the summary data with the description data of the type of cash business associated with the subject identifier corresponding to the business processing request for semantic similarity to obtain the matching cash business processing flow nodes, and splice the various matching cash business processing flow nodes in a reasonable order to obtain the cash business processing flow data corresponding to the type of cash business associated with the subject identifier corresponding to the business processing request. Among them, the reasonable order can be in a chronological order, or can be in any order that can realize the processing of the cash business corresponding to the business processing request, and the embodiment of the present application does not specifically limit the reasonable order.

[0054] Step S203: Determine the function of the target smart contract to be generated based on the cash business processing flow data.

[0055] The execution entity can cluster the functions that can be realized by each cash business processing process node in the cash business processing process data to obtain each cluster, and determine the functions that can be realized corresponding to each cluster as the functions of the target smart contract to be generated, thereby improving the accuracy of determining the functions of the target smart contract to be generated.

[0056] Step S204, in response to the functions including external interaction, loop execution and conditional control, determine the passive trigger event and interaction interface data, loop execution condition data and conditional control condition data corresponding to the external interaction.

[0057] The control required for interaction with the outside (i.e., users outside the institution) may be, for example, an edit box, through which the user conducts cash transactions. The event associated with the control required for interaction with the outside may be an "edit box input data recognition" event, and the associated interface may be, for example, an interface at the location of the control required for interaction with the outside, which may be a USB interface or a Type-C interface for data transmission by the user. The passive trigger event corresponding to interaction with the outside may be an "edit box input data recognition" event triggered by the user clicking on the edit box corresponding to the control required for interaction with the outside to input data. The interactive interface data may be data fixedly allowed to be transmitted by the interface at the location of the control, such as user demand data, user configuration data, and the like. For example, the interactive interface data may be video data, voice data, text data, or image data, etc.

[0058] Step S205, generating a target smart contract based on the passive trigger event and the interactive interface data, the loop execution condition data and the condition control condition data.

[0059] The executing entity can call the data identification tool corresponding to the placeholder in the target smart contract template to automatically identify the data required at the placeholder and replace the corresponding placeholder with the identified data to obtain the target smart contract, thereby improving the generation rate and accuracy of the target smart contract.

[0060] Step S206: Send the target smart contract to each target approval node of the blockchain platform for approval, and after each target approval node has approved it, perform cash business processing based on the target smart contract.

[0061] Realize customized cash business processing, flexibly manage the processing of cash business, and improve the flexibility and efficiency of cash-related business processing.

[0062] Figure 3It is a main flow diagram of a business processing method according to an embodiment of the present application. First, a blockchain platform is built by banks, enterprises, and regulators. The enterprise applies for personalized cash management to the blockchain platform. If the bank approves, the enterprise can apply for regulatory certification, that is, the enterprise can submit the bank approval result through the blockchain platform, that is, submit the smart contract approved by the bank to the regulatory approval, and receive the regulatory certification result returned by the blockchain platform. If the regulatory certification is passed, the enterprise can apply for regulatory bank execution, submit the regulatory approval result to the bank through the blockchain platform, and receive the result returned by the blockchain platform, that is, return whether it is passed. If the bank passes, the enterprise can use its own customized contract for cash management. This application embodiment uses smart contracts to control cash management, which meets the flexible cash management needs of enterprises while taking into account the demand control and regulatory needs of banks. Enterprises, banks, and regulatory agencies jointly build blockchain platforms. Enterprises submit personalized smart contracts to banks for approval. If the bank approves the enterprise to submit the smart contract to regulatory approval. If the supervision submits the bank to deploy through the enterprise, after the deployment is passed, the enterprise can use smart contracts for personalized enterprise cash management. The embodiment of the present application adopts the method of smart contracts to supplement the inflexibility of traditional cash management, meet the customized needs of enterprises, and take into account the product development work and regulatory needs of banks.

[0063] Figure 4 Schematic diagram of the main units of the service processing device according to an embodiment of the present application. Figure 4 As shown, the business processing device 400 includes a receiving unit 401, a function determination unit 402, a data determination unit 403, a contract generation unit 404 and a sending unit 405.

[0064] The receiving unit 401 is configured to receive a business processing request, obtain a corresponding scenario identifier, and in response to determining that the scenario identifier corresponds to a cash business, obtain cash business processing flow data.

[0065] The function determination unit 402 is configured to determine the function of the target smart contract to be generated based on the cash business processing flow data.

[0066] The data determination unit 403 is configured to determine the passive trigger event and interaction interface data, loop execution condition data and condition control condition data corresponding to the external interaction in response to the functions including external interaction, loop execution and condition control.

[0067] The contract generation unit 404 is configured to generate a target smart contract based on the passive trigger event and the interactive interface data, the loop execution condition data and the condition control condition data.

[0068] The sending unit 405 is configured to send the target smart contract to each target approval node of the blockchain platform for approval, and after each target approval node has approved it, perform cash business processing based on the target smart contract.

[0069] In some embodiments, the receiving unit 401 is further configured to: obtain a subject identifier corresponding to the business processing request, determine the type of the associated cash business based on the subject identifier; and obtain corresponding cash business processing flow data based on the type.

[0070] In some embodiments, the function determination unit 402 is further configured to: determine the transaction participants and transaction closed-loop conditions corresponding to the cash business processing flow data; and determine the function of the target smart contract to be generated based on the transaction participants and transaction closed-loop conditions.

[0071] In some embodiments, the function determination unit 402 is further configured to: in response to the transaction participants having subjective awareness and the transaction closed-loop conditions being configured as a loop count threshold and a clause execution trigger condition, determine that the function of the target smart contract to be generated is configured to interact with the outside, execute in a loop and be conditionally controlled.

[0072] In some embodiments, the data determination unit 403 is further configured to: determine the controls required for external interaction, and determine the passive trigger events and interaction interface data corresponding to the external interaction according to the events and interfaces associated with the controls.

[0073] In some embodiments, the contract generation unit 404 is further configured to: call the smart contract generation template related to cash business corresponding to the blockchain platform to fill the passive trigger event and interaction interface data, loop execution condition data and condition control condition data into the corresponding placeholder positions in the smart contract generation template, thereby generating a target smart contract.

[0074] It should be noted that the business processing method and the business processing device of the present application have a corresponding relationship in terms of specific implementation content, so the repeated content will not be described again.

[0075] Figure 5 An exemplary system architecture 500 is shown to which the service processing method or service processing device according to the embodiment of the present application can be applied.

[0076] like Figure 5 As shown, system architecture 500 may include terminal devices 501, 502, 503, a network 504 and a server 505. Network 504 is used to provide a medium for communication links between terminal devices 501, 502, 503 and server 505. Network 504 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.

[0077] Users can use terminal devices 501, 502, 503 to interact with server 505 through network 504 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 501, 502, 503, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc. (only for example).

[0078] The terminal devices 501, 502, 503 may be various electronic devices having a service processing screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, desktop computers, and the like.

[0079] Server 505 can be a server that provides various services, such as a background management server that provides support for business processing requests submitted by users using terminal devices 501, 502, and 503 (only as an example). The background management server can receive a business processing request, obtain a corresponding scenario identifier, and in response to determining that the scenario identifier corresponds to a cash business, obtain cash business processing flow data; based on the cash business processing flow data, determine the function of the target smart contract to be generated; in response to the functions including external interaction, loop execution, and conditional control, determine the corresponding passive trigger event and interactive interface data, loop execution condition data, and conditional control condition data when interacting with the outside; based on the passive trigger event and interactive interface data, loop execution condition data, and conditional control condition data, generate a target smart contract; send the target smart contract to each target approval node of the blockchain platform for approval, and after each target approval node has been approved, perform cash business processing based on the target smart contract. Customized cash business processing is realized, the processing of cash business is flexibly managed, and the flexibility and efficiency of cash-related business processing are improved.

[0080] It should be noted that the business processing method provided in the embodiment of the present application is generally executed by the server 505 , and accordingly, the business processing device is generally set in the server 505 .

[0081] It should be understood that Figure 5 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 the implementation requirements.

[0082] Reference below Figure 6 , which shows a schematic diagram of the structure of a computer system 600 of a terminal device suitable for implementing an embodiment of the present application. Figure 6 The terminal device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0083] like Figure 6As shown, the computer system 600 includes a central processing unit (CPU) 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage part 608 into a random access memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the computer system 600 are also stored. The CPU 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.

[0084] The following components are connected to the I / O interface 605: an input section 606 including a keyboard, a mouse, etc.; an output section 607 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 608 including a hard disk, etc.; and a communication section 609 including a network interface card such as a LAN card, a modem, etc. The communication section 609 performs communication processing via a network such as the Internet. A drive 610 is also connected to the I / O interface 605 as needed. A removable medium 611, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 610 as needed, so that a computer program read therefrom is installed into the storage section 608 as needed.

[0085] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains 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 609, and / or installed from the removable medium 611. When the computer program is executed by the central processing unit (CPU) 601, the above-mentioned functions defined in the system of the present application are executed.

[0086] It should be noted that the computer-readable medium shown in the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. Computer-readable storage media may include, for example, but are not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, 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), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.

[0087] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. 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.

[0088] The units involved in the embodiments described in the present application may be implemented by software or hardware. The units described may also be set in a processor, for example, it may be described as: a processor includes a receiving unit, a function determination unit, a data determination unit, a contract generation unit and a sending unit. The names of these units do not constitute limitations on the units themselves in some cases.

[0089] As another aspect, the present application also provides a computer-readable medium, which may be included in the device described in the above embodiment; or it may exist independently without being assembled into the device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by a device, the device receives a business processing request, obtains a corresponding scenario identifier, and obtains cash business processing flow data in response to determining that the scenario identifier corresponds to a cash business; based on the cash business processing flow data, determines the function of the target smart contract to be generated; in response to the functions including external interaction, loop execution and conditional control, determines the corresponding passive trigger event and interaction interface data, loop execution condition data and conditional control condition data when interacting with the outside; based on the passive trigger event and interaction interface data, loop execution condition data and conditional control condition data, generates the target smart contract; sends the target smart contract to each target approval node of the blockchain platform for approval, and after each target approval node has approved, performs cash business processing based on the target smart contract.

[0090] The computer program product of the present application includes a computer program, and when the computer program is executed by a processor, the business processing method in the embodiment of the present application is implemented.

[0091] According to the technical solution of the embodiment of the present application, customized cash business processing can be implemented, the processing of cash business can be flexibly managed, and the flexibility and efficiency of cash-related business processing can be improved.

[0092] The above specific implementations do not constitute a limitation on the protection scope of this application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may occur depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of this application should be included in the protection scope of this application.

Claims

1. A business processing method, characterized in that: include: receiving a business processing request, obtaining a corresponding scenario identifier, and in response to determining that the scenario identifier corresponds to a cash business, obtaining cash business processing flow data; Based on the cash business processing flow data, determine the function of the target smart contract to be generated; In response to the functions including external interaction, loop execution and conditional control, determining the passive trigger event and interaction interface data, loop execution condition data and conditional control condition data corresponding to the external interaction; Generate a target smart contract based on the passive trigger event and the interactive interface data, the loop execution condition data and the condition control condition data; The target smart contract is sent to each target approval node of the blockchain platform for approval, and after each target approval node has approved it, cash business processing is performed based on the target smart contract.

2. The method according to claim 1, characterized in that The obtaining of cash business processing flow data includes: Obtaining a subject identifier corresponding to the business processing request, and determining the type of the associated cash business based on the subject identifier; Based on the types, corresponding cash business processing flow data is obtained.

3. The method according to claim 1, characterized in that: The determining, based on the cash business processing flow data, the function of the target smart contract to be generated includes: Determine the transaction participants and transaction closed-loop conditions corresponding to the cash business processing flow data; The function of the target smart contract to be generated is determined according to the transaction participants and the transaction closed-loop conditions.

4. The method according to claim 3, characterized in that The step of determining the function of the target smart contract to be generated according to the transaction participants and the transaction closed-loop conditions includes: In response to the fact that the transaction participants have subjective awareness and the transaction closed-loop conditions include a loop count threshold and a clause execution trigger condition, it is determined that the functions of the target smart contract to be generated include external interaction, loop execution and conditional control.

5. The method according to claim 1, characterized in that The determining of the passive triggering event and the interaction interface data corresponding to the external interaction includes: Determine the controls required for external interaction, and determine the passive trigger events and interaction interface data corresponding to the external interaction according to the events and interfaces associated with the controls.

6. The method according to claim 1, characterized in that The generating of the target smart contract comprises: Call the smart contract generation template related to cash business corresponding to the blockchain platform to fill the passive trigger event and interaction interface data, the loop execution condition data and the conditional control condition data into the corresponding placeholder positions in the smart contract generation template, thereby generating a target smart contract.

7. A service processing device, characterized in that: include: A receiving unit configured to receive a business processing request, obtain a corresponding scenario identifier, and in response to determining that the scenario identifier corresponds to a cash business, obtain cash business processing flow data; A function determination unit, configured to determine the function of a target smart contract to be generated based on the cash business processing flow data; A data determination unit, configured to determine a passive trigger event and interaction interface data, loop execution condition data and condition control condition data corresponding to the interaction with the outside in response to the functions including interaction with the outside, loop execution and condition control; A contract generation unit, configured to generate a target smart contract based on the passive trigger event and the interactive interface data, the loop execution condition data and the condition data of the conditional control; The sending unit is configured to send the target smart contract to each target approval node of the blockchain platform for approval, and after each target approval node has approved it, perform cash business processing based on the target smart contract.

8. The device according to claim 7, characterized in that The receiving unit is further configured to: Obtaining a subject identifier corresponding to the business processing request, and determining the type of the associated cash business based on the subject identifier; Based on the types, corresponding cash business processing flow data is obtained.

9. The device according to claim 7, characterized in that The function determination unit is further configured to: Determine the transaction participants and transaction closed-loop conditions corresponding to the cash business processing flow data; The function of the target smart contract to be generated is determined according to the transaction participants and the transaction closed-loop conditions.

10. The device according to claim 9, characterized in that The function determination unit is further configured to: In response to the fact that the transaction participants have subjective awareness and the transaction closed-loop conditions are configured as a loop number threshold and a clause execution trigger condition, it is determined that the function of the target smart contract to be generated is configured to interact with the outside, execute in a loop and be conditionally controlled.

11. The device according to claim 7, characterized in that The data determination unit is further configured to: Determine the controls required for external interaction, and determine the passive trigger events and interaction interface data corresponding to the external interaction according to the events and interfaces associated with the controls.

12. The device according to claim 7, characterized in that The contract generation unit is further configured to: Call the smart contract generation template related to cash business corresponding to the blockchain platform to fill the passive trigger event and interaction interface data, the loop execution condition data and the conditional control condition data into the corresponding placeholder positions in the smart contract generation template, thereby generating a target smart contract.

13. A business processing electronic device, characterized in that: include: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 6.

14. A computer readable medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.

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