Business function configuration method, device, storage medium and business system thereof

By analyzing the interactive data between the front-end and back-end of the business system, the problem of high configuration costs and logical interference of the business system is solved, and efficient and unconscious business function configuration is achieved.

CN114356333BActive Publication Date: 2025-08-22PING AN TECH (SHENZHEN) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210032818.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-12
Publication Date
2025-08-22
Estimated Expiration
2042-01-12

AI Technical Summary

Technical Problem

The existing technology provides high maintenance costs and low efficiency when configuring business functions in business systems, and is easy to interfere with the logic of the existing business system and affect normal use.

Method used

By obtaining the interactive data between the front-end display page of the business system and the back-end processor, the Naive Bayes classification algorithm and syntax analysis algorithm are used to generate function configuration items, and store them in the configuration manager to dynamically call the target function configuration items matching the access request to generate the business functions of the front-end display page.

Benefits of technology

It realizes business function configuration without development costs, reduces maintenance costs, reduces perception of the business system, avoids interference with the original business logic, and ensures the normal use of the business system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114356333B_ABST
    Figure CN114356333B_ABST
Patent Text Reader

Abstract

The present application is applicable to the fields of artificial intelligence and intelligent decision-making technology, and provides a business function configuration method, device, storage medium and business system thereof. The method comprises: obtaining the interaction data between the front-end display page of the business system and the back-end processor, performing configuration category analysis on the interaction data using a preset data analysis model, generating function configuration items for use by the business system based on the interaction data, and storing the function configuration items and the configuration item data corresponding to the function configuration items in a configuration manager; based on the user's access request, calling the target function configuration item that matches the access request from the configuration manager, and dynamically changing the configuration item data corresponding to the target function configuration item according to the content of the access request, and synthesizing the business function that matches the access request and is applied to the front-end display page. This method solves the problems of high maintenance cost and low efficiency when configuring business functions in the business system, as well as the problem of easy interference with the original business logic due to strong perception.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the fields of artificial intelligence and intelligent decision-making technology, and in particular to a business function configuration method, device, storage medium and business system thereof. Background Art

[0002] Business system development typically begins with foundational functionality, followed by additional functionality based on actual business needs. When adding new functionality to a business system, given the uncertainty surrounding these features, a development configuration switch is often employed. A configuration switch specifically determines the use of a business function through configuration, such as whether the function is available and how it should be used. Currently, there are two approaches to developing configuration switches: the first is based on static files in a CMS, controlled by modifying fields in a static JSON file and supporting online configuration editing. The second is based on a rule engine that dynamically calculates and merges rules. However, using this development configuration switch approach to add new business functionality to a business system requires significant development and testing manpower and time, and the resulting configuration switches require ongoing maintenance, resulting in high maintenance costs. Furthermore, adding new business functionality to a business system using this development configuration switch approach can be highly perceptible to the business system and easily interfere with the logic of the existing business system. If the associated impact risks associated with development are not adequately assessed, production line issues can occur, impacting the normal operation of the business system. Summary of the Invention

[0003] In view of this, the embodiments of the present application provide a business function configuration method, device, storage medium and business system thereof, which can solve the problems of high maintenance cost and low efficiency of the business system when configuring business functions or / and reduce the business system's perception of the business function configuration process, avoid interfering with the logic of the existing business system, and ensure the normal use of the business system.

[0004] A first aspect of an embodiment of the present application provides a service function configuration method, including:

[0005] Acquiring interaction data between a front-end display page of the business system and a back-end processor, wherein the interaction data includes request data transmitted by the front-end display page to the back-end processor for processing and / or response data fed back to the front-end display page after processing by the back-end processor;

[0006] Performing configuration category analysis on the interaction data using a preset data analysis model to generate functional configuration items for use by the business system based on the interaction data, and storing the functional configuration items and configuration item data corresponding to the functional configuration items in a configuration manager;

[0007] Based on the user's access request, the target function configuration item that matches the access request is called from the configuration manager, and the configuration item data corresponding to the target function configuration item is dynamically changed according to the content of the access request to synthesize the business function that matches the access request and is applied to the front-end display page.

[0008] In conjunction with the first aspect, in a first possible implementation of the first aspect, the step of performing configuration category analysis on the interaction data using a preset data analysis model to generate functional configuration items of the business system based on the interaction data includes:

