Data processing method and device and electronic equipment

By responding to the launch of the target application in the electronic device, the system obtains runtime scenario information and toolset, uses the target model to determine the target toolset and displays the interactive interface, thus solving the problems of learning cost and operational complexity for users when selecting tools or services, simplifying the operation process and improving the user experience.

CN121541966APending Publication Date: 2026-02-17LENOVO (BEIJING) LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511788304.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-11-30
Publication Date
2026-02-17

AI Technical Summary

Technical Problem

When using electronic devices, users need to select and operate tools or services from a variety of applications, which increases the learning cost and operational complexity.

Method used

By responding to the launch of the target application, the system obtains information about the operating scenario and toolset of the electronic device, uses the target model to determine the target toolset, and displays an interactive interface for the user to select, thus simplifying the operation process.

Benefits of technology

This reduces the steps users need to manually search for and select tools, lowers operational complexity, and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121541966A_ABST
    Figure CN121541966A_ABST
Patent Text Reader

Abstract

The invention discloses a data processing method and device and electronic equipment, and the method comprises the steps: responding to the starting of a target application program, and obtaining the operation scene information constructed by the electronic equipment for the target application program; obtaining a tool set capable of being provided by the electronic equipment; a target tool set is determined based on the operation scene information, the tool set and a target model, the target tool set comprises at least one tool program, and the at least one tool program belongs to the tool set; an interactive interface comprising the target tool set is displayed, and the target tool set comprises at least one of the following steps: processing content data of the target application program based on a tool program; and on the basis of a tool program, optimizing parameters, related to performance, of a running scene constructed by the electronic equipment for the target application program.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of data processing technology, and in particular to a data processing method, apparatus and electronic device. Background Technology

[0002] Currently, when using electronic devices, users typically need to manually select and click through numerous applications to access the desired tools or services, such as setting screen brightness or microphone parameters. This increases the learning curve for users (i.e., users need to learn the location of the applications and the specific locations of the tools they provide) and also increases the complexity of the operation. Summary of the Invention

[0003] In view of the above, this application provides a data processing method, apparatus, and electronic device, as follows:

[0004] A data processing method, comprising:

[0005] In response to the launch of the target application, obtain the runtime scenario information constructed by the electronic device for the target application;

[0006] To obtain the toolset that the electronic device can provide;

[0007] Based on the runtime scenario information, the toolset, and the target model, a target toolset is determined, wherein the target toolset includes at least one tool program, and the at least one tool program belongs to the toolset.

[0008] Display an interactive interface including the target toolset, wherein the target toolset includes at least one of the following:

[0009] Based on the tool program, process the content data of the target application;

[0010] Based on the tool program, the parameters related to the operating scenario and performance of the electronic device for the target application are optimized.

[0011] Optionally, the target application and the target toolset may differ depending on the method described above. The target model generates the target toolset based on the running scenario information, the toolset, and guidance information constructed from the correspondence between multiple running scenarios and tool programs.

[0012] Optionally, the guidance information in the above method includes at least one of the following:

[0013] The prompt indicates that the target model selects at least one tool program from the toolset and sets an upper limit on the number of tool programs in the target toolset;

[0014] The target model is configured with tool identifiers, tool parameters, and tool confidence levels for the tools in the target toolset.

[0015] The target model is prompted to output the target toolset according to the target format;

[0016] The target model is prompted to output the target toolset according to the running scenario information and the device status information of the electronic device;

[0017] The target model is indicated to ignore at least one first-type tool program in the toolset;

[0018] If the target model fails to find a matching tool program from the toolset that matches the runtime scenario information, it will output information indicating that no matching tool program exists.

[0019] The target model is prompted to set the output location of the second type of tool program in the target toolset.

[0020] Optionally, the above method may further include:

[0021] In response to the launch of the target application, the interactive interface of the target application is displayed;

[0022] The display includes the interactive interface of the target toolset, comprising:

[0023] Based on the display of the target application's interactive interface, the interactive interface of the target toolset is displayed.

[0024] Optionally, in response to the launch of the target application, the method obtains runtime scenario information constructed by the electronic device for the target application, including:

[0025] The scene recognition unit obtains the running scene information constructed by the electronic device for the target application;

[0026] The scene recognition unit is activated based on the startup of the operating system.

[0027] Optionally, in the above method, obtaining the runtime scene information constructed by the electronic device for the target application through the scene recognition unit includes:

[0028] The window monitoring component monitors the window information of application windows created in the electronic device.

[0029] The process monitoring component monitors the process information of the applications launched in the electronic device.

[0030] The file monitoring component monitors the text information of the target text being read from the electronic device.

[0031] Based on the window information, the process information, and the text information, the running scenario information constructed by the electronic device for the target application is obtained.

[0032] Optionally, in the above method, obtaining the runtime scene information constructed by the electronic device for the target application through the scene recognition unit includes:

[0033] The window monitoring component monitors the window information of application windows created in the electronic device.

[0034] The process monitoring component monitors the process information of the applications launched in the electronic device.

[0035] The audio monitoring component monitors the call information of the audio devices activated in the electronic device.

[0036] Based on the window information, the process information, and the call information, the running scenario information constructed by the electronic device for the target application is obtained.

[0037] Optionally, in the above method, obtaining the runtime scene information constructed by the electronic device for the target application through the scene recognition unit includes:

[0038] The window monitoring component monitors the window information of application windows created in the electronic device.

[0039] The process monitoring component monitors the process information of the applications launched in the electronic device.

[0040] Based on the window information and the process information, the running scenario information constructed by the electronic device for the target application is obtained.

[0041] A data processing apparatus, comprising:

[0042] A scene acquisition unit is used to acquire, in response to the launch of a target application, the running scene information constructed by the electronic device for the target application;

[0043] A set acquisition unit is used to acquire the set of tools that the electronic device can provide;

[0044] The target determination unit is used to determine a target tool set based on the running scenario information, the tool set, and the target model. The target tool set includes at least one tool program, and the at least one tool program belongs to the tool set.

[0045] An interface display unit is configured to display an interactive interface including the target toolset, wherein the target toolset includes at least one of the following:

[0046] Based on the tool program, process the content data of the target application;

[0047] Based on the tool program, the parameters related to the operating scenario and performance of the electronic device for the target application are optimized.

[0048] An electronic device, comprising:

[0049] A processor is configured to, in response to the launch of a target application, obtain runtime scenario information constructed by the electronic device for the target application; obtain a toolset that the electronic device can provide; and determine a target toolset based on the runtime scenario information, the toolset, and a target model, wherein the target toolset includes at least one tool program, and the at least one tool program belongs to the toolset.

