Business process configuration method, data processing method and device
Through the business process configuration method, candidate components are obtained and sorted, the target business process is established and the upstream and downstream channels are connected, which solves the problem of repeated development of advance payment scenarios in the existing technology and realizes flexible business process expansion and efficient resource transfer.
Patent Information
- Application Number
- CN202110260741.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-03-10
- Publication Date
- 2025-09-23
- Estimated Expiration
- 2041-03-10
Smart Images

Figure CN115081998B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and in particular to a business process configuration method, a data processing method and a device. Background Art
[0002] In the current information age, more and more offline scenarios are being moved online. However, in existing technologies, the processing procedures corresponding to each business line need to be developed and maintained separately, and new development and transformation are required as long as there are new business scenarios.
[0003] Take the advance payment scenarios of different businesses as an example: many application scenarios that require the use of advance payment services require the development and maintenance of their own set of advance payment functions, which involves repetitive workload and poor scalability. They also require connection to bank and financial-related system channels, resulting in high costs for joint debugging and maintenance.
[0004] Currently, each business line develops and maintains its own set of functions for advance funding scenarios. Each time a new bank (advance funding bank) is connected and new funds flow requirements are added, modifications and upgrades are required. Furthermore, each business line repeatedly interfaces with the same advance funding bank. Because each business line's advance funding scenarios and funds flows differ, each business line focuses on its own processes. New business scenarios require new development and modifications, and repeated integration with banks and financial settlement scenarios is required.
[0005] Currently, no effective solutions have been provided for many technical problems existing in related technologies. Summary of the Invention
[0006] In order to solve the above technical problems or at least partially solve the above technical problems, the present application provides a business process configuration method, a data processing method and an apparatus.
[0007] In a first aspect, an embodiment of the present application provides a business process configuration method, including:
[0008] determining a target component selected by the target object from among the candidate components by obtaining a selection operation of the target object on the candidate components, wherein different combinations of the candidate components are used to transfer virtual resources with different resource providers;
[0009] Determining sorting information of each target component by obtaining a sorting operation performed by the target object on each target component, wherein the sorting information is used to indicate an execution order of each target component;
[0010] The target components are connected according to the sorting information to obtain a target business process.
[0011] Optionally, as in the aforementioned method, after connecting the target components according to the sorting information to obtain the target business process, the method further includes:
[0012] Determine the upstream channel and / or downstream channel that the target business process needs to connect to;
[0013] Establish a connection between the upstream docking component in the target business process and the upstream channel, and / or establish a connection between the downstream docking component in the target business process and the downstream channel, wherein the upstream docking component is the target component in the target business process used to dock with the upstream system through the upstream channel, and the downstream docking component is the target component in the target business process used to dock with the downstream system through the downstream channel.
[0014] Optionally, as in the aforementioned method, after connecting the target components according to the sorting information to obtain the target business process, the method further includes:
[0015] Determine the component code that is uniquely corresponding to each target component;
[0016] Writing the component codes into a preset data table in order according to the sorting information to obtain a target data table corresponding to the target business process;
[0017] Determine the business process code corresponding to the target business process;
[0018] determining an upstream channel coding of the upstream channel and / or a downstream channel coding of the downstream channel;
[0019] Combining the upstream channel code and / or the downstream channel code and the service process code to obtain a scene code;
[0020] A correspondence between the scene code and the target data table is established.
[0021] In a second aspect, an embodiment of the present application provides a business process data processing method, including:
[0022] Obtaining input parameters for inputting a target business process and a scenario code of the target business process;
[0023] Query and obtain the target business process corresponding to the scenario code;
[0024] The input parameters are input into the target component of the target business process for connecting to the upstream system through the upstream channel. After each target component in the target business process performs a processing operation, the output parameters output by the target component for connecting to the downstream system through the downstream channel are obtained; the target business process includes at least two target components that are interconnected according to sorting information, and the input parameters of the latter target component are the output parameters of the former target component; the target component is used to transfer virtual resources.
[0025] Optionally, as in the aforementioned method, the querying to obtain the target business process corresponding to the scenario code includes:
[0026] Query and obtain a target data table corresponding to the scene code;
[0027] Determine the sorting information corresponding to each target component code in the target data table;
[0028] Query and obtain the target components corresponding to the target component codes;
[0029] The target business process is obtained by connecting the target components according to the sorting information.
[0030] Optionally, as in the aforementioned method, when the input parameter includes a virtual resource request code and the target component is a virtual resource order splitting component, the target component performs a processing operation including:
[0031] According to the virtual resource request code, querying in a database to obtain corresponding virtual resource request information;
[0032] Querying the virtual resource request information to obtain the virtual resource request quantity;
[0033] Determining the downstream channel to be connected to the target business process according to the downstream channel code in the scenario code;
[0034] Obtaining the total available amount of virtual resources according to the available amount of virtual resources that can be provided by the provider corresponding to each downstream channel;
[0035] When the total available amount of virtual resources is greater than the requested amount of virtual resources, the requested components of the virtual resources requested from each provider are determined according to a preset strategy, and a corresponding relationship between the requested components and the providers is obtained.
[0036] Optionally, as in the aforementioned method, when the virtual resource order splitting target component is further connected to a virtual resource request component and a virtual resource settlement component that are connected in sequence, the target component performs a processing operation including:
[0037] The virtual resource request component generates a virtual resource request corresponding to the provider according to the corresponding relationship; sends the virtual resource request to the provider through the downstream channel encoding corresponding downstream channel of the provider; and obtains execution result information returned by the provider after performing the corresponding operation according to the virtual resource request;
[0038] The virtual resource settlement component obtains the execution result information, and generates confirmation information that the virtual resource has been transferred to the account corresponding to the target business process when the execution result information indicates that the provider has completed the virtual resource transfer according to the virtual resource request.
[0039] In a third aspect, an embodiment of the present application provides a business process configuration device, including:
[0040] a target component determination module, configured to determine a target component selected by the target object from among the candidate components by obtaining a selection operation of the target object on the candidate components, wherein different combinations of the candidate components are used to transfer virtual resources with different resource providers;
[0041] a sorting information determining module, configured to determine sorting information of each target component by obtaining a sorting operation performed by the target object on each target component, wherein the sorting information is used to indicate an execution order of each target component;
[0042] A connection module is used to connect the target components according to the sorting information to obtain a target business process.
[0043] In a fourth aspect, an embodiment of the present application provides a business process data processing device, including:
[0044] An acquisition module, configured to acquire input parameters for inputting a target business process and a scenario code of the target business process;
[0045] A query module, configured to query and obtain a target business process corresponding to the scenario code;
[0046] A processing module is used to input the input parameters into the target component in the target business process for connecting to the upstream system through the upstream channel, and obtain the output parameters output by the target component for connecting to the downstream system through the downstream channel after each target component in the target business process performs the processing operation; the target business process includes at least two target components connected to each other according to sorting information, the input parameters of the latter target component are the output parameters of the former target component, wherein different combinations of the target components are used to transfer virtual resources with different resource providers.
[0047] In a fifth aspect, an embodiment of the present application provides an electronic device, comprising: a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other via the communication bus;
[0048] The memory is used to store computer programs;
[0049] The processor is configured to implement any of the aforementioned methods when executing the computer program.
[0050] In a sixth aspect, an embodiment of the present application provides a storage medium, which includes a stored program, wherein the program executes the method described in any of the preceding items when running.
[0051] The above technical solution provided by the embodiment of the present application has the following advantages compared with the prior art:
[0052] The method provided in the embodiment of the present application can flexibly configure workflows, without the need to redevelop a new set of workflows every time an expansion is performed. It has strong reusability, greatly reduces the implementation cost of workflow establishment, and can effectively improve the efficiency of workflow construction. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0054] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0055] Figure 1 A flowchart of a business process configuration method provided in an embodiment of the present application;
[0056] Figure 2 A flowchart of a method for processing business process data provided in an embodiment of the present application;
[0057] Figure 3 A block diagram of a business process configuration device provided in an embodiment of the present application;
[0058] Figure 4 A block diagram of a business process data processing device provided in an embodiment of the present application;
[0059] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0060] To make the purpose, technical solutions, and advantages of the embodiments of this application more clear, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0061] Figure 1 A business process configuration method provided in an embodiment of the present application includes steps S1 to S3 as follows:
[0062] Step S1 : determining the target component selected by the target object from the candidate components by obtaining the target object's selection operation on the candidate components, wherein different combinations of the candidate components are used to transfer virtual resources with different resource providers.
[0063] Specifically, the candidate component may be a component that can process received data and output a result. Alternatively, the candidate component may be a component that is visual and can be represented by a specific shape.
[0064] The target component is the component selected by the target object (ie, the user) among all candidate components.
[0065] The target object can be selected by clicking on the candidate component on the interactive interface or by dragging the candidate component from the first area to the second area. The interactive interface refers to the page where users can perform operations such as dragging and editing, and components can be moved and connected on this page.
[0066] Step S2: determining the sorting information of each target component by obtaining the sorting operation performed by the target object on each target component, wherein the sorting information is used to indicate the execution order of each target component.
[0067] Specifically, a sorting operation is an operation of sorting target components of a target object. For example, the execution order of the target components can be determined by numbering the target components or connecting them with lines or arrows. In general, the input data of two adjacent target components is the output data after processing by the previous target component.
[0068] In one optional implementation, after dragging the target component to the second area, each target component can be connected by an arrow line, and the arrow line can start from the starting position (located in the starting target component) and display an arrow mark at the ending position (located in the ending target component) to represent the direction of data flow between the two target components.
[0069] Step S3: Connect the target components according to the sorting information to obtain the target business process.
[0070] Specifically, after obtaining the sorting information, the direction of the data flow between the target components can be determined, and the purpose of connecting the target components can be achieved by establishing data channels between the target components, and then the target business process obtained by connecting the target components can be obtained.
[0071] In addition, when applied to electronic financial scenarios such as advance payment, the advance payment type can also be set, for example: support T+0.5, T+1, etc. (T+1 means obtaining advance payment on the same day and repaying it the next day; T+0.5 is half a day, obtaining advance payment in the morning and repaying it in the afternoon, and repaying it the next day in the afternoon); and after the setting is completed, it generates information to be transmitted for sending to the downstream system corresponding to the downstream channel (for example: applying for advance payment supporting T+0.5, applying for advance payment supporting T+1), so that the downstream system (for example: the system of Bank A) can judge whether the advance payment requirements are met based on the information to be transmitted, and whether to advance payment according to the requirements in the information to be transmitted.
[0072] Through the method in this embodiment, the workflow can be flexibly configured without having to redevelop a new set of workflows every time an expansion is performed. It has strong reusability, greatly reduces the implementation cost of workflow establishment, and can effectively improve the efficiency of workflow construction.
[0073] In some embodiments, as in the aforementioned method, after connecting the target components according to the sorting information in step S3 to obtain the target business process, the method further includes steps S4 and S5 as follows:
[0074] Step S4: Determine the upstream channel and / or downstream channel that the target business process needs to connect to.
[0075] Specifically, when the target business process is the advance payment process, the upstream channel is generally the channel of each business line, and the downstream channel is the channel of each bank.
[0076] That is, each business line needs to send a request for advance payment to the bank through the target business process established in this embodiment.
[0077] Step S5, establish a connection between the upstream docking component in the target business process and the upstream channel, and / or establish a connection between the downstream docking component in the target business process and the downstream channel; the upstream docking component is the target component in the target business process used to dock with the upstream system through the upstream channel, and the downstream docking component is the target component in the target business process used to dock with the downstream system through the downstream channel.
[0078] Specifically, generally, the target business process includes multiple components, and the components in the target business process are interconnected according to the aforementioned sorting information. Since it is necessary to connect to other systems, it is necessary to enable a certain component to obtain upstream data, so the upstream docking component is connected to the upstream channel; further, the downstream docking component may include one or more, so as to output different results through different downstream docking components, or to connect with different downstream systems (obtain data or output data); further, a downstream docking component can be connected to one or more downstream channels to obtain the required data from different downstream systems.
[0079] For example, establishing a connection between an upstream docking component and an upstream channel can be achieved by establishing a connection between an input interface of the upstream docking component and the upstream channel; similarly, establishing a connection between a downstream docking component and a downstream channel can be achieved by establishing a connection between an input interface of the downstream docking component and the downstream channel.
[0080] In some embodiments, as in the aforementioned method, after connecting the target components according to the sorting information in step S3 to obtain the target business process, the method further includes steps A1 to A6 as follows:
[0081] Step A1: Determine the component code that is uniquely corresponding to each target component.
[0082] Specifically, each candidate component has a corresponding component code, and different candidate components have different component codes, so each target component also has a unique corresponding component code.
[0083] In one optional implementation, the component code can be obtained by combining one or more characters, for example: 0001, 0002, etc.
[0084] Step A2: Write the component codes into a preset data table in order according to the sorting information to obtain a target data table corresponding to the target business process.
[0085] Specifically, since the order between different target components can be determined according to different sorting information, after obtaining the component code, the component codes can be sorted according to the sorting information, and the component codes can be written into the preset data table according to the sorting information to obtain the target data table. Optionally, each data table can correspond to a target business process, or multiple different business processes can be written in one data table.
[0086] Step A3: Determine the business process code corresponding to the target business process.
[0087] Specifically, the business process code may be a code that uniquely corresponds to the target business process; and the business process codes of different business processes are different.
[0088] Step A4: determining an upstream channel code of the upstream channel and / or a downstream channel code of the downstream channel.
[0089] Specifically, the upstream channel code may be a code uniquely corresponding to the upstream channel; and the upstream channel codes of different upstream channels are different.
[0090] The downstream channel code may be a code uniquely corresponding to the downstream channel; and the downstream channel codes may be different between different downstream channels.
[0091] Step A5: Combine the upstream channel code and / or the downstream channel code and the service process code to obtain a scene code.
[0092] Specifically, the upstream channel code and / or the downstream channel code and the business process code may be combined in a connected manner to obtain the scene code.
[0093] For example, when a target business process is connected to both the upstream channel and the downstream channel, and the upstream channel code is SY001, the downstream channel code is SX001, and the business process code is LC100, it can be combined in the order of upstream channel code-business process code-downstream channel code, and the resulting scenario code is SY001-LC100-SX001.
[0094] Step A6: Establishing a correspondence between the scene code and the target data table.
[0095] Specifically, when each target data table corresponds to a target business process, the scenario code can be saved as the file name of the target data table to establish a correspondence between the scenario code and the target data table; when multiple business processes are stored in each target data table, the scenario code can be used as the title of the target data table to establish a correspondence between the scenario code and the target data table.
[0096] Furthermore, through the method in this embodiment, the target data table can be saved quickly. At the same time, there is no need to save the complete data of the target business process. It is only necessary to save the scenario code of the target business process. The target components in the target business and the connected upstream channels and downstream channels can be determined through the scenario code, thereby reducing the occupancy of storage resources in the server.
[0097] Furthermore, after obtaining the scenario code, and when applying this embodiment to electronic financial scenarios such as advance payment, the virtual resources requested by the bank (ie, the downstream system) can be accurately transferred to the destination account corresponding to the business line (ie, the upstream system).
[0098] like Figure 2 As shown, according to an embodiment of another aspect of the present application, a business process data processing method is further provided, comprising steps B1 to B3 as follows:
[0099] Step B1: Acquire input parameters for inputting a target business process and a scenario code of the target business process.
[0100] Specifically, the input parameters may be data input by the upstream business line to which the target business process is connected, and the scenario code of the target business process may be the code of the business process bound to the upstream business line.
[0101] Step B2: query and obtain the target business process corresponding to the scenario code;
[0102] Specifically, as can be seen from the aforementioned embodiments, there can be a corresponding relationship between the scene code and the target data table, and since the target component codes of the target components in the target business process and the sorting information between each target component are stored in the target data table, the corresponding target business process can be obtained based on the scene code query.
[0103] In some optional implementations, step B2 of querying and obtaining a target business process corresponding to the scene code includes steps B21 to B24 as follows:
[0104] Step B21: query and obtain the target data table corresponding to the scene code.
[0105] Specifically, since there is a preset correspondence between the scene code and the target data table, the scene code can be used as a query field to query in the database storing the target data table, and the target data table corresponding to the scene code can be queried.
[0106] Step B22: Determine the sorting information corresponding to each target component code in the target data table.
[0107] Specifically, it can be seen from the aforementioned embodiments that in the target data, the codes of the various target components are stored in sequence, and therefore the sorting information corresponding to the codes of the various target components can be obtained based on the target data table.
[0108] Step B23, query and obtain the target components corresponding to each target component code.
[0109] Specifically, the target component may be stored in a specific location, and each candidate component may be encoded in advance to obtain a component code of each candidate component; therefore, the corresponding target component may be obtained by querying the target component code.
[0110] Step B24: Connect the target components according to the sorting information to obtain the target business process.
[0111] Specifically, after obtaining the target components, the target components can be connected according to the sorting information to restore the target business process pre-built by the target object.
[0112] Through the method in this embodiment, the target business process can be restored according to the scenario coding without saving the complete code of the target business process, thereby reducing the occupancy of storage resources in the server.
[0113] Step B3, inputting input parameters into the target component of the target business process for docking with the upstream system through the upstream channel, obtaining output parameters output by the target component for docking with the downstream system through the downstream channel after each target component in the target business process performs processing operations; the target business process includes at least two target components interconnected according to sorting information, the input parameters of the latter target component are the output parameters of the former target component, wherein different combinations of target components are used to transfer virtual resources with different resource providers.
[0114] Specifically, since the upstream docking component is the component that connects to the upstream system, in order to input parameters into the target business process, the input parameters must be entered into the upstream docking component. Since a business process may include multiple process branches, there may be multiple downstream docking components, and the output parameter type will also vary based on the output of the downstream docking component. For two connected target components, the input parameters of the latter target component are the output parameters of the former target component, allowing the latter target component to continue data processing based on the input data processed by the former target component.
[0115] In some embodiments, as in the aforementioned method, when the input parameters include a virtual resource request code and the target component is a virtual resource order splitting component, the target component performs processing operations in step B3, including steps B311 to B315 as follows:
[0116] Step B311, according to the virtual resource request code, query the database to obtain the corresponding virtual resource request information;
[0117] Specifically, the virtual resource request code may be a code used to uniquely represent the virtual resource request information; optionally, a virtual resource request code may be generated when the virtual resource request information is established.
[0118] The virtual resource request information may include, but is not limited to: the quantity of the required virtual resources.
[0119] That is, after obtaining the virtual resource request code from the upstream system, the virtual resource splitting target component searches the database according to the virtual resource request code and obtains the corresponding virtual resource request information.
[0120] Step B312: Query and obtain the virtual resource request quantity in the virtual resource request information.
[0121] Specifically, the virtual resource request quantity may be the quantity of virtual resources required to be requested from the downstream system as defined in the virtual resource request information.
[0122] That is, the virtual resource request information includes the quantity of required virtual resources. Therefore, the virtual resource request quantity can be obtained by querying the virtual resource request information.
[0123] Step B313: Determine the downstream channel to be connected to the target business process according to the downstream channel code in the scene code.
[0124] Specifically, as can be seen from the aforementioned embodiments, the scene code includes the downstream channel code, and each downstream channel code uniquely points to a downstream channel. Therefore, the downstream channel to which the target business process is connected can be determined based on the downstream channel code in the scene code.
[0125] Step B314: Obtain the total available amount of virtual resources according to the available amount of virtual resources that can be provided by the provider corresponding to each downstream channel.
[0126] Specifically, each downstream channel corresponds to a provider, which can lend virtual resources to others and requires the recipient to return them within a preset time.
[0127] The available quantity of virtual resources is the number of virtual resources that each provider can provide at the current time. For example, if a provider can provide a total of 100 million virtual resources and has provided 70 million virtual resources at the current time, the available quantity of virtual resources at the current time is 30 million.
[0128] The total available virtual resources is the total number of virtual resources that each provider can provide at the current time. For example, if Provider I has 30 million available virtual resources, Provider II has 30 million available virtual resources, and Provider III has 40 million available virtual resources, the total available virtual resources is 100 million.
[0129] Step B315: When the total available amount of virtual resources is greater than the requested amount of virtual resources, the requested components of the virtual resources requested from each provider are determined according to a preset policy, and a corresponding relationship between the requested components and the providers is obtained.
[0130] Specifically, the preset policy is: when the total available amount of virtual resources is greater than the requested number of virtual resources requested by the front end, a policy is to request virtual resources from various providers according to the requested number of virtual resources.
[0131] The request component is: a portion of the requested quantity of virtual resources that each provider needs to provide under the allocation of a preset policy.
[0132] After obtaining the request components of the virtual resources requested by each provider, a correspondence between the request components and the providers may be established, for example, by writing the request components and the providers into a data table.
[0133] For example, when this embodiment is applied to the advance payment order splitting process, the specific implementation method is as follows:
[0134] ①According to the payment request number (i.e., virtual resource request code), obtain the master payment request information (i.e., virtual resource request information);
[0135] ② Save request records;
[0136] ③ Based on the bank channel code (i.e., downstream channel code), query all corresponding settlement card information (i.e., available quantity of virtual resources). Verify the total amount (i.e., total available virtual resources) to see if it meets the current payment request amount (i.e., requested quantity of virtual resources). If so, proceed. Otherwise, update the request record and return a failure result, ending the order splitting process.
[0137] ④ Query the advance payment bank list based on the bank channel code, then group the bank list by priority, and then traverse by priority (for example: 1->{Bank 1, Bank 2}, 2->{Bank 3});
[0138] ⑤ Traversing priority levels: The request amount is approximately split based on the number of banks corresponding to each priority level (for example, for priority 1, a request amount of 1 billion is split into 500 million each for Bank 1 and Bank 2. If there is a remainder, it is added to Bank 1 by default);
[0139] ⑥Traverse banks: Determine whether there is any balance on the settlement card of the current bank. If there is no balance, remove the bank from the list of banks corresponding to that priority. The next recursive split will only split the amount among the remaining banks. Once all available credit limits of banks with the same priority have been used and there is still a balance for the requested payment, return to step ⑤ and traverse the next priority list (the list with priority 2).
[0140] ⑦ Traverse the settlement cards: Based on the amount split to the bank, traverse and use each settlement card, and then split it according to the split amount not exceeding 10 million (if the current settlement card limit is less than the split amount, directly generate a sub-order based on the remaining card limit). Store it in the split order set and deduct the remaining amount in real time. After traversing and using all settlement cards, return to ⑥ and continue traversing the next bank until the split amount of the request for payment is 0 or the remaining amount does not change, then terminate;
[0141] ⑧ Check whether the total amount of the sub-orders after splitting is equal to the payment request amount. If so, the split is successful; otherwise, it fails.
[0142] ⑨ The split sub-order list will be put into storage, and the available credit limit of the settlement card will be reduced according to the sub-order list. If the sub-order list is successfully put into storage, the entire order splitting is completed.
[0143] In some embodiments, as in the aforementioned method, when the virtual resource order splitting target component is further connected to a virtual resource request component and a virtual resource settlement component that are connected in sequence, the target component in step S3 performs processing operations, including the following steps S32 and S33:
[0144] In step S32, the virtual resource request component generates a virtual resource request corresponding to the provider according to the corresponding relationship; sends the virtual resource request to the provider through the downstream channel encoding corresponding to the provider's downstream channel; and obtains the execution result information returned by the provider after performing the corresponding operation according to the virtual resource request.
[0145] Specifically, the virtual resource request component can generate a virtual resource request for requesting virtual resources from the provider based on the correspondence between the request component and the provider, and each provider needs to generate a virtual resource request; then the virtual resource request is sent to the provider through the downstream channel corresponding to the provider's downstream channel encoding; after the provider performs an operation according to the virtual resource request, the provider will generate execution result information based on the execution result and feedback it to the virtual resource request component.
[0146] Step S33 , the virtual resource settlement component obtains execution result information, and generates confirmation information that the virtual resource has been transferred to the account corresponding to the target business process when the execution result information indicates that the provider completes the virtual resource transfer according to the virtual resource request.
[0147] Specifically, after obtaining the execution result information, the virtual resource request component sends the execution result information indicating that the provider has completed the virtual resource transfer according to the virtual resource request to the virtual resource settlement target component. The virtual resource settlement component can be connected to the financial settlement system and send the execution result to the financial settlement system so that the financial settlement system generates confirmation information that the virtual resources have been transferred to the account corresponding to the target business process and records the execution result.
[0148] Furthermore, when virtual resources need to pass through multiple nodes in a certain link before being forwarded to the account corresponding to the target business process, a virtual resource transfer component can be set up. The virtual resource transfer component can pre-set an account for the docking provider, as well as the accounts corresponding to each node in the link, and the account corresponding to the target business process at the final node. Therefore, the account corresponding to the target business process can finally receive the virtual resources through the virtual resource transfer component. It can also include a summary component for obtaining confirmation information from the virtual resource settlement component, determining whether each virtual resource request is completed, and generating a virtual resource request result; based on the virtual resource request result, the virtual resource request information is updated to determine whether all virtual resource requests are completed, some virtual resource requests, or no requests are completed.
[0149] Furthermore, when virtual resources need to be returned, the following process can be completed through the virtual resource return component: the virtual resource return component receives the return certificate sent by the upstream business system after transferring the virtual resources to the account designated by the settlement system, and sends the return certificate to the settlement system. After the settlement system confirms that the virtual resources have been received and returns the virtual resources to the provider, it generates information that the virtual resources have been returned.
[0150] like Figure 3 As shown, according to an embodiment of another aspect of the present application, a business process configuration device is also provided, including:
[0151] A target component determination module 11 is configured to determine a target component selected by the target object from the candidate components by obtaining a selection operation of the target object on the candidate components, wherein different combinations of the candidate components are used to transfer virtual resources with different resource providers;
[0152] A sorting information determining module 12 is configured to determine sorting information of each target component by obtaining a sorting operation performed by a target object on each target component, wherein the sorting information is used to indicate an execution order of each target component;
[0153] The connection module 13 is used to connect the target components according to the sorting information to obtain the target business process.
[0154] Specifically, the specific process of each module in the device of the embodiment of the present invention realizing its function can be referred to the relevant description in the method embodiment, which will not be repeated here.
[0155] like Figure 4 As shown, according to an embodiment of another aspect of the present application, a business process data processing device is further provided, including:
[0156] An acquisition module 21 is used to acquire input parameters and scenario codes for inputting a target business process;
[0157] A query module 22 is used to query and obtain a target business process corresponding to the scenario code;
[0158] The processing module 23 is used to input the input parameters into the upstream docking component of the target business process, and obtain the output parameters output by the downstream docking component after each component in the target business process performs the processing operation; the target business process includes at least two components interconnected according to sorting information, and the input parameters of the latter component are the output parameters of the former component, wherein different combinations of target components are used to transfer virtual resources with different resource providers.
[0159] Specifically, the specific process of each module in the device of the embodiment of the present invention realizing its function can be referred to the relevant description in the method embodiment, which will not be repeated here.
[0160] According to another embodiment of the present application, there is also provided an electronic device, including: Figure 5 As shown, the electronic device may include: a processor 1501 , a communication interface 1502 , a memory 1503 and a communication bus 1504 , wherein the processor 1501 , the communication interface 1502 , and the memory 1503 communicate with each other via the communication bus 1504 .
[0161] Memory 1503, used for storing computer programs;
[0162] The processor 1501 is configured to implement the steps of the above method embodiment when executing the program stored in the memory 1503 .
[0163] The bus mentioned in the electronic device mentioned above may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. This bus can be divided into address buses, data buses, control buses, etc. For ease of illustration, only one thick line is used in the figure, but this does not mean that there is only one bus or only one type of bus.
[0164] The communication channel is used for communication between the above electronic devices and other devices.
[0165] The memory may include random access memory (RAM) or non-volatile memory (NVM), such as at least one disk storage. Alternatively, the memory may be at least one storage device located away from the processor.
[0166] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, and discrete hardware components.
[0167] An embodiment of the present application further provides a storage medium, which includes a stored program, wherein the method steps of the above method embodiment are executed when the program is run.
[0168] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or device comprising the element.
[0169] The foregoing description is intended only to provide specific embodiments of the present invention, which will enable those skilled in the art to understand and implement the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention is not intended to be limited to the embodiments shown herein, but is intended to be accorded the widest scope consistent with the principles and novel features claimed herein.
Claims
1. A business process configuration method, characterized in that: include: By obtaining the target object's selection operation on candidate components, determining the target component selected by the target object from the candidate components, wherein different combinations of the candidate components are used to transfer virtual resources with different resource providers; the candidate components are components that can process received data and output results; Determining sorting information of each target component by obtaining a sorting operation performed by the target object on each target component, wherein the sorting information is used to indicate an execution order of each target component; The target components are connected according to the sorting information to obtain a target business process; wherein, the target components in the target business process include a docking component, and the docking component is at least one of an upstream docking component or a downstream docking component. By establishing a connection between the docking component and different upstream channels and / or downstream channels, the target business process is docked to the corresponding upstream system and / or downstream system.
2. The method according to claim 1, characterized in that After connecting the target components according to the sorting information to obtain a target business process, the method further includes: Determine the upstream channel and / or downstream channel that the target business process needs to connect to; Establish a connection between the upstream docking component in the target business process and the upstream channel, and / or establish a connection between the downstream docking component in the target business process and the downstream channel, wherein the upstream docking component is the target component in the target business process used to dock with the upstream system through the upstream channel, and the downstream docking component is the target component in the target business process used to dock with the downstream system through the downstream channel.
3. The method according to claim 2, characterized in that After connecting the target components according to the sorting information to obtain a target business process, the method further includes: Determine the component code that is uniquely corresponding to each target component; Writing the component codes into a preset data table in order according to the sorting information to obtain a target data table corresponding to the target business process; Determine the business process code corresponding to the target business process; determining an upstream channel coding of the upstream channel and / or a downstream channel coding of the downstream channel; Combining the upstream channel code and / or the downstream channel code and the service process code to obtain a scene code; A correspondence between the scene code and the target data table is established.
4. A business process data processing method, characterized in that: include: Obtaining input parameters for inputting a target business process and a scenario code of the target business process; The query obtains a target business process corresponding to the scenario code; wherein the target business process includes at least two target components interconnected according to sorting information, and the input parameter of the latter target component is the output parameter of the former target component; wherein different combinations of the target components are used to transfer virtual resources with different resource providers; wherein the target component includes a docking component, and the docking component is at least one of an upstream docking component and a downstream docking component, and by establishing a connection between the docking component and different upstream channels and / or downstream channels, the target business process is docked to the corresponding upstream system and / or downstream system; The input parameters are input into the upstream docking component of the target business process for docking with the upstream system through the upstream channel. After each target component in the target business process performs a processing operation, the output parameters output by the downstream docking component for docking with the downstream system through the downstream channel are obtained.
5. The method according to claim 4, characterized in that The query obtains a target business process corresponding to the scenario code, including: Query and obtain a target data table corresponding to the scene code; Determine the sorting information corresponding to each target component code in the target data table; Query and obtain the target components corresponding to the target component codes; The target business process is obtained by connecting the target components according to the sorting information.
6. The method according to claim 4, characterized in that When the input parameter includes a virtual resource request code and the target component is a virtual resource order splitting component, the target component performs a processing operation including: According to the virtual resource request code, querying in a database to obtain corresponding virtual resource request information; Querying the virtual resource request information to obtain the virtual resource request quantity; Determining the downstream channel to be connected to the target business process according to the downstream channel code in the scenario code; Obtaining the total available amount of virtual resources according to the available amount of virtual resources that can be provided by the provider corresponding to each downstream channel; When the total available amount of virtual resources is greater than the requested amount of virtual resources, the requested components of the virtual resources requested from each provider are determined according to a preset strategy, and a corresponding relationship between the requested components and the providers is obtained.
7. The method according to claim 6, characterized in that When the virtual resource order splitting target component is further connected to a virtual resource request component and a virtual resource settlement component that are connected in sequence, the target component performs a processing operation including: The virtual resource request component generates a virtual resource request corresponding to the provider according to the corresponding relationship; sends the virtual resource request to the provider through the downstream channel encoding corresponding downstream channel of the provider; and obtains execution result information returned by the provider after performing the corresponding operation according to the virtual resource request; The virtual resource settlement component obtains the execution result information, and generates confirmation information that the virtual resource has been transferred to the account corresponding to the target business process when the execution result information indicates that the provider has completed the virtual resource transfer according to the virtual resource request.
8. A business process configuration device, characterized in that: include: a target component determination module, configured to determine a target component selected by the target object from among the candidate components by obtaining the target object's selection operation on the candidate components, wherein different combinations of candidate components are used to transfer virtual resources with different resource providers; the candidate components are components capable of processing received data and outputting results; a sorting information determining module, configured to determine sorting information of each target component by obtaining a sorting operation performed by the target object on each target component, wherein the sorting information is used to indicate an execution order of each target component; A connection module is used to connect the target components according to the sorting information to obtain a target business process; wherein, the target components in the target business process include a docking component, and the docking component is at least one of an upstream docking component or a downstream docking component. By establishing a connection between the docking component and different upstream channels and / or downstream channels, the target business process is docked to the corresponding upstream system and / or downstream system.
9. A business process data processing device, characterized in that: include: An acquisition module, configured to acquire input parameters for inputting a target business process and a scenario code of the target business process; A query module, configured to query and obtain a target business process corresponding to the scenario code; wherein the target business process includes at least two target components interconnected according to sorting information, and the input parameter of the latter target component is the output parameter of the former target component; wherein different combinations of the target components are used to transfer virtual resources with different resource providers; wherein the target component includes a docking component, which is at least one of an upstream docking component and a downstream docking component, and by establishing connections between the docking component and different upstream channels and / or downstream channels, the target business process is docked to the corresponding upstream system and / or downstream system; A processing module is used to input the input parameters into the upstream docking component in the target business process for docking with the upstream system through the upstream channel, and after each target component in the target business process performs a processing operation, obtain the output parameters output by the downstream docking component for docking with the downstream system through the downstream channel.
10. An electronic device, characterized in that: include: A processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other via the communication bus; The memory is used to store computer programs; The processor is configured to implement the method according to any one of claims 1 to 7 when executing the computer program.
11. A storage medium, characterized in that: The storage medium includes a stored program, wherein the method according to any one of claims 1 to 7 is executed when the program is executed.
Citation Information
Patent Citations
Business flow control method and apparatus, computer apparatus and storage medium
CN109447411A
Credit guarantee loan business processing method and device and electronic equipment
CN110634063A
Workflow-based configuration processing method and device, computer equipment and storage medium
CN110704095A
Business processing method, device and equipment
CN111435495A
Business process data query method and device, storage medium and server
CN116644123A