[0009] A naive Bayes classification algorithm and a grammatical analysis algorithm are used to perform field analysis on the string field contained in the interaction data to determine whether the string field has a configurable attribute. If so, a functional configuration item for representing the string field is generated as a functional configuration item of the business system.

[0010] In combination with the first possible implementation manner of the first aspect, in the second possible implementation manner of the first aspect, the step of using a naive Bayes classification algorithm and a grammatical analysis algorithm to perform field analysis on the string field contained in the interaction data and determining whether the string field has a configurable attribute includes:

[0011] The frequency information, value information and regularity information of the string field appearing in the interaction data are counted, and whether the string field has a configurable attribute is determined according to the frequency information, value information and regularity information.

[0012] In combination with the second possible implementation manner of the first aspect, in a third possible implementation manner of the first aspect, the step of using a naive Bayes classification algorithm and a grammatical analysis algorithm to perform field analysis on the string field contained in the interaction data and determining whether the string field has a configurable attribute includes:

[0013] Determining whether the parameter represented by the string field is enumerable or can be set to a fixed value based on the frequency information, the numerical value information, and the regularity information; if so, determining that the string field has a configurable attribute; and / or

[0014] Determining whether the string field has a time attribute based on the frequency information, the value information, and the regularity information, and if so, determining that the string field has a configurable attribute; and / or

[0015] Determining whether the string field is associated with a user ID or user information based on the frequency information, the value information, and the regularity information; and if so, determining that the string field has a configurable attribute; and / or

[0016] Determining whether the string field is associated with a geographic location based on the frequency information, the value information, and the regularity information; and if so, determining that the string field has a configurable attribute; and / or

[0017] It is determined whether the string field is associated with business data according to the frequency information, the value information, and the regularity information. If so, it is determined that the string field has a configurable attribute.

[0018] In combination with the first aspect or the first, second, or third possible implementation manner of the first aspect, in a fourth possible implementation manner of the first aspect, the step of performing configuration category analysis on the interaction data using a preset data analysis model to generate functional configuration items of the business system based on the interaction data, and storing the functional configuration items and configuration item data corresponding to the functional configuration items in a configuration manager further includes:

[0019] Acquire source interface information of the interactive data, wherein the source interface information includes a target interface name corresponding to an interface accessing the interactive data;

[0020] querying a preset association relationship table between interface names and configuration category analysis dimensions according to the target interface name, and determining a target configuration category analysis dimension for performing configuration category analysis on the interaction data from the association relationship table between the interface names and configuration category analysis dimensions;

[0021] The target configuration category analysis dimension is input into the preset data analysis model, so that the data analysis model performs configuration category analysis on the interaction data according to the target configuration category analysis dimension.

[0022] In conjunction with the first aspect, in a fifth possible implementation of the first aspect, the step of, based on a user access request, calling a target function configuration item that matches the access request from the configuration manager, and dynamically changing configuration item data corresponding to the target function configuration item according to the content of the access request to generate a business function that matches the access request and is applied to a front-end display page, further includes:

[0023] If there are multiple target function configuration items, the multiple target function configuration items are aggregated to combine the multiple target function configuration items into one business function and apply it to the front-end display page.

[0024] A second aspect of an embodiment of the present application provides a business system, which is used to implement the business function configuration method described in the first aspect. The business system includes a front-end display page, a front-end interception plug-in, a configuration manager, and a back-end processor, wherein:

[0025] The front-end display page is used to receive access requests input by users and perform page rendering operations according to the business functions synthesized by the front-end interception plug-in;

[0026] The front-end interception plug-in is used to intercept the request data before the front-end display page transmits the request data to the back-end processor for processing and / or intercept the response data obtained after processing before the back-end processor feeds back the response data to the front-end display page, and call the preset data analysis model to perform configuration category analysis on the request data and / or the response data to obtain functional configuration items for use by the business system;

[0027] The configuration manager is used to store and manage the function configuration items obtained by the front-end interception plug-in and the function configuration item data corresponding to the function configuration items;

[0028] The back-end processor is used to perform business logic processing according to the user's access request and feedback response data corresponding to the access request to the front-end display page.