[0050] A display for showing an interactive interface including the target toolset, wherein the target toolset includes at least one of the following:

[0051] Based on the tool program, process the content data of the target application;

[0052] Based on the tool program, the parameters related to the operating scenario and performance of the electronic device for the target application are optimized. Attached Figure Description

[0053] To more clearly illustrate the technical solutions of the embodiments of this application, the drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0054] Figure 1 A flowchart illustrating a data processing method provided in an embodiment of this application;

[0055] Figure 2 This is an example diagram of the interactive interface including the target toolset in the embodiments of this application;

[0056] Figure 3 This is an example diagram of a tool program for recommending office scenarios in the embodiments of this application;

[0057] Figure 4 This is an example diagram of a tool program for recommending meeting scenarios in the embodiments of this application;

[0058] Figure 5This is another example diagram of a recommendation tool program for meeting scenarios in the embodiments of this application;

[0059] Figure 6 This is a display example diagram of the interactive interface of the target application and the interactive interface including the target toolset in the embodiments of this application;

[0060] Figure 7 This is a schematic diagram of the structure of a data processing device provided in an embodiment of this application;

[0061] Figure 8 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application;

[0062] Figure 9 This is an example diagram illustrating the recommended tools for implementing the intelligent assistant in the embodiments of this application;

[0063] Figure 10 This is an example diagram illustrating how the intelligent assistant identifies the operating scenario through system components in an embodiment of this application.

[0064] Figure 11 This is an example diagram of a tool program for recommending office scenarios in the embodiments of this application;

[0065] Figure 12 This is an example diagram of a tool program for recommending meeting scenarios in the embodiments of this application. Detailed Implementation

[0066] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0067] refer to Figure 1 The diagram shown is a flowchart illustrating the implementation of a data processing method provided in this application embodiment. This method can be applied to electronic devices with multiple utility programs deployed, such as mobile phones, laptops, and tablets with text translation tools, text-to-speech tools, and other utility programs. The technical solution in this embodiment is mainly used to improve the user experience of electronic devices.

[0068] Specifically, the method in this embodiment may include the following steps:

[0069] Step 101: In response to the launch of the target application, obtain the runtime scenario information built by the electronic device for the target application.

[0070] The target application can be any application deployed on the electronic device. The running scenario information represents the type of function or service that the target application provides to the user when it is launched on the electronic device, such as: a meeting scenario that provides video calling function to the user, a game scenario that provides game service to the user, an office scenario that provides text editing function to the user, etc.

[0071] It should be noted that the target application may be launched in response to a user's triggering action on the electronic device, or the target application may be launched in response to a call command from other applications or smart models on the electronic device or other devices.

[0072] For example, when a user double-clicks the application icon of a document editing application on a laptop, the laptop responds by launching the document editing application and obtains the operating scenario information of the office scenario built by the laptop for the document editing application.

[0073] For example, when a user clicks a meeting link in an email application on a laptop, the email application generates a launch command to start the meeting application in response to the clicked meeting link. The laptop then controls the launch of the meeting application in response to the launch command and obtains the running scenario information of the video conferencing scenario built by the laptop for the meeting application.

[0074] Specifically, in this embodiment, user behavior description information can be collected from the electronic device. This user behavior description information represents the behavior description information of launched applications, opened application windows, text information read by applications, and triggered input / output devices, such as the start and exit information of the kernel process corresponding to the application, the opening and closing information of application windows, the opening and closing information of text read by applications, keyboard and mouse operation information, and microphone and speaker usage information. Then, based on this user behavior description information, the running scenario information constructed by the electronic device for the target application is determined.

[0075] Step 102: Obtain the set of tools that the electronic device can provide.

[0076] In this embodiment, the toolset that the electronic device can provide can be obtained in response to the launch of the target application; or, in this embodiment, the toolset that the electronic device can provide can be obtained in advance and saved to the memory of the electronic device, and the toolset can be read from the memory after obtaining the running scenario information.

[0077] It should be noted that the toolset includes all the tools and programs that an electronic device can provide. These tools and programs can be the original tools and programs that come pre-installed with the electronic device, or tools and programs provided by third-party applications deployed on the electronic device. Each tool and program can provide users with corresponding functions or services. For example, tools and programs may include: text translation tools, text-to-speech tools, summarization tools, screenshot tools, microphone noise reduction tools, Dolby audio tools, power management tools, bandwidth setting tools, network setting tools, etc.

[0078] Specifically, in this embodiment, the program modules installed in the electronic device can be detected to obtain all the tool programs that the electronic device can provide.

[0079] It should be noted that each tool in the toolset has a tool identifier, tool description information, and a range of available parameters. The tool identifier is used to uniquely identify the corresponding tool; the tool description information is used to describe the function or type of the tool.

[0080] For example, a microphone noise reduction tool is identified as "microphone noise reduction". The tool description information describes that the tool program can reduce noise in the audio data collected by the microphone; the available parameter range of the tool parameters is the noise reduction parameter range.

[0081] Step 103: Determine the target toolset based on the runtime scenario information, toolset, and target model.

[0082] The target toolset includes at least one tool program, and the tool programs in the target toolset belong to the toolset. That is to say, in this embodiment, at least one tool program can be selected from the toolset based on the running scenario information and the target model, and the selected tool programs constitute the target toolset.

[0083] It should be noted that the target model can be a machine learning model that can recognize natural language and / or other inputs (such as audio, video, images, tables, etc.) inputted to the target model, and perform comprehensive language processing tasks such as semantic analysis, question answering, and logical reasoning, thereby generating outputs and / or responses related to the input. In this embodiment, the target model can process the input's runtime scenario information and toolset, such as filtering out tool programs that match the runtime scenario information from the toolset to generate a target toolset.

[0084] For example, the target model can be a generative model or a generative language model (GLM). Specifically, it can include large language models (LLMs) or GPT (Generative Pre-trained Transformer). The models involved in the embodiments of this application can be general large models or expert large models obtained by fine-tuning based on requirements. The embodiments of this application do not limit this.

[0085] Step 104: Display the interactive interface that includes the target toolset.

[0086] For example, such as Figure 2 As shown in the figure, in this embodiment, the tool programs in the target toolset are output in the interactive interface. The interactive interface is displayed to the user, who can select the required tool program in the interactive interface. The selected tool program can provide the user with corresponding functions or services.

[0087] Specifically, the target toolset may include at least one of the following:

[0088] Based on the tool program, process the content data of the target application;

[0089] Based on the tool program, optimize the operating scenarios and performance-related parameters of electronic devices for target applications.

[0090] In one implementation, the target toolset displayed in the interactive interface contains utility programs that process the content data of the target application. For example, the utility programs process text content data in a text editing application; or, for instance, the utility programs process chat content data in a chat application.

