Processing method and device and electronic equipment

By detecting and analyzing the functional abnormalities of the target application, using the target model to provide instant feedback and recovery channels, the functional abnormalities caused by the upgrade of external programs of electronic devices are solved, and the user experience and resolution efficiency are improved.

CN119201552APending Publication Date: 2024-12-27LENOVO (BEIJING) LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411366211.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-27
Publication Date
2024-12-27

AI Technical Summary

Technical Problem

Applications on electronic devices are abnormal in function due to upgrades to external programs (such as drivers, BIOS, firmware), which affects the user experience. The existing solutions are inefficient and cannot promptly remind users to solve the problem.

Method used

By obtaining the functional information of the target application, detecting its abnormal situation, and using the target model to analyze the update of the target program, actively prompting the user for the cause of the abnormality and providing recovery channels, including instant feedback and reminding mechanisms based on user behavior.

Benefits of technology

It improves the efficiency of users in solving problems, reduces user dissatisfaction and complaints, improves user experience and brand image, ensures that users understand and resolve functional abnormalities in a timely manner, and reduces the time and energy of users' self-service troubleshooting.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119201552A_ABST
    Figure CN119201552A_ABST
Patent Text Reader

Abstract

The invention discloses a processing method and device and electronic equipment. The processing method comprises the steps that first information is obtained; the first information comprises function information of the target application; obtaining second information in response to the condition that the first information meets a first condition; the first condition represents that a target function of the target application has an abnormal condition, the target application calls a target program to control the target hardware to execute operation in the implementation of the target function, and the second information comprises the updating condition of the target program; outputting third information in response to the condition that the second information meets a second condition; the second condition represents that the target program is updated, and the third information is used for prompting an abnormal reason of the target function and / or providing a channel for recovering the target function.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a processing method, device and electronic device. Background Art

[0002] Currently, some applications on electronic devices rely extensively on other programs to perform their diverse functions. However, this dependency also comes with potential risks: once other programs are upgraded, the functions that originally ran stably in the application may suddenly fail or behave abnormally, affecting the user experience. Summary of the invention

[0003] The technical solutions provided by this application are as follows:

[0004] The first aspect of the present application provides a processing method, comprising:

[0005] Obtaining first information; the first information includes function information of the target application;

[0006] In response to the first information satisfying a first condition, obtaining second information; the first condition indicates that a target function of the target application has an abnormal condition, the target function is implemented by the target application calling a target program to control the target hardware to perform an operation, and the second information includes an update status of the target program;

[0007] In response to the second information satisfying a second condition, third information is output; the second condition indicates that the target program is updated, and the third information is used to indicate the abnormal cause of the target function and / or provide a channel for restoring the target function.

[0008] In a possible implementation, in response to the second information satisfying the second condition, outputting the third information includes one of the following:

[0009] In response to the second information satisfying a second condition, outputting the third information at a first timing; the first timing is detecting that the second information satisfies the second condition;

[0010] In response to the second information satisfying a second condition, the third information is stored and the third information is output at a second timing; the second timing is later than the first timing, and the second timing is when the target object performs a first operation when the target application is running.

[0011] In a possible implementation, the process of determining the second timing includes:

[0012] Get the target content input by the target object;

[0013] Processing the target content based on the target model to determine the user intention;

[0014] If the user intention indicates that the target object is querying the target function of the target application, it is determined that the second timing has arrived.

[0015] In a possible implementation, the process of determining whether the first information satisfies the first condition includes:

[0016] Obtaining user interface image data of the target application in the current state and user interface image data saved when the target application was last opened;

[0017] Comparing the user interface image data of the target application in the current state with the user interface image data saved when the target application was last opened based on the target model, and determining the missing user interface elements in the user interface image data of the target application in the current state;

[0018] Based on the function information of the target application, it is determined from the functions of the target application that a target function corresponding to the missing user interface element has an abnormality.

[0019] In a possible implementation, in response to the first information satisfying the first condition, obtaining the second information includes:

[0020] In response to an abnormality in a target function corresponding to the missing user interface element, screening a target program on which the target function depends from at least one target program;

[0021] Obtain the update status of the target program on which the target function depends.

[0022] In a possible implementation, screening the target program on which the target function depends from at least one target program includes:

[0023] Obtaining a program statement of a target application and description information of a target function; the program statement is used to describe the execution logic of the target application;

[0024] The program statement and the description information are input into the target model to obtain the target program on which the target function determined by the target model depends; the target model infers the association relationship between each function in the target application and the target program on which the function depends through self-learning.

[0025] In a possible implementation, obtaining the update status of the target program on which the target function depends includes:

[0026] Obtaining status data of a target program on which the target function depends;

[0027] The state data of the target program on which the target function depends is processed based on the target model to obtain an inference result determined by the target model; the inference result represents whether the state data represents an update event.

[0028] In a possible implementation, the processing method further includes:

[0029] Obtaining a second operation; wherein the second operation is determined by the target object based on the third information to restore the target function;

[0030] The target program version is updated to the target version; the target function of the target application under the target version has not had any abnormality;

[0031] A target service for updating the target program is disabled.

[0032] Another aspect of the present application provides a processing device, comprising:

[0033] A first obtaining module, used to obtain first information; the first information includes function information of the target application;

[0034] a second obtaining module, configured to obtain second information in response to the first information satisfying a first condition; the first condition indicating that an abnormal condition exists in a target function of the target application, the target function is implemented by the target application calling a target program to control the target hardware to perform an operation, and the second information includes an update status of the target program;