[0029] In conjunction with the second aspect, in a first possible implementation of the second aspect, in the business system, the configuration manager is provided with a configuration item validation module, wherein:

[0030] The configuration item validation module is used to set the pre-parameters of the function configuration item according to a preset logic to determine the validation mode of the function configuration item according to the pre-parameters, wherein the preset logic includes one or more of 'OR', 'AND', and 'NOT'.

[0031] A third aspect of an embodiment of the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the electronic device, wherein the processor implements the steps of the service function configuration method provided in the first aspect when executing the computer program.

[0032] A fourth aspect of an embodiment of the present application provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it implements the steps of the business function configuration method provided in the first aspect.

[0033] The embodiments of the present application provide a method, device, storage medium, and service system for configuring service functions, which have the following beneficial effects:

[0034] On the one hand, by performing configuration category analysis on the interaction data between the front-end display page of the business system and the back-end processor, configuration items are automatically generated for the business system to configure business functions, making full use of the existing data of the business system. Moreover, the process of automatically generating configuration items is synchronized with the use of the business system in real time, without any development costs, solving the problems of high maintenance costs and low efficiency of the business system when configuring business functions.

[0035] On the other hand, by calling the target function configuration item that matches the access request from the configuration manager, and dynamically changing the configuration item data corresponding to the target function configuration item according to the content of the access request, a business function that matches the access request and is applied to the front-end display page is generated. This can achieve non-intrusion into the business code in the business system, thereby reducing the business system's awareness of the business function configuration process, reducing coupling, avoiding interference with the original business logic of the business system, and ensuring the normal use of the business system. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the embodiments or descriptions of the prior art. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0037] Figure 1 A flowchart of a method for configuring business functions provided in an embodiment of the present application;

[0038] Figure 2 A flow chart of a method for performing configuration category analysis on interaction data in the business function configuration method provided in an embodiment of the present application;

[0039] Figure 3 A schematic diagram of the structure of a business system with a business function configuration method provided in an embodiment of the present application;

[0040] Figure 4 This is a basic structural block diagram of a business function configuration device provided in an embodiment of the present application.

[0041] Figure 5 This is a basic structural block diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0042] In order to make the purpose, technical solutions and advantages of this application more clearly understood, the present application is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain this application and are not intended to limit this application.

[0043] See also Figure 1 , Figure 1 This is a flowchart of a method for configuring business functions provided in an embodiment of the present application. Detailed description is as follows:

[0044] S11: Obtain interaction data between the front-end display page of the business system and the back-end processor, wherein the interaction data includes request data transmitted by the front-end display page to the back-end processor for processing and / or response data fed back to the front-end display page by the back-end processor after processing.

[0045] In the business system, the front-end display page interacts with the back-end processor by calling the back-end interface. In this embodiment, a front-end interception plug-in is built at the business system access layer and at the business system back-end service layer, respectively, and the front-end interception plug-in intercepts and obtains the interaction data between the front-end display page and the back-end processor. Among them, through the front-end interception plug-in built at the business system access layer, the front-end display page intercepts the data before transmitting the request data input by the user to the back-end processor for processing, and obtains the request data. Through the front-end interception plug-in built at the business system back-end service layer, the back-end processor intercepts the data before feeding back the response data obtained after processing to the front-end display page, and obtains the response data.

[0046] S12: Performing configuration category analysis on the interaction data using a preset data analysis model to generate functional configuration items of the business system based on the interaction data, and storing the functional configuration items and configuration item data corresponding to the functional configuration items in a configuration manager.

[0047] The interaction data is represented as a JSON (JavaScript Object Notation) formatted file. In the JSON formatted file, the interaction data is serialized as a string field based on an object. In this embodiment, the preset data analysis model uses a naive Bayesian classification algorithm. The naive Bayesian classification algorithm is used to calculate the probability of each category appearing under the condition that the item to be classified appears, and the category with the highest probability of appearing is determined as the category to which the item to be classified belongs. In the preset data analysis model, the string field contained in the interaction data is used as the item to be classified. The naive Bayesian classification algorithm is used to calculate the probability of each configuration category appearing in the data analysis model under the condition that the string field appears. This is used to obtain the configuration category to which the string field belongs, and a functional configuration item representing the string field is generated according to the configuration category. Furthermore, the generated functional configuration item is stored in a database so that the functional configuration item and the corresponding configuration item data are stored in a configuration manager built into the business system, thereby enabling the preemptive and intelligent generation of configuration items for use by the business system for functional configuration based on the interaction data.