[0091] For example, such as Figure 3 As shown in the example, taking a text editing application as the target application, the target text is opened within the text editing application. The interactive interface displayed on the notebook includes tool icons for various tools such as translation tools, summary tools, text-to-speech tools, writing tools, and screenshot tools. The user can select one of these tool icons, and the corresponding tool will process the target text in a specific way. For example, the translation tool translates the text content of the target text; the summary tool generates a summary or abstract of the text content; the text-to-speech tool converts the text content of the target text into speech data; the writing tool continues the writing of the text content; and the screenshot tool captures a screenshot of the text content; and so on.

[0092] In another implementation, the target toolset displayed in the interface contains tools that can optimize the electronic device's operating scenarios and performance-related parameters for the target application. For example, tools can set bandwidth parameters for a video playback application; or microphone parameters for a conferencing application.

[0093] For example, such as Figure 4 As shown in the example, taking a conference application as the target application, there are three users participating in the meeting. The interactive interface displayed on the laptop includes tool icons for various tools such as microphone noise reduction, Dolby audio, power mode, bandwidth protection, and network reconnection. Users can select a tool icon, and the corresponding tool will optimize the parameters related to performance in the target application's corresponding operating scenario in a specific way. For example, the microphone noise reduction tool reduces noise in the audio data captured by the microphone during a single-person call in the conference scenario; the Dolby audio tool sets the speaker's voice mode to Dolby audio mode in the conference scenario; the power mode tool sets the power supply to the optimal energy efficiency mode in the conference scenario; the bandwidth protection tool enables bandwidth protection in the conference scenario; and the network reconnection tool enables network reconnection in the conference scenario, and so on.

[0094] In another implementation, the target toolset displayed in the interactive interface includes tools that can optimize the operating scenarios and performance-related parameters of the electronic device for the target application, as well as tools that can process the content data of the target application.

[0095] For example, such as Figure 5 As shown in the example, taking a meeting application as the target application, the meeting application has three users participating and outputting target text in the meeting sharing interface. Based on this, the interactive interface displayed on the laptop includes tool icons for various tools such as translation tools, summary tools, text-to-speech tools, microphone noise reduction tools, and Dolby audio tools. Users can select a tool icon, and the tool corresponding to the selected icon optimizes the parameters related to performance in the target application's corresponding operating scenario in a specific way. For example, the translation tool translates the text content data of the target text in the meeting sharing interface; the summary tool generates summary text or abstract content for the text content data of the target text in the meeting sharing interface; the text-to-speech tool converts the text content of the target text in the meeting sharing interface into speech data; the microphone noise reduction tool reduces noise in the audio data collected by the microphone during single-person calls in the meeting scenario; and the Dolby audio tool sets the speaker's voice mode to Dolby audio mode in the meeting scenario; and so on.

[0096] As can be seen from the above technical solution, in the data processing method provided by this application embodiment, in response to the launch of the target application, the operating scenario information constructed by the electronic device for the target application can be obtained, and the toolset that the electronic device can provide can be obtained. Thus, based on the operating scenario information, the toolset, and the target model, a target toolset containing at least one tool program belonging to the toolset can be determined. Then, an interactive interface including the target toolset is displayed. Users can use the toolset to process the content data of the target application and / or optimize the operating scenario and performance-related parameters constructed by the electronic device for the target application. Therefore, in this embodiment, the target toolset matching the operating scenario information is filtered from the toolset using the target model and provided to the user. This eliminates the need for users to specifically access related interfaces to launch these tools or to learn the location of the application and the specific location of the tools provided by the application. Users can directly select the required toolset in the interactive interface, thereby saving user operation time, reducing user operation complexity, and improving user experience.

[0097] In one implementation, the target applications and target toolsets differ. For example, the target toolsets selected by the target model from the toolsets based on the runtime scenario information corresponding to a document editing application and the target toolsets selected by the target model from the toolsets based on the runtime scenario information corresponding to a meeting application must differ in at least one tool program.

[0098] Specifically, in this embodiment, the target model generates a target toolset based on the guidance information constructed from the runtime scenario information, toolset, and the correspondence between multiple runtime scenarios and tool programs.

[0099] For example, guidance information can be used as prompts for the target model. Guided by these prompts, the target model can select at least one tool program from the toolset based on the runtime scenario information corresponding to the target application, thereby generating the target toolset.

[0100] It should be noted that this embodiment pre-sets a correspondence between operating scenarios and tool programs, serving as prompts for the target model. This correspondence refers to the user's demand for tool programs within the operating scenario of the electronic device. In the operating scenario constructed by the target application, the user may use one or more tool programs to improve the user experience of the target application on the electronic device in the current operating scenario. For example, in an office scenario corresponding to a document editing application on a laptop, the user might use a translation tool to edit the target text to understand the Chinese meaning expressed in the foreign language; in a meeting scenario corresponding to a meeting application on a laptop, the user might use a voice mode setting tool to set it to Dolby audio mode to improve the meeting's audio listening experience; and so on.

[0101] Based on this, in this embodiment, the correspondence between these operating scenarios and tool programs can be preset, and the guidance information constructed by the correspondence can be used as the prompt words of the target model. The target model, according to the prompts of the guidance information, filters out at least one tool program that matches the operating scenario information to generate the target toolset.

[0102] Specifically, the guidance information may include at least one of the following:

[0103] The prompt indicates that the target model should select at least one tool program from the toolset and sets an upper limit on the number of tool programs in the target toolset.

[0104] The target model is a tool program in the target toolset that carries tool identifiers, tool parameters, and tool confidence levels.

[0105] The target model should output the target toolset according to the target format.

[0106] The target model is prompted to output the target toolset based on the runtime scenario information and the device status information of the electronic devices.

[0107] The target model is prompted to ignore at least one first-type tool program in the toolset;

[0108] The prompt indicates that if no matching tool program is found from the toolset to match the runtime scenario information, the output will show information indicating that no matching tool program exists.

[0109] The target model is prompted to set the output location of the second type of tool program in the target toolset.

[0110] In one implementation, the guidance information may prompt the target model to select at least one tool program that matches the running scenario information from the toolset that the electronic device can provide, and prompt the target model to set the processing attributes of the corresponding tool program in the target toolset according to the tool attributes of the tool program in the toolset, and prompt the target model to ensure that the total number of selected tool programs does not exceed the upper limit value, such as 10.

[0111] For example, the target model can follow the prompts in the guidance information to select no more than 10 tools that match the office scenario from the toolset available on the laptop, and the settings of each tool can be determined from the range of attributes that the tool has in the toolset.