[0035] An output module is used to output third information in response to the second information satisfying a second condition; the second condition indicates that the target program is updated, and the third information is used to indicate the abnormal cause of the target function and / or provide a channel for restoring the target function.

[0036] A third aspect of the present application provides an electronic device, including:

[0037] The memory is used to store computer programs;

[0038] The processor is used to execute the computer program so that the electronic device can implement the following steps:

[0039] Obtaining first information; the first information includes function information of the target application;

[0040] In response to the first information satisfying a first condition, obtaining second information; the first condition indicates that a target function of the target application has an abnormal condition, the target function is implemented by the target application calling a target program to control the target hardware to perform an operation, and the second information includes an update status of the target program;

[0041] In response to the second information satisfying a second condition, third information is output; the second condition indicates that the target program is updated, and the third information is used to indicate the abnormal cause of the target function and / or provide a channel for restoring the target function. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale.

[0043] Figure 1 A schematic diagram of a process for a treatment method provided in this application;

[0044] Figure 2 Another schematic diagram of a processing method provided in this application;

[0045] Figure 3 A schematic diagram of another process of a processing method provided in this application;

[0046] Figure 4 A schematic diagram of another process of a processing method provided in this application;

[0047] Figure 5 A schematic diagram of another process of a processing method provided in this application;

[0048] Figure 6 A schematic diagram of a scenario for constructing and applying a target model provided in this application;

[0049] Figure 7 A schematic diagram of an implementation scenario of a processing method provided in this application;

[0050] Figure 8 A schematic diagram of another process of a processing method provided in this application;

[0051] Fig. 9 A schematic diagram of the structure of a processing device provided in this application. DETAILED DESCRIPTION

[0052] The following describes the embodiments of the present application in conjunction with the drawings in the embodiments of the present application. The terms used in the implementation method section of the present application are only used to explain the specific embodiments of the present application, and are not intended to limit the present application.

[0053] The embodiments of the present application are described below in conjunction with the accompanying drawings. Those skilled in the art will appreciate that, with the development of technology and the emergence of new scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.

[0054] The terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and need not be used to describe a specific order or sequential order. It should be understood that the terms used in this way can be interchangeable under appropriate circumstances, which is only to describe the distinction mode adopted by the objects of the same attributes when describing in the embodiments of the present application. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, so that the process, method, system, product or equipment comprising a series of units need not be limited to those units, but may include other units that are not clearly listed or inherent to these processes, methods, products or equipment.

[0055] With the development of information technology, in order to improve the user experience of electronic devices, applications with integrated hardware settings and management functions can be deployed on electronic devices. The application can provide users with a convenient operation experience through an intuitive user interface (UI). For example, the setting options for the eye protection mode can be displayed on the user interface of the application. Users can choose to enable the function on the user interface and set the brightness and color temperature of the display according to their personal preferences.

[0056] The execution of many hardware settings and management functions in the application depends on other programs outside the application, such as drivers, basic input and output systems (BIOS), and firmware. Drivers, BIOS, and firmware are relatively complex, and they are often customized for push upgrades based on different models, making it difficult for the application to fully control their upgrade status and compatibility. This dependency can lead to the following problems: After the driver, BIOS, and firmware are upgraded, the setting options of the application's originally stable functions may disappear from the user interface or the originally stable functions may behave abnormally, affecting the user experience.

[0057] To solve this problem, there are two main solutions currently used:

[0058] 1. When a problem occurs, the user needs to report it to customer service, and then a dedicated person will contact the user to collect detailed log information, and then transfer this information to the developer for analysis. Although this method can solve specific problems, its significant disadvantages are low efficiency and high resource consumption. At the same time, it is limited by the timeliness and accuracy of user feedback. Some users may not be able to participate effectively due to technical barriers or poor communication, resulting in long-term problems that cannot be solved.

[0059] 2. In order to improve the timeliness and initiative of problem solving, through the background big data analysis, an association model with key external dependencies such as driver version and BIOS version is established for each function of the application. By continuously monitoring the switch status of the detection function "capability" (i.e., function execution capability), once it is found to change from "true" to "false" (after asking the driver, BIOS, and firmware whether they are capable of supporting the corresponding functions of the application, if the driver and BIOS support the corresponding functions, it is true; if not, it is false), the analysis process is immediately triggered to determine whether it is related to the upgrade of the driver and BIOS. If it is related to the upgrade, the development team or technical support team can be notified that there is a problem with the function. After finding the problem, the development team can start to solve the problem and prepare a repair version, which will be sent to the affected electronic devices through OTA (Over-The-Air) push.

[0060] Although the second solution can provide early warning and reduce user complaints to a certain extent, it is still impossible to directly reach and inform the affected users before the actual OTA push of the repair version, which may cause some users to be dissatisfied or complain for unknown reasons. Therefore, this application provides a processing method to actively remind users to solve the function abnormality problem of applications in electronic devices caused by external dependencies (such as driver, BIOS, firmware) updates.

[0061] The present application is further described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0062] Reference Figure 1 , is a flow chart of a processing method provided in Example 1 of the present application, such as Figure 1 As shown, the method may include but is not limited to the following steps:

[0063] Step S101, obtaining first information; the first information includes function information of a target application.

[0064] The target application may have at least one function, and the implementation of the function may be achieved by the target application calling a target program (eg, driver, BIOS, firmware) to control the target hardware (eg, display, power management chip, camera) to perform an operation.

[0065] For example, the target application may have an eye protection mode function, a power-on function, and an automatic login function.

[0066] Eye protection mode function: The target application can call a display driver (ie, an implementation of a driver) to send instructions to the display of the electronic device to adjust parameters such as color temperature and brightness of the display of the electronic device to achieve eye protection effect.