[0048] In some embodiments of the present application, when a preset data analysis model is used to perform configuration category analysis on the interaction data, it can be specifically combined with a naive Bayes classification algorithm and a grammatical analysis algorithm for natural language processing. The interaction data is analyzed by the grammatical analysis algorithm to obtain one or more string fields contained in the interaction data. Then, the naive Bayes classification algorithm is used to perform field analysis on each string field to determine whether each string field has configurable attributes.

[0049] For example, when performing field analysis, the frequency, value, and pattern of occurrence of a string field can be counted. Based on the frequency information, value information, and pattern information obtained from the statistics, any one or more of the following preset analysis items can be used to determine whether the string field has configurable attributes:

[0050] First, based on the frequency information, the numerical information, and the regularity information, it is determined whether the parameter represented by the string field is enumerable or can be set to a fixed value. If so, it is determined that the string field has a configurable attribute.

[0051] Second, it is determined whether the string field has a time attribute based on the frequency information, the value information, and the regularity information. If so, it is determined that the string field has a configurable attribute.

[0052] Third, it is determined whether the string field is associated with the user ID or the user information based on the frequency information, the value information, and the regularity information. If so, it is determined that the string field has a configurable attribute.

[0053] Fourth, it is determined whether the string field is associated with the geographic location based on the frequency information, the numerical information, and the regularity information. If so, it is determined that the string field has a configurable attribute.

[0054] Fifth, determine whether the string field is associated with the business data based on the frequency information, the value information, and the regularity information. If so, determine whether the string field has configurable attributes.

[0055] If the string field is determined to have configurable attributes based on the above analysis, it means that the string field can be set as a configuration item. At this time, the configurable attributes of the string field are automatically refined, and based on the automatically refined configurable attributes, a functional configuration item representing the string field is generated.

[0056] S13: Based on the user's access request, call the target function configuration item that matches the access request from the configuration manager, and dynamically change the configuration item data corresponding to the target function configuration item according to the content of the access request to generate a business function that matches the access request and is applied to the front-end display page.

[0057] In this embodiment, a user generates an access request by performing a relevant operation on the front-end display page, thereby accessing the business system through the user's access request. The access request carries header / body data corresponding to the relevant operation performed by the user. This header / body data is the request data that the front-end display page transmits to the back-end processor for processing. In this embodiment, when the business system generates a user's access request, it triggers the business system to execute the business function configuration operation.

[0058] Before executing a business function configuration operation, the business system intercepts the request data carried in the access request through a pre-interception plug-in at the business system access layer, and pre-configuration category analysis is performed on the request data carried in the access request to generate function configuration items that match the access request based on the request data in advance and store them in the configuration manager for future use. Furthermore, the business system intercepts the response data obtained by the backend processor after performing business processing on the access request, and pre-configuration category analysis is performed on the response data in advance to generate function configuration items that match the access request based on the response data and store them in the configuration manager for future use. At this point, a mapping relationship exists in the configuration manager between the pre-generated function configuration items and the content of the access request. When executing a business function configuration operation, based on the user's access request, the function configuration item that matches the user's access request can be called from the configuration manager through the mapping relationship as the target function configuration item. The configuration item data corresponding to the called system function configuration item is dynamically changed according to the content of the user's access request, thereby generating a business function that matches the user's access request and is applied to the front-end display page.

[0059] From the above, it can be seen that in the business function configuration method provided by this embodiment, by performing configuration category analysis on the interactive data between the front-end display page of the business system and the back-end processor, function configuration items for the business system to configure business functions are automatically generated. The configuration items do not have any development costs, and the data can be changed dynamically at any time. Since the configuration category analysis process is based on the json format file and is analyzed by field, field merging can also be easily implemented when each field can be changed dynamically, without consuming a lot of manpower support, which greatly reduces maintenance costs. In addition, this embodiment calls the target function configuration item that matches the access request from the configuration manager through the front-end interception plug-in. In the front-end interception plug-in, the configuration item data corresponding to the target function configuration item is dynamically changed according to the content of the access request, and a business function applied to the front-end display page that matches the access request is generated. This can achieve non-intrusion into the business code in the business system, thereby reducing the business system's perception of the business function configuration process, reducing coupling, avoiding interference with the original business logic of the business system, and ensuring the normal use of the business system.