[0112] In one implementation, the guidance information can prompt the target model that each tool in the obtained target toolset needs to have a tool identifier (ID), a tool parameter value, and a tool confidence weight. The tool confidence weight characterizes the degree to which the tool matches the runtime scenario information. For example, the tool confidence weight is a value between 0 and 1, and it is rounded to two decimal places. Furthermore, the tool confidence weight of all tool programs in the target toolset is greater than or equal to 0.90.

[0113] For example, when the target model selects a tool program from the toolset according to the prompts in the guidance information, it can choose a tool program with a confidence weight greater than or equal to 0.90. The selected tool program carries a tool identifier ID and a tool parameter value, and the tool parameter value is within the parameter range of that tool program in the toolset.

[0114] It should be noted that the tools in the target toolkit output by the target model are displayed in the interactive interface in descending order of their respective tool confidence scores.

[0115] In one implementation, the guidance information can prompt the target model to output the target toolset according to the target format. The target format can be set according to business requirements. For example, the target format can be JSON format, without additional comments, descriptions, or text.

[0116] For example, following the prompts in the guidance information, the target model can select the target toolset from the toolset and then output the target toolset in JSON format. This output should not include additional comments, descriptions, or other formatted content, making it easier to display the target toolset in the interactive interface. Below is an example of a target toolset in JSON format:

[0117] { "id": "pcm.eye", / / Unique identifier for the tool program "value": "0", / / Specific options for the tool program, i.e., tool parameters "weight": 1.0 / / Confidence level of the tool program} { "id": "pcm.se.dolby", / / Unique ID for the tool program "value": "1", / / Specific options for the tool program "weight": 0.95 / / Confidence level of the tool program}

[0118] For example, in this embodiment, after obtaining the operational scenario information of the office environment and the toolset that the electronic device can provide, the operational scenario information, toolset, and guidance information are provided to the target model. The guidance information is as follows:

[0119] "The tools and programs provided for meeting scenarios include microphone noise reduction tools, Dolby sound effects tools, and the order in which these tools and programs are recommended for output."

[0120] The tools and programs provided for office scenarios include translation tools, and the order in which these tools and programs are recommended in the output;

[0121] The tools provided for game scenes include tools to eliminate popping sounds, and the recommended output order of these tools;...;

[0122] The number of recommended utility programs should not exceed 10; the tool parameters of the recommended utility programs should be set according to the recommended parameter range in their toolset; the degree of matching between the recommended utility programs and the running scenario, i.e., the tool confidence score, should reach 0.90; the recommended utility programs should be output in JSON format;...

[0123] Based on this, the target model outputs a set of target tools for the office scenario corresponding to the running scenario information, including "microphone noise reduction tool, Dolby sound effect tool, power mode tool, bandwidth protection tool, and network disconnection reconnection tool" according to the above guidance information. The tools in the target set are ordered according to their order in the guidance information. The target tools set is in JSON format and does not contain any additional comments, descriptions, or text.

[0124] In one implementation, the guidance information can prompt the target model to output the target toolset according to the running scenario information and the device status information of the electronic device. In this way, when the user selects to use any tool program in the target toolset, the device resources occupied by the tool program will not exceed the remaining resources represented by the device status information. Thus, the launch of any tool program in the target toolset will not cause the electronic device to lag, thereby improving the user experience.

[0125] For example, device status information can include the electronic device's memory usage, CPU (Central Processing Unit) usage, and hard drive usage. This status information represents the electronic device's remaining resources, such as remaining memory space, remaining computing resources, and remaining hard drive space. Based on this, the target model can follow the guidance information and, based on the laptop's remaining memory, computing resources, and hard drive space, select tools from the toolset that match the office scenario and whose operating resources do not exceed the remaining resources, without relying on other information.

[0126] In one implementation, the guidance information can prompt the target model: when selecting a tool from the toolset, ignore tools of the first type in the toolset. Tools of the first type are specific tools that cannot be used as auxiliary tools, such as speaker noise reduction tools and scene switching tools.

[0127] For example, when selecting tools from the toolset for an office scenario as the target model, specific tools such as speaker noise reduction tools and scene switching tools are ignored.

[0128] In one implementation, the guidance information can prompt the target model: if no matching tool program is found from the toolset, output information indicating that no matching tool program exists.

[0129] For example, when the target model is filtering tools for a specific operating scenario from the toolset, if no tool matching the operating scenario is found, then the tool is not recommended. In other words, a prompt message is output on the interactive interface, indicating that no tool matches the current operating scenario.

[0130] In one implementation, the guidance information can prompt the target model to set the output location of the second type of tool program in the target toolset.

[0131] The output position represents the display order of the tools in the interactive interface. The second type of tools can be those configured according to business needs and whose display order needs to be adjusted.

[0132] For example, if the user behavior description corresponding to the running scenario information includes document processing or other scenario descriptions such as meeting, video playback, audio playback, game, reading, etc., then the recommended display ranking of relatively common tools and programs that match the running scenario represented by the running scenario information, such as screenshot tools, translation tools, summary tools, recitation tools, writing tools, etc., should not be included in the top 3.

[0133] For example, if the user behavior description corresponding to the running scene information only mentions video playback, it can be identified as a video playback scene. If the toolset contains Dolby audio tool pcm.se.dolby, power mode tool pcm.power.mode, and color adjustment tool pcm.se.colorMgr, then these tools will be ranked in the top 3 of the target toolset.

[0134] For example, if the user behavior description corresponding to the running scenario information only contains "meeting", it can be identified as a meeting scenario. If the toolset includes microphone noise reduction tools, Dolby sound effects tools pcm.se.dolby, and pop-blocking tools pcm.popblockquiet, then these tools will be ranked in the top 3 of the target toolset.

[0135] For example, if the user behavior description in the running scene information only contains "game", it can be identified as a game scene. If the toolset contains the power mode tool pcm.power.mode, the Dolby sound effect tool pcm.se.dolby, and the pop-blocking tool pcm.popblockquiet, then these tools will be ranked in the top 3 of the target toolset.

[0136] For example, if the user behavior description in the running scenario information only mentions reading, it can be identified as a document reading scenario. If the toolset includes translation tools like pcm.eye, summary tools like summary, recitation tools like recitation, and writing tools like writing, then these tools will be listed at the top of the target toolset.

[0137] In one implementation, this embodiment may also display the interactive interface of the target application in response to the launch of the target application.

[0138] Therefore, in this embodiment, when displaying the interactive interface including the target toolset, the interactive interface including the target toolset can be displayed based on the display of the interactive interface of the target application.