[0067] The target application can enable the automatic power-on function by setting BIOS parameters. When the BIOS detects a preset trigger condition (such as a cover opening event), the BIOS can send a signal to the power management chip of the electronic device to enable the power management chip to start the power supply to automatically power on.

[0068] Automatic login function: The target application can call the firmware, which detects whether a user is approaching the electronic device. Once the user is detected approaching, the firmware can control the camera to collect facial images and perform facial recognition through the corresponding driver. If the facial recognition is successful, the firmware can trigger the automatic login process to complete the user's login process.

[0069] The first information may be a set of important information obtained when the target application is started, which may include function information of the target application. The function information of the target application may indicate the functions of the target application.

[0070] Step S102, in response to the first information satisfying the first condition, obtaining second information; the first condition indicates that there is an abnormal condition in the target function of the target application, the target function is implemented by the target application calling the target program to control the target hardware to perform the operation, and the second information includes the update status of the target program.

[0071] When the first information satisfies the first condition, it can be determined that there is an abnormality in the target function of the target application. When there is an abnormality in the target function of the target application, a series of information sets related to the abnormality in the target function (i.e., the second information) can be obtained. The second information may include: update status of the target program, abnormality log, target hardware diagnosis results, etc.

[0072] The update status of the target program may include but is not limited to at least one of the following: changes in the target program version, changes in the update log (used to record issues fixed, new functions or improved functions, etc. in the new version of the target program), and the release of patch information (patches released for the new version of the target program).

[0073] Step S103, in response to the second information satisfying the second condition, outputting the third information; the second condition indicates that the target program is updated, and the third information is used to indicate the abnormal cause of the target function and / or provide a channel for restoring the target function.

[0074] In this embodiment, the third information is used to indicate the abnormal reason of the target function, which may include: the abnormality of the target function is due to the target program being updated. For example, it can be pointed out that the problem of the eye protection mode function is related to the recently upgraded Intel VGA driver version, and the specific version number and upgrade date will also be mentioned so that the user can understand the details.

[0075] The third information may also be used to provide a path to restore the target function. For example, the third information may include an option to immediately resolve the problem (such as automatically downgrading the driver to a previous stable version by clicking an "OK" button), or a manual recovery process guidance (such as visiting a specific website to download the old version of the driver and manually installing it).

[0076] In this embodiment, by obtaining the first information, the first information includes the functional information of the target application, and in response to the first information satisfying the first condition, that is, when the target function of the target application is abnormal, the second information is obtained, and the target function is realized by the target application calling the target program to control the target hardware to perform the operation, and the second information includes the update status of the target program, and in response to the second information satisfying the second condition, that is, when the target program is updated, the third information is output. In particular, when the target function depends on the target program to control the target hardware, the third information can not only actively reveal to the user that the abnormality of the target function is due to the update of the target program, but also actively provide the user with a channel to restore the target function, which can improve the efficiency of users in solving problems, reduce user dissatisfaction and complaints, and improve user experience.

[0077] As another optional embodiment of the present application, a processing method is provided for embodiment 2 of the present application. This embodiment is mainly an implementation method of step S103 in embodiment 1. Step S103 may include but is not limited to one of the following:

[0078] Step S1031, in response to the second information satisfying the second condition, outputting the third information at a first timing; the first timing is detecting that the second information satisfies the second condition.

[0079] Outputting the third information at the first opportunity is instant feedback for the user. For example, once it is detected that the target program has been updated, and the update may be the cause of the abnormality of the target function, the third information can be output immediately, which helps the user to understand the possible abnormality of the target function at the first time, and can prevent the user from continuing to try to use the abnormal target function due to ignorance, thereby saving the user's time and energy. In addition, the instant feedback can also provide the user with a channel to restore the target function, helping the user to quickly solve the problem and restore the normal operation of the function.

[0080] Moreover, compared with the method of user self-service troubleshooting, this instant feedback method has also achieved a significant improvement in user experience. In the past, when a user found that the setting options of the target function could not be found or the function could not be used normally, it might take a lot of time to search and try different setting options in the user interface of the target application, and it might even be necessary to consult the user manual or online help document to find a solution. This process is not only cumbersome and time-consuming, but also difficult to succeed due to the user's lack of professional knowledge. With the instant feedback method of step S1031, the user can get clear instructions and suggestions as soon as the problem occurs, which can simplify the process of troubleshooting and solving problems, so that the user can set up and manage electronic devices more timely and effectively. This efficient and convenient problem-solving method can not only improve user satisfaction, but also enhance the user's trust and recognition of the target application and its provider, and can improve the overall user experience and brand image.

[0081] Step S1032: in response to the second information satisfying the second condition, storing the third information, and outputting the third information at a second timing; the second timing is later than the first timing, and the second timing is when the target object performs the first operation when the target application is running.

[0082] In this embodiment, the first operation may be an exploratory operation actively taken by the user after the user clearly realizes that there is an abnormality in the target function, such as the user trying to search "Why is the target function not available?" or "How to solve the target function failure?" etc.

[0083] The first operation may also be an operation that indirectly triggers attention to or query of the target function without the user being directly aware of the abnormality of the target function. For example, when using a function that depends on the target function, the user may turn to search for the usage of the parent function (i.e., the target function) because the operation is not smooth or the result is not as expected; or, in a large function module containing multiple sub-functions (including the target function), when the user is using other sub-functions, due to interface prompts, help documents or natural process guidance, he indirectly queries the relevant information of the target function.