[0060] In some embodiments of this application, please refer to Figure 2 , Figure 2 This is a flow chart of a method for analyzing the configuration category of interaction data in the service function configuration method provided in an embodiment of the present application. Details are as follows:

[0061] S21: Acquire source interface information of the interactive data, wherein the source interface information includes a target interface name corresponding to an interface accessing the interactive data;

[0062] S22: querying a preset association relationship table between interface names and configuration category analysis dimensions according to the target interface name, and determining a target configuration category analysis dimension for performing configuration category analysis on the interaction data from the association relationship table between interface names and configuration category analysis dimensions;

[0063] S23: Inputting the target configuration category analysis dimension into the preset data analysis model, so that the data analysis model performs configuration category analysis on the interaction data according to the target configuration category analysis dimension.

[0064] In this embodiment, for the interface used to transmit data set in the business system, a table is created according to the interface name, and for different interface names, corresponding configuration category analysis dimensions are set to obtain an association relationship table between the interface name and the configuration category analysis dimension, thereby realizing configuration category analysis of the interactive data based on the interface. Exemplarily, the business system accesses the interactive data through the interface used to transmit data, that is, when accessing the interactive data, the source interface information of the interactive data can be obtained by monitoring which interface of the business system the interactive data is accessed from, and then the target interface name corresponding to the interface accessing the interactive data is obtained from the source interface information. After obtaining the target interface name, the association relationship table between the pre-set interface name and the configuration category analysis dimension can be queried according to the target interface name, and the configuration category analysis dimension with an association relationship with the target interface name can be found from the association relationship table between the interface name and the configuration category analysis dimension as the target configuration category analysis dimension. Furthermore, by inputting the obtained target configuration category analysis dimension into the preset data analysis model, the data analysis model performs configuration category analysis on the interaction data according to the target configuration category analysis dimension, thereby realizing configuration category analysis of the interaction data based on the interface dimension, and increasing the efficiency and accuracy of generating functional configuration items for use by the business system.

[0065] In some embodiments of the present application, if there are multiple target function configuration items, the multiple target function configuration items are aggregated to combine the multiple target function configuration items into one business function and apply it to the front-end display page. In this embodiment, through aggregation processing, based on the user's access request, if there are multiple target function configuration items that match the access request, the front-end interception plug-in will trigger the interaction request with the back-end multiple times, and each interaction can obtain a corresponding target function configuration item. After obtaining all the target function configuration items that match the access request, the front-end interception plug-in will combine the multiple target function configuration items into one business function and return it to the front-end display page, thereby achieving the front-end display page without perception and reducing the perception of the business system.

[0066] It can be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.

[0067] In some embodiments of this application, please refer to Figure 3 , Figure 3 This is a schematic diagram of the structure of a business system with a business function configuration method provided in an embodiment of the present application. Figure 3 As shown, the business system includes a front-end display page 31, a front-end interception plug-in 32, a configuration manager 33 and a back-end processor 34.

[0068] The front-end display page 31 is used to receive access requests input by users and perform page rendering operations according to the business functions synthesized by the front-end interception plug-in 32. In this embodiment, users can generate access requests by performing relevant operations on the front-end display page 31. The access request carries header / body parameters corresponding to the operation. These header / body parameters represent the request data. In this embodiment, the front-end display page can include but is not limited to app pages, PC pages, H5 pages, etc.

[0069] The front-end interception plug-in 32 is used to intercept the request data before the front-end display page 31 transmits the request data to the back-end processor 34 for processing and / or intercept the response data before the back-end processor 34 feeds the response data obtained after processing back to the front-end display page 31, and call the preset data analysis model to perform configuration category analysis on the request data and / or response data to obtain relevant functional configuration items for use by the business system. After obtaining the relevant functional configuration items for use by the business system, the obtained functional configuration items and their functional configuration item data are stored together in the configuration manager 33 built into the business system for standby use. When the business system performs a business function configuration operation, the front-end interception plug-in 32 synthesizes the business function applied to the front-end display page 31 based on the obtained functional configuration items. In this embodiment, two front-end interception plug-ins 32 are provided, wherein one front-end interception plug-in is provided at the data access layer interface of the business system front-end display page 31 for obtaining request data, and the other front-end interception plug-in is provided at the background service layer interface of the business system back-end processor 34 for returning data.