[0139] In this embodiment, the first interactive interface represents the interactive interface of the target application, and the second interactive interface represents the interactive interface including the target toolset. Based on the display of the first interactive interface, the second interactive interface is displayed. The second interactive interface is displayed in association with the first interactive interface.

[0140] For example, such as Figure 6As shown, when the first interactive interface is displayed on the screen of the electronic device, the second interactive interface is displayed tiled with the first interactive interface, or the second interactive interface is overlaid on a portion of the first interactive interface; when the first interactive interface is minimized or closed on the screen, the second interactive interface is not displayed, although it can be minimized or closed. In other words, the second interactive interface is only displayed when the first interactive interface is displayed. If the user switches to other operating scenarios, such as closing or minimizing the first interactive interface, the second interactive interface will no longer be displayed. Therefore, the laptop will only recommend tools from the target toolset to the user through the second interactive interface when the first interactive interface is in the foreground, meeting the user's needs for the target application and improving the user experience.

[0141] In one implementation, when obtaining the running scenario information constructed by the electronic device for the target application in step 101, the running scenario information constructed by the electronic device for the target application can be obtained through the scenario recognition unit.

[0142] The scene recognition unit is activated upon the startup of the operating system, which is the operating system of the electronic device. In other words, after the electronic device's operating system starts, the scene recognition unit within that operating system is activated. Users do not need to explicitly activate these scene recognition units; instead, the system directly obtains runtime scene information through these scene recognition units in response to the startup of the target application.

[0143] Specifically, the scene recognition unit can be a user behavior monitoring component in the operating system, capable of monitoring user behavior description information within the operating system. Taking the Windows operating system as an example, the scene recognition unit may include the following user behavior monitoring components:

[0144] The Microsoft_Windows_Kernel_Process component is used to monitor the startup and exit information of application processes (i.e., kernel processes) in the operating system.

[0145] The SetWinEventHook component is used to monitor the opening and closing information of application windows in the operating system.

[0146] The RegisterRawInputDevices component is used to monitor input information from input devices corresponding to the operating system, such as keyboards and mice.

[0147] The Microsoft_Windows_Kernel_File component is used to monitor the reading and closing information of the text being read;

[0148] The CoreAudio component is used to monitor the start / stop information of called audio devices such as microphones and speakers.

[0149] Based on this, in this embodiment, the operating scenario information constructed by the electronic device for the target application can be determined according to at least one user behavior description information monitored by these components.

[0150] In one implementation, the runtime scenario information built by the electronic device for the target application can be obtained in the following way:

[0151] First, obtain window information, process information, and text information in the following ways:

[0152] Window information of application windows created on electronic devices can be monitored through window monitoring components such as SetWinEventHook.

[0153] Use process monitoring components such as the Microsoft_Windows_Kernel_Process component to monitor the process information of applications launched on electronic devices;

[0154] By using file monitoring components such as the Microsoft_Windows_Kernel_File component, the text information of the target text being read in the electronic device can be monitored;

[0155] Then, based on window information, process information, and text information, the running scenario information built by the electronic device for the target application is obtained.

[0156] Specifically, in this embodiment, the application type of the target application in the process information is determined, and the application identifier in the window information, the application identifier in the process information, and the application information in the text information are compared. If the comparison is consistent, it indicates that the application window of the target application to which the application identifier in the process information belongs has been opened, and the target application has read the target text corresponding to the text information. Then, according to the text editing application type of the target application, the running scenario information constructed by the electronic device for the target application can be determined to represent that the electronic device is in an office scenario using a text editing application.

[0157] For example, this embodiment uses the Microsoft_Windows_Kernel_File component to capture kernel file operation information. Kernel file operations include Create, Read, Close, etc. Kernel file operations require high processing performance from electronic devices. After monitoring kernel file read operations, the text information of the read text files such as ".doc", ".docx", ".pdf", and ".xls" is filtered and matched with the process information captured by the Microsoft_Windows_Kernel_Process component and the window information captured by the SetWinEventHook component. This matching ensures that the title of the opened application window matches the filename of the read text file to avoid misidentification caused by the application reading / writing files that are not user-operated. After confirming that the process information, window information, and text information match, this embodiment can identify that the current user has actively opened a specified text (document) through a text editing application, i.e., the office scenario implemented by the text editing application. Then, this embodiment provides this scenario information and the tools supported locally by the electronic device to the target model, such as a large language model. The large language model then recommends a target toolset to the user, consisting of document summarization tools, document translation tools, etc.

[0158] In another implementation, the runtime scenario information built by the electronic device for the target application can be obtained in this embodiment through the following methods:

[0159] First, obtain window information, process information, and call information in the following ways:

[0160] Window information of application windows created on electronic devices can be monitored through window monitoring components such as SetWinEventHook.

[0161] Use process monitoring components such as the Microsoft_Windows_Kernel_Process component to monitor the process information of applications launched on electronic devices;

[0162] Use audio monitoring components such as CoreAudio to monitor the call information of audio devices that are started in electronic devices;

[0163] Then, based on window information, process information, and call information, the running scenario information built by the electronic device for the target application is obtained.

[0164] Specifically, in this embodiment, the application identifier (the program to which the application window belongs), the application identifier in the process information, and the application information (the application that calls the speaker and microphone for audio output and audio acquisition) in the call information are compared. If the comparison is consistent, the running scenario information constructed by the electronic device for the target application can be determined according to the network conferencing application type of the target application, indicating that the electronic device is in a meeting scenario using a conferencing application. Alternatively, the running scenario information constructed by the electronic device for the target application can be determined according to the video playback application type of the target application, indicating that the electronic device is in a video playback scenario using a video playback application.

[0165] For example, in this embodiment, Media Foundation-related technologies such as the CoreAudio component are used to monitor the usage status of the system speakers. When an application process is detected using the speakers, the process information monitored by the Microsoft_Windows_Kernel_Process component and the window information monitored by the SetWinEventHook component are matched. If it is meeting-related software, it is identified as a meeting scenario; if it is video playback software, it is identified as an audio / video playback scenario. Based on this, in this embodiment, this scenario information and the tools supported locally by the electronic device are provided to the target model, such as a large language model. The large language model then recommends a target toolset to the user, consisting of microphone noise reduction tools, Dolby noise reduction tools, and super-resolution tools.

[0166] In another implementation, the runtime scenario information built by the electronic device for the target application can be obtained in this embodiment through the following methods:

[0167] First, obtain window information and process information in the following ways:

[0168] Window information of application windows created on electronic devices can be monitored through window monitoring components such as SetWinEventHook.

[0169] Use process monitoring components such as the Microsoft_Windows_Kernel_Process component to monitor the process information of applications launched on electronic devices;

[0170] Based on window information and process information, obtain the runtime scenario information built by the electronic device for the target application.