[0084] In this embodiment, the target function with an abnormality may be automatically restored without direct intervention by the user, and in this case the abnormality is imperceptible to the user. Therefore, the electronic device can choose to output the third information only when the user actually uses or is about to use the target function (i.e., the second timing) to ensure the pertinence and effectiveness of the reminder, avoid unnecessary interruptions, and also improve the efficiency and satisfaction of the user in solving the problem.

[0085] Although the second timing is later than the first timing, the output of the third information at the second timing can still play the role of active reminder. When the target object performs the first operation, the third information related to the current behavior or needs of the target object can be output immediately to help the target object find and solve problems in a timely manner. This active reminder mechanism based on user behavior can not only improve the pertinence and effectiveness of the third information, but also enhance the interactivity and satisfaction between the user and the electronic device.

[0086] As another optional embodiment of the present application, a processing method is provided in Embodiment 3 of the present application. This embodiment is mainly an implementation method of the process of determining the second timing in Embodiment 2. The process of determining the second timing may include but is not limited to the following steps:

[0087] Step S11: Obtain the target content input by the target object.

[0088] The target object can search for the target application through a browser, Windows store or social media, and the target content can be a question page queried by the target object or text information entered by the target object.

[0089] In this embodiment, the electronic device may receive the target content input by the target object through different channels (such as a browser, Windows store, social media, etc.).

[0090] The target content may be in various forms. For example, the target content may include but is not limited to at least one of the query text, query voice, query image and the URL of the question page input by the target object.

[0091] The process of obtaining the URL of the question page may include: when the target object searches in a browser, Windows store, social media and other channels, the target object may enter a query text, and the electronic device may retrieve content related to the query text and present a link to a page containing content related to the query text (i.e., the question page) to the target object. The target object may click on the link to view the related content, and accordingly, the electronic device may obtain the URL (Uniform Resource Locator) of the connection clicked by the target object.

[0092] Step S12: Process the target content based on the target model to determine the user intention.

[0093] The target model may include but is not limited to: artificial intelligence models that can realize natural language processing, speech recognition, image recognition and other functions.

[0094] AI models can analyze and understand target content and infer user intent. This inference usually relies on AI models’ self-learning of a large amount of similar data. For example, when a user clearly perceives that there is an anomaly in the target function of the target application and therefore actively performs a series of exploratory operations (such as searching for relevant fault information, looking for answers in help documents, or submitting technical support requests), the target content corresponding to these operations is likely to be accurately identified by the AI ​​model as the user’s intent to query the target function of the target application.

[0095] Alternatively, even if the user has not directly realized the abnormality of the target function, when using other functions related to the target function, if the operation is not smooth or the results are not as expected, etc., the user indirectly expresses concern about the target function or makes related queries (for example, when searching for other functions, the introduction or discussion of the target function is related to it), these indirectly input target contents may also be recognized by the artificial intelligence model as the user's intention to query the target function of the target application.

[0096] If the target object inputs a query statement about the target application, the artificial intelligence model may recognize that the user's intention is that the target object is querying the target function of the target application in order to understand a specific function of the target application or solve a problem.

[0097] Step S13: If the user intends to represent that the target object is querying the target function of the target application, it is determined that the second timing has arrived.

[0098] If the user's intention is to represent that the target object is querying the target function of the target application, it is determined that the second timing has arrived, that is, when the target object is querying the target function of the target application, the third information can be output, thereby improving the pertinence and effectiveness of the third information and enhancing the interactivity and satisfaction between the user and the electronic device.

[0099] In this embodiment, the target content input by the target object can be automatically identified and parsed based on the target model, so that the electronic device can quickly and accurately understand the user's intention, and improve the accuracy and efficiency of outputting the third information. In addition, compared with setting up manual customer service to help the target object solve the problem, it can reduce costs and pressure and improve service quality.

[0100] As another optional embodiment of the present application, refer to Figure 2 , is a flow chart of a processing method provided in Example 4 of the present application, such as Figure 2 As shown, the method may include but is not limited to the following steps:

[0101] Step S201, obtaining first information; the first information includes function information of a target application.

[0102] The function information of the target application may include, but is not limited to: the name, description, execution logic and mapping relationship between each function of the target application and the user interface element. The mapping relationship between the function of the target application and the user interface element may be established based on the position or other attributes of the user interface element in the user interface.

[0103] Step S202: Obtain the user interface image data of the target application in the current state and the user interface image data saved when the target application was last opened.

[0104] Step S203: compare the user interface image data of the target application in the current state with the user interface image data saved when the target application was last opened based on the target model to determine the missing user interface elements in the user interface image data of the target application in the current state.

[0105] In this embodiment, based on the target model, feature extraction can be performed on the user interface image data of the target application in the current state and the user interface image data saved when the target application was last opened, respectively, to obtain two sets of features.

[0106] The target model can identify the difference between the user interface image data of the target application in the current state and the user interface image data saved when the target application was last opened by comparing the two sets of features. The difference may include: user interface elements missing from the user interface image data of the target application in the current state.

[0107] Missing UI elements could be buttons, icons, text input boxes, anything that forms part of the UI.

[0108] Step S204: Based on the function information of the target application, determine from the functions of the target application whether the target function corresponding to the missing user interface element is abnormal.

[0109] After determining the missing user interface element, the missing user interface element can be used as a query condition to search for a function matching the missing user interface element in the function information of the target application, and the function matching the missing user interface element found is determined as the target function and there is an exception in the target function.

[0110] User interface elements (such as buttons, icons, text input boxes, etc.) are usually directly associated with specific functions. When users try to interact with user interface elements, the user interface elements can trigger corresponding functions or actions. Therefore, if a user interface element is missing in the user interface, it may mean that there is an abnormality in the function associated with the user interface element.