[0070] The configuration manager 33 is used to store and manage the function configuration items and their data obtained by the front-end interception plug-in 32. In this embodiment, a data transmission channel is provided between the configuration manager 33 and the front-end interception plug-in 32. When the front-end interception plug-in 32 uses a preset data analysis model to perform configuration category analysis on the request data and / or response data and generates the relevant function configuration items, the obtained function configuration items and their data are stored in the configuration manager 33 for future use via the data transmission channel provided between the configuration manager 33 and the front-end interception plug-in 32. In this embodiment, when the business system applies a function configuration item to the front-end display page 31, the front-end interception plug-in 32 can read the function configuration item data corresponding to the function configuration item from the configuration manager 33 based on the user's access request. It can then dynamically modify the configuration item data corresponding to the called system function configuration item according to the content of the user's access request, thereby synthesizing a business function that matches the user's access request and is applied to the front-end display page. This business function is represented as a switch option on the front-end display page 31. The configuration manager 33 can also merge configuration items with high similarity stored in the configuration manager 33.

[0071] The backend processor 34 is configured to perform business logic processing based on the user's access request and to feed back response data corresponding to the access request to the frontend display page 31. In this embodiment, a frontend interception plug-in is provided at the backend service layer interface used by the backend processor 34 to return data. The frontend interception plug-in intercepts the response data that the backend processor 34 feeds back to the frontend display page 31 after processing.

[0072] In some embodiments of the present application, a configuration item validation module is provided within the configuration manager 33 of the business system to support configurable processing of the validation mode of functional configuration items. In this embodiment, the configuration item validation module is provided with logic such as "OR," "AND," and "NOT" to select pre-set parameters. The configuration item validation module can set the pre-set parameters of the functional configuration items using one or more of these logics, such as "OR," "AND," and "NOT," to determine the validation mode of each functional configuration item based on the pre-set parameters. For example, if the logic between two pre-set parameters in a functional configuration item is "OR," the functional configuration item will be validated if either of the two pre-set parameters is true. If the logic between two pre-set parameters in a functional configuration item is "AND," the functional configuration item will be validated only if both pre-set parameters are true. If the logic between two pre-set parameters in a functional configuration item is "NOT," the functional configuration item will not be validated if either of the two pre-set parameters is true. Based on this configuration item validation module, the user can determine whether a configuration item is valid by selecting pre-set parameters.

[0073] In some embodiments of the present application, the configuration manager 33 of the business system may further include a configuration item deletion module and a configuration item query module. The configuration item deletion module can delete function configuration items and the configuration item data corresponding to the function configuration items stored in the configuration manager 33. The configuration item query module can retrieve, from the configuration manager 33, the function configuration items and the configuration item data corresponding to the configuration item query request input by the user.

[0074] In some embodiments of this application, please refer to Figure 4 , Figure 4 This is a basic structural diagram of a service function configuration device provided in an embodiment of the present application. The various units included in the device in this embodiment are used to perform the various steps in the above method embodiment. For details, please refer to the relevant description in the above method embodiment. For ease of explanation, only the parts related to this embodiment are shown. Figure 4 As shown, the business function configuration device includes: an interactive data acquisition module 41, a configuration item generation module 42 and a business function synthesis module 43. Among them: the interactive data acquisition module 41 is used to obtain the interactive data between the front-end display page of the business system and the back-end processor, wherein the interactive data includes the request data transmitted by the front-end display page to the back-end processor for processing and / or the response data fed back to the front-end display page by the back-end processor after processing. The configuration item generation module 42 is used to use a preset data analysis model to perform configuration category analysis on the interactive data, so as to generate functional configuration items for use by the business system based on the interactive data, and store the functional configuration items and the configuration item data corresponding to the functional configuration items in the configuration manager. The business function synthesis module 43 is used to call the target functional configuration items that match the access request from the configuration manager based on the user's access request, and dynamically change the configuration item data corresponding to the target functional configuration items according to the content of the access request, so as to synthesize the business function that matches the access request and is applied to the front-end display page.