[0171] Specifically, in this embodiment, the application type of the target application in the process information is determined, and the application identifier in the window information is compared with the application identifier in the process information. If the comparison is consistent, it indicates that the application window of the target application to which the application identifier in the process information belongs has been opened. Then, according to the game entertainment application type of the target application, the running scene information constructed by the electronic device for the target application can be determined to represent that the electronic device is in a game entertainment scene using the game application.

[0172] For example, in this embodiment, after using SetWinEventHook to capture window information indicating that an application window has been opened, the process information monitored by the Microsoft_Windows_Kernel_Process component is matched with the window information monitored by the SetWinEventHook component. If the game application identifier in the process information matches the game application identifier in the window information, it can be determined that the user has opened a game application and displayed the game application window in the foreground. At this time, it is identified as a game scene. Then, in this embodiment, this running scene information and the tools supported locally by the electronic device are provided to the target model, such as the large language model. The large language model then pushes a target toolset consisting of pop-up blocking tools, beast mode tools, etc. to the user.

[0173] refer to Figure 7 This is a schematic diagram of a data processing device provided in an embodiment of this application. This device can be deployed in an electronic device equipped with multiple utility programs, such as mobile phones, laptops, and tablets with text translation tools and text-to-speech tools. The technical solution in this embodiment is mainly used to improve the user experience of electronic devices.

[0174] Specifically, the apparatus in this embodiment may include the following units:

[0175] Scene acquisition unit 701 is used to acquire running scene information constructed by electronic device for target application in response to the launch of target application;

[0176] The set acquisition unit 702 is used to acquire the set of tools that the electronic device can provide;

[0177] The target determination unit 703 is used to determine a target tool set based on the running scenario information, the tool set, and the target model. The target tool set includes at least one tool program, and the at least one tool program belongs to the tool set.

[0178] The interface display unit 704 is used to display an interactive interface including the target toolset, wherein the target toolset includes at least one of the following:

[0179] Based on the tool program, process the content data of the target application;

[0180] Based on the tool program, the parameters related to the operating scenario and performance of the electronic device for the target application are optimized.

[0181] As can be seen, in the data processing device provided in this application embodiment, a target toolset matching the running scenario information is selected from the toolset through the target model and provided to the user. This allows the user to directly select the required toolset in the interactive interface without having to go to the relevant interface to launch these tools or to learn about the location of the application and the specific location of the tools provided by the application. This saves the user's operation process, reduces the complexity of the user operation, and improves the user experience.

[0182] In one implementation, the target applications and the target toolsets are different; the target model generates the target toolset based on the running scenario information, the toolsets, and guidance information constructed from the correspondence between multiple running scenarios and tool programs.

[0183] In one implementation, the guidance information includes at least one of the following:

[0184] The prompt indicates that the target model selects at least one tool program from the toolset and sets an upper limit on the number of tool programs in the target toolset;

[0185] The target model is configured with tool identifiers, tool parameters, and tool confidence levels for the tools in the target toolset.

[0186] The target model is prompted to output the target toolset according to the target format;

[0187] The target model is prompted to output the target toolset according to the running scenario information and the device status information of the electronic device;

[0188] The target model is indicated to ignore at least one first-type tool program in the toolset;

[0189] If the target model fails to find a matching tool program from the toolset that matches the runtime scenario information, it will output information indicating that no matching tool program exists.

[0190] The target model is prompted to set the output location of the second type of tool program in the target toolset.

[0191] In one implementation, the interface display unit 704 is further configured to: display the interactive interface of the target application in response to the launch of the target application; wherein, when the interface display unit 704 displays the interactive interface including the target toolset, specifically: based on the display of the interactive interface of the target application, display the interactive interface of the target toolset.

[0192] In one implementation, the scene acquisition unit 701 is specifically used to: obtain the running scene information constructed by the electronic device for the target application through the scene recognition unit; wherein the scene recognition unit is started based on the startup of the operating system.

[0193] In one implementation, when the scene acquisition unit 701 obtains the running scene information through the scene recognition unit, it is specifically used for:

[0194] The window monitoring component monitors the window information of application windows created in the electronic device; the process monitoring component monitors the process information of application processes launched in the electronic device; the file monitoring component monitors the text information of target text read in the electronic device; and based on the window information, the process information, and the text information, the running scenario information constructed by the electronic device for the target application is obtained.

[0195] In one implementation, when the scene acquisition unit 701 obtains the running scene information through the scene recognition unit, it is specifically used for:

[0196] The window monitoring component monitors the window information of application windows created in the electronic device; the process monitoring component monitors the process information of application processes launched in the electronic device; the audio monitoring component monitors the call information of audio devices launched in the electronic device; and based on the window information, the process information, and the call information, the running scenario information constructed by the electronic device for the target application is obtained.

[0197] In one implementation, when the scene acquisition unit 701 obtains the running scene information through the scene recognition unit, it is specifically used for:

[0198] The window monitoring component monitors the window information of application windows created in the electronic device; the process monitoring component monitors the process information of application processes launched in the electronic device; and based on the window information and the process information, the running scenario information constructed by the electronic device for the target application is obtained.

[0199] It should be noted that the specific implementation of each unit in this embodiment can be referred to the corresponding content above, and will not be described in detail here.

[0200] refer to Figure 8 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. The electronic device can be a mobile phone, laptop, tablet, or other device with tools such as text translation and text-to-speech. The technical solution in this embodiment is mainly used to improve the user experience of the electronic device.

[0201] Specifically, the electronic device in this embodiment may include the following structure:

[0202] Processor 801 is configured to, in response to the launch of a target application, obtain runtime scenario information constructed by the electronic device for the target application; obtain a toolset that the electronic device can provide; and determine a target toolset based on the runtime scenario information, the toolset, and the target model, wherein the target toolset includes at least one tool program, and the at least one tool program belongs to the toolset.

[0203] Display 802 is configured to display an interactive interface including the target toolset, wherein the target toolset includes at least one of the following:

[0204] Based on the tool program, process the content data of the target application;

[0205] Based on the tool program, the parameters related to the operating scenario and performance of the electronic device for the target application are optimized.

[0206] As can be seen, in the electronic device provided by the embodiments of this application, a target tool set matching the running scenario information is selected from the tool set through the target model and provided to the user. This allows the user to directly select the required tool program in the interactive interface without having to go to the relevant interface to launch these tool programs, or to learn about the location of the application and the specific location of the tool programs provided by the application. This saves the user's operation process, reduces the complexity of user operation, and improves the user experience.