[0111] Step S205: In response to an abnormality in a target function corresponding to the missing user interface element, obtain second information.

[0112] Step S205 is an implementation of step S102 in Example 1.

[0113] Step S206, in response to the second information satisfying the second condition, outputting the third information; the second condition indicates that the target program is updated, and the third information is used to indicate the abnormal reason of the target function and / or provide a channel for restoring the target function.

[0114] The detailed process of step S206 can refer to the relevant introduction of step S103 in embodiment 1, which will not be repeated here.

[0115] In this embodiment, by obtaining the user interface image data of the target application in the current state and the user interface image data saved when the target application was last opened, and comparing the user interface image data of the target application in the current state and the user interface image data saved when the target application was last opened based on the target model, changes in the user interface, especially the missing of user interface elements, can be quickly discovered, so that the target function with potential abnormalities can be quickly determined based on the functional information of the target application and the missing user interface elements, thereby reducing the troubleshooting time. On this basis, the efficiency of obtaining the second information can be improved, and the efficiency of outputting the third information can be improved, so as to more timely remind the user of the abnormal cause of the target function and more actively provide the user with a channel to restore the target function.

[0116] As another optional embodiment of the present application, refer to Figure 3 , is a flow chart of a processing method provided in Example 5 of the present application. This example is mainly an implementation method of step S205 in Example 4. Figure 3 As shown, step S205 may include but is not limited to the following steps:

[0117] Step S2051: In response to an exception in a target function corresponding to a missing user interface element, a target program on which the target function depends is screened from at least one target program.

[0118] In this embodiment, it is possible to analyze whether there is a dependency relationship between each function of the target application and at least one target program. If there is a dependency relationship between the function of the target application and at least one target program, an association relationship between the function and the target program can be established.

[0119] After the target function is determined, the target program associated with the target function, ie, the target program on which the target function depends, may be determined based on the established association relationship.

[0120] Step S2052: Obtain the update status of the target program on which the target function depends.

[0121] The update status of the target program on which the target function depends may include but is not limited to at least one of the following: changes in the version of the target program on which the target function depends, changes in the update log (used to record issues fixed, new functions or improved functions, etc. in the new version of the target program on which the target function depends), and the release status of patch information (patches released for the new version of the target program on which the target function depends).

[0122] Step S206 in Embodiment 4 may include but is not limited to:

[0123] Step S2061, in response to the update status of the target program on which the target function depends satisfying the second condition, output third information; the second condition indicates that the target program is updated, and the third information is used to indicate the abnormal cause of the target function and / or provide a channel for restoring the target function.

[0124] In this embodiment, by responding to the existence of an abnormality in the target function corresponding to the missing user interface element, the target program on which the target function depends is screened from at least one target program, so that the target program that is crucial to the realization of the target function can be accurately located, thereby reducing subsequent unnecessary analysis, reducing workload, and improving the efficiency of obtaining the update status of the target program, thereby improving the efficiency of the third information output, and realizing more timely reminders to users of the abnormal reasons for the target function and more proactive provision of channels for users to restore the target function.

[0125] As another optional embodiment of the present application, refer to Figure 4 , is a flow chart of a processing method provided in Example 6 of the present application. This example is mainly an implementation method of step S2051 in Example 5. Figure 4 As shown, step S2051 may include but is not limited to the following steps:

[0126] Step S20511: Obtain the program statements of the target application and description information of the target function.

[0127] Program statements can be used to describe the execution logic of the target application.

[0128] The description information of the target function may be used to illustrate the target function, and the description information may include but is not limited to: the name of the target function, input and output parameters, etc.

[0129] Step S20512: input the program statements and description information into the target model to obtain the target program on which the target function determined by the target model depends.

[0130] The target model infers the association between each function in the target application and the target program on which the function depends through self-learning.

[0131] The process of the target model inferring the association between the functions and the target programs that the functions depend on in the target application through self-learning may include:

[0132] The target model extracts code features from program statements of the target application, and the code features represent calls that implement the interaction between the target application and the target program;

[0133] The target model extracts functional features from the description information of each function;

[0134] By learning the association between functional features and code features, the association between functions and the target programs on which the functions depend is learned.

[0135] After the target model self-learning is completed, if the program statements of the target application and the description information of the target function are obtained, the target program on which the target function depends can be inferred based on the target model.

[0136] In this embodiment, the target model can deeply understand and analyze the relationship between each function in the target application and the target program on which it depends by means of self-learning. Compared with manual analysis or simple rule-based methods, this method can more accurately identify the target program on which the function depends, reducing human errors and omissions. In addition, time can be saved and efficiency can be improved. In addition, with the continuous development and updating of the target application, the implementation method and dependency relationship of the function of the target application may also change. The method of processing based on the target model can quickly adapt to these changes, re-analyze and determine new dependencies, and support rapid iteration and change of the target application.

[0137] As another optional embodiment of the present application, refer to Figure 5 , is a flow chart of a processing method provided in Example 7 of the present application. This example is mainly an implementation method of step S2052 in Example 6. Figure 5 As shown, step S2052 may include but is not limited to the following steps:

[0138] Step S20521: Obtain status data of the target program on which the target function depends.

[0139] In this embodiment, the state data of the target program on which the target function depends can be obtained through at least one of a system update service of the electronic device and an update service of the target application.

[0140] The status data of the target program on which the target function depends may include but is not limited to: at least one of the current version number of the target program on which the target function depends, an update log (used to record issues fixed in the new version of the target program, new functions or improved functions, etc.) and patch information (patches released for the new version of the target program).