[0075] In some embodiments of this application, please refer to Figure 5 , Figure 5 This is a basic structural block diagram of an electronic device provided in an embodiment of the present application. Figure 5As shown, the electronic device 5 of this embodiment includes: a processor 51, a memory 52, and a computer program 53 stored in the memory 52 and executable on the processor 51, such as a program for a service function configuration method. When the processor 51 executes the computer program 53, the steps of each of the aforementioned service function configuration method embodiments are implemented. Alternatively, when the processor 51 executes the computer program 53, the functions of each module in the corresponding embodiments of the aforementioned service function configuration device are implemented. For details, please refer to the relevant description in the embodiments, which will not be repeated here.

[0076] Exemplarily, the computer program 53 can be divided into one or more modules (units), which are stored in the memory 52 and executed by the processor 51 to complete the present application. The one or more modules can be a series of computer program instruction segments that can perform specific functions, and the instruction segments are used to describe the execution process of the computer program 53 in the electronic device 5. For example, the computer program 53 can be divided into an interactive data acquisition module, a configuration item generation module, and a business function synthesis module, and the specific functions of each module are as described above.

[0077] The electronic device may include, but is not limited to, a processor 51 and a memory 52. ​​Those skilled in the art will understand that Figure 5 It is only an example of the electronic device 5 and does not constitute a limitation of the electronic device 5. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the electronic device may also include input and output devices, network access devices, buses, etc.

[0078] The processor 51 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor.

[0079] The memory 52 can be an internal storage unit of the electronic device 5, such as a hard disk or memory of the electronic device 5. The memory 52 can also be an external storage device of the electronic device 5, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the electronic device 5. Furthermore, the memory 52 can also include both an internal storage unit of the electronic device 5 and an external storage device. The memory 52 is used to store the computer program and other programs and data required by the electronic device. The memory 52 can also be used to temporarily store data that has been output or is about to be output.

[0080] It should be noted that the information interaction, execution process, etc. between the above-mentioned devices / units are based on the same concept as the method embodiment of this application. Their specific functions and technical effects can be found in the method embodiment section and will not be repeated here.

[0081] The present application also provides a computer-readable storage medium that stores a computer program. When the computer program is executed by a processor, the computer-readable storage medium can implement the steps of the above-mentioned method embodiments. In this embodiment, the computer-readable storage medium can be non-volatile or volatile.

[0082] An embodiment of the present application provides a computer program product. When the computer program product is run on a mobile terminal, the mobile terminal can implement the steps in the above-mentioned various method embodiments when executing the computer program product.

[0083] Those skilled in the art can clearly understand that, for the convenience and brevity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated into one processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0084] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the process in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and when the computer program is executed by the processor, it can implement the steps of the above-mentioned various method embodiments. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.

[0085] In the above embodiments, the description of each embodiment has its own focus. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant description of other embodiments.

[0086] The above-described embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present application, and should all be included in the scope of protection of the present application.

Claims

1. A service function configuration method, characterized in that: include: Obtaining interaction data between a front-end display page of the business system and a back-end processor, wherein the interaction data includes request data transmitted by the front-end display page to the back-end processor for processing and / or response data fed back to the front-end display page by the back-end processor after processing, wherein a front-end interception plug-in is respectively built at the business system access layer and at the business system back-end service layer, and the front-end interception plug-in intercepts and obtains the interaction data between the front-end display page and the back-end processor; Performing configuration category analysis on the interaction data using a preset data analysis model to generate functional configuration items for use by the business system based on the interaction data, and storing the functional configuration items and configuration item data corresponding to the functional configuration items in a configuration manager; Based on the user's access request, the target function configuration item that matches the access request is called from the configuration manager, and the configuration item data corresponding to the target function configuration item is dynamically changed according to the content of the access request to synthesize the business function that matches the access request and is applied to the front-end display page.

2. The service function configuration method according to claim 1, characterized in that: The step of performing configuration category analysis on the interaction data using a preset data analysis model to generate functional configuration items of the business system based on the interaction data includes: A naive Bayes classification algorithm and a grammatical analysis algorithm are used to perform field analysis on the string field contained in the interaction data to determine whether the string field has a configurable attribute. If so, a functional configuration item for representing the string field is generated as a functional configuration item of the business system.