[0207] Taking a mobile phone as an example, the data processing device in this embodiment is a smart assistant installed on a laptop or mobile phone. The smart assistant supports the registration of third-party applications, such as navigation apps and ride-hailing apps, and can also detect existing applications in the operating system, such as screenshot tools, document translation tools, document summarization tools, and screen adjustment tools. Based on this, the smart assistant can register all the tools and programs that the electronic device can provide, forming a toolset. In addition, the smart assistant can also load system configuration information, which includes application information such as document processing applications, video applications, conferencing applications, and game applications. For example, the system configuration information for a conferencing application is as follows: [

[0209] {

[0210] "name":"teams meeting",

[0211] "className":"ScreenBorderWindow",

[0212] "winName":"",

[0213] "processName":"ms-teams.exe",

[0214] "topWin":1

[0215] } ... ]

[0218] This configuration information allows for quick identification of whether an application is the intended one based on process information, window information, and other data.

[0219] refer to Figure 9 As shown below, the specific implementation of a smart assistant is illustrated with examples:

[0220] First, after the operating system of the electronic device starts up, the smart assistant searches for and discovers the tool programs supported by the electronic device, such as Tool 1, Tool 2 and Tool 3, forming a toolset; after the operating system starts up, multiple user behavior monitoring components in the operating system also start up to facilitate process monitoring, window monitoring, file monitoring and audio monitoring.

[0221] Then, in response to the launch of the target application, the smart assistant activates the scene recognition unit to obtain the running scene information constructed by the electronic device for the target application, such as meeting scene, game scene, office scene, etc.

[0222] Afterwards, the intelligent assistant provides the running scenario information and toolset to the large model. It also provides the large model with guidance information such as recommendation rules or recommendation criteria (plugins) that are constructed by the correspondence between the running scenario and the tools. The large model then decides which tools to recommend to the user. Specifically, it filters out the toolset that match the running scenario information according to the guidance information to form the target toolset.

[0223] Afterwards, the intelligent assistant receives the target toolset returned by the large model and outputs an interactive interface containing the target toolset. When the user selects one of the tools, the intelligent assistant calls the corresponding tools through the plugin to provide the user with corresponding services, such as processing the content data of the target application and / or optimizing the operating scenarios and performance-related parameters of the electronic device.

[0224] refer to Figure 10 The following is a schematic diagram of the scene recognition process for an intelligent assistant:

[0225] First, after the electronic device is powered on, the operating system starts up and activates the scene recognition unit (also known as the scene recognition module) of the smart assistant.

[0226] Then, monitor various user behaviors in the following ways:

[0227] (1) Use Windows Event Tracing (ETW) monitoring components, such as the Microsoft_Windows_Kernel_Process component and the Microsoft_Windows_Kernel_File component, to monitor the start and stop behavior of kernel processes and the file operation behavior of the files being read.

[0228] It should be noted that ETW consumes a lot of system resources. In order to ensure system performance, this embodiment can cache the process information that conforms to the rules, so that it can be used directly in subsequent processing of file opening, window behavior, etc.

[0229] (2) Use the SetWinEventHook component to capture window event notifications to monitor the window closing behavior information of the application window; in addition, use GetWindowThreadProcessId to determine the target window process, associate window information and process information and cache them to optimize subsequent reading performance.

[0230] (3) Use the RegisterRawInputDevices component to monitor keyboard and mouse operation information.

[0231] (4) Use the CoreAudio component to monitor microphone and speaker usage information.

[0232] Finally, by comprehensively analyzing the above behaviors, the runtime scenario information is determined. Taking a meeting scenario as an example, if it is found that: the meeting application process is started in the operating system, the meeting application process starts a video or audio window, and the meeting application process uses the speaker or microphone, then it can be determined to be a meeting scenario.

[0233] For example, such as Figure 11 As shown in the image, the user has opened an English document. The smart assistant can recommend related tools such as translation tools, summary tools, text-to-speech tools, and writing tools for the user to choose from.

[0234] For example, such as Figure 12As shown, when a user starts a meeting using a conferencing application, the smart assistant can recommend tools such as microphone noise reduction and Dolby audio effects for the user to choose from.

[0235] In summary, this application may contain the following core technologies:

[0236] 1. Utilize the Windows system's ETW mechanism to monitor the startup and exit of application processes;

[0237] 2. Utilize Windows' Hook mechanism to monitor the creation of application windows;

[0238] 3. Use Windows CoreAudio to identify the applications using the microphone and speakers;

[0239] 4. Identify the current operating scenario based on the user environment described above, such as a meeting scenario or a video scenario.

[0240] 5. Select and execute matching tools based on the current operating scenario and local toolset, combined with the capabilities of the large model.

[0241] The guidance information, i.e., prompts, in the embodiments of this application adopts the following approach: based on the information obtained to reflect the usage scenario and the toolset, the prompts guide the target model to reason about the target toolset. For example, the prompts are used to configure roles, capabilities, available inputs, judgment rules, execution actions, workflows, and output formats.

[0242] #Role: Proactive Service Recommendation Assistant (i.e., Intelligent Assistant):

[0243] ##Background

[0244] We have created a proactive service product that can recommend a list of currently enabled capabilities to users based on their list of used applications and the capabilities available on their devices. I will provide the capability list, device status, and user behavior progress in the input field.

[0245] ##Skills

[0246] 1. Analyze user application usage behavior and device operating status.

[0247] 2. Match and filter capabilities in the capability list that are highly relevant to user needs.

[0248] 3. Output recommendation results in a standardized JSON format to ensure clear structure and standardized format.

[0249] 4. Strictly adhere to the recommendation logic under the given rules.

[0250] ## Input

[0251] - A list of capabilities (containing id, desc, and options) {ability_list};

[0252] - Device status (such as memory usage, CPU usage, disk usage) {device_status};

[0253] - A list of user behavior processes, including the application processes {user_action} that the user is currently using;

[0254] ##Rules

[0255] 1. Recommendations are made only from a given list of abilities and the range of values ​​for each ability, with a maximum of 10 abilities recommended.

[0256] 2. Each recommendation result must include the fields of id, value, and weight. The confidence weight value should be between 0 and 1, with two significant digits. For accurate recommendations, the weight value should be ≥0.90.

[0257] 3. The output must be in JSON format only and cannot contain additional comments, descriptions, text, etc.

[0258] 4. Recommendations must be based on a comprehensive judgment of "device status + user behavior" and cannot rely on information outside the context.

[0259] 5. Ignore the capabilities of "speaker noise reduction" and "scene switching" and do not recommend related capabilities.

[0260] 6. If there is no suitable capability to recommend, then do not recommend it. The recommended capability should be truly appropriate for the current scenario.

[0261] ##Attention