[0141] Step S20522: Process the state data of the target program on which the target function depends based on the target model to obtain an inference result determined by the target model; the inference result indicates whether the state data represents an update event.

[0142] In this embodiment, the target model can be trained in the following manner to have the ability to infer whether the state data represents an update event:

[0143] Collecting status data of target programs on which various functions of the target application depend;

[0144] The collected status data is matched with the known update event labels (indicating whether an update has occurred), and the target model is trained so that the model can accurately infer whether the status data represents an update event.

[0145] After the target model training is completed, the state data of the target program on which the target function depends can be processed based on the target model to obtain the inference result determined by the target model.

[0146] Accordingly, step S2061 may include: in response to the reasoning result satisfying the second condition, outputting third information; the second condition indicates that the target program is updated, and the third information is used to indicate the abnormal cause of the target function and / or provide a channel to restore the target function.

[0147] In this embodiment, after obtaining the status data of the target program on which the target function depends, the status data of the target program on which the target function depends is processed based on the target model to obtain the inference result determined by the target model, which can improve the efficiency of discovering update events, and then improve the efficiency of outputting the third information, thereby realizing more timely reminders to users of the abnormal causes of the target function and more proactive provision of channels for users to restore the target function.

[0148] In this embodiment, the target model can not only be used to compare the user interface image data of the target application in the current state with the user interface image data saved when the target application was last opened to determine whether the target function corresponding to the missing user interface element is abnormal, but also be used to determine the target program on which the target function depends, and can also be used to process the state data of the target program on which the target function depends to obtain the inference result determined by the target model, and the inference result characterizes whether the state data represents an update event. The target model runs through the entire processing flow to achieve an efficient and intelligent active reminder mechanism.

[0149] The construction process of the target model can be found in Figure 6 ,like Figure 6 As shown, the user interface image data of the target application, the functional information of the target application, the program data of the target application and the description information of each function of the target application can be used as data sources to participate in the training of the target model.

[0150] like Figure 6 As shown in the figure, the target model can be constructed through data collection, data extraction, data exploration and visualization, data preprocessing, model design and building, model evaluation, model selection and model integration.

[0151] Data collection: collects user interface image data of the target application, functional information of the target application, program data of the target application, and description information of each function of the target application.

[0152] Data extraction: Extracting useful parts from the collected data for subsequent analysis.

[0153] Data exploration and visualization: Through statistical analysis and visualization, we can deeply understand the distribution, trends, outliers, etc. of data.

[0154] Data preprocessing: includes data cleaning (such as handling missing values ​​and outliers), data transformation (such as normalization and standardization), feature selection (selecting features that are useful for model prediction), and feature engineering (creating new features by combining or transforming existing features).

[0155] Model design and construction: Select appropriate algorithms and build models based on task requirements and data characteristics.

[0156] Model Evaluation: Use an independent test set to evaluate the performance of the model.

[0157] Model selection: Select the best model based on the evaluation results. If there are multiple candidate models, their performance can be compared through cross-validation, A / B testing, etc.

[0158] Model Integration: Integrate the selected model into an electronic device.

[0159] After the target model is constructed, for the target application, the target model can be used to compare the user interface image data of the target application in its current state with the user interface image data saved when the target application was last opened, so as to determine whether there is an abnormality in the target function corresponding to the missing user interface element, and to determine the target program on which the target function depends, and to process the state data of the target program on which the target function depends to obtain the inference result determined by the target model, and the inference result characterizes whether the state data represents an update event.

[0160] If the inference result characterizing the state data determined by the target model indicates an update event, and the update event indicates that the target program is updated, the third information can be output. For example, if it is determined based on the target model that the eye protection mode is abnormal, and it is determined that the target program on which the eye protection mode depends is the Intel VGA driver, and the Intel VGA driver is updated, such as Figure 7 As shown, the third information can be output on the system desktop of the electronic device as "A problem with the eye protection mode in the target application was detected through the AI ​​large model. This problem is related to the Intel VGA driver version 4593 upgraded on this machine (via Windows Update on April 15). You can click the "OK" button to solve this problem immediately (the driver will be downgraded to version 3958 before the upgrade)."

[0161] Among them, "There is a problem with the eye protection mode in the target application. The problem is related to the upgraded Intel VGA driver version 4593 of this machine (through Windows Update on April 15)" is the cause of the abnormality of the target function.

[0162] "You can click the "OK" button to resolve this issue immediately (the driver will be downgraded to the 3958 version before the upgrade)" is the channel to restore the target function.

[0163] As another optional embodiment of the present application, refer to Figure 8 , is a flow chart of a processing method provided in Example 8 of the present application, such as Figure 8 As shown, the method may include but is not limited to the following steps:

[0164] Step S301, obtaining first information; the first information includes function information of the target application;

[0165] Step S302, in response to the first information satisfying a first condition, obtaining second information; the first condition indicates that an abnormal condition exists in a target function of the target application, the target function is implemented by the target application calling a target program to control the target hardware to perform an operation, and the second information includes an update status of the target program;

[0166] Step S303, in response to the second information satisfying the second condition, outputting third information; the second condition indicates that the target program is updated, and the third information is used to indicate the abnormal cause of the target function and / or provide a channel for restoring the target function.

[0167] The detailed process of steps S301-S303 can refer to the relevant introduction of steps S101-S103 in Example 1, which will not be repeated here.

[0168] Step S304, obtaining a second operation; the second operation is an operation for restoring the target function determined by the target object based on the third information.

[0169] For example, an "OK" button may be provided in the third information to automatically downgrade the determination program to the previous stable version. When the user clicks the "OK" button, the operation of the user clicking the "OK" button may be obtained.

