Business data processing methods, apparatus, computer equipment and storage media
By dynamically generating service resource models for business types, the problems of low efficiency and insufficient accuracy in traditional business data processing are solved, enabling flexible configuration and efficient and accurate business data processing.
Patent Information
- Application Number
- CN202310428414.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-20
- Publication Date
- 2026-11-10
- Estimated Expiration
- 2043-04-20
AI Technical Summary
Traditional business data processing methods are inefficient and inaccurate, unable to flexibly adapt to changes in business scenarios and processing rules, and pose security risks.
By acquiring business processing parameters and preset initial models, the system dynamically generates service resource models corresponding to business types. It uses basic element parameters, element relationships, and constraints to generate target service resources, supports visual modification of models and rule updates, and enables flexible configuration of service resource models.
It improves the efficiency and accuracy of business data processing, can adapt to changes in business scenarios and rules, reduces manual intervention, and enhances security.
Smart Images

Figure CN116415914B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of big data processing technology, and in particular to a business data processing method, apparatus, computer equipment, storage medium, and computer program product. Background Technology
[0002] Determining service resources during business processing is a routine operation in the daily business operations of various business platforms. However, with the continuous development of online business, the volume of business requiring service resource determination has increased dramatically. For example, in the daily business of banks, fee calculations are performed based on different fee data and business needs.
[0003] Traditional business data processing typically involves manually reviewing business data information and processing it according to corresponding service resource processing standards. This method is inefficient and cannot guarantee the accuracy of service resource calculations. Therefore, traditional manual business data processing methods pose significant security risks. Furthermore, by fixing service resource processing standards and other information in the code and processing business data through code, manual modifications to the code are still required when business scenarios or processing rules change, further reducing the efficiency of business data processing. Summary of the Invention
[0004] Therefore, it is necessary to provide a business data processing method, apparatus, computer equipment, computer-readable storage medium, and computer program product that can improve the efficiency and accuracy of business data processing while being flexibly configurable, in order to address the above-mentioned technical problems.
[0005] Firstly, this application provides a business data processing method, the method comprising:
[0006] In response to a business processing request, obtain the business processing parameters and business type;
[0007] When no service resource model corresponding to the business type exists, a service resource model corresponding to the business type is generated based on the business processing parameters and a preset initial model.
[0008] The target service resource is determined based on the business processing parameters and the service resource model corresponding to the business type.
[0009] Business processing is performed based on the target service resources and the business processing parameters.
[0010] In one embodiment, generating the service resource model corresponding to the service type based on the business processing parameters and the preset initial processing model includes:
[0011] Obtain a preset initial model of the business scenario to which the business type belongs, the preset initial model including basic element parameters and dynamic parameters;
[0012] The dynamic parameters in the preset initial model are adjusted according to the business processing parameters to obtain the service resource model corresponding to the business type.
[0013] In one embodiment, generating the service resource model corresponding to the service type based on the business processing parameters and the preset initial processing model includes:
[0014] Based on the business type, obtain the basic element parameters corresponding to the business type from the preset element configuration library;
[0015] Generate a preset initial model corresponding to the business type based on the parameters of each of the basic elements;
[0016] Based on the business type, retrieve the business processing rules corresponding to the business type from the preset rule base;
[0017] Based on the business processing parameters, the specific business parameters are configured for the preset initial model, and the business processing rules are bound to obtain the service resource model corresponding to the business type.
[0018] In one embodiment, generating a preset initial model corresponding to the business type based on each of the basic element parameters includes:
[0019] Obtain the element relationships between the basic element parameters and the constraints of each basic element parameter;
[0020] Based on the basic element parameters, the element relationships between the basic element parameters, and the constraints between the basic element parameters, a preset initial model corresponding to the business type is generated.
[0021] In one embodiment, determining the target service resource based on the business processing parameters and the service resource model corresponding to the business type includes:
[0022] Based on the element relationships between the basic element parameters in the service resource model, the business processing parameters are preliminarily processed to obtain initial service resources;
[0023] The initial service resources are constrained based on the constraints of each of the basic element parameters to determine the target service resources for the business processing parameters.
[0024] In one embodiment, after the step of generating the service resource model corresponding to the service type based on the business processing parameters and the preset initial model, the method further includes:
[0025] A model visualization menu is generated based on the service resource model, and the model visualization menu is sent to the user terminal for display.
[0026] In response to the model modification instruction generated based on the model visualization menu, the service resource model is modified according to the model modification information carried in the model modification instruction;
[0027] The service resource model is updated based on the modified service resource model to obtain a new service resource model.
[0028] In one embodiment, the method further includes:
[0029] Obtain newly added model element information and newly added business processing rules from the model modification information;
[0030] According to the business type, the newly added model element information is added to the preset element configuration library for storage and maintenance;
[0031] The newly added business processing rules are added to the preset rule library for storage and maintenance according to the business type.
[0032] Secondly, this application also provides a business data processing apparatus, the apparatus comprising:
[0033] The response module is used to respond to business processing requests and obtain business processing parameters and business type;
[0034] The model generation module is used to generate a service resource model corresponding to the business type based on the business processing parameters and a preset initial model when no service resource model corresponding to the business type exists.
[0035] The service resource determination module is used to determine the target service resource based on the business processing parameters and the service resource model corresponding to the business type.
[0036] The business processing module is used to perform business processing based on the target service resource and the business processing parameters.
[0037] In one embodiment, the service resource determination module further includes:
[0038] Obtain a preset initial model of the business scenario to which the business type belongs, the preset initial model including basic element parameters and dynamic parameters;
[0039] The dynamic parameters in the preset initial model are adjusted according to the business processing parameters to obtain the service resource model corresponding to the business type.
[0040] In one embodiment, the service resource determination module further includes:
[0041] The element acquisition unit is used to acquire basic element parameters corresponding to the business type from a preset element configuration library according to the business type.
[0042] An initial model generation unit is used to generate a preset initial model corresponding to the business type based on the parameters of each of the basic elements;
[0043] The rule acquisition unit is used to acquire business processing rules corresponding to the business type from a preset rule base according to the business type;
[0044] The model determination unit is used to configure specific business parameters for the preset initial model based on the business processing parameters, and bind the business processing rules to obtain the service resource model corresponding to the business type.
[0045] In one embodiment, the initial model generation unit further includes:
[0046] Obtain the element relationships between the basic element parameters and the constraints of each basic element parameter;
[0047] Based on the basic element parameters, the element relationships between the basic element parameters, and the constraints of the basic element parameters, a preset initial model corresponding to the business type is generated.
[0048] In one embodiment, the service resource determination module further includes:
[0049] Based on the element relationships between the basic element parameters in the service resource model, the business processing parameters are preliminarily processed to obtain initial service resources;
[0050] The initial service resources are constrained based on the constraints of each of the basic element parameters to determine the target service resources for the business processing parameters.
[0051] In one embodiment, the device further includes:
[0052] The display module is used to generate a model visualization menu based on the service resource model and send the model visualization menu to the user terminal for display.
[0053] The modification module is used to respond to the model modification command generated based on the model visualization menu, and modify the service resource model according to the model modification information carried in the model modification command;
[0054] The update module is used to update the service resource model based on the modified service resource model to obtain a new service resource model.
[0055] In one embodiment, the device further includes:
[0056] A new information acquisition module is added, which is used to acquire information on newly added model elements and newly added business processing rules from the model modification information;
[0057] The element addition module is used to add the new model element information to a preset element configuration library for storage and maintenance according to the business type.
[0058] The rule addition module is used to add the new business processing rule to the preset rule library for storage and maintenance according to the business type.
[0059] Thirdly, this application also provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps of the above-described method.
[0060] Fourthly, this application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the above-described method.
[0061] Fifthly, this application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the above-described method.
[0062] The aforementioned business data processing methods, apparatus, computer equipment, storage media, and computer program products, in response to business processing requests, acquire business processing parameters and business types, and search for service resource models based on the business type. If a service resource model corresponding to the business type does not exist, it can be directly generated based on the business processing parameters and a preset initial model. Since the service resource model is dynamically generated based on the business type and the preset initial model, even if the business scenario and processing rules change, the obtained service resource model can still guarantee the accuracy of the target service resource calculation, achieving flexible configuration of the service resource model. Subsequent business processing based on accurate target service resources and business processing parameters effectively improves the efficiency of business data processing compared to traditional manual methods. Attached Figure Description
[0063] Figure 1 This is an application environment diagram of a business data processing method in one embodiment;
[0064] Figure 2This is a flowchart illustrating a business data processing method in one embodiment;
[0065] Figure 3 This is a flowchart illustrating a business data processing method in another embodiment;
[0066] Figure 4 This is a flowchart illustrating the steps of generating a service resource model corresponding to a business type based on business processing parameters and a preset initial processing model in one embodiment.
[0067] Figure 5 This is a flowchart illustrating a business data processing method in another embodiment;
[0068] Figure 6 This is a flowchart illustrating a business data processing method in another embodiment;
[0069] Figure 7 This is a flowchart illustrating a business data processing method in another embodiment;
[0070] Figure 8 This is a flowchart illustrating a business data processing method in another embodiment;
[0071] Figure 9 This is a structural block diagram of a business data processing device in one embodiment;
[0072] Figure 10 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation
[0073] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0074] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.
[0075] The business data processing method provided in this application embodiment can be applied to, for example, Figure 1In the application environment shown, the data processing platform 102 communicates with the user terminal 104 via a network. The data storage system can store the data that the data processing platform 102 needs to process. The data storage system can be integrated onto the data processing platform 102 or placed on the cloud or other network servers. The user terminal 104 generates a business processing request and sends it to the data processing platform 102. The data processing platform 102 responds to the business processing request sent by the user terminal 104, obtains the business processing parameters and business type carried in the request, and generates a service resource model corresponding to the business type based on the business processing parameters and a preset initial model when no service resource model corresponding to the business type exists. The target service resource is determined based on the business processing parameters and the service resource model corresponding to the business type, and then business processing is performed based on the target service resource and the business processing parameters. The data processing platform 102 can be implemented using a standalone server or a server cluster composed of multiple servers. The user terminal 104 can be, but is not limited to, various personal computers, laptops, smartphones, tablets, etc.
[0076] In one embodiment, such as Figure 2 As shown, a business data processing method is provided, which is applied to... Figure 1 Taking the data processing platform in China as an example, the following steps are included:
[0077] Step 202: In response to the business processing request, obtain the business processing parameters and business type.
[0078] A business processing request is a request to process business data generated by the business platform, carrying business processing parameters and the business type. Understandably, a business processing request can be triggered by service personnel based on their user terminal, i.e., the service terminal. Taking banking as an example, if a user needs to transfer resources from bank A to bank B, the bank's service personnel can obtain the business data from this resource transfer process and generate a business processing request based on that data, submitting it to the data processing platform.
[0079] The business processing parameters are generated by the business platform based on the business to be processed. The business type refers to the specific processing type of the business to be processed within the business scenario. Taking banking business as an example, business scenarios can include resource inflow scenarios, resource outflow scenarios, etc., and the business types under resource inflow scenarios can be further divided into Area A resource inflow type, Area B resource inflow type, etc. Taking housing business as an example, business scenarios can include housing sales scenarios, housing rental scenarios, etc., and the housing sales scenario can be further divided into second-hand housing sales type, new housing sales type, etc.
[0080] Specifically, after receiving a business processing request, the data processing platform responds to the request by obtaining the business processing parameters and business type carried in the request.
[0081] Step 204: If there is no service resource model corresponding to the business type, generate a service resource model corresponding to the business type based on the business processing parameters and the preset initial model.
[0082] The service resource model is used to process the service resources generated during business processes. The preset initial model can be considered the basic model architecture of the service resource model, i.e., the basic service resource model. Understandably, different business types will require different service resource models for processing service resources.
[0083] Specifically, after obtaining the business type, the data processing platform searches the preset model library for the business type. If no service resource model corresponding to the business type is found, it means that the business scenario and / or processing rules of the business to be processed are different from those of previously processed businesses, and the preset model library has not yet stored the service resource model corresponding to the current business type. The data processing platform then generates a service resource model corresponding to the current business type based on the business processing parameters and the obtained preset initial model.
[0084] Step 206: Determine the target service resource based on the business processing parameters and the service resource model corresponding to the business type.
[0085] Among them, target service resources are the resources that should be given to the intermediate service provider when processing the current pending business.
[0086] Specifically, after obtaining the service resource model corresponding to the business type based on the business processing parameters and the preset initial model, the data processing platform continues to use the service resource model to process the business processing parameters to obtain the target service resources generated during the current business processing.
[0087] Step 208: Perform business processing based on the target service resources and business processing parameters.
[0088] Specifically, after obtaining the target service resources generated during the current business processing, the data processing platform completes the entire business processing process based on the target service resources and business processing parameters. That is, the process of determining the target service resources can be considered as an intermediate process in the business processing process. When the data processing platform performs business processing, it can transfer the target service resources to the corresponding business service terminal.
[0089] In the aforementioned business data processing method, in response to a business processing request, business processing parameters and business type are obtained. A service resource model is then searched based on the business type. If no service resource model exists for the business type, it can be directly generated based on the business processing parameters and a preset initial model. Since the service resource model is dynamically generated based on the business type and the preset initial processing model, even if the business scenario and processing rules change, the resulting service resource model can still guarantee the accuracy of the target service resource calculation, achieving flexible configuration of the service resource model. Subsequent business processing based on the accurate target service resource and business processing parameters effectively improves the efficiency of business data processing compared to traditional manual methods.
[0090] Since determining the service resource model is a crucial step in improving the efficiency and accuracy of the obtained target service resources, in one embodiment, such as Figure 3 As shown, a business data processing method is provided. Step 204 above, which generates a service resource model corresponding to the business type based on business processing parameters and a preset initial processing model, may include:
[0091] Step 302: Obtain the preset initial model of the business scenario to which the business type belongs. The preset initial model includes basic element parameters and dynamic parameters.
[0092] The preset initial model can be a basic service resource model corresponding to all business types under a certain business scenario. Since the processing methods for service resources differ across business types within a business scenario, a basic service resource model corresponding to the business scenario can be generated in advance based on these similarities. This basic service resource model is then stored in the preset model library's storage area corresponding to that business scenario. Taking bank resource transfer business as an example, in a resource transfer business scenario, there are business types A and B. During the resource transfer process, types A and B differ only in the processing coefficients of service resources; all other operations are identical. Therefore, a basic service resource model can be generated based on these identical operations and stored in the preset model library's storage area corresponding to the resource transfer business scenario.
[0093] The preset initial model includes basic element parameters and dynamic parameters. The basic element parameters can be considered as the basic parameters in this business scenario, such as the resource transfer steps and service resource processing standards in a resource transfer scenario. The dynamic parameters can be considered as the dynamically changing parameters that will change under different business types, such as different exchange rates or different transfer coefficients corresponding to different business types in a resource transfer scenario.
[0094] Specifically, the data processing platform determines the business scenario to which the business type belongs based on the business type, and then retrieves the preset initial model of the business scenario from the storage area of the preset model library. The preset initial model includes basic element parameters and dynamic parameters.
[0095] Step 304: Adjust the dynamic parameters in the preset initial model according to the business processing parameters to obtain the service resource model corresponding to the business type.
[0096] Specifically, the data processing platform finds processing parameters that match the dynamic parameters in the preset initial model from the business processing parameters, adjusts the dynamic parameters through the business processing parameters, and obtains a service resource model that matches the business type based on the basic element parameters in the preset initial model and the adjusted dynamic parameters.
[0097] In this embodiment, a preset initial model is set in advance for each business type under the business scenario. After determining that there is no corresponding service resource model for the business type, the preset initial model is obtained according to the business type. The dynamic parameters in the preset initial model are adjusted based on the actual business processing parameters, thereby obtaining a service resource model that matches the business type, realizing flexible configuration of the service resource model.
[0098] In addition to the service resource model generation method described above, in one embodiment, such as Figure 4 As shown, a service resource model corresponding to the business type is generated based on business processing parameters and a preset initial processing model, including:
[0099] Step 402: Based on the business type, obtain the basic element parameters corresponding to the business type from the preset element configuration library.
[0100] The preset element configuration library is a parameter storage area that stores the basic element parameters required to generate corresponding service resource models for various business types. These basic element parameters can be basic information parameters; for example, in bank resource transfer, basic element parameters may include message type, sending method, notification method, and cancellation method.
[0101] Specifically, after obtaining the business type, the data processing platform directly retrieves the basic element parameters corresponding to the business type from the storage area corresponding to the business type in the preset element configuration library.
[0102] Step 404: Generate a preset initial model corresponding to the business type based on the parameters of each basic element.
[0103] Specifically, the data processing platform generates a preset initial model corresponding to the business type based on the basic element parameters of the acquired business type and a preset model generation method or model generation rule.
[0104] Step 406: Based on the business type, retrieve the business processing rules corresponding to the business type from the preset rule library.
[0105] The preset rule base is a storage area used to store and maintain common business processing rules corresponding to various business types.
[0106] Specifically, after obtaining the preset initial model corresponding to the business type, the data processing platform continues to obtain the business processing rules corresponding to the business type from the storage area corresponding to the business type in the preset rule base.
[0107] Step 408: Configure specific business parameters for the preset initial model based on business processing parameters, and bind business processing rules to obtain the service resource model corresponding to the business type.
[0108] Among them, the specific business parameters refer to the actual business parameters of the business to be processed, such as the sending bank, resource type, and customer identifier in banking business.
[0109] Specifically, after obtaining the preset initial model, the data processing platform configures specific business parameters for the preset initial model based on the business processing parameters, and binds the business processing rules corresponding to the business type to the preset initial model after configuring the specific parameters, so as to obtain the service resource model corresponding to the business type.
[0110] In this embodiment, the service resource model corresponding to the business type is broken down into basic element parameters, business processing rules, and specific business parameters. After the data processing platform obtains the business type, it starts from the smallest unit that constitutes the model and gradually generates a service resource model that matches the business type by determining the basic element parameters, the specific business parameters, and finally the business processing rules. This further improves the flexibility of the service resource model.
[0111] Furthermore, in one embodiment, generating a preset initial model corresponding to the business type based on each basic element parameter includes:
[0112] Obtain the element relationships between each basic element parameter, as well as the constraints of each basic element parameter. Based on each basic element parameter, the element relationships between each basic element parameter, and the constraints between each basic element parameter, generate a preset initial model corresponding to the business type.
[0113] Among these, element relationships refer to the logical relationships between various basic element parameters during business processing, such as common logical operations like addition, subtraction, multiplication, and division, or other preset logical relationships. Constraints on each basic element parameter refer to the restrictions that constrain the values of the basic element parameters. Constraints can include upper and lower limits on the value range, such as a basic element parameter's value range being less than 1 and greater than 0, or the numerical format of the value, such as only being able to record a few decimal places. It is understandable that some basic element parameters may lack logical relationships and constraints; for example, some purely informational basic elements will not have logical relationships with other basic elements and will not have corresponding constraints themselves.
[0114] Specifically, after the data processing platform obtains the corresponding basic element parameters from the preset element configuration library according to the business type, it continues to obtain the element relationships between each basic element parameter and the constraints of each basic element parameter. Based on each basic element parameter, the element relationships between each basic element parameter and the constraints between each basic element parameter, a preset initial model corresponding to the business type is generated, providing a data foundation for the subsequent generation of a service resource model that matches the business type.
[0115] Since the preset initial model is generated based on the basic element parameters, the element relationships between the basic element parameters, and the constraints between the basic element parameters, therefore, in one embodiment, such as Figure 5 As shown, a business data processing method is provided. Step 208 above, which performs business processing based on target service resources and business processing parameters, may include:
[0116] Step 502: Based on the element relationships between the basic elements in the service resource model, perform preliminary processing on the business processing parameters to obtain the initial service resources.
[0117] Specifically, the data processing platform inputs business processing parameters into the service resource model, and performs preliminary processing on the business processing parameters based on the element relationships between the basic elements in the service resource model to obtain initial service resources.
[0118] Step 504: Based on the constraints of each basic element parameter, constrain the initial service resources and determine the target service resources for business processing parameters.
[0119] Specifically, after obtaining the initial service resources, the data processing platform constrains the initial service resources based on the constraints of each basic element parameter, and then determines the target service resources for business processing parameters.
[0120] In this embodiment, by using the relationships between the basic element parameters and the constraints of each basic element parameter, the target service resource can be obtained that is both accurate and meets the requirements of business processing, thus ensuring the accuracy of the target service resource processing.
[0121] The above mentions various technical means for generating service resource models. To further improve the accuracy of service resource model generation, in one embodiment, such as... Figure 6 As shown, the business data processing method also includes the following steps:
[0122] Step 602: Generate a model visualization menu based on the service resource model, and send the model visualization menu to the user terminal for display.
[0123] Specifically, the data processing platform performs visualization processing on the obtained service resource model to obtain the model visualization menu corresponding to the service resource model, and sends the model visualization menu to the user terminal for display.
[0124] Step 604: Respond to the model modification instruction generated based on the model visualization menu, and modify the service resource model according to the model modification information carried in the model modification instruction.
[0125] Among them, the model modification command is generated by the service personnel based on the model visualization menu displayed on the user terminal. It can be understood that the service personnel can view the service resource model generated by the data processing platform on the user terminal.
[0126] Specifically, service personnel confirm the service resource model's visual menu via the user terminal. If the service resource model contains parameter information that does not match the service personnel's needs, they can directly modify the service resource model based on the visual menu. The user terminal generates a model modification instruction based on the modifications made by the service personnel via the visual menu and sends the instruction to the data processing platform. The data processing platform responds to the modification instruction, retrieves the modification information from it, and modifies the service resource model accordingly to obtain the modified service resource model.
[0127] Step 606: Update the service resource model based on the modified service resource model to obtain a new service resource model.
[0128] Specifically, the data processing platform updates the original service resource model based on the modified service resource model to obtain the updated service resource model.
[0129] In this embodiment, a user confirmation step is added before the generated service resource model is put into use. The service resource model is visualized and displayed to the service personnel, who then determine the service resource model generated by the data processing platform based on actual needs. If a configuration that does not meet the actual needs is found, the service resource model can be modified directly based on the model visualization menu. The modified service resource model is then used to update and replace the original generated service resource model, resulting in a more accurate service resource model that better meets the user's needs.
[0130] Furthermore, to achieve reusability of configuration parameters, in one embodiment, such as Figure 7 As shown, the business data processing method also includes the following steps:
[0131] Step 702: Obtain information on newly added model elements and newly added business processing rules from the model modification information.
[0132] Specifically, upon receiving model modification information, the data processing platform extracts the newly added model element information and the newly added business processing rules from the modification information. Because the newly added model element information and the newly added business processing rules in the model modification information are determined and generated by service personnel, they can be better matched with the current business type, thus possessing high accuracy.
[0133] Step 704: Add the newly added model element information to the preset element configuration library for storage and maintenance according to the business type.
[0134] Specifically, the data processing platform binds the newly added model element information to the type identifier of the business type according to the business type, and then adds it to the storage area of the preset element configuration library of the business type, so as to facilitate the storage and maintenance of the newly added model element information.
[0135] Step 706: Add the new business processing rules to the preset rule library for storage and maintenance according to the business type.
[0136] Specifically, the data processing platform binds the newly added model element information to the type identifier of the business type according to the business type, and then adds it to the storage area of the preset element configuration library of the business type, so as to facilitate the storage and maintenance of the newly added model element information.
[0137] In this embodiment, the data processing platform stores the newly added model element information and newly added business processing rules that are more compatible with the business type in the storage area corresponding to the business type based on the obtained model modification information. This provides the storage and maintenance function of basic element parameters and rules, and provides a data foundation for the subsequent reuse of basic element parameters and rules.
[0138] In one embodiment, in order to reuse the service resource model, the data processing platform will set a type identifier corresponding to the business type for the updated service resource model and store the updated service resource model in a preset model library. Subsequently, when a business processing request of the same business type is received, the service resource model can be directly called from the preset model library for business data processing.
[0139] In one embodiment, such as Figure 8 As shown, a business data processing method is provided, and its application in bank resource transfer business is illustrated as an example. This method involves data interaction between a data processing platform and the service terminals of bank service personnel.
[0140] Specifically, the data processing platform provides the following maintenance menus in advance:
[0141] The first type involves maintaining a menu for the first parameter of basic elements related to the service resource model. The data processing platform can visualize this menu on the service terminal. Service personnel can access the first parameter maintenance page via the service terminal. This page provides functions for adding, deleting, querying, detailing, enabling, and disabling basic elements.
[0142] As is understandable, each element information entry can include the following: element type, element code, element name, whether it is a key, whether it is required, input / output, page editing type, page value type, etc. If you need to add element information, but the element code already exists in the data processing platform, you cannot add the code, and the data processing platform will generate a prompt message. If you need to delete an element record, but the element has already been used in a service resource model, you cannot delete the element, and the data processing platform will generate a prompt message.
[0143] The second type is the service resource model maintenance menu, which provides functions for adding, deleting, querying, detailing, enabling, and disabling service resource models. Different service resource models can be created based on basic elements according to inbound, outbound, and query / response transactions. Each service resource model has input and output parameters. The input parameters are the basic elements that the model needs to verify, and the output parameters are the basic elements that need to be output after the transaction has been processed by the service resource model.
[0144] Specifically, when a new service resource model is submitted, the data processing platform checks if the model code is duplicated. If duplicates are found, the platform automatically indicates that the addition failed. When adding or modifying a service resource model, if general features exist, the additional information required for those features must be added. If not, the platform automatically indicates that the addition or modification failed. When deleting or modifying a service resource model, since feature parameters are maintained using the service resource model as the model, if the service resource model already maintains its feature parameters, the platform automatically indicates that the deletion or modification failed.
[0145] The third type is the second parameter maintenance menu for specific parameters of the service resource model, which is used to maintain specific parameters according to the service resource model. Each service resource model may have multiple parameters, and each parameter may have one or more processing rules, specifically distinguished by interval.
[0146] Specifically, when adding a new service resource model, selecting different models will display the parameter categories for each model on the service terminal's visualization page, along with lists of input and output parameters. You can specify the values for these input and output parameters based on business needs. If the element editing method is a text box, enter the corresponding content; if it's a list, select the appropriate list. If a general parameter includes a "discount rate," its value format is "0.00," less than 1 and greater than 0. If a general parameter includes "additional resources" with a specific resource value, the "additional resource type" must be entered. If the resource value is empty, the "additional resource type" can be left blank. After configuring the service resource model's parameters, you can bind the business processing rules for that model.
[0147] The fourth type is the rule maintenance menu for business processing rules, which is used to maintain business processing rules and provides functions for adding, deleting, querying, enabling, and disabling business processing rules. Business processing rules can include proportional, fixed, and waiver rules, etc.
[0148] The specific methods for processing business data include:
[0149] Step 801: Configure the basic elements of the service resource model.
[0150] Step 802: Configure the basic service resource model based on the plate elements.
[0151] Step 803: Configure specific parameters and corresponding business processing rules for the basic service resource model according to business requirements.
[0152] Step 804: Use the configured service resource models to process business data.
[0153] This embodiment provides a flexibly configurable service resource model, capable of configuring a rich set of basic elements that can be reused across different service resource models. After configuring the basic elements, a basic service resource model template can be configured for each scenario, such as import, export, query, and reply. It also provides configuration for business processing rules, allowing service personnel to configure a wide range of rules. Then, specific parameters and business processing rules can be configured based on the basic service resource model template to obtain the service resource model required by the service personnel. The system can automatically process business data based on the configured service resource model, significantly improving the efficiency and accuracy of business data processing compared to the original manual processing methods. Furthermore, this method provides a basic parameter maintenance function, allowing the reuse of basic parameters and business processing rules to configure service resource models suitable for various scenarios.
[0154] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.
[0155] Based on the same inventive concept, this application also provides a business data processing apparatus for implementing the business data processing method described above. The solution provided by this apparatus is similar to the implementation scheme described in the above method; therefore, the specific limitations in one or more business data processing apparatus embodiments provided below can be found in the limitations of the business data processing method described above, and will not be repeated here.
[0156] In one embodiment, such as Figure 9 As shown, a business data processing device 900 is provided, including: a response module 901, a model generation module 902, a service resource determination module 903, and a business processing module 904, wherein:
[0157] Response module 901 is used to respond to business processing requests and obtain business processing parameters and business type.
[0158] The model generation module 902 is used to generate a service resource model corresponding to a business type based on business processing parameters and a preset initial model when no service resource model corresponding to the business type exists.
[0159] The service resource determination module 903 is used to determine the target service resource based on the business processing parameters and the service resource model corresponding to the business type.
[0160] The business processing module 904 is used to perform business processing based on the target service resources and business processing parameters.
[0161] In one embodiment, the service resource determination module is further configured to: obtain a preset initial model of the business scenario to which the business type belongs, the preset initial model including basic element parameters and dynamic parameters; adjust the dynamic parameters in the preset initial model according to the business processing parameters to obtain the service resource model corresponding to the business type.
[0162] In one embodiment, the service resource determination module further includes:
[0163] The element acquisition unit is used to obtain basic element parameters corresponding to the business type from the preset element configuration library according to the business type.
[0164] The initial model generation unit is used to generate a preset initial model corresponding to the business type based on the parameters of each basic element.
[0165] The rule acquisition unit is used to acquire business processing rules corresponding to the business type from a preset rule library based on the business type.
[0166] The model determination unit is used to configure specific business parameters for a preset initial model based on business processing parameters, and bind business processing rules to obtain the service resource model corresponding to the business type.
[0167] In one embodiment, the initial model generation unit is further configured to: obtain the element relationships between each basic element parameter and the constraints of each basic element parameter; and generate a preset initial model corresponding to the business type based on each basic element parameter, the element relationships between each basic element parameter, and the constraints of each basic element parameter.
[0168] In one embodiment, the service resource determination module is further configured to: perform preliminary processing on the business processing parameters according to the element relationships between the basic element parameters in the service resource model to obtain initial service resources; and constrain the initial service resources based on the constraints of the basic element parameters to determine the target service resources for the business processing parameters.
[0169] In one embodiment, the business data processing apparatus further includes:
[0170] The display module is used to generate a model visualization menu based on the service resource model and send the model visualization menu to the user terminal for display.
[0171] The modification module is used to respond to model modification commands generated based on the model visualization menu, and modify the service resource model according to the model modification information carried in the model modification command;
[0172] The update module is used to update the service resource model based on the modified service resource model to obtain a new service resource model.
[0173] In one embodiment, the business data processing apparatus further includes:
[0174] A new information acquisition module has been added, which is used to obtain information on newly added model elements and new business processing rules from model modification information;
[0175] The feature addition module is used to add new model feature information to the preset feature configuration library for storage and maintenance according to the business type.
[0176] The rule addition module is used to add new business processing rules to the preset rule library for storage and maintenance based on the business type.
[0177] Each module in the aforementioned business data processing device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device, or stored in the memory of a computer device as software, so that the processor can call and execute the operations corresponding to each module.
[0178] In one embodiment, a computer device is provided, which may be a server integrated with a data processing platform, and its internal structure diagram may be as follows: Figure 10 As shown, the computer device includes a processor, memory, and a network interface connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and a database. The internal memory provides the environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The database stores data such as business processing requests, business processing parameters, business types, and service resource models. The network interface communicates with external terminals via a network connection. When the computer program is executed by the processor, it implements a business data processing method.
[0179] Those skilled in the art will understand that Figure 10 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0180] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to perform the following steps:
[0181] In response to a business processing request, obtain the business processing parameters and business type;
[0182] When there is no service resource model corresponding to the business type, a service resource model corresponding to the business type is generated based on the business processing parameters and the preset initial model.
[0183] Determine the target service resources based on the business processing parameters and the service resource model corresponding to the business type;
[0184] Business processing is performed based on target service resources and business processing parameters.
[0185] In one embodiment, the processor, when executing a computer program, also performs the following steps:
[0186] Obtain the preset initial model of the business scenario to which the business type belongs. The preset initial model includes basic element parameters and dynamic parameters.
[0187] The dynamic parameters in the preset initial model are adjusted according to the business processing parameters to obtain the service resource model corresponding to the business type.
[0188] In one embodiment, the processor, when executing a computer program, also performs the following steps:
[0189] Based on the business type, retrieve the basic element parameters corresponding to the business type from the preset element configuration library;
[0190] Generate a preset initial model corresponding to the business type based on the parameters of each basic element;
[0191] Based on the business type, retrieve the corresponding business processing rules from the preset rule library;
[0192] Based on the business processing parameters, configure specific business parameters for the preset initial model and bind the business processing rules to obtain the service resource model corresponding to the business type.
[0193] In one embodiment, the processor, when executing a computer program, also performs the following steps:
[0194] Obtain the element relationships between each basic element parameter, as well as the constraints of each basic element parameter;
[0195] Based on the parameters of each basic element, the relationships between the basic element parameters, and the constraints between the basic element parameters, a preset initial model corresponding to the business type is generated.
[0196] In one embodiment, the processor, when executing a computer program, also performs the following steps:
[0197] Based on the element relationships between the basic element parameters in the service resource model, the business processing parameters are preliminarily processed to obtain the initial service resources.
[0198] The initial service resources are constrained based on the constraints of each basic element parameter to determine the target service resources for business processing parameters.
[0199] In one embodiment, the processor, when executing a computer program, also performs the following steps:
[0200] A model visualization menu is generated based on the service resource model and sent to the user terminal for display.
[0201] In response to model modification commands generated based on the model visualization menu, modify the service resource model according to the model modification information carried in the model modification command;
[0202] The service resource model is updated based on the modified service resource model to obtain a new service resource model.
[0203] In one embodiment, the processor, when executing a computer program, also performs the following steps:
[0204] Obtain information on newly added model elements and new business processing rules from the model modification information;
[0205] Based on the business type, the information of newly added model elements will be added to the preset element configuration library for storage and maintenance.
[0206] New business processing rules are added to the preset rule library for storage and maintenance based on the business type.
[0207] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, the computer program performing the following steps when executed by a processor:
[0208] In response to a business processing request, obtain the business processing parameters and business type;
[0209] When there is no service resource model corresponding to the business type, a service resource model corresponding to the business type is generated based on the business processing parameters and the preset initial model.
[0210] Determine the target service resources based on the business processing parameters and the service resource model corresponding to the business type;
[0211] Business processing is performed based on target service resources and business processing parameters.
[0212] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0213] Obtain the preset initial model of the business scenario to which the business type belongs. The preset initial model includes basic element parameters and dynamic parameters.
[0214] The dynamic parameters in the preset initial model are adjusted according to the business processing parameters to obtain the service resource model corresponding to the business type.
[0215] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0216] Based on the business type, retrieve the basic element parameters corresponding to the business type from the preset element configuration library;
[0217] Generate a preset initial model corresponding to the business type based on the parameters of each basic element;
[0218] Based on the business type, retrieve the corresponding business processing rules from the preset rule library;
[0219] Based on the business processing parameters, configure specific business parameters for the preset initial model and bind the business processing rules to obtain the service resource model corresponding to the business type.
[0220] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0221] Obtain the element relationships between each basic element parameter, as well as the constraints of each basic element parameter;
[0222] Based on the parameters of each basic element, the relationships between the basic element parameters, and the constraints between the basic element parameters, a preset initial model corresponding to the business type is generated.
[0223] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0224] Based on the element relationships between the basic element parameters in the service resource model, the business processing parameters are preliminarily processed to obtain the initial service resources.
[0225] The initial service resources are constrained based on the constraints of each basic element parameter to determine the target service resources for business processing parameters.
[0226] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0227] A model visualization menu is generated based on the service resource model and sent to the user terminal for display.
[0228] In response to model modification commands generated based on the model visualization menu, modify the service resource model according to the model modification information carried in the model modification command;
[0229] The service resource model is updated based on the modified service resource model to obtain a new service resource model.
[0230] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0231] Obtain information on newly added model elements and new business processing rules from the model modification information;
[0232] Based on the business type, the information of newly added model elements will be added to the preset element configuration library for storage and maintenance.
[0233] New business processing rules are added to the preset rule library for storage and maintenance based on the business type.
[0234] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, performs the following steps:
[0235] In response to a business processing request, obtain the business processing parameters and business type;
[0236] When there is no service resource model corresponding to the business type, a service resource model corresponding to the business type is generated based on the business processing parameters and the preset initial model.
[0237] Determine the target service resources based on the business processing parameters and the service resource model corresponding to the business type;
[0238] Business processing is performed based on target service resources and business processing parameters.
[0239] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0240] Obtain the preset initial model of the business scenario to which the business type belongs. The preset initial model includes basic element parameters and dynamic parameters.
[0241] The dynamic parameters in the preset initial model are adjusted according to the business processing parameters to obtain the service resource model corresponding to the business type.
[0242] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0243] Based on the business type, retrieve the basic element parameters corresponding to the business type from the preset element configuration library;
[0244] Generate a preset initial model corresponding to the business type based on the parameters of each basic element;
[0245] Based on the business type, retrieve the corresponding business processing rules from the preset rule library;
[0246] Based on the business processing parameters, configure specific business parameters for the preset initial model and bind the business processing rules to obtain the service resource model corresponding to the business type.
[0247] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0248] Obtain the element relationships between each basic element parameter, as well as the constraints of each basic element parameter;
[0249] Based on the parameters of each basic element, the relationships between the basic element parameters, and the constraints between the basic element parameters, a preset initial model corresponding to the business type is generated.
[0250] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0251] Based on the element relationships between the basic element parameters in the service resource model, the business processing parameters are preliminarily processed to obtain the initial service resources.
[0252] The initial service resources are constrained based on the constraints of each basic element parameter to determine the target service resources for business processing parameters.
[0253] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0254] A model visualization menu is generated based on the service resource model and sent to the user terminal for display.
[0255] In response to model modification commands generated based on the model visualization menu, modify the service resource model according to the model modification information carried in the model modification command;
[0256] The service resource model is updated based on the modified service resource model to obtain a new service resource model.
[0257] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0258] Obtain information on newly added model elements and new business processing rules from the model modification information;
[0259] Based on the business type, the information of newly added model elements will be added to the preset element configuration library for storage and maintenance.
[0260] New business processing rules are added to the preset rule library for storage and maintenance based on the business type.
[0261] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.
[0262] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0263] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
Claims
1. A business data processing method, characterized in that, The method includes: In response to a business processing request, obtain the business processing parameters and business type; When no service resource model corresponding to the business type exists, a service resource model corresponding to the business type is generated based on the business processing parameters and a preset initial model. The target service resource is determined based on the business processing parameters and the service resource model corresponding to the business type. Business processing is performed based on the target service resources and the business processing parameters; The step of generating a service resource model corresponding to the business type based on the business processing parameters and a preset initial model includes: Based on the business type, obtain the basic element parameters corresponding to the business type from the preset element configuration library; Obtain the element relationships between the basic element parameters and the constraints of each basic element parameter; the element relationship refers to the logical relationship between the basic element parameters during business processing; the constraint is a restriction condition that constrains the value of the corresponding basic element parameter. Based on the basic element parameters, the element relationships between the basic element parameters, and the constraints between the basic element parameters, a preset initial model corresponding to the business type is generated. Based on the business type, retrieve the business processing rules corresponding to the business type from the preset rule base; Based on the business processing parameters, configure specific business parameters for the preset initial model and bind the business processing rules to obtain the service resource model corresponding to the business type.
2. The method according to claim 1, characterized in that, The step of generating a service resource model corresponding to the business type based on the business processing parameters and a preset initial processing model includes: Obtain a preset initial model of the business scenario to which the business type belongs, the preset initial model including basic element parameters and dynamic parameters; The dynamic parameters in the preset initial model are adjusted according to the business processing parameters to obtain the service resource model corresponding to the business type.
3. The method according to claim 1, characterized in that, The step of determining the target service resource based on the business processing parameters and the service resource model corresponding to the business type includes: Based on the element relationships between the basic element parameters in the service resource model, the business processing parameters are preliminarily processed to obtain initial service resources; The initial service resources are constrained based on the constraints of each of the basic element parameters to determine the target service resources for the business processing parameters.
4. The method according to any one of claims 1 to 3, characterized in that, After the step of generating the service resource model corresponding to the business type based on the business processing parameters and the preset initial model, the method further includes: A model visualization menu is generated based on the service resource model, and the model visualization menu is sent to the user terminal for display. In response to the model modification instruction generated based on the model visualization menu, the service resource model is modified according to the model modification information carried in the model modification instruction; The service resource model is updated based on the modified service resource model to obtain a new service resource model.
5. The method according to claim 4, characterized in that, The method further includes: Obtain newly added model element information and newly added business processing rules from the model modification information; According to the business type, the newly added model element information is added to the preset element configuration library for storage and maintenance; The newly added business processing rules are added to the preset rule library for storage and maintenance according to the business type.
6. A business data processing device, characterized in that, The device includes: The response module is used to respond to business processing requests and obtain business processing parameters and business type; The model generation module is used to generate a service resource model corresponding to the business type based on the business processing parameters and a preset initial model when no service resource model corresponding to the business type exists. The service resource determination module is used to determine the target service resource based on the business processing parameters and the service resource model corresponding to the business type. The business processing module is used to perform business processing based on the target service resource and the business processing parameters; The service resource determination module includes: The element acquisition unit is used to acquire basic element parameters corresponding to the business type from a preset element configuration library according to the business type. An initial model generation unit is used to obtain the element relationships between the basic element parameters and the constraints of the basic element parameters; the element relationships refer to the logical relationships between the basic element parameters during business processing; the constraints are the restrictions on the values of the corresponding basic element parameters; based on the basic element parameters, the element relationships between the basic element parameters, and the constraints of the basic element parameters, a preset initial model corresponding to the business type is generated. The rule acquisition unit is used to acquire business processing rules corresponding to the business type from a preset rule base according to the business type; The model determination unit is used to configure specific business parameters for the preset initial model based on the business processing parameters, and bind the business processing rules to obtain the service resource model corresponding to the business type.
7. The apparatus according to claim 6, characterized in that, The service resource determination module also includes: Obtain a preset initial model of the business scenario to which the business type belongs, the preset initial model including basic element parameters and dynamic parameters; The dynamic parameters in the preset initial model are adjusted according to the business processing parameters to obtain the service resource model corresponding to the business type.
8. The apparatus according to claim 6, characterized in that, The service resource determination module also includes: Based on the element relationships between the basic element parameters in the service resource model, the business processing parameters are preliminarily processed to obtain initial service resources; The initial service resources are constrained based on the constraints of each of the basic element parameters to determine the target service resources for the business processing parameters.
9. The apparatus according to any one of claims 6 to 8, characterized in that, The device further includes: The display module is used to generate a model visualization menu based on the service resource model and send the model visualization menu to the user terminal for display. The modification module is used to respond to the model modification command generated based on the model visualization menu, and modify the service resource model according to the model modification information carried in the model modification command; The update module is used to update the service resource model based on the modified service resource model to obtain a new service resource model.
10. The apparatus according to claim 9, characterized in that, The device further includes: A new information acquisition module is added, which is used to acquire information on newly added model elements and newly added business processing rules from the model modification information; The element addition module is used to add the new model element information to a preset element configuration library for storage and maintenance according to the business type. The rule addition module is used to add the new business processing rule to the preset rule library for storage and maintenance according to the business type.
11. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 5.
12. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 5.
13. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Data model generation method and device, equipment and computer storage medium
CN110956269A