[0262] 1. When the user behavior description includes document processing and other scenarios (meeting, video, audio, game, reading), the recommended order of screenshot, translate, summary, recitation, and writing should not be among the top 3 (even if they are related to the behavior).

[0263] 2. If the user behavior description only contains video, and the video exists in the given capability list, the top 3 recommended capabilities are pcm.se.dolby, pcm.power.mode, and pcm.se.colorMgr.

[0264] 3. If the user behavior description only mentions "meeting" and these features are present in the given capability list, the top 3 recommendations must be microphone noise reduction, pcm.se.dolby, and pcm.popblockquiet.

[0265] 4. If the user behavior description only mentions "game" and these abilities are present in the given list, the top 3 recommended abilities are pcm.power.mode, pcm.se.dolby, and pcm.popblockquiet.

[0266] 5. If the user behavior description only includes reading, and these skills exist in the given list of abilities, the top 3 recommended skills are pcm.eye, translate, summary, recitation, and writing.

[0267] ##Workflow

[0268] 1. Analyze the user's behavior process list and, in conjunction with the application's classification, infer the capabilities the user might need.

[0269] 2. Locate the corresponding capability information in the provided capability list, including ID, description, and available options.

[0270] 3. Match the recommended list of capabilities based on the description information, options, and user behavior list, and sort them by confidence level.

[0271] 4. Adjust the order of the recommended capability list and the corresponding confidence level according to the rules described in attention.

[0272] 5. Please think through the steps and provide the JSON result according to the output format below.

[0273] ##OutputFormat```json [ { "id": "pcm.eye", / / Unique ability ID "value":"0" , / / Specific ability options "weight": 1.0 / / Ability recommendation confidence}, { "id": "pcm.se.dolby", / / Unique ability ID "value": "1", / / Specific ability options "weight": 0.95 / / Ability confidence} ]```

[0274] As can be seen, this application provides a method that can proactively provide users with relevant services based on the user's computer usage scenario and computer environment, through a large model combined with some local tools and programs, without requiring the user to actively search for or use them, thereby greatly improving the user experience.

[0275] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For the apparatus disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the description is relatively simple; relevant parts can be referred to the method section.

[0276] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0277] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein can be implemented directly by hardware, a software module executed by a processor, or a combination of both. The software module can be located in random access memory (RAM), main memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium known in the art.

[0278] The above description of the disclosed embodiments enables those skilled in the art to make or use this application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this application. Therefore, this application is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A data processing method, comprising: obtaining running scenario information of an electronic device for a target application in response to a start of the target application; obtaining a tool set that the electronic device can provide; determining a target tool set based on the running scenario information, the tool set, and a target model, the target tool set comprising at least one tool program, the at least one tool program belonging to the tool set; displaying an interactive interface comprising the target tool set, wherein the target tool set comprises at least one of the following: processing content data of the target application based on a tool program; optimizing a performance-related parameter of a running scenario of the electronic device for the target application based on a tool program. 2.The method of claim 1, wherein the target application is different, the target tool set is different, and the target model generates the target tool set based on the running scenario information, the tool set, and guidance information of a plurality of running scenarios and tool programs. 3.The method of claim 2, wherein the guidance information comprises at least one of the following: prompting the target model to select at least one tool program from the tool set and an upper limit value of a number of tool programs in the target tool set; prompting the target model to set a tool identifier, a tool parameter, and a tool confidence for a tool program in the target tool set; prompting the target model to output the target tool set in a target format; prompting the target model to output the target tool set according to the running scenario information and device state information of the electronic device; prompting the target model to ignore at least one first type of tool program in the tool set; prompting the target model to output information representing no matching tool program in a case where no tool program matching the running scenario information is filtered from the tool set; prompting the target model to set an output position of a second type of tool program in the target tool set. 4.The method of claim 1 or 2, further comprising: displaying an interactive interface of the target application in response to a start of the target application; wherein the displaying the interactive interface comprising the target tool set comprises: displaying the interactive interface of the target tool set based on the display of the interactive interface of the target application. 5.The method of claim 1, wherein the obtaining the running scenario information of the electronic device for the target application in response to a start of the target application comprises: obtaining the running scenario information of the electronic device for the target application by a scenario recognition unit; wherein the scenario recognition unit is started based on a start of an operating system. 6.The method of claim 5, wherein the obtaining the running scenario information of the electronic device for the target application by the scenario recognition unit comprises: monitoring window information of an application window created in the electronic device by a window monitoring component; monitoring process information of an application process started in the electronic device by a process monitoring component. obtaining, by a file monitoring component, text information of a target text being read in the electronic device; obtaining, according to the window information, the process information and the text information, running scenario information of the electronic device constructed for the target application program.

7. The method of claim 5, wherein the obtaining, by the scenario identification unit, the running scenario information of the electronic device constructed for the target application program comprises: obtaining, by a window monitoring component, window information of an application window being created in the electronic device; obtaining, by a process monitoring component, process information of an application process being started in the electronic device; obtaining, by an audio monitoring component, calling information of an audio device being started in the electronic device; obtaining, according to the window information, the process information and the calling information, the running scenario information of the electronic device constructed for the target application program.

8. The method of claim 5, wherein the obtaining, by the scenario identification unit, the running scenario information of the electronic device constructed for the target application program comprises: obtaining, by a window monitoring component, window information of an application window being created in the electronic device; obtaining, by a process monitoring component, process information of an application process being started in the electronic device; obtaining, according to the window information and the process information, the running scenario information of the electronic device constructed for the target application program.

9. A data processing apparatus, comprising: a scenario obtaining unit configured to obtain, in response to starting of a target application program, running scenario information of an electronic device constructed for the target application program; a total set obtaining unit configured to obtain a tool set capable of being provided by the electronic device; a target determining unit configured to determine, based on the running scenario information, the tool set and a target model, a target tool set, the target tool set comprising at least one tool program, the at least one tool program belonging to the tool set; an interface display unit configured to display an interactive interface comprising the target tool set, wherein the target tool set comprises at least one of the following: processing content data of the target application program based on the tool program; optimizing, based on the tool program, a performance-related parameter of a running scenario of the electronic device constructed for the target application program.

10. An electronic device, comprising: a processor configured to obtain, in response to starting of a target application program, running scenario information of an electronic device constructed for the target application program; obtaining a tool set capable of being provided by the electronic device; determining, based on the running scenario information, the tool set and a target model, a target tool set, the target tool set comprising at least one tool program, the at least one tool program belonging to the tool set; a display configured to display an interactive interface comprising the target tool set, wherein the target tool set comprises at least one of the following: processing content data of the target application program based on the tool program; optimizing, based on the tool program, a performance-related parameter of a running scenario of the electronic device constructed for the target application program.