[0170] Step S305: Update the version of the target program to the target version; no abnormality has occurred in the target function of the target application under the target version.

[0171] In this embodiment, the electronic device can automatically obtain the target version of the code or configuration file and automatically perform necessary update operations.

[0172] Step S306: disable the target service for updating the target program.

[0173] To ensure that the target program will not be improperly updated again before the problem is resolved, the electronic device can automatically disable the target service for updating the target program after updating the version of the target program to the target version.

[0174] In this embodiment, by obtaining the first information, the first information includes the function information of the target application, in response to the first information satisfying the first condition, that is, when the target function of the target application is abnormal, the second information is obtained, the target function is realized by the target application calling the target program to control the target hardware to perform the operation, the second information includes the update status of the target program, in response to the second information satisfying the second condition, that is, when the target program is updated, the third information is output. In particular, when the target function depends on the target program to control the target hardware, the third information can not only timely remind the user of the abnormal reason of the target function, but also actively provide the user with a channel to restore the target function. This reminder mechanism can actively present the cause and solution of the abnormality of the target function to the user before the user actually encounters the problem (for example, the setting option of a certain function cannot be found on the user interface or an abnormality occurs when using the target function), so that the user does not need to face the dilemma of the failure of the target function and does not need to explore the solution to the problem by himself, which can improve the efficiency of the user in solving problems, reduce user dissatisfaction and complaints, and improve user experience.

[0175] Furthermore, after obtaining the second operation, by updating the target program to the target version and disabling the target service for updating the target program, the recurrence of the problem can be effectively prevented, and the user's confidence in the stability and reliability of the target application can be further enhanced.

[0176] Of course, in this embodiment, a data record may also be sent to the data server of the target application; the data record is used to record the abnormality of the target function of the target application and the cause of the abnormality of the target function.

[0177] In this embodiment, by sending data records to the data server of the target application, it helps the development team of the target application to understand the root cause of the problem and thus develop a more effective solution. When the functional anomaly of the target application occurs again, the developers of the target application can quickly refer to the historical records on the data server to understand the handling methods and results of similar problems before. This helps to locate the problem quickly, shorten the troubleshooting time, and improve the efficiency of problem solving.

[0178] Next, the processing device provided in the present application is introduced. The processing device introduced below and the processing method introduced above can be referenced to each other.

[0179] Reference Fig. 9 The processing device includes: a first obtaining module 100, a second obtaining module 200 and an output module 300.

[0180] A first obtaining module 100 is used to obtain first information; the first information includes function information of the target application;

[0181] A second obtaining module 200 is used to obtain second information in response to the first information satisfying a first condition; the first condition indicates that a target function of the target application has an abnormal condition, the target function is implemented by the target application calling a target program to control the target hardware to perform an operation, and the second information includes an update status of the target program;

[0182] The output module 300 is used to output third information in response to the second information satisfying a second condition; the second condition indicates that the target program is updated, and the third information is used to indicate the abnormal cause of the target function and / or provide a channel for restoring the target function.

[0183] In response to the second information satisfying the second condition, the output module 300 outputs third information, including one of the following:

[0184] In response to the second information satisfying a second condition, outputting the third information at a first timing; the first timing is detecting that the second information satisfies the second condition;

[0185] In response to the second information satisfying a second condition, the third information is stored and the third information is output at a second timing; the second timing is later than the first timing, and the second timing is when the target object performs a first operation when the target application is running.

[0186] The process of determining the second timing may include:

[0187] Get the target content input by the target object;

[0188] Processing the target content based on the target model to determine the user intention;

[0189] If the user intention indicates that the target object is querying the target function of the target application, it is determined that the second timing has arrived.

[0190] The process of determining that the first information satisfies the first condition may include:

[0191] Obtaining user interface image data of the target application in the current state and user interface image data saved when the target application was last opened;

[0192] Comparing the user interface image data of the target application in the current state with the user interface image data saved when the target application was last opened based on the target model, and determining the missing user interface elements in the user interface image data of the target application in the current state;

[0193] Based on the function information of the target application, it is determined from the functions of the target application that a target function corresponding to the missing user interface element has an abnormality.

[0194] The second obtaining module 200 may be specifically used for:

[0195] In response to an abnormality in a target function corresponding to the missing user interface element, screening a target program on which the target function depends from at least one target program;

[0196] Obtain the update status of the target program on which the target function depends.

[0197] The process of the second obtaining module 200 screening the target program on which the target function depends from at least one target program may specifically include:

[0198] Obtaining a program statement of a target application and description information of a target function; the program statement is used to describe the execution logic of the target application;

[0199] The program statement and the description information are input into the target model to obtain the target program on which the target function determined by the target model depends; the target model infers the association relationship between each function in the target application and the target program on which the function depends through self-learning.

[0200] The second obtaining module 200, a process of obtaining the update status of the target program on which the target function depends, may specifically include:

[0201] Obtaining status data of a target program on which the target function depends;

[0202] The state data of the target program on which the target function depends is processed based on the target model to obtain an inference result determined by the target model; the inference result represents whether the state data represents an update event.

[0203] The processing device may also include:

[0204] The third obtaining module is used to: obtain a second operation; the second operation is an operation for restoring the target function determined by the target object based on the third information.

[0205] An update module is used to update the version of the target program to a target version; no abnormality has occurred in the target function of the target application under the target version.

[0206] A disabling module is used to disable a target service used to update the target program.

[0207] In another embodiment of the present application, an electronic device is provided.

[0208] Electronic equipment may include:

[0209] The memory is used to store computer programs;