3. The service function configuration method according to claim 2, characterized in that: The step of using the naive Bayes classification algorithm and the syntax analysis algorithm to perform field analysis on the string field contained in the interaction data and determining whether the string field has configurable attributes includes: The frequency information, value information and regularity information of the string field appearing in the interaction data are counted, and whether the string field has a configurable attribute is determined according to the frequency information, value information and regularity information.

4. The service function configuration method according to claim 3, characterized in that: The step of using the naive Bayes classification algorithm and the syntax analysis algorithm to perform field analysis on the string field contained in the interaction data and determining whether the string field has a configurable attribute includes: Determining whether the parameter represented by the string field is enumerable or can be set to a fixed value based on the frequency information, the numerical value information, and the regularity information; if so, determining that the string field has a configurable attribute; and / or Determining whether the string field has a time attribute based on the frequency information, the value information, and the regularity information, and if so, determining that the string field has a configurable attribute; and / or Determining whether the string field is associated with a user ID or user information based on the frequency information, the value information, and the regularity information; and if so, determining that the string field has a configurable attribute; and / or Determining whether the string field is associated with a geographic location based on the frequency information, the value information, and the regularity information; and if so, determining that the string field has a configurable attribute; and / or It is determined whether the string field is associated with business data according to the frequency information, the value information, and the regularity information. If so, it is determined that the string field has a configurable attribute.

5. The service function configuration method according to any one of claims 1 to 4, characterized in that: The step of performing configuration category analysis on the interaction data using a preset data analysis model to generate functional configuration items of the business system based on the interaction data, and storing the functional configuration items and configuration item data corresponding to the functional configuration items in a configuration manager, further includes: Acquire source interface information of the interactive data, wherein the source interface information includes a target interface name corresponding to an interface accessing the interactive data; querying a preset association relationship table between interface names and configuration category analysis dimensions according to the target interface name, and determining a target configuration category analysis dimension for performing configuration category analysis on the interaction data from the association relationship table between the interface names and configuration category analysis dimensions; The target configuration category analysis dimension is input into the preset data analysis model, so that the data analysis model performs configuration category analysis on the interaction data according to the target configuration category analysis dimension.

6. The service function configuration method according to claim 1, characterized in that: The step of calling, based on the user's access request, a target function configuration item that matches the access request from the configuration manager, and dynamically changing the configuration item data corresponding to the target function configuration item according to the content of the access request to generate a business function that matches the access request and is applied to the front-end display page, further includes: If there are multiple target function configuration items, the multiple target function configuration items are aggregated to combine the multiple target function configuration items into one business function and apply it to the front-end display page.

7. A business system, characterized in that: The business system is used to implement the business function configuration method according to any one of claims 1 to 6, and the business system includes a front-end display page, a front-end interception plug-in, a configuration manager, and a back-end processor, wherein: The front-end display page is used to receive access requests input by users and perform page rendering operations according to the business functions synthesized by the front-end interception plug-in; The front-end interception plug-in is used to intercept the request data before the front-end display page transmits the request data to the back-end processor for processing and / or intercept the response data obtained after processing before the back-end processor feeds back the response data to the front-end display page, and call the preset data analysis model to perform configuration category analysis on the request data and / or the response data to obtain functional configuration items for use by the business system; The configuration manager is used to store and manage the function configuration items obtained by the front-end interception plug-in and the function configuration item data corresponding to the function configuration items; The back-end processor is used to perform business logic processing according to the user's access request and feedback response data corresponding to the access request to the front-end display page.

8. The business system according to claim 7, characterized in that: In the business system, the configuration manager is provided with a configuration item validation module, wherein: The configuration item validation module is used to set the pre-parameters of the function configuration item according to a preset logic to determine the validation mode of the function configuration item according to the pre-parameters, wherein the preset logic includes one or more of 'OR', 'AND', and 'NOT'.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Intelligent service management method and device, terminal and storage medium

    CN110766591A

  • JSON (JavaScript Object Notation) data conversion method and device, computer equipment and storage medium

    CN112882974A