Business data configuration method, apparatus, device, and storage medium
By acquiring the target business sub-functions from the business variable data in the insurance business system, and generating the target business functions using preset configuration templates and function description data, the problems of complex configuration and poor scalability in existing insurance business systems are solved, thereby simplifying operations and improving configuration efficiency.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- PING AN BANK CO LTD
- Filing Date
- 2022-10-25
- Publication Date
- 2026-04-28
AI Technical Summary
Existing insurance business systems have poor scalability and are complex to operate when configuring insurance data, making them difficult for users to understand.
By obtaining the target business sub-function corresponding to the business type of the business variable data, the target business function is generated using the preset configuration template and function description data, and the business text data is calculated and configured, reducing operational complexity and improving configurability.
It achieves scalability and ease of operation in business data configuration, improving users' understanding of business data and configuration efficiency.
Smart Images

Figure CN115510839B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer technology, specifically to a business data configuration method, apparatus, device, and storage medium. Background Technology
[0002] Currently, with the rapid development of the insurance industry, insurance companies are launching various types of insurance to meet different user needs. However, existing insurance systems need to display a large amount of insurance data to users during operation. This data includes dynamically calculated insurance data based on the insurance plan, requiring formula configuration for real-time display. Current configuration methods rely on preset variables and string replacement, leading to difficulties in expansion, complex operation, and user comprehension. Summary of the Invention
[0003] This application provides a business data configuration method, apparatus, device, and storage medium, aiming to solve the technical problems of poor scalability and complex operation of business data configuration in the prior art.
[0004] On one hand, embodiments of this application provide a business data configuration method, which includes the following steps:
[0005] Responding to a business configuration request, the system obtains business text data and the business variable data to be configured from the business text data.
[0006] Obtain the target business sub-function corresponding to the business type of the business variable data, and configure the target business function of the business variable data according to the target business sub-function and the preset configuration template;
[0007] The target variable data of the business text data is calculated based on the target business function and the business variable data.
[0008] Obtain the function description data of the target business function, configure the business text data according to the function description data and the target variable data, and generate the target business text data.
[0009] Access the preset business database to obtain historical business data stored in the business database;
[0010] Obtain the historical business type of the historical business data, and compile the function bytecode associated with the historical business type;
[0011] Obtain the function description data corresponding to the historical business type, generate the business sub-function of the historical business type based on the function description data and the function bytecode, and save it to a preset database;
[0012] The target business sub-function corresponding to the business type for obtaining the business variable data further includes:
[0013] Query the preset database to obtain the target business sub-function corresponding to the business type of the business variable data.
[0014] In one possible implementation of this application, querying the preset database to obtain the target business sub-function corresponding to the business type of the business variable data includes:
[0015] Obtain the business type of the business variable data, and calculate the similarity between the business type and each of the historical business types in the preset database;
[0016] Set the historical business types with similarity greater than a preset similarity threshold as the target business types of the business variable data;
[0017] Obtain the business sub-function corresponding to each target business type in the preset database to obtain the target business sub-function of the business variable data.
[0018] In one possible implementation of this application, the step of calculating the target variable data of the business text data based on the target business function and the business variable data includes:
[0019] Obtain the initial data and variable operators of the business variable data;
[0020] Configure the target business function based on the initial data and the variable operator, and calculate the target variable data of the business text data based on the configured target business function.
[0021] In one possible implementation of this application, the step of calculating the target variable data of the business text data based on the target business function and the business variable data includes:
[0022] The target suggestion sub-function obtains the business variable data based on the initial data and the variable operator;
[0023] If the target suggestion subfunction and the target business subfunction do not match, the target business function is modified according to the target suggestion subfunction to obtain the modified business function;
[0024] The modified business function is configured based on the initial data and the variable operators to obtain the configured modified business function;
[0025] The target variable data of the business text data is calculated based on the configured modified business function and the business variable data.
[0026] In one possible implementation of this application, the step of obtaining the function description data of the target business function, configuring the business text data according to the function description data and the target variable data, and generating the target business text data includes:
[0027] Obtain the function description data of the target business function;
[0028] Input the function description data into the preset rendering page to generate a variable description sub-interface;
[0029] The variable description sub-interface is associated with the target variable data, and the business text data is configured according to the target variable data and the variable description sub-interface to obtain the target business text data.
[0030] In one possible implementation of this application, after obtaining the function description data of the target business function, configuring the business text data according to the function description data and the target variable data, and generating the target business text data, the method further includes:
[0031] Respond to the variable location request and obtain the target variable data pointed to by the variable location request;
[0032] Obtain the variable description sub-interface associated with the target variable data, and display the variable description sub-interface at a preset position corresponding to the target variable data.
[0033] On the other hand, this application provides a business data configuration device, the business data configuration device comprising:
[0034] The data acquisition module is configured to respond to a business configuration request, acquire business text data, and business variable data to be configured in the business text data;
[0035] The function configuration module is configured to obtain the target business sub-function corresponding to the business type of the business variable data, and to configure the target business function of the business variable data according to the target business sub-function and the preset configuration template.
[0036] The variable calculation module is configured to calculate the target variable data of the business text data based on the target business function and the business variable data.
[0037] The variable rendering module is configured to obtain the function description data of the target business function, configure the business text data according to the function description data and the target variable data, and generate the target business text data.
[0038] On the other hand, this application also provides a business data configuration device, the business data configuration device comprising:
[0039] One or more processors;
[0040] Memory; and
[0041] One or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the processor to implement the business data configuration method.
[0042] On the other hand, this application also provides a computer-readable storage medium having a computer program stored thereon, the computer program being loaded by a processor to execute the steps in the business data configuration method.
[0043] This application, in response to a business configuration request, obtains business text data and business variable data to be configured within the business text data; obtains the target business sub-function corresponding to the business type of the business variable data; configures the target business function of the business variable data according to the target business sub-function and a preset configuration template; calculates the target variable data of the business text data based on the target business function and the business variable data; obtains the function description data of the target business function; configures the business text data according to the function description data and the target variable data; and generates the target business text data. This achieves the goal of determining the corresponding target business sub-function based on the business type of the business variable data, configuring the target business function based on the target business sub-function, and configuring the variable data in the business text data, thereby reducing operational complexity and improving the configurability of variable calculation. Attached Figure Description
[0044] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0045] Figure 1 This is a schematic diagram illustrating a scenario of the business data configuration method in an embodiment of this application.
[0046] Figure 2 This is a flowchart illustrating one embodiment of the business data configuration method in this application.
[0047] Figure 3 A flowchart illustrating an embodiment of the business data configuration method provided in this application for creating a business sub-function;
[0048] Figure 4 A flowchart illustrating an embodiment of the business data configuration method for calculating target variable data provided in this application;
[0049] Figure 5 This is a schematic diagram of an embodiment of the business data configuration device provided in this application.
[0050] Figure 6 This is a schematic diagram of an embodiment of the business data configuration device provided in this application. Detailed Implementation
[0051] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0052] In the description of this invention, it should be understood that the terms "center," "longitudinal," "lateral," "length," "width," "thickness," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," and "outer," etc., indicating orientation or positional relationships based on the orientation or positional relationships shown in the accompanying drawings, are only for the convenience of describing the invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of the invention. Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Thus, features defined with "first" and "second" may explicitly or implicitly include one or more of the stated features. In the description of this invention, "a plurality of" means two or more, unless otherwise explicitly specified.
[0053] In this application, the term "exemplary" is used to mean "serving as an example, illustration, or description." Any embodiment described as "exemplary" in this application is not necessarily to be construed as being more preferred or advantageous than other embodiments. The following description is provided to enable any person skilled in the art to make and use the invention. Details are set forth in the following description for purposes of explanation. It should be understood that those skilled in the art will recognize that the invention can be made without using these specific details. In other instances, well-known structures and processes will not be described in detail to avoid obscuring the description of the invention with unnecessary detail. Therefore, the invention is not intended to be limited to the embodiments shown, but is consistent with the broadest scope of the principles and features disclosed in this application.
[0054] Currently, with the rapid development of the insurance industry, insurance companies are launching various types of insurance to meet different user needs. However, existing insurance systems need to display a large amount of insurance data to users during operation. This data includes dynamically calculated insurance data based on the insurance plan, requiring formula configuration for real-time display. Current configuration methods rely on preset variables and string replacement, leading to difficulties in expansion, complex operation, and user comprehension.
[0055] Based on this, this application proposes a business data configuration method, apparatus, device, and computer-readable storage medium to solve the technical problems of poor scalability and complex operation of business data configuration in the prior art.
[0056] The business data configuration method in this embodiment of the invention is applied to a business data configuration device, which is configured in a business data configuration equipment. The business data configuration equipment includes one or more processors, a memory, and one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the processor to implement the business data configuration method. The business data configuration equipment can be a smart terminal, such as a mobile phone, tablet computer, network device, and smart computer. Optionally, the business data configuration equipment can also be a server or a service cluster composed of multiple servers.
[0057] like Figure 1 As shown, Figure 1 This is a schematic diagram of a scenario for a business data configuration method according to an embodiment of this application. In this embodiment of the invention, the business data configuration scenario includes multiple business data configuration devices 100 (each business data configuration device 100 integrates a business data configuration apparatus). Each business data configuration device 100 is equipped with a computer-readable storage medium corresponding to the business data configuration method to execute the steps of the business data configuration method.
[0058] Understandable, Figure 1 The business data configuration device in the scenario of the business data configuration method shown, or the device included in the business data configuration device, does not constitute a limitation on the embodiments of the present invention. That is, the number or type of the business data configuration device in the scenario of the business data configuration method, or the number or type of the device included in each device, does not affect the overall implementation of the technical solution in the embodiments of the present invention, and can all be considered as equivalent substitutions or derivatives of the technical solutions claimed in the embodiments of the present invention.
[0059] In this embodiment of the invention, the business data configuration device 100 is mainly used to: respond to a business configuration request, obtain business text data, and business variable data to be configured in the business text data;
[0060] Obtain the target business sub-function corresponding to the business type of the business variable data, and configure the target business function of the business variable data according to the target business sub-function and the preset configuration template;
[0061] The target variable data of the business text data is calculated based on the target business function and the business variable data.
[0062] Obtain the function description data of the target business function, configure the business text data according to the function description data and the target variable data, and generate the target business text data.
[0063] In this embodiment of the invention, the service data configuration device 100 can be multiple independent service data configuration devices, such as mobile phones, tablets, network devices, servers, and smart computers, or it can be a service data configuration network or service data configuration cluster composed of multiple service data configuration devices.
[0064] This application provides a business data configuration method, apparatus, device, and computer-readable storage medium, which will be described in detail below.
[0065] It will be understood by those skilled in the art that Figure 1 The application environment shown is only one application scenario related to the solution of this application and does not constitute a limitation on the application scenario of this application. Other application environments may include more than one application scenario. Figure 1 The diagram shows more or fewer service data configuration devices, or service data configuration network connection relationships, for example... Figure 1 Only one business data configuration device is shown in the document. It can be understood that the scenario of this business data configuration method may also include one or more business data configuration devices, which are not limited here. The business data configuration device may also include a memory for storing other data.
[0066] It should be noted that, Figure 1 The schematic diagram of the business data configuration method shown is merely an example. The scenarios of the business data configuration method described in this embodiment are intended to more clearly illustrate the technical solutions of this embodiment and do not constitute a limitation on the technical solutions provided by this embodiment.
[0067] Based on the scenarios described above regarding the business data configuration method, various embodiments of the business data configuration method disclosed in this invention are proposed.
[0068] like Figure 2 As shown, Figure 2This is a flowchart illustrating one embodiment of the business data configuration method in this application. The business data configuration method includes the following steps 201-204:
[0069] 201. Respond to the business configuration request, obtain the business text data, and the business variable data to be configured in the business text data;
[0070] The business data configuration method in this embodiment is applied to a business data configuration device. The type and number of business data configuration devices are not specifically limited. That is, the business data configuration device can be one or more smart terminals equipped with cameras. In a specific embodiment, the business data configuration device is a smart computer.
[0071] Specifically, the business data configuration device is configured to acquire business text data, generate target business functions for the business variable data within the business text data, calculate target variable data corresponding to the business variable data based on the target business functions, and configure the business text data using the target variable data and the target business functions, thereby generating the target business text data. Here, the business data can be insurance business data, and the business variable data consists of various insurance variable data that need to be calculated and configured based on the insurance business data. For example, the insurance variable data can be insurance variables such as the sum insured and the insurance compensation amount.
[0072] Specifically, during operation, the business data configuration device acquires a business configuration request. This request carries business text data and serves as an operation instruction that drives the device to configure the business variable data within that text data. The triggering method for this business configuration request is not specifically limited here; that is, the request can be actively triggered by the user. For example, when processing relevant business data, the user inputs that data into the device, thus actively triggering the request. Alternatively, the request can be automatically triggered by the device itself. For instance, the device may have a pre-set automatic configuration process that scans the device in real time and automatically triggers the request after acquiring the business data.
[0073] After receiving the business configuration request, the business data configuration device parses the request, extracts the business text data carried within it, and retrieves the business variable data to be configured from the business text data. This business variable data is calculated and configured based on the business type and corresponding business parameters. In one specific embodiment, the business variable data may be business data such as insurance coverage amount and insurance claim amount.
[0074] 202. Obtain the target business sub-function corresponding to the business type of the business variable data, and configure the target business function of the business variable data according to the target business sub-function and the preset configuration template;
[0075] After obtaining the business variable data, the business data configuration device also obtains the target business sub-function corresponding to the business type of the business variable data, and configures the target business function of the business variable data according to the target business sub-function and the preset configuration template.
[0076] Specifically, after the business data configuration device obtains the business variable data, it also reads the business type corresponding to the business variable data, accesses the preset database, calculates the similarity between the business type and each historical business type in the business variable database, and compares the similarity with the preset similarity threshold to obtain the target business type of the business variable data.
[0077] Optionally, the business data configuration device sets historical business data with a similarity greater than the preset similarity threshold as the target business type for the business variable data. After obtaining the target business type of the business variable data, the business data configuration device also obtains the corresponding business sub-function of the target business type from the preset database. This business sub-function is the variable calculation function corresponding to the target business type.
[0078] After obtaining the business sub-functions of each business variable data, the business data configuration device generates the target business function of the business variable data based on the business sub-functions and the preset configuration template.
[0079] 203. Calculate the target variable data of the business text data based on the target business function and the business variable data;
[0080] After generating the target business function for the business variable data based on the business type of the business variable data, the business data configuration device calculates each target variable data in the business text data according to the target business function and the business variable data.
[0081] Specifically, the business data configuration device acquires the initial data and variable operators for each business variable, and inputs these initial data and variable operators into the target business function corresponding to that business variable. The target business function is then configured using these initial data and variable operators, and the target variable data for the business text data is calculated using the configured target business function. Here, the initial data refers to the business data carried within the business variable data used to calculate the target variable value. For example, in insurance business data, this initial value could be business data such as the insurance period and damage assessment value.
[0082] After the business data configuration device calculates the target variable data of each business variable data through each target business function, it will also configure the obtained target variable data into the business text data.
[0083] 204. Obtain the function description data of the target business function, configure the business text data according to the function description data and the target variable data, and generate the target business text data.
[0084] After calculating the target variable data for each business variable, the business data configuration device also obtains the function description data of the target business function, configures the business text data based on the function description data and the target variable data, and generates the target business text data.
[0085] Specifically, when generating the target business function, the business data configuration device also generates function description data for the target business function based on each target business sub-function carried within it. This function description data is explanatory data characterizing the business type of the target business function and the business variable data. After obtaining the function description data of the target business function, the business data configuration device also generates a variable description sub-interface for this function description data. The business text data is configured through this variable description sub-interface to obtain the target business text data.
[0086] Specifically, the business data configuration device inputs the function description data into a preset rendering page, configures the preset rendering page using this function description data, and generates a variable description sub-interface. After obtaining the variable description sub-interface, the business data configuration device associates it with the target variable data, collapses the sub-interface at the interface corresponding to the target variable data, obtains the target business text data, and configures this target business text data on the designated display interface. Furthermore, upon receiving a user's variable location request, the business data configuration device displays the variable description sub-interface at the target variable data indicated by the variable location request, thereby improving the visibility of the target variable data configuration.
[0087] In this embodiment, the business data configuration device, in response to a business configuration request, acquires business text data and business variable data to be configured within the business text data; acquires the target business sub-function corresponding to the business type of the business variable data; configures the target business function of the business variable data according to the target business sub-function and a preset configuration template; calculates the target variable data of the business text data based on the target business function and the business variable data; acquires the function description data of the target business function; configures the business text data according to the function description data and the target variable data; and generates the target business text data. This achieves the goal of determining the corresponding target business sub-function based on the business type of the business variable data, and configuring the target business function based on the target business sub-function to configure the variable data in the business text data, reducing operational complexity and improving the configurability of variable calculation.
[0088] like Figure 3 As shown, Figure 3 A flowchart illustrating an embodiment of the business data configuration method provided in this application for creating a business sub-function, specifically including steps 301-303:
[0089] 301. Access the preset business database and obtain the historical business data stored in the business database;
[0090] 302. Obtain the historical business type of the historical business data, and compile the function bytecode associated with the historical business type;
[0091] 303. Obtain the function description data corresponding to the historical business type, generate the business sub-function of the historical business type according to the function description data and the function bytecode, and save it to the preset database.
[0092] Based on the above embodiments, in this embodiment, after the business data configuration device is powered on, it also pre-sets a business database according to the business system to which the business data configuration device belongs, and collects historical business data through the business database.
[0093] Specifically, after receiving a business configuration request, the business data configuration device accesses a pre-set business database to retrieve historical business data stored in that database. The device parses this historical business data to determine its historical business type. It then compiles this historical business type using a pre-set function parsing engine to obtain the associated function bytecode. Optionally, this function parsing engine can be Aviator, and the function bytecode can support Chinese naming conventions.
[0094] Specifically, the business data configuration device also obtains the function description data corresponding to the historical business type, associates the function description data with the function bytecode, and inputs it into a preset virtual machine for execution, thereby generating the business sub-function corresponding to the historical business type.
[0095] After generating business sub-functions corresponding to each historical business type, the business data configuration device further encapsulates these sub-functions based on the historical business types, generating a preset database. This preset database is then used to compare the business type with the historical business type to determine the target business sub-function for the business variable data. Finally, all business sub-functions are aggregated to generate the target business function, which is then used to configure the target variable data for the business variable data.
[0096] In this embodiment, the business data configuration device accesses a preset database to obtain historical business data stored in the database; obtains the historical business types of the historical business data; compiles the function bytecode associated with the historical business types; obtains the function description data corresponding to the historical business types; and generates business sub-functions for the historical business types based on the function description data and the function bytecode. This enables the pre-generation of various business sub-functions based on historical business types, reducing the complexity of business data configuration.
[0097] like Figure 4 As shown, Figure 4 A flowchart illustrating an embodiment of the business data configuration method for calculating target variable data provided in this application, specifically including steps 401-404:
[0098] 401. A target suggestion sub-function for obtaining the business variable data based on the initial data and the variable operator;
[0099] 402. If the target suggestion subfunction and the target business subfunction do not match, the target business function is modified according to the target suggestion subfunction to obtain the modified business function;
[0100] 403. Configure the modified business function according to the initial data and the variable operator to obtain the configured modified business function;
[0101] 404. Calculate the target variable data of the business text data based on the configured modified business function and the business variable data.
[0102] Based on the above embodiments, in this embodiment, after obtaining the target business function, the business data configuration device further modifies the target business function to obtain a modified business function, and uses the modified business function to calculate the business variable data to obtain the target variable data of the business text data.
[0103] Specifically, after acquiring the initial data and variable operators, the business data configuration device retrieves a preset function suggestion database using the initial data and variable operators to obtain the target suggestion sub-function for the business variable data. This target suggestion sub-function is the function described in the function description data used to calculate the business variable data.
[0104] After obtaining the target suggested subfunction, the business data configuration device matches the target suggested subfunction with the corresponding target business subfunction in the target business function. If the target suggested subfunction and the target business subfunction do not match, the business data configuration device replaces the target business subfunction with the target suggested subfunction, thereby correcting the target business data according to the target suggested subfunction to obtain the corrected business function.
[0105] After obtaining the corrected business function, the business data configuration device will input the initial data and variable operators into the corrected business function for configuration, obtain the configured corrected business function, and calculate the target variable data corresponding to the business variable data based on the configured corrected business function.
[0106] After acquiring the target variable data of each business variable, the business data configuration device fills the target variable data into the corresponding position of the business variable data to obtain the target business text data.
[0107] In this embodiment, the business data configuration device obtains the target suggested sub-function of the business variable data based on the initial data and the variable operators; if the target suggested sub-function and the target business sub-function do not match, the target business function is modified according to the target suggested sub-function to obtain a modified business function; the modified business function is configured according to the initial data and the variable operators to obtain a configured modified business function; and the target variable data of the business text data is calculated based on the configured modified business function and the business variable data. This reduces the configuration complexity of business data and improves configuration efficiency.
[0108] To better implement the business data configuration method in the embodiments of this application, based on the business data configuration method, the embodiments of this application also provide a business data configuration device, such as... Figure 5 As shown, Figure 5 This is a schematic diagram of an embodiment of the business data configuration device 500 in this application. The business data configuration device 500 includes:
[0109] The data acquisition module 501 is configured to respond to a business configuration request, acquire business text data, and business variable data to be configured in the business text data;
[0110] The function configuration module 502 is configured to obtain the target business sub-function corresponding to the business type of the business variable data, and to configure the target business function of the business variable data according to the target business sub-function and the preset configuration template.
[0111] The variable calculation module 503 is configured to calculate the target variable data of the business text data based on the target business function and the business variable data.
[0112] The variable rendering module 504 is configured to obtain the function description data of the target business function, configure the business text data according to the function description data and the target variable data, and generate the target business text data.
[0113] In some embodiments of this application, before the business data configuration device 500 obtains the target business sub-function corresponding to the business type of the business variable data, it further includes:
[0114] Access the preset business database to obtain historical business data stored in the business database;
[0115] Obtain the historical business type of the historical business data, and compile the function bytecode associated with the historical business type;
[0116] Obtain the function description data corresponding to the historical business type, generate the business sub-function of the historical business type based on the function description data and the function bytecode, and save it to a preset database;
[0117] The target business sub-function corresponding to the business type for obtaining the business variable data further includes:
[0118] Query the preset database to obtain the target business sub-function corresponding to the business type of the business variable data.
[0119] In some embodiments of this application, the business data configuration device 500 queries the preset database to obtain the target business sub-function corresponding to the business type of the business variable data, including:
[0120] Obtain the business type of the business variable data, and calculate the similarity between the business type and each of the historical business types in the preset database;
[0121] Set the historical business types with similarity greater than a preset similarity threshold as the target business types of the business variable data;
[0122] Obtain the business sub-function corresponding to each target business type in the preset database to obtain the target business sub-function of the business variable data.
[0123] In some embodiments of this application, the business data configuration device 500 calculates the target variable data of the business text data based on the target business function and the business variable data, including:
[0124] Obtain the initial data and variable operators of the business variable data;
[0125] Configure the target business function based on the initial data and the variable operator, and calculate the target variable data of the business text data based on the configured target business function.
[0126] In some embodiments of this application, the business data configuration device 500 calculates the target variable data of the business text data based on the target business function and the business variable data, including:
[0127] The target suggestion sub-function obtains the business variable data based on the initial data and the variable operator;
[0128] If the target suggestion subfunction and the target business subfunction do not match, the target business function is modified according to the target suggestion subfunction to obtain the modified business function;
[0129] The modified business function is configured based on the initial data and the variable operators to obtain the configured modified business function;
[0130] The target variable data of the business text data is calculated based on the configured modified business function and the business variable data.
[0131] In some embodiments of this application, the business data configuration device 500 acquires the function description data of the target business function, configures the business text data according to the function description data and the target variable data, and generates target business text data, including:
[0132] Obtain the function description data of the target business function;
[0133] Input the function description data into the preset rendering page to generate a variable description sub-interface;
[0134] The variable description sub-interface is associated with the target variable data, and the business text data is configured according to the target variable data and the variable description sub-interface to obtain the target business text data.
[0135] In some embodiments of this application, after the business data configuration device 500 obtains the function description data of the target business function, configures the business text data according to the function description data and the target variable data, and generates the target business text data, it further includes:
[0136] Respond to the variable location request and obtain the target variable data pointed to by the variable location request;
[0137] Obtain the variable description sub-interface associated with the target variable data, and display the variable description sub-interface at a preset position corresponding to the target variable data.
[0138] In this embodiment, the business data configuration device, in response to a business configuration request, acquires business text data and business variable data to be configured within the business text data; acquires the target business sub-function corresponding to the business type of the business variable data; configures the target business function of the business variable data according to the target business sub-function and a preset configuration template; calculates the target variable data of the business text data based on the target business function and the business variable data; acquires the function description data of the target business function; configures the business text data according to the function description data and the target variable data; and generates the target business text data. This achieves the goal of determining the corresponding target business sub-function based on the business type of the business variable data, and configuring the target business function based on the target business sub-function to configure the variable data in the business text data, reducing operational complexity and improving the configurability of variable calculation.
[0139] This invention also provides a business data configuration device, such as... Figure 6 As shown, Figure 6 This is a schematic diagram of an embodiment of the business data configuration device provided in this application.
[0140] The business data configuration device integrates any of the business data configuration apparatuses provided in the embodiments of the present invention, and the business data configuration device includes:
[0141] One or more processors;
[0142] Memory; and
[0143] One or more applications, wherein the one or more applications are stored in the memory and configured by the processor to execute the steps of the business data configuration method in any of the embodiments described above.
[0144] Specifically, the business data configuration device may include components such as a processor 601 with one or more processing cores, a memory 602 with one or more computer-readable storage media, a power supply 603, and an input unit 604. Those skilled in the art will understand that... Figure 6 The business data configuration device structure shown does not constitute a limitation on the business data configuration device. It may include more or fewer components than shown, or combine certain components, or have different component arrangements. Wherein:
[0145] The processor 601 is the control center of the service data configuration device. It connects various parts of the device via various interfaces and lines, and performs various functions and processes data by running or executing software programs and / or modules stored in the memory 602, and by calling data stored in the memory 602, thereby providing overall monitoring of the service data configuration device. Optionally, the processor 601 may include one or more processing cores; preferably, the processor 601 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface, and applications, and the modem processor mainly handles wireless communication. It is understood that the modem processor may not be integrated into the processor 601.
[0146] The memory 602 can be used to store software programs and modules. The processor 601 executes various functional applications and data processing by running the software programs and modules stored in the memory 602. The memory 602 may mainly include a program storage area and a data storage area. The program storage area may store the operating system, application programs required for at least one function (such as sound playback function, image playback function, etc.), etc.; the data storage area may store data created based on the configuration of device usage according to business data. In addition, the memory 602 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 602 may also include a memory controller to provide the processor 601 with access to the memory 602.
[0147] The business data configuration device also includes a power supply 603 that supplies power to various components. Preferably, the power supply 603 can be logically connected to the processor 601 through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system. The power supply 603 may also include one or more DC or AC power supplies, recharging systems, power fault detection circuits, power converters or inverters, power status indicators, and other arbitrary components.
[0148] The business data configuration device may also include an input unit 604, which can be used to receive input digital or character information, and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.
[0149] Although not shown, the business data configuration device may also include a display unit, etc., which will not be described in detail here. Specifically, in this embodiment, the processor 601 in the business data configuration device loads the executable files corresponding to the processes of one or more applications into the memory 602 according to the following instructions, and the processor 601 runs the applications stored in the memory 602 to realize various functions, as follows:
[0150] Responding to a business configuration request, the system obtains business text data and the business variable data to be configured from the business text data.
[0151] Obtain the target business sub-function corresponding to the business type of the business variable data, and configure the target business function of the business variable data according to the target business sub-function and the preset configuration template;
[0152] The target variable data of the business text data is calculated based on the target business function and the business variable data.
[0153] Obtain the function description data of the target business function, configure the business text data according to the function description data and the target variable data, and generate the target business text data.
[0154] Therefore, embodiments of the present invention provide a computer-readable storage medium, which may include: read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk, etc. A computer program is stored thereon, which is loaded by a processor to execute the steps in any of the business data configuration methods provided in the embodiments of the present invention. For example, the computer program loaded by the processor can execute the following steps:
[0155] Responding to a business configuration request, the system obtains business text data and the business variable data to be configured from the business text data.
[0156] Obtain the target business sub-function corresponding to the business type of the business variable data, and configure the target business function of the business variable data according to the target business sub-function and the preset configuration template;
[0157] The target variable data of the business text data is calculated based on the target business function and the business variable data.
[0158] Obtain the function description data of the target business function, configure the business text data according to the function description data and the target variable data, and generate the target business text data.
[0159] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the detailed descriptions of other embodiments above, which will not be repeated here.
[0160] In practice, each of the above units or structures can be implemented as an independent entity or can be arbitrarily combined to be implemented as the same or several entities. For the specific implementation of each of the above units or structures, please refer to the previous method embodiments, which will not be repeated here.
[0161] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.
[0162] The above provides a detailed description of a business data configuration method provided by the embodiments of this application. Specific embodiments have been used to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only for the purpose of helping to understand the method and core ideas of the present invention. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of the present invention. Therefore, the content of this specification should not be construed as a limitation of the present invention.
Claims
1. A business data configuration method, characterized in that, The business data configuration method includes: Responding to a business configuration request, the system obtains business text data and the business variable data to be configured from the business text data. Obtain the target business sub-function corresponding to the business type of the business variable data, and configure the target business function of the business variable data according to the target business sub-function and the preset configuration template; The target variable data of the business text data is calculated based on the target business function and the business variable data; the calculation of the target variable data of the business text data based on the target business function and the business variable data includes: Obtain the initial data and variable operators of the business variable data; The target suggestion sub-function obtains the business variable data based on the initial data and the variable operator; If the target suggestion subfunction and the target business subfunction do not match, the target business function is modified according to the target suggestion subfunction to obtain the modified business function; The modified business function is configured based on the initial data and the variable operators to obtain the configured modified business function; The target variable data of the business text data is calculated based on the configured modified business function and the business variable data. Obtain the function description data of the target business function, configure the business text data according to the function description data and the target variable data, and generate the target business text data.
2. The business data configuration method as described in claim 1, characterized in that, Before the target business sub-function corresponding to the business type for obtaining the business variable data, the method further includes: Access the preset business database to obtain historical business data stored in the business database; Obtain the historical business type of the historical business data, and compile the function bytecode associated with the historical business type; Obtain the function description data corresponding to the historical business type, generate the business sub-function of the historical business type based on the function description data and the function bytecode, and save it to a preset database; The target business sub-function corresponding to the business type for obtaining the business variable data further includes: Query the preset database to obtain the target business sub-function corresponding to the business type of the business variable data.
3. The business data configuration method as described in claim 2, characterized in that, The step of querying the preset database to obtain the target business sub-function corresponding to the business type of the business variable data includes: Obtain the business type of the business variable data, and calculate the similarity between the business type and each of the historical business types in the preset database; Set the historical business types with similarity greater than a preset similarity threshold as the target business types of the business variable data; Obtain the business sub-function corresponding to each target business type in the preset database to obtain the target business sub-function of the business variable data.
4. The business data configuration method as described in claim 1, characterized in that, The process of obtaining the function description data of the target business function, configuring the business text data based on the function description data and the target variable data, and generating the target business text data includes: Obtain the function description data of the target business function; Input the function description data into the preset rendering page to generate a variable description sub-interface; The variable description sub-interface is associated with the target variable data, and the business text data is configured according to the target variable data and the variable description sub-interface to obtain the target business text data.
5. The business data configuration method as described in any one of claims 1-4, characterized in that, After obtaining the function description data of the target business function, configuring the business text data based on the function description data and the target variable data, and generating the target business text data, the process further includes: Respond to the variable location request and obtain the target variable data pointed to by the variable location request; Obtain the variable description sub-interface associated with the target variable data, and display the variable description sub-interface at a preset position corresponding to the target variable data.
6. A business data configuration device, characterized in that, The business data configuration device includes: The data acquisition module is configured to respond to a business configuration request, acquire business text data, and business variable data to be configured in the business text data; The function configuration module is configured to obtain the target business sub-function corresponding to the business type of the business variable data, and to configure the target business function of the business variable data according to the target business sub-function and the preset configuration template. The variable calculation module is configured to calculate target variable data for the business text data based on the target business function and the business variable data; the calculation of target variable data for the business text data based on the target business function and the business variable data includes: Obtain the initial data and variable operators of the business variable data; The target suggestion sub-function obtains the business variable data based on the initial data and the variable operator; If the target suggestion subfunction and the target business subfunction do not match, the target business function is modified according to the target suggestion subfunction to obtain the modified business function; The modified business function is configured based on the initial data and the variable operators to obtain the configured modified business function; The target variable data of the business text data is calculated based on the configured modified business function and the business variable data. The variable rendering module is configured to obtain the function description data of the target business function, configure the business text data according to the function description data and the target variable data, and generate the target business text data.
7. A business data configuration device, characterized in that, The business data configuration device includes: One or more processors; Memory; and One or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the processor to implement the business data configuration method of any one of claims 1 to 5.
8. A computer-readable storage medium, characterized in that, It stores a computer program, which is loaded by a processor to execute the steps of the business data configuration method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Financial service data processing method and device and financial transaction terminal
CN109933626A
Stepping motor control method for ultrasonic probe, storage medium and ultrasonic probe
CN110051382A
Key value pair data assignment method and device, computer equipment and storage medium
CN110275703A