[0210] The processor is used to execute the computer program so that the electronic device can implement the processing method introduced in any one of embodiments 1-8.

[0211] In another embodiment of the present application, a storage medium is provided, which carries one or more computer programs. When the one or more computer programs are executed by an electronic device, the electronic device can implement the processing method described in any one of embodiments 1-8.

[0212] It should also be noted that the device embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed over multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. In addition, in the drawings of the device embodiments provided by the present application, the connection relationship between the modules indicates that there is a communication connection between them, which may be specifically implemented as one or more communication buses or signal lines.

[0213] Through the description of the above implementation mode, the technicians in the field can clearly understand that the present application can be implemented by means of software plus necessary general hardware, and of course, it can also be implemented by special hardware including special integrated circuits, special CPUs, special memories, special components, etc. In general, all functions completed by computer programs can be easily implemented by corresponding hardware, and the specific hardware structure used to implement the same function can also be various, such as analog circuits, digital circuits or special circuits. However, for the present application, software program implementation is a better implementation mode in more cases. Based on such an understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a readable storage medium, such as a computer floppy disk, a U disk, a mobile hard disk, a ROM, a RAM, a disk or an optical disk, etc., including a number of instructions to enable a computer device (which can be a personal computer, a training device, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0214] In the above embodiments, all or part of the embodiments may be implemented by software, hardware, firmware or any combination thereof. When implemented by software, all or part of the embodiments may be implemented in the form of a computer program product.

[0215] The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website site, a computer, a training device, or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, training device, or data center. The computer-readable storage medium may be any available medium that a computer can store or a data storage device such as a training device, a data center, etc. that includes one or more available media integrations. The available medium may be a magnetic medium, (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive (SSD)), etc.

Claims

1. A processing method comprising: Get first information; The first information includes function information of the target application; In response to the first information satisfying a first condition, obtaining second information; The first condition indicates that an abnormal condition exists in a target function of the target application, the target function is realized by the target application calling a target program to control the target hardware to perform an operation, and the second information includes an update status of the target program; In response to the second information satisfying a second condition, outputting third information; The second condition indicates that the target program is updated, and the third information is used to indicate the abnormal reason of the target function and / or provide a channel for restoring the target function.

2. The processing method according to claim 1, wherein in response to the second information satisfying the second condition, outputting the third information comprises one of the following: In response to the second information satisfying a second condition, outputting the third information at a first timing; the first timing is detecting that the second information satisfies the second condition; In response to the second information satisfying a second condition, the third information is stored and the third information is output at a second timing; the second timing is later than the first timing, and the second timing is when the target object performs a first operation when the target application is running.

3. The processing method according to claim 2, wherein the process of determining the second timing comprises: Get the target content input by the target object; Processing the target content based on the target model to determine the user intention; If the user intention indicates that the target object is querying the target function of the target application, it is determined that the second timing has arrived.

4. The processing method according to claim 1, wherein the process of determining whether the first information satisfies the first condition comprises: Obtaining user interface image data of the target application in the current state and user interface image data saved when the target application was last opened; Comparing the user interface image data of the target application in the current state with the user interface image data saved when the target application was last opened based on the target model, and determining the missing user interface elements in the user interface image data of the target application in the current state; Based on the function information of the target application, it is determined from the functions of the target application that a target function corresponding to the missing user interface element has an abnormality.

5. The processing method according to claim 4, in response to the first information satisfying the first condition, obtaining the second information comprises: In response to an abnormality in a target function corresponding to the missing user interface element, screening a target program on which the target function depends from at least one target program; Obtain the update status of the target program on which the target function depends.

6. The processing method according to claim 5, screening the target program on which the target function depends from at least one target program, comprising: Obtaining the target application's program statements and target function description information; The program statement is used to describe the execution logic of the target application; Inputting the program statement and the description information into a target model to obtain a target program on which the target function determined by the target model depends; The target model infers the association between each function in the target application and the target program on which the function depends through self-learning.

7. The processing method according to claim 5, obtaining the update status of the target program on which the target function depends, comprising: Obtaining status data of a target program on which the target function depends; The state data of the target program on which the target function depends is processed based on the target model to obtain an inference result determined by the target model; the inference result represents whether the state data represents an update event.

8. The processing method according to claim 1, further comprising: Get the second operation; The second operation is determined by the target object based on the third information to restore the target function; Updating the version of the target program to the target version; The target function of the target application in the target version has not experienced any abnormality; A target service for updating the target program is disabled.

9. A processing device comprising: A first obtaining module, used to obtain first information; The first information includes function information of the target application; A second obtaining module, configured to obtain second information in response to the first information satisfying a first condition; The first condition indicates that an abnormal condition exists in a target function of the target application, the target function is realized by the target application calling a target program to control the target hardware to perform an operation, and the second information includes an update status of the target program; an output module, configured to output third information in response to the second information satisfying a second condition; The second condition indicates that the target program is updated, and the third information is used to indicate the abnormal reason of the target function and / or provide a channel for restoring the target function.

10. An electronic device, comprising: The memory is used to store computer programs; The processor is used to execute the computer program so that the electronic device can implement the following steps: Get first information; The first information includes function information of the target application; In response to the first information satisfying a first condition, obtaining second information; the first condition indicates that a target function of the target application has an abnormal condition, the target function is implemented by the target application calling a target program to control the target hardware to perform an operation, and the second information includes an update status of the target program; In response to the second information satisfying a second condition, outputting third information; The second condition indicates that the target program is updated, and the third information is used to indicate the abnormal reason of the target function and / or provide a channel for restoring the target function.