Data processing method and device based on large model, electronic equipment and storage medium
By receiving natural language query requests in the background management system and using the big model to parse target functional modules and query parameters, automatic navigation and data display are realized, and the problem of user manual navigation and input complex query conditions in the existing system is solved, improving operational efficiency and user experience.
Patent Information
- Application Number
- CN202510300326.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-13
- Publication Date
- 2025-06-13
AI Technical Summary
The existing backend management system has limitations in user experience and operational efficiency. Users need to manually navigate and enter complex query conditions, resulting in cumbersome operations and inefficient efficiency.
By receiving users' natural language query requests, using the big model to parse the target functional modules and query parameters, generate navigation instructions and query parameters, and realize automatic jumps and data display.
It greatly improves operational efficiency, significantly improves the intelligence level and user experience of the backend management system, and reduces user learning costs and operational complexity.
Smart Images

Figure CN120144839A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of artificial intelligence technology, specifically to the fields of natural language processing, large models, data analysis, etc., and particularly relates to a data processing method, apparatus, electronic device, and storage medium based on a large model. Background Art
[0002] In today's digital age, with the rapid growth of enterprise data volume and the continuous improvement of business complexity, the back-end management system has become the core tool for enterprise operation. However, there are still many limitations in the existing back-end management system in terms of user experience and operation efficiency. Taking the data display back-end management system as an example, the current data display back-end management system usually adopts a fixed navigation structure and the way of manually inputting query conditions. Users need to search layer by layer for the corresponding function modules and manually input filtering parameters. This traditional operation method makes users often need to spend a lot of time and energy on manual operations when facing complex data query requirements, greatly reducing work efficiency and increasing the user's usage cost at the same time. Therefore, how to optimize the interaction mode of the back-end management system and improve the intelligent level of data query and display has become a technical problem to be solved urgently. Summary of the Invention
[0003] The present disclosure provides a data processing method, apparatus, electronic device, and storage medium based on a large model.
[0004] According to one aspect of the present disclosure, there is provided a data processing method based on a large model, the method comprising:
[0005] Receiving a natural language query request input by a user through an interaction interface;
[0006] Parsing, by a large model, a target function module and query parameters included in the natural language query request to generate a target function module navigation instruction and target query parameters;
[0007] Jumping to a target function module according to the target function module navigation instruction, and displaying data corresponding to the target query parameters on a display page corresponding to the target function module.
[0008] According to another aspect of the present disclosure, there is provided a data processing apparatus based on a large model, the apparatus comprising:
[0009] A receiving module, configured to receive a natural language query request input by a user through an interaction interface;
[0010] A generating module, configured to parse, by a large model, a target function module and query parameters included in the natural language query request to generate a target function module navigation instruction and target query parameters;
[0011] A display module, configured to jump to a target function module according to the target function module navigation instruction, and display data corresponding to the target query parameter on a display page corresponding to the target function module.
[0012] According to a third aspect of the present disclosure, there is provided an electronic device, including:
[0013] At least one processor; and
[0014] A memory communicatively connected to the at least one processor; wherein,
[0015] The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the method according to any one of the above technical solutions.
[0016] According to a fourth aspect of the present disclosure, there is provided a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to cause the computer to execute the method according to any one of the above technical solutions.
[0017] According to a fifth aspect of the present disclosure, there is provided a computer program product, including a computer program, where the computer program implements the method according to any one of the above technical solutions when executed by a processor.
[0018] The present disclosure provides a data processing method, apparatus, electronic device, and storage medium based on a large model. The present disclosure receives a natural language query request input by a user on an interaction interface, and uses the large model to parse the target function module and query parameters therein, generates corresponding navigation instructions and query parameters, and then automatically jumps to the target function module and obtains data corresponding to the target query parameters, and finally displays the query results on the display page corresponding to the target function module. With this method, the user does not need to manually navigate and input complex parameters, and the back-end management system can automatically complete the operation, greatly improving the operation efficiency and significantly enhancing the intelligence level and user experience of the back-end management system. Secondly, this method reduces the learning cost of the user. Since natural language interaction enables the user to express needs in an intuitive and natural way without being familiar with the complex structure and parameter settings of the back-end management system, the back-end management system is more user-friendly, especially for users without a technical background. In addition, this method also enhances the intelligence level of the back-end management system. By introducing the large model, the back-end management system can understand and process complex natural language instructions, improving the flexibility and adaptability of the back-end management system and better meeting the diverse needs of users. Finally, this method also improves the accuracy and timeliness of data query. Since the back-end management system can quickly obtain data according to the dynamically generated query parameters and update the data in real time, ensuring that the user obtains the latest information, thereby enhancing the overall performance and user experience of the back-end management system.
[0019] It should be understood that the content described in this part is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it used to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] The drawings are used to better understand the solution and do not constitute a limitation to the present disclosure. Among them:
[0021] Figure 1 is a schematic diagram of the steps of the data processing method based on a large model in an embodiment of the present disclosure;
[0022] Figure 2 is an interaction schematic diagram of the data processing method based on a large model in an embodiment of the present disclosure;
[0023] Figure 3 is a schematic diagram of the data processing flow based on a large model in an embodiment of the present disclosure;
[0024] Figure 4 The principle block diagram of the data processing apparatus based on a large model in an embodiment of the present disclosure;
[0025] Figure 5It is a block diagram of an electronic device for implementing the data processing method based on a large model according to an embodiment of the present disclosure. Detailed implementation manners
[0026] The following describes exemplary embodiments of the present disclosure with reference to the accompanying drawings. Various details of the embodiments of the present disclosure are included to facilitate understanding, and they should be considered merely exemplary. Therefore, those of ordinary skill in the art should recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following.
[0027] In the prior art, a fixed navigation structure and a method of manually inputting query conditions are usually adopted in the background management system to implement data query and display. Specifically, the user needs to navigate layer by layer to the corresponding function module, manually input filtering parameters, and execute the query operation. For example, when analyzing the call trend of a fraud model, the user must successively enter the "test management" module, select the "test statistics" sub-module, manually input parameters such as the time range and model name, and then manually execute the query. Although some background management systems support keyword search, it is only limited to text matching and cannot intelligently recommend a navigation path based on the user's intention.
[0028] Although this technical means can implement the basic data query function, it also brings significant technical problems. First, the fixed navigation structure requires the user to be familiar with the hierarchical structure of the background management system and search for the target module layer by layer, which not only increases the user's learning cost but also reduces the operation efficiency. Second, the method of manually inputting query conditions is prone to query failure due to incorrect user input, increasing the complexity and error rate of the operation. In addition, the lack of intelligent interaction function based on the user's intention makes the background management system unable to automatically understand the user's needs and provide the optimal navigation path and query results, further restricting the user experience and the intelligent level of the background management system.
[0029] To solve the above technical problems, the present disclosure provides a data processing method based on a large model. See Figure 1 as shown Figure 1 It is a schematic diagram of the steps of the data processing method based on a large model in an embodiment of the present disclosure. This method is applied to a background management system, and the method includes:
[0030] Step S101, receiving a natural language query request input by the user through an interaction interface.
[0031] Specifically, the interaction interface refers to the interface through which users interact with the back-end management system. Through this interface, users can input query requests, adjust query conditions, or perform other operations. "Receiving the natural language query request input by the user through the interaction interface" means that the back-end management system receives the query instructions input by the user in the form of natural language through its user interface (such as web pages, application interfaces, etc.). A natural language query request refers to the needs expressed by the user in daily language, such as "View this month's sales" or "Show last week's customer feedback". This input method allows users to interact with the back-end management system in an intuitive and natural way without having to learn complex query syntax or operation processes.
[0032] The implementation process of this solution includes that the back-end management system provides an interaction interface, usually a text input box or a chat box, where users can input natural language instructions. After receiving these instructions, the back-end management system passes them to the large model for parsing. The large model uses its natural language processing capabilities to understand the user's intention and extract key information, such as the query topic, time range, etc. Subsequently, the back-end management system performs corresponding operations according to the parsing results, such as navigating to the target function module, generating query parameters, and retrieving data from the database, and finally presents the results to the user in the form of a data view. This process not only improves the usability of the back-end management system but also enhances the user experience, enabling the back-end management system to respond more intelligently to user needs.
[0033] Step S102: Parse the target function module and query parameters included in the natural language query request through the large model to generate a target function module navigation instruction and a target query parameter.
[0034] Specifically, after receiving the natural language query request input by the user, the natural language query request is sent to a pre-trained large language model (large model), and its powerful natural language processing capabilities are used to deeply parse the user's instructions. Specifically, the large model will identify the target function module implied in the user's instructions (that is, the specific function area in the back-end management system that the user hopes to access, such as the "data analysis" or "report generation" module) and query parameters (such as specific conditions like time range, data type, etc.). Based on these parsing results, the large model further generates precise navigation instructions to guide the back-end management system to automatically jump to the target function module and generate query parameters that match the user's needs to retrieve the corresponding data from the database. This process realizes the efficient conversion from natural language input to operation instructions of the back-end management system, greatly improving the intelligence level and user experience of the back-end management system, enabling users to interact with the back-end management system in a natural and intuitive way without having to manually navigate or input complex query conditions.
[0035] Step S103: Jump to the target function module according to the target function module navigation instruction, and display the data corresponding to the target query parameter on the display page corresponding to the target function module.
[0036] Specifically, the target function module navigation instruction refers to the instruction generated after the large model parses the user's natural language request, which is used to instruct the back-end management system to jump to the specific function module required by the user; the target query parameter is the parameter used for data query extracted according to the user's needs, such as time range, data type, etc. The display interface refers to the interface of the back-end management system for displaying query results or data views. This page clearly displays the data, enabling users to easily understand and analyze the data.
[0037] Regarding the interaction interface and the display page, it should be noted that the interaction interface and the display page can be on the same page or distributed on different pages. For the interaction interface and the display page on the same page, the user can directly enter the query request on the page and view the query result on the same page. For example, in a data analysis dashboard, the left side may be the interaction interface, including controls such as text input boxes and drop-down menus. After the user enters the query conditions, the display page on the right immediately shows the query result, such as a chart or a data table. This design is usually used to simplify the user operation process and improve the user experience. For the interaction interface and the display page on different pages, in this design, the interaction interface and the display page are on different pages, that is, the user enters the query request on one page and then views the query result on another page. For example, the user enters the query conditions on a "query request" page and submits them. After the back-end management system processes the request, the user is redirected to a "result display" page, where the query result can be viewed.
[0038] When the solution of the embodiment of the present disclosure is specifically implemented, the back-end management system first automatically jumps to the target function module according to the navigation instruction, and then can obtain the corresponding data based on the target query parameter. Among them, when obtaining the corresponding data according to the target query parameter, it can be to request the database, or to request the server or a third-party service provider, so as to obtain the data. This process is completed through the function interface or API (Application Programming Interface) exposed by the back-end management system, ensuring the accuracy and efficiency of the data request. Finally, the back-end management system displays the queried data to the user. When displaying the data, it can be in the form of an intuitive and easy-to-understand data view, such as in the form of charts, reports, etc., realizing the seamless connection from the user's natural language input to the data visualization display, and significantly improving the user experience and operation efficiency.
[0039] The present disclosure provides a data processing method, apparatus, electronic device, and storage medium based on a large model. The present disclosure receives a natural language query request input by a user in an interaction interface, and uses the large model to parse the target function module and query parameters therein, generating corresponding navigation instructions and query parameters, and then automatically jumps to the target function module and obtains data corresponding to the target query parameters, and finally displays the query result on the display page corresponding to the target function module. With this method, the user does not need to manually navigate and input complex parameters, and the back-end management system can automatically complete the operation, greatly improving the operation efficiency and significantly enhancing the intelligence level and user experience of the back-end management system. Secondly, this method reduces the learning cost of the user. Since natural language interaction enables the user to express needs in an intuitive and natural way without being familiar with the complex structure and parameter settings of the back-end management system, the back-end management system is more user-friendly, especially for users without a technical background. In addition, this method also enhances the intelligence level of the back-end management system. By introducing the large model, the back-end management system can understand and process complex natural language instructions, improving the flexibility and adaptability of the back-end management system and better meeting the diverse needs of users. Finally, this method also improves the accuracy and real-time performance of data query. Since the back-end management system can quickly obtain data according to the dynamically generated query parameters and update the data in real time to ensure that the user obtains the latest information, the overall performance and user experience of the back-end management system are improved.
[0040] In some optional embodiments, jumping to the target function module according to the target function module navigation instruction includes;
[0041] Obtain the target function module navigation instruction parsed by the large model;
[0042] Identify the module identifier included in the target function module navigation instruction;
[0043] Determine the target function module according to the module identifier and jump to the target function module.
[0044] Specifically, the target function module navigation instruction is an instruction generated by the large model according to the natural language input by the user, and is used to guide the back-end management system to navigate to the module that the user intends to access. The module identifier is the key information used to uniquely identify the target function module in the navigation instruction, such as the module name or code. The back-end management system first receives the target function module navigation instruction sent by the large model, and then determines the specific location of the target function module by parsing the module identifier in the navigation instruction. Finally, the back-end management system automatically performs a jump operation according to the module identifier, navigating the user interface to the corresponding function module page, thereby realizing a seamless transition from the user's natural language input to the target module. This process not only reduces the steps of manual navigation by the user, improves the operation efficiency, but also enhances the intelligence and user experience of the back-end management system.
[0045] In this way, by receiving the navigation instruction of the target function module sent by the large model, identifying the module identifier therein, and accordingly determining and jumping to the target function module. In this process, the user does not need to manually navigate to the required module step by step. The background management system can automatically locate and jump quickly according to the instruction parsed by the large model, greatly reducing the operation steps and time cost. This automated navigation method not only improves the operation efficiency but also reduces the learning cost of users, making the background management system easier to use, especially more friendly to users who are not familiar with the structure of the background management system. In addition, through the accurate identification of the module identifier, the background management system can accurately navigate to the target module, improving the accuracy and reliability of the operation, further enhancing the overall performance and user satisfaction of the background management system, thus significantly improving the intelligent level and user experience of the background management system.
[0046] In some alternative embodiments, the method further includes:
[0047] If it is necessary to modify the query conditions, then modify the natural language query request in the interactive interface to obtain the modified natural language query request;
[0048] Regenerate new data according to the modified natural language request and update it on the display page corresponding to the target function module.
[0049] Specifically, if the user needs to modify the query conditions, they can directly modify the natural language query request in the interactive interface, thereby generating a new, modified natural language query request. Here, the interactive interface refers to the interface through which the user interacts with the background management system, usually a text input box or a chat box where the user can enter natural language instructions. The natural language query request refers to the query requirements expressed by the user in natural language, such as "View the sales data of last week" or "Display the customer feedback of this month". The modified query request of the user may include adjusting the time range, data type, or other query parameters.
[0050] The specific implementation process of this solution includes that when the user modifies the query request in the interaction interface, the background management system will receive the new natural language query request and pass it to the large model for parsing. The large model will re-parse the modified query request, extract the new query conditions, and generate the corresponding query parameters. Subsequently, the background management system requests the updated data from the database based on these new query parameters and updates the queried data to the data view in real time. The data view refers to the interface where the background management system displays the query results, usually presenting the data in the form of charts, tables, or other visualizations. In this way, the background management system can dynamically update the data view according to the user's modified natural language query request, ensuring that the user always sees the data that matches the latest query conditions. This design not only improves the flexibility and interactivity of the background management system but also enhances the user experience, enabling the user to adjust the query conditions in a natural and intuitive way and view the updated data in real time.
[0051] In this way, by allowing the user to directly modify the natural language query request in the interaction interface and dynamically update the data according to the modified request, this approach significantly improves the interaction flexibility and user experience of the background management system. Specifically, the user does not need to leave the current interface or re-enter complex query conditions. Simply by modifying the natural language instruction, the background management system can quickly respond and refresh the data view, ensuring that the user always obtains the data that matches the latest query conditions. This seamless interaction method not only reduces the operation steps, lowers the user's learning cost, but also improves the response speed of the background management system and the real-time performance of data display, enabling the user to perform data analysis and decision-making more efficiently and enhancing the overall usability and adaptability of the background management system.
[0052] In some optional embodiments, regenerating new data according to the modified natural language request and updating it on the display page corresponding to the target function module includes:
[0053] Regenerating the modified target query parameters by the large model according to the modified natural language query request;
[0054] Updating the data corresponding to the modified target query parameters on the display page corresponding to the target function module.
[0055] Specifically, when the user needs to modify the query conditions, the user adjusts the natural language query request in the interaction interface to form a modified natural language query request. Here, the natural language query request is, for example, "View the sales data for the past week" or "Show the customer feedback for last month". The modified natural language query request is the adjustment made by the user to the original query request, such as changing the time range from "the past week" to "the past month".
[0056] The specific implementation process of this solution is as follows: After the user modifies the natural language query request in the interaction interface, the back-end management system re-transmits the modified request to the large model. The large model uses its natural language processing ability to re-parse the modified request and extract new query parameters. After the large model parses the modified natural language query request, it generates new target query parameters. After receiving these parameters, the back-end management system requests the corresponding data from the database according to the new query parameters. Finally, the back-end management system updates and displays the queried data in the data view to ensure that the user sees the data that matches the latest query conditions. Through this process, the back-end management system can respond in real time to the user's modification of the query conditions, dynamically update the data view, and thus achieve an efficient and flexible interaction experience. This design not only improves the intelligence level of the back-end management system but also enhances the user experience, enabling the user to adjust the query conditions in a natural and intuitive way and view the updated data in real time.
[0057] In this way, by re-transmitting the modified natural language query request to the large model and using the large model to regenerate the navigation instructions and query parameters, the back-end management system can request the corresponding data according to these updated parameters and finally update and display the query results in the data view. This process significantly improves the interaction flexibility and response speed of the back-end management system. The user does not need to manually re-enter the query conditions or re-navigate to the target module. Just modify the natural language instruction in the interaction interface, and the back-end management system can quickly respond and update the data view. This dynamic interaction method not only reduces the user's operation steps and learning costs but also improves the intelligence level of the back-end management system, enabling the user to perform data analysis and decision-making more efficiently and enhancing the overall usability and user experience of the back-end management system.
[0058] In some alternative embodiments, the method further includes:
[0059] Integrate a query plug-in in a specified area of the display page;
[0060] If it is necessary to modify the query conditions, enter the modified query conditions in the query plug-in and display the data corresponding to the modified query conditions in other areas of the display page except the specified area.
[0061] Specifically, "integrating a query plug-in in a specified area of the display page" means that in the layout of the data display interface, a specific area is specially designed for placing the query plug-in, which allows the user to directly enter or modify the query conditions. Here, the query plug-in is an interactive tool, usually presented in the form of an input box, a drop-down menu, or a button, etc., for receiving the query parameters entered by the user, such as a time range, a data type, or a filtering condition, etc.
[0062] The specific implementation of this solution includes: in the layout of the display page, place the query plugin in a specified area of the interface. The specified area can be, for example, the left side, right side, upper side, or lower side, that is, it can be in any area of the display page. Then, place the data display area in other areas that do not overlap with the specified area. For example, the query plugin can be set on the left side, and the data display area can be set on the right side. This layout enables users to intuitively see the changes in the query results when modifying the query conditions, enhancing the intuitiveness and convenience of the interaction. Users input or modify query conditions in the query plugin, such as selecting different time ranges or filtering conditions. These modifications are directly transmitted to the back-end management system through the query plugin. After receiving the new query conditions, the back-end management system requests data from the database according to these conditions and displays the updated data in different areas of the same display page in real time. This process is achieved through dynamic data loading technology to ensure that users can immediately see the modified query results. Through this design, users can quickly adjust query conditions and view the updated data without leaving the current page, thus achieving efficient and flexible data exploration and analysis.
[0063] In this way, by integrating the query plugin in the specified area of the display page, allowing users to directly modify query conditions in the plugin, and simultaneously displaying the data corresponding to the modified query conditions in real time in other areas of the interface except the specified area, this design significantly improves the interactivity and convenience of data query and display. Users can intuitively see the immediate results after modifying the query conditions without switching between different interfaces or manually refreshing the page, thus greatly improving the efficiency of data exploration and analysis. This layout not only optimizes the user experience but also reduces the operation steps and the learning cost of users, making the data query process more smooth and efficient, especially suitable for scenarios where query conditions need to be frequently adjusted to obtain different data views.
[0064] In some alternative embodiments, displaying the data corresponding to the target query parameter on the display page corresponding to the target function module includes:
[0065] Requesting the data corresponding to the target query parameter from the database according to the target query parameter, and displaying the data corresponding to the target query parameter on the display page corresponding to the target function module.
[0066] Specifically, the target query parameter refers to the search conditions implied by the user's natural language query request, such as time range, specific model name, or other relevant filtering conditions. The back-end management system uses these parameters to initiate an accurate data request to the database and retrieve the data records that match the user's needs.
[0067] The specific implementation steps of this solution are as follows: First, the large model parses the user's natural language query request to identify the user's intention and relevant query parameters. Then, based on these parameters, a data query request is constructed, and this query request is sent to the database to retrieve relevant data. The database executes the query and returns a dataset that matches the target query parameters. Finally, the back-end management system visualizes and displays this data in an appropriate format (such as tables, charts, or graphs) on the display page corresponding to the target function module, enabling users to intuitively view and analyze the data.
[0068] In this way, by automatically requesting the corresponding data from the database according to the target query parameters and displaying this data on the display page corresponding to the target function module, the automation and intelligence of the data retrieval and display process are achieved. This not only greatly improves the efficiency and accuracy of data acquisition but also enhances the user experience through intuitive data display. Since users do not need to perform complex database query operations or manually set multiple query parameters, the system can quickly and accurately display the information they need, thus saving the time and effort of users and improving work efficiency. In addition, this automated data display method also reduces the possibility of human errors, ensures the reliability of data in the decision-making process, and ultimately realizes the high efficiency and user-friendliness of the back-end management system.
[0069] In some alternative embodiments, displaying the data corresponding to the target query parameters on the display page corresponding to the target function module includes:
[0070] Invoking the corresponding application programming interface according to the target query parameters to request the data corresponding to the target query parameters from the server or a third-party service provider;
[0071] Displaying the data corresponding to the target query parameters on the display page corresponding to the target function module.
[0072] Specifically, an application programming interface (API) is a software component that allows communication and data exchange between different programs or services. In the back-end management system, the API acts as a bridge between the client (such as a web page or application) and the server or a third-party service.
[0073] The specific implementation of this solution includes: according to the parsed target query parameters, call the predefined APIs. These APIs can understand how to convert the query parameters into a format that can be understood by the server or third-party services and send requests. The API sends the request to the server or third-party service. The request contains the necessary query parameters to retrieve the data that matches these parameters. The server or third-party service processes the request, retrieves the data source, finds the data corresponding to the query parameters, and returns this data to the API. After receiving the data, the API passes it to the back-end management system, and the system then displays the data in an appropriate format (such as tables, charts, etc.) on the display page corresponding to the target function module, enabling users to intuitively view and analyze the data.
[0074] In this way, by using the target query parameters to request the corresponding data from the server or third-party service through the application programming interface (API) and displaying this data on the display page corresponding to the target function module, the back-end management system can flexibly obtain data from different data sources. Whether it is an internal server or an external third-party service, it can provide users with comprehensive and accurate information. This ability to integrate third-party services enhances the functionality and scalability of the system, and at the same time provides users with a more rich and diverse data view.
[0075] In some alternative embodiments, displaying the data corresponding to the target query parameters on the display page corresponding to the target function module includes:
[0076] Converting the data corresponding to the target query parameters into the form of a data view and displaying it in the form of a data view on the display page corresponding to the target function module.
[0077] Specifically, "converting the data corresponding to the target query parameters into the form of a data view and displaying it in the form of a data view on the display page corresponding to the target function module" describes a process of converting the database query results into a user-friendly data display form. A data view refers to the visual representation of data, which can be charts, graphs, tables, or other visual elements used to intuitively present the data content and insights.
[0078] The specific implementation of this solution includes: According to the natural language query request input by the user, use a large model to parse out the target query parameters, and initiate a query request to the database to retrieve data records that match these parameters. Next, perform processing such as cleaning, transforming, and aggregating the raw data retrieved from the database to ensure the accuracy and availability of the data. Then, convert the processed data into the form of a data view. This involves selecting appropriate chart types (such as bar charts, line charts, pie charts, etc.), setting colors, labels, legends, etc., to display the data in the most intuitive way. Finally, display the generated data view on the display page corresponding to the target function module. To improve the user experience, the data view can also support interactive operations such as zooming, filtering, drilling down, etc., enabling users to further explore the data details.
[0079] In this way, by converting the query result into a data view and displaying it on the display page corresponding to the target function module, the complex data query result can be transformed into an easy-to-understand and analyze data view, enabling users to quickly obtain data insights and support decision-making. This intelligent data display mechanism not only improves the accessibility and interpretability of the data, but also enhances the user experience, making the back-end management system more efficient and user-friendly. It can be seen that this solution significantly improves the readability and usability of the data, enabling users to intuitively understand complex data, thus accelerating the data analysis and decision-making process. In addition, this automated data visualization reduces the time and effort for users to manually create charts and improves work efficiency. At the same time, the interactive data view enhances the user experience, enabling users to delve into the data details as needed, and thus obtain deeper insights and more accurate business decision support from the data.
[0080] In some alternative embodiments, before receiving the natural language query request input by the user through the interaction interface, the method further includes:
[0081] Input the function descriptions, data sources, and supported search parameters of each module in the back-end management system into the large model.
[0082] Specifically, "inputting the function descriptions, data sources, and supported search parameters of each module in the back-end management system into the large model" means organizing and inputting the key information of each functional module in the back-end management system into the large model so that the large model can better understand and process the natural language query requests of users. Among them, the function description refers to the specific uses and operation scopes of each module. For example, "the data analysis module is used to generate statistical charts of sales data"; the data source refers to the data storage location or data stream on which the module depends. For example, "sales data comes from the ERP back-end management system"; and the supported search parameters refer to the parameters through which users can query, such as "time range, data type, department name", etc.
[0083] The specific implementation of this solution includes: First, the development team conducts a detailed analysis of each module in the background management system, extracts its function description, data source, and supported search parameters, and organizes this information into a structured data format. The organized information is input into the large model as the knowledge base of the model. This information helps the large model understand the responsibilities and operation methods of each module, so that when parsing the user's natural language query, it can accurately identify the target module and query parameters corresponding to the user's intention. After receiving this information, the large model learns how to map the user's natural language instructions to the correct module and parameters through the training and optimization process. For example, when the user inputs "View this month's sales data", the large model can identify that the target module is the "Data Analysis Module", the time range is "this month", and the data type is "sales data". In actual operation, when the user submits a query request in natural language, the large model uses this input information to quickly generate navigation instructions and query parameters, guiding the background management system to execute the corresponding operations and return the results. In this way, the large model can more accurately understand the user's needs, achieve seamless connection from natural language input to function call of the background management system, and thus improve the intelligent level and user experience of the background management system.
[0084] In this way, inputting the function description, data source, and supported search parameters of each module in the background management system into the large model significantly enhances the background management system's ability to understand and process natural language queries from users. This method enables the large model to accurately identify the user's intention, quickly locate the target function module, and generate precise query parameters, thereby achieving intelligent navigation and data query. In this way, users do not need to be familiar with the complex structure and operation process of the background management system. They only need to express their needs in natural language, and the background management system can automatically complete the operation, greatly improving the operation efficiency and user experience. At the same time, this design also reduces query errors caused by inaccurate or incomplete user input, improving the stability and reliability of the background management system.
[0085] See Figure 2 as shown Figure 2 is the interaction schematic diagram of the data processing method based on the large model in the embodiments of the present disclosure. This interaction process diagram shows the complete process of the user interacting with the background management system in natural language, involving the user, the large model, and the background management system. Among them, the background management system includes a functional module subsystem and a data management subsystem. The following is a detailed description of this interaction process:
[0086] ① The user sends a natural language query request, that is, the user inputs a natural language query request through the interaction interface (such as a web page or application interface) of the background management system, for example, "The trend of the fraud model in the past month". This request is sent to the large model for parsing and understanding the user's intention.
[0087] ② The large model parses the intention and matches the target function module. That is, after receiving the query request, the large model uses its natural language processing ability to parse the user's intention contained in the natural language query request. According to the parsing result, the large model matches the target function module in the function module subsystem, such as the "Test Statistics" module under "Test Management".
[0088] ③ Request data according to the target query parameters, that is, request the corresponding data from the data management subsystem according to the target query parameters generated by the large model.
[0089] ④ Return the query result, that is, the data management subsystem retrieves data from the database according to the received query parameters and returns the query result.
[0090] ⑤ Display the data view, that is, display the queried data to the user through the display page, and the user can see the query result on the interface.
[0091] ⑥ The user modifies the query conditions. That is, if the user needs to modify the query conditions (such as changing the time range to "the past six months"), the user can directly modify the query request in the interaction interface.
[0092] ⑦ Request data again, that is, request data again according to the modified query parameters.
[0093] ⑧ Return the updated data.
[0094] ⑨ Dynamically update the data view, that is, dynamically update the data view according to the updated data.
[0095] For the convenience of understanding the solution of this application as a whole, please refer to Figure 3 as shown in Figure 3 is a schematic diagram of the data processing flow based on the large model in the embodiments of the present disclosure. This flowchart describes the working process of a background management system based on natural language processing (NLP), where the large model is used to parse the natural language requirements of users and dynamically generate data queries. The following is a detailed description of the working principle of this flowchart:
[0096] The flowchart shows a process where a user interacts with a back - end management system through natural language to obtain a data view. First, the user inputs natural language requirements. Then, the large - model performs natural language understanding (NLP) parsing to match the corresponding target function modules and generate query parameters. Next, the back - end management system sends the query request to the data service through dynamic routing concatenation. The data service retrieves data according to the query parameters and returns the results. The back - end management system presents the results to the user in the form of a data view. The user can adjust the query parameters to trigger an updated query. The back - end management system then requests data again according to the new parameters and updates the data view, implementing a dynamic and interactive query process.
[0097] The entire process forms a closed - loop. The user can continuously adjust the query parameters, and the back - end management system dynamically updates the data view according to these parameters until the user gets a satisfactory result. This design improves the efficiency and flexibility of the interaction between the user and the back - end management system, making data query and analysis more intuitive and convenient.
[0098] The following describes the device embodiments of the present application, which can be used to execute the large - model - based data processing method in the above - mentioned embodiments of the present application. For details not disclosed in the device embodiments of the present application, please refer to the embodiments of the large - model - based data processing method above.
[0099] The present disclosure also provides a large - model - based data processing device 400, as Figure 4 shown, including:
[0100] A receiving module 401, configured to receive a natural - language query request input by a user through an interaction interface;
[0101] A generating module 402, configured to parse the target function module and query parameters included in the natural - language query request through a large - model to generate a target function module navigation instruction and a target query parameter;
[0102] A display module 403, configured to jump to the target function module according to the target function module navigation instruction and display the data corresponding to the target query parameter on the display page corresponding to the target function module.
[0103] In some alternative embodiments, the display module 403 jumps to the target function module according to the target function module navigation instruction, including;
[0104] Obtaining the target function module navigation instruction parsed by the large - model;
[0105] Identifying the module identifier included in the target function module navigation instruction;
[0106] Determining the target function module according to the module identifier and jumping to the target function module.
[0107] In some alternative embodiments, the display module 403 is further configured to:
[0108] If it is necessary to modify the query conditions, modify the natural language query request in the interaction interface to obtain the modified natural language query request;
[0109] Regenerate new data according to the modified natural language request and update the corresponding display page of the target function module.
[0110] In some alternative embodiments, the display module 403 regenerates new data according to the modified natural language request and updates the corresponding display page of the target function module, including:
[0111] Regenerate the modified target query parameters according to the modified natural language query request through a large model;
[0112] Update the data corresponding to the modified target query parameters on the corresponding display page of the target function module.
[0113] In some alternative embodiments, the display module 403 is further configured to:
[0114] Integrate a query plugin in a specified area of the display page;
[0115] If it is necessary to modify the query conditions, input the modified query conditions in the query plugin and display the data corresponding to the modified query conditions in other areas of the display page except the specified area.
[0116] In some alternative embodiments, the display module 403 displays the data corresponding to the target query parameters on the corresponding display page of the target function module, including:
[0117] Request the data corresponding to the target query parameters from the database according to the target query parameters, and display the data corresponding to the target query parameters on the corresponding display page of the target function module.
[0118] In some alternative embodiments, the display module 403 displays the data corresponding to the target query parameters on the corresponding display page of the target function module, including:
[0119] Call the corresponding application programming interface according to the target query parameters to request the data corresponding to the target query parameters from the server or a third-party service provider;
[0120] Display the data corresponding to the target query parameters on the corresponding display page of the target function module.
[0121] In some alternative embodiments, the display module 403 displays the data corresponding to the target query parameter on the display page corresponding to the target functional module, including:
[0122] Converting the data corresponding to the target query parameter into the form of a data view, and displaying it in the form of a data view on the display page corresponding to the target functional module.
[0123] In some alternative embodiments, before receiving the natural language query request input by the user through the interaction interface of the background management system, the receiving module 401 is further configured to:
[0124] Input the function descriptions, data sources, and supported search parameters of each module in the background management system into the large model.
[0125] In the technical solution of the present disclosure, the acquisition, storage, and application of the user's personal information involved all comply with the provisions of relevant laws and regulations and do not violate public order and good customs.
[0126] According to the embodiments of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium, and a computer program product.
[0127] Figure 5 FIG. shows a schematic block diagram of an exemplary electronic device 500 that can be used to implement the embodiments of the present disclosure. The electronic device is intended to represent various forms of digital computers, such as, for example, a laptop computer, a desktop computer, a workbench, a personal digital assistant, a server, a blade server, a mainframe computer, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as, for example, a personal digital processor, a cellular phone, a smart phone, a wearable device, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely exemplary and are not intended to limit the implementation of the present disclosure described and / or claimed herein.
[0128] As Figure 5 shown, the electronic device 500 includes a computing unit 501 that can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 502 or a computer program loaded from a storage unit 508 into a random access memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the device 500 can also be stored. The computing unit 501, the ROM 502, and the RAM 503 are connected to each other through a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.
[0129] Multiple components in device 500 are connected to I / O interface 505, including: input unit 506, such as a keyboard, mouse, etc.; output unit 508, such as various types of displays, speakers, etc.; storage unit 508, such as a disk, optical disc, etc.; and communication unit 509, such as a network card, modem, wireless communication transceiver, etc. Communication unit 509 allows device 500 to exchange information / data with other devices via a computer network such as the Internet and / or various telecommunication networks.
[0130] Computing unit 501 can be various general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of computing unit 501 include but are not limited to a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. Computing unit 501 executes the various methods and processes described above, such as the data processing method based on a large model. For example, in some embodiments, the data processing method based on a large model can be implemented as a computer software program that is tangibly contained in a machine-readable medium, such as storage unit 508. In some embodiments, part or all of the computer program can be loaded and / or installed onto device 500 via ROM 502 and / or communication unit 509. When the computer program is loaded into RAM 503 and executed by computing unit 501, one or more steps of the small program distribution described above can be executed. Alternatively, in other embodiments, computing unit 501 can be configured to execute the data processing method based on a large model in any other suitable way (e.g., by means of firmware).
[0131] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-chip (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special or general programmable processor, and can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit the data and instructions to the storage system, the at least one input device, and the at least one output device.
[0132] The program code for implementing the methods of the present disclosure can be written in any combination of one or more programming languages. These program codes can be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable large model-based data processing devices, such that when the program codes are executed by the processor or controller, the functions / operations specified in the flowcharts and / or block diagrams are implemented. The program codes can be executed entirely on the machine, partially on the machine, executed partially on the machine and partially on a remote machine as an independent software package, or executed entirely on a remote machine or server.
[0133] In the context of the present disclosure, a machine-readable medium can be a tangible medium that can contain or store a program for use by or in connection with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0134] In order to provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device for displaying information to the user (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor); and a keyboard and a pointing device (e.g., a mouse or a trackball) through which the user can provide input to the computer. Other kinds of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0135] The systems and techniques described herein can be implemented in a computing system including backend components (e.g., as a data server), or a computing system including middleware components (e.g., an application server), or a computing system including frontend components (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described herein), or a computing system including any combination of such backend components, middleware components, or frontend components. The components of the system can be interconnected to each other by digital data communication in any form or medium (e.g., a communication network). Examples of communication networks include: local area network (LAN), wide area network (WAN), and the Internet.
[0136] A computer system can include a client and a server. The client and the server are generally far from each other and typically interact through a communication network. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, a server of a distributed system, or a server incorporating a blockchain.
[0137] It should be understood that various forms of the processes shown above can be used, steps can be reordered, added, or deleted. For example, the steps recited in this disclosure can be executed in parallel, sequentially, or in a different order, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this is not limited herein.
[0138] The above specific embodiments do not constitute a limitation on the protection scope of this disclosure. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent replacements, and improvements made within the spirit and principles of this disclosure shall be included within the protection scope of this disclosure.
Claims
1. A data processing method based on a large model, wherein: The method comprises: Receiving a natural language query request input by a user through an interactive interface; Parsing the target function module and the query parameters contained in the natural language query request through the big model to generate the target function module navigation instruction and the target query parameters; Jump to the target function module according to the target function module navigation instruction, and display the data corresponding to the target query parameter on the display page corresponding to the target function module.
2. The method according to claim 1, wherein: The step of jumping to the target function module according to the target function module navigation instruction comprises: Acquire the navigation instruction of the target functional module obtained by parsing the large model; Identify the module identifier contained in the navigation instruction of the target functional module; The target functional module is determined according to the module identifier, and the function is jumped to the target functional module.
3. The method according to claim 1, wherein: The method further comprises: If the query condition needs to be modified, the natural language query request is modified in the interactive interface to obtain a modified natural language query request; New data is regenerated according to the modified natural language request and the display page corresponding to the target functional module is updated.
4. The method according to claim 3, wherein: The regenerating new data according to the modified natural language request and updating the display page corresponding to the target function module includes: Regenerate modified target query parameters according to the modified natural language query request by using the large model; The data corresponding to the modified target query parameter is updated on the display page corresponding to the target function module.
5. The method according to claim 1, wherein: The method further comprises: Integrating a query plug-in in a designated area of the display page; If the query condition needs to be modified, the modified query condition is input into the query plug-in, and data corresponding to the modified query condition is displayed in other areas of the display page except the designated area.
6. The method according to any one of claims 1 to 5, wherein: The displaying of the data corresponding to the target query parameter on the display page corresponding to the target function module includes: According to the target query parameter, data corresponding to the target query parameter is requested from a database, and the data corresponding to the target query parameter is displayed on a display page corresponding to the target function module.
7. The method according to any one of claims 1 to 5, wherein: The displaying of the data corresponding to the target query parameter on the display page corresponding to the target function module includes: Calling a corresponding application programming interface according to the target query parameter to request data corresponding to the target query parameter from a server or a third-party service provider; The data corresponding to the target query parameter is displayed on a display page corresponding to the target function module.
8. The method according to any one of claims 1 to 5, wherein: The displaying of the data corresponding to the target query parameter on the display page corresponding to the target function module includes: The data corresponding to the target query parameter is converted into a form of a data view, and displayed in the form of the data view on a display page corresponding to the target function module.
9. The method according to any one of claims 1 to 5, wherein: Before receiving the natural language query request input by the user through the interactive interface, the method further includes: The functional description, data source and supported search parameters of each module in the background management system are input into the large model.
10. A data processing device based on a large model, the device comprising: A receiving module, used to receive a natural language query request input by a user through an interactive interface; A generation module, used to parse the target function module and the query parameters contained in the natural language query request through a large model to generate a target function module navigation instruction and a target query parameter; The display module is used to jump to the target function module according to the target function module navigation instruction, and display the data corresponding to the target query parameter on the display page corresponding to the target function module.
11. An electronic device, comprising: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 9.
12. A non-transitory computer-readable storage medium storing computer instructions, wherein: The computer instructions are used to cause the computer to execute the method according to any one of claims 1-9.
13. A computer program product, comprising a computer program, which, when executed by a processor, implements the method according to any one of claims 1 to 9.
