Application message optimization method and related device
Patent Information
- Application Number
- CN202510116130.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-24
- Publication Date
- 2025-12-12
AI Technical Summary
The message reception delay problem in instant messaging applications prevents users from receiving important messages in a timely manner. In existing technologies, users need to gradually query and optimize configuration items in the system settings, which is cumbersome and inefficient.
This paper provides a method for optimizing application messages. It enables one-click detection and optimization through a user interface and utilizes built-in system applications to interact with the system manager, automatically querying and optimizing system configuration items that delay application message reception.
It simplifies user operation steps, improves repair efficiency, reduces the probability of message receiving delay, and enhances user experience.
Smart Images

Figure CN121125669A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of smart terminal technology, and in particular to an application message optimization method and related apparatus. Background Technology
[0002] With the rapid development of internet technology, the use scenarios for social chat instant messaging applications (such as WeChat and DingTalk) are increasing, and issues such as not receiving messages or message delays frequently occur. For example, this manifests as the absence of one or more message notification methods, such as ringtones, vibrations, full-screen notifications, or pop-up notifications, leading to the repeated missed reception of very important messages.
[0003] Many of the aforementioned instant messaging application message receiving delay issues are due to improper user settings, resulting in messages not being sent or being sent with delayed notifications. Because electronic devices have numerous related system configuration items and the modification process is cumbersome, users often cannot easily identify and correct all system configuration issues related to application message receiving delays. This leads to excessively long repair times and incomplete problem fixes, resulting in low efficiency for users in addressing this issue. Summary of the Invention
[0004] This application provides an application message optimization method and related apparatus, which can optimize the system configuration related to application message receiving delay, reduce the execution steps for fixing problems, improve convenience, enhance user repair efficiency, and reduce the probability of application message receiving delay.
[0005] In a first aspect, embodiments of this application provide an application message optimization method applied to an electronic device. The method includes: displaying a first user interface, the first user interface including an icon of a first application; upon receiving a first operation on the icon of the first application, displaying a second user interface, the second user interface including a first detection option and a first control, the first detection option being an option for detecting application message reception delay, and the first control being used to perform immediate detection of the first detection option; receiving a second operation on the first control, displaying a third user interface, the third user interface including one or more options to be optimized and a second control, the one or more options to be optimized being options determined based on the results of the immediate detection, and the second control being used to perform one-click optimization of the selected options to be optimized; receiving a third operation on the second control, and performing one-click optimization of the selected options to be optimized. Traditional methods require users to gradually query and optimize various configurations in the phone's system settings to solve the application message reception delay problem. This method is cumbersome and complex, has low repair efficiency, and a poor user experience. In embodiments of this application, the electronic device can perform system configuration queries and display one or more options to be optimized based on the query results. The user selects the option to be optimized and performs one-click optimization, eliminating the cumbersome query, configuration, and setting process. For example, the first application can be a built-in system application. Users can use the immediate detection control (i.e., the first control) to have the first application detect system configuration items for the application that needs optimization, and select the detection results (i.e., one or more options to be optimized). Then, the selected options can be optimized using the one-click optimization control (i.e., the second control). This embodiment avoids the problem of overly cumbersome steps when users manually query and set configuration items related to application message receiving delay. By providing one-click detection and one-click optimization, it simplifies the user's repair steps, improves repair efficiency, reduces the probability of application message receiving delay, and enhances the user experience.
[0006] In conjunction with the first aspect, in one possible implementation, the first user interface further includes an icon for the second application. The method further includes: upon receiving a fourth operation on the icon of the second application, displaying a fourth user interface, the fourth user interface including an optimization pop-up window, the optimization pop-up window including optimization content, a third control, and a fourth control, the optimization content including one or more authorization items to be optimized for application message reception delay, the third control for confirming one-click optimization of one or more authorization items to be optimized, and the fourth control for canceling one-click optimization of one or more authorization items to be optimized; receiving a fifth operation on the third control, and performing one-click optimization of one or more authorization items to be optimized. In this embodiment, it should be noted that the icon of the second application may be on the same user interface (i.e., the first user interface) as the icon of the first application, or the icon of the second application may also be on another user interface of the electronic device, depending on the user's operating habits. For example, the second application may be an instant messaging application. When a user launches the second application, the system checks the application's message reception delay configuration settings and informs the user of the necessary optimizations to address the message reception delay issue. The user can then confirm (the second control) or cancel (the third control) the optimization pop-up window to decide whether to proceed. By providing a pop-up window to check the status of message reception delay configuration settings and perform one-click optimization when a user launches the instant messaging application (the second application), the system effectively prevents users from failing to detect or optimize message reception delays. This simplifies the repair process, improves efficiency, reduces the probability of message reception delays, and enhances the user experience.
[0007] In conjunction with the first aspect, in one possible implementation, displaying a third user interface includes: responding to a second operation by sending a first instruction to the system manager through a first application, the first instruction indicating the acquisition of system configuration status information corresponding to the first detection option; and displaying the third user interface based on the system configuration status information corresponding to the first detection option. In this embodiment, the system manager is an internal system application of the electronic device, tightly integrated with the mobile phone hardware and operating system, and contains system-level data of the electronic device, such as hardware configuration, software status, network communication, user permissions, security policies, etc. Exemplarily, the first application can be a built-in system application, software provided by the electronic device system developer, with permissions to directly query and modify system configuration items through the system manager. The electronic device sends a first instruction to the system manager through the first application to query the status information of system configuration items related to the application message reception delay (i.e., the first detection option). Exemplarily, the electronic device can establish a query interface in the system manager, allowing the first application to send a first instruction to the query interface to obtain the corresponding system configuration status information, and display one or more optimization options obtained based on the query results (i.e., the system configuration status information) through the third user interface. In this embodiment, the system configuration query operation is completed directly through the interaction between the first application and the system manager. This eliminates the need for the user to eliminate configuration items that cause message reception delays one by one, which is beneficial for subsequent system configuration optimization.
[0008] In conjunction with the first aspect, in one possible implementation, one-click optimization of the selected option to be optimized includes: responding to a third operation, sending a second instruction to the system manager through a first application, the second instruction being used to instruct the optimization of the selected option to be optimized. In this embodiment, exemplarily, the first application can be a built-in system application, software provided by the electronic device system developer, with permissions to directly query and modify system configuration items through the system manager. The electronic device sends the second instruction to the system manager through the first application to perform one-click optimization of the selected option to be optimized. Exemplarily, the electronic device can establish a modification interface in the system manager, allowing the first application to send the second instruction to the modification interface for one-click optimization of the option to be optimized. This embodiment directly completes the configuration item optimization of the option to be optimized through interaction between the first application and the system manager, eliminating the need for the user to individually set and optimize each configuration item causing message reception delay, improving user repair efficiency, reducing the probability of application message reception delay, and enhancing the user experience.
[0009] In conjunction with the first aspect, in one possible implementation, displaying a fourth user interface includes: responding to a fourth operation by sending a third instruction to a first application through a second application, the third instruction being used to request and obtain system configuration status information corresponding to the application message reception delay; sending a fourth instruction to a system manager through the first application, the fourth instruction being used to instruct the acquisition of system configuration status information corresponding to the application message reception delay; the second application obtaining optimized content based on the system configuration status information corresponding to the application message reception delay; and displaying the fourth user interface based on the system configuration status information corresponding to the application message reception delay. In this embodiment, in response to the operation of launching the second application (i.e., the fourth operation), the electronic device sends a third instruction to the first application through the second application, and the first application, after receiving the third instruction, sends a fourth instruction to the system manager to complete the query of system configuration status information corresponding to the application message reception delay. In this embodiment, the second application cannot directly interact with the system manager to complete the query operation because the second application is a third-party instant messaging application, and the system manager contains system-level data. If this data is arbitrarily accessed, queried, or modified by third-party applications (such as QQ, WeChat, etc.), it may lead to system errors, leakage of privacy content, and tampering with important data. Therefore, in this embodiment of the application, the second application can indirectly obtain the status information of relevant configuration items by interacting with the first application, thereby improving the security of the electronic device.
[0010] In conjunction with the first aspect, in one possible implementation, one-click optimization of one or more authorization items to be optimized includes: in response to a fifth operation, a fifth instruction is sent from a second application to a first application, the fifth instruction requesting optimization of one or more authorization items to be optimized; the first application sends a sixth instruction to the system manager, the sixth instruction instructing optimization of one or more authorization items to be optimized. In this embodiment, the electronic device, in response to the user clicking the confirmation control (i.e., the fifth operation), sends a fifth instruction from the second application to the first application; after receiving the fifth instruction, the first device sends a sixth instruction to the system manager to complete the optimization of the authorization items to be optimized. In this embodiment, the optimization operation, like the query operation described above, requires the second application to indirectly perform the optimization operation through interaction with the first application, thus improving the security of the electronic device.
[0011] In conjunction with the first aspect, in one possible implementation, the third user interface also includes optimization effect information for the options to be optimized. In this embodiment, the system configuration items obtained are displayed through the third user interface, along with the effects and modification suggestions for the system configuration. In this embodiment, the third interface displayed on the electronic device may also include optimization effect information for each option to be optimized. For example, when the electronic device has battery optimization enabled, the third interface may also display information indicating that enabling this setting may result in delayed WeChat message reception. This embodiment effectively improves the user's understanding of the effects of the selected options to be optimized, allowing the user to choose whether to optimize the system configuration based on its effects. It enables users to optimize system configurations more specifically according to their individual needs.
[0012] In conjunction with the first aspect, in one possible implementation, the first application can simultaneously perform one-click optimization on multiple instant messaging applications for the desired optimization options. In this embodiment, for example, the first application can be a built-in system application, allowing users to use it to perform one-click optimization of application message reception latency for multiple instant messaging applications as described above. For example, the electronic device can create a query list, listing commonly used instant messaging applications (such as QQ and WeChat) as options, allowing users to select the application they wish to query during the above-mentioned query operation. This embodiment of the application can complete one-click optimization operations for multiple different instant messaging applications at once, improving modification efficiency and enhancing user experience.
[0013] In conjunction with the first aspect, in one possible implementation, application message reception delay detection includes one or more of the following: lock screen notification detection, banner notification detection, and floating window permission detection. In this embodiment, lock screen notifications are used to display the latest messages from the application in the electronic device's lock screen mode; banner notifications are a notification method used to pop up a small window on the screen to display notification content; and floating window permission is the permission allowed for the application to display a floating window on the screen for continuous information display or application interaction.
[0014] In conjunction with the first aspect, in one possible implementation, the second user interface further includes one or more of the following detection options: a second detection option, which is system performance detection; a third detection option, which is communication and network detection; a fourth detection option, which is Bluetooth detection; and a fifth detection option, which is wireless network detection. In this embodiment, in addition to detecting application message reception delay, the second application can also perform one or more of the following: system performance detection, communication and network detection, Bluetooth detection, and wireless network detection. For example, a user can select application message reception delay and one or more of the above detection options in the second user interface, and the electronic device can perform the above query and optimization operations for the selected detection options. This embodiment enables the detection of multiple options, reducing the time required for individual optimization, improving user convenience, and increasing problem-solving efficiency.
[0015] Secondly, embodiments of this application provide an electronic device, the electronic device including one or more processors and one or more memories; the one or more processors are coupled to the one or more memories, the one or more memories are used to store computer program code, the computer program code including computer instructions, and when the one or more processors execute the computer instructions, the electronic device performs an application message optimization method as described in the first aspect or any possible implementation of the first aspect.
[0016] Thirdly, embodiments of this application provide a computer-readable storage medium including instructions that, when executed on an electronic device, cause the electronic device to perform an application message optimization method as described in the first aspect or any possible implementation thereof.
[0017] Fourthly, embodiments of this application provide a computer program product, which includes computer program code. When the computer program is run, it causes the computer to execute an application message optimization method as described in the first aspect or any possible implementation of the first aspect. Attached Figure Description
[0018] To more clearly illustrate the technical solutions in the embodiments of this application or the background art, the accompanying drawings used in the embodiments of this application or the background art will be described below.
[0019] Figures 1A-1F This is a schematic diagram of a set of user interfaces provided in the embodiments of this application.
[0020] Figures 2A-2K This is a schematic diagram of another set of user interfaces provided in the embodiments of this application.
[0021] Figures 3A-3B This is a schematic diagram of another set of user interfaces provided in the embodiments of this application.
[0022] Figure 4A This is a flowchart illustrating an application message optimization method provided in an embodiment of this application.
[0023] Figure 4B This is a flowchart illustrating a method for optimizing application messages in a first application, as provided in an embodiment of this application.
[0024] Figure 4C This is a flowchart illustrating an application message optimization method provided in an embodiment of this application.
[0025] Figure 5A This is a flowchart illustrating another application message optimization method provided in an embodiment of this application.
[0026] Figure 5B This is a flowchart illustrating a method for optimizing application messages in a second application, as provided in an embodiment of this application.
[0027] Figure 5C This is a flowchart illustrating another implementation of the application message optimization method provided in this application embodiment.
[0028] Figure 6 This is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of this application.
[0029] Figure 7 This is a software structure block diagram of an electronic device provided in an embodiment of this application. Detailed Implementation
[0030] The terminology used in the following embodiments of this application is for the purpose of describing specific embodiments of the application only, and is not intended to be a limitation of this application.
[0031] Currently, instant messaging applications (such as QQ, WeChat, and DingTalk) are becoming increasingly common in daily life. Users frequently encounter issues with instant messaging applications, such as not receiving messages or receiving messages late, due to improper user settings. This can lead to missed important phone calls and delayed messages in social media applications. Furthermore, the numerous system configuration options and cumbersome modification steps result in high costs (difficult and time-consuming) and low efficiency for users seeking solutions.
[0032] The electronic devices in this application embodiment can be mobile phones, tablets, wearable devices, in-vehicle devices, augmented reality (AR) / virtual reality (VR) devices, laptops, ultra-mobile personal computers (UMPCs), netbooks, personal digital assistants (PDAs), etc. This application embodiment does not impose any restrictions on the specific type of electronic devices.
[0033] The following describes an exemplary user interface (UI) provided by the electronic device 100.
[0034] The term "user interface" in the specification, claims, and drawings of this application refers to the medium interface through which an application program or operating system interacts and exchanges information with the user. It realizes the conversion between the internal form of information and the form acceptable to the user. A common form of user interface is the graphical user interface (GUI), which refers to a user interface related to computer operation displayed graphically. It can be an icon, window, control, or other interface element displayed on the screen of an electronic device. Controls can include visual interface elements such as icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, and navigation bars.
[0035] Figure 1A An exemplary user interface 110 on an electronic device 100 is shown for displaying applications installed on the electronic device 100.
[0036] The user interface 110 may include: a status bar 111, a calendar indicator 112, a weather indicator 113, a tray with commonly used application icons 114, a navigation bar 115, and other application icon combinations 116, etc. Among them:
[0037] The status bar 111 may include: one or more signal strength indicators 111A for mobile communication signals (also known as cellular signals), operator name (e.g., "China Mobile") 111B, one or more signal strength indicators 111C for wireless fidelity (Wi-Fi) signals, battery status indicator 111D, and time indicator 111E.
[0038] Calendar indicator 112 can be used to indicate the current time, such as date, day of the week, hour and minute information, etc.
[0039] Weather indicator 113 can be used to indicate weather type, such as cloudy turning sunny, light rain, etc., and can also be used to indicate information such as temperature.
[0040] The tray 114, which displays icons for commonly used applications, can show: phone icon 114A, contact icon 114B, text message icon 114C, and camera icon 114D.
[0041] The navigation bar 115 may include system navigation keys such as a back button 115A, a home button 115B, and a multitasking button 115C. When a user clicks the back button 115A, the electronic device 100 can display the previous page of the current page. When a user clicks the home button 115B, the electronic device 100 can display the main interface. When a user clicks the multitasking button 115C, the electronic device 100 can display the user's recently opened tasks. The navigation keys can also be named in other ways, and this application does not limit this. Not limited to virtual buttons, the navigation keys in the navigation bar 115 can also be implemented as physical buttons.
[0042] Other application icon group 116 may include one or more other application icons, such as: My Honor icon 116A, WeChat icon 116B, Settings icon 116C, and Music icon 116D. The user interface 110 may also include a page indicator 117. Other application icons may be distributed across multiple pages, and the page indicator 117 can be used to indicate which application on which page the user is currently viewing. Users can swipe left or right on the areas containing other application icons to browse application icons on other pages.
[0043] In some embodiments, Figure 1A The user interface 110 shown can be the main interface (Home screen).
[0044] In some other embodiments, the electronic device 100 may also include a physical home screen button. This home screen button can be used to receive user commands to return the currently displayed UI to the main interface, allowing the user to easily view the home screen at any time. Specifically, the command may be a single press of the home screen button, a double press within a short period, or a long press for a predetermined time. In other embodiments of this application, the home screen button may also integrate a fingerprint reader for fingerprint acquisition and recognition when the home screen button is pressed.
[0045] Understandable, Figure 1A The user interface on the electronic device 100 is merely shown as an example and should not be construed as limiting the embodiments of this application.
[0046] like Figure 1AThe electronic device 100 can detect an operation to open the "Settings" application (e.g., a click on the Settings icon 116C), and in response to this operation, the electronic device 100 can display, as shown below. Figure 1B The user interface 120 of the settings application is shown.
[0047] like Figure 1B As shown, the user interface 120 can display multiple setting options, such as biometric and password settings, application settings, battery settings, storage settings, security settings, and notification and status bar options 121. The electronic device 100 can detect user actions on the notification and status bar options 121 (e.g., clicks), and in response to this action, the electronic device 100 can display... Figure 1C The user interface 130 shown is shown.
[0048] like Figure 1C As shown, the user interface 130 can display configuration items for the status bar and system configuration items related to multiple notifications, such as hiding notification content when the screen is locked, waking up the screen when a notification arrives on the lock screen, and settings for different applications in the application notification settings list. Hiding notification content when the screen is locked and waking up the screen when a notification arrives on the lock screen can be enabled or disabled via controls 132 and 133. The following embodiment uses WeChat in the application notification list as an example; the user can search for WeChat using the search box 131 or find WeChat 135 in the application notification settings list 134 and perform an operation (e.g., click). In response to the above operations, the electronic device 100 can display as shown below. Figure 1D The user interface shown is 140.
[0049] like Figure 1D As shown, the user interface 140 can display multiple system configuration items related to WeChat notifications, such as allow notifications, silent notifications, desktop icon badge 141, lock screen / banner notification 142, ringtone, vibration, login notification, or audio / video call invitation notification, etc. The electronic device 100 can detect the user's action on the desktop icon badge option 141 (e.g., a click), and in response to this action, the electronic device 100 can display, as shown... Figure 1E The desktop icon badge settings interface 150 shown allows users to select whether desktop icon badges are displayed as numbers or not. The electronic device 100 can detect user actions (e.g., clicks) on the lock screen / banner notification option 142, and in response to this action, the electronic device 100 can display... Figure 1F The image shows a lock screen / banner notification settings interface 160, through which users can set whether to send notifications when the electronic device is locked and whether to send notifications when the device is in landscape mode.
[0050] In this embodiment of the application, through the above... Figures 1A to 1F Taking WeChat as an example, the following describes some user operation processes for optimizing application message reception delay. It should be noted that the above embodiments only illustrate the configuration process for some system configuration items related to application message reception delay. In existing technologies, users need to confirm and modify the system configuration items related to application message reception delay multiple times for different instant messaging applications. This operation is cumbersome, and ordinary users often find it difficult to understand all the specific optimization steps. Furthermore, errors can easily occur during the optimization process, leading to message reception delay optimization failure. The application message optimization method proposed in this application embodiment can complete one-click query and optimization of system configuration items, improving user repair efficiency.
[0051] The following describes an application scenario and a user interface (UI) embodiment involved in this application scenario.
[0052] When application message receiving delay occurs and users need to optimize application message receiving delay-related configuration items, users can use the method proposed in the embodiments of this application to query and optimize application message receiving delay-related configuration items. The embodiments of this application take the application "My Glory" as an example for description. This application integrates the application message optimization method proposed in the embodiments of this application.
[0053] like Figure 2A As shown, the electronic device 100 can detect user actions on the "My Honor" application (e.g., a click on the My Honor icon 116A), and in response to this action, the electronic device 100 can display as shown in the image. Figure 2B The user interface 220 is shown. The device detection service 221 allows users to perform intelligent detection on the electronic device, automatically checking whether various functions of the phone are operating normally. Upon detecting a fault, this function can provide corresponding repair solutions to help users resolve the problem.
[0054] like Figure 2B As shown, electronic device 100 can detect user actions (e.g., clicks) on device detection 221, and in response to such actions, electronic device 100 can display, as shown below. Figure 2CThe user interface 230 shown integrates the application message receiving delay option in the intelligent detection interface, which contains the application message optimization method proposed in this embodiment. For example, the detection options displayed on this interface may also include Bluetooth, Wireless Local Area Network (WLAN), communication and network, system performance, etc. It is understood that users can decide whether to perform detection on one or more of the detection options in the figure by turning them on or off. For example, users can use control 231 to decide whether to perform application message receiving delay detection.
[0055] like Figure 2C As shown, the electronic device 100 can detect a user's action (e.g., a click) on the immediate detection control 232, and in response to this action, the electronic device 100 can display as shown in the image. Figure 2D The user interface 240 is shown. For example, the applications displayed on this interface may include messaging apps such as QQ, WeChat, and Weibo. It should be noted that the application being detected can be an instant messaging application (such as QQ or WeChat) or a regular application (such as Weibo or Douyin). However, instant messaging applications are more likely to cause users to miss important messages due to message reception delays, so this embodiment mainly focuses on instant messaging applications. It is understood that users can select the applications to be detected by checking boxes. For example, users can use the check box 242 to decide whether to detect the WeChat application. For instance, if a user only wants to receive work-related application messages promptly and avoids excessive notifications from other applications to prevent multiple interruptions during work hours, then only work-related applications can be optimized. When multiple applications may exist simultaneously on an electronic device, and it is not easy for the user to directly find the application to be selected in the list, the user can also use the search bar 241 above to find the application to be optimized. This embodiment allows users to complete the subsequent query and optimization operations of the corresponding detection options according to their needs.
[0056] like Figure 2D As shown, the electronic device 100 can detect user actions (e.g., clicks) on the control 243, and in response to the action, the electronic device can display as shown in the image. Figure 2E The user interface 250 showing the detection results can display a re-detection control 251, a view suggestion control 252, and a list of detection options for suggested processing.
[0057] The suggestion viewer control 252 can be used to view optimization suggestions for all detection options. The electronic device 100 can detect user actions (such as clicks) on the suggestion viewer control 252, and in response to this action, the electronic device can display, for example... Figure 2FThe user interface 260 shown can display one or more optimization options, a one-click optimization control 261, and a manual optimization list. Understandably, users can select the optimization options by checking the boxes. For example, if a user has a relatively low need for timely processing of QQ messages and does not want to be disturbed by audio / video call invitations during work hours, they can choose not to check the optimization option. Optionally, the user interface 260 can also display optimization effect information for the optimization options. For example, when the electronic device has battery optimization enabled, the user interface 260 can also display information about the potential delays in receiving WeChat messages. The manual optimization list can include optimization option information and an immediate setting control 262, which allows the user interface to jump to the settings interface for convenient user settings. For example, the electronic device can detect operations on the immediate setting control 262 (e.g., click operations) and display... Figure 2G The user interface 270 shown is used by users to manually adjust system volume settings. For some settings that affect the user's daily experience, these settings can be configured individually by the user. For example, adjusting the volume of an electronic device; if the volume is increased in one-click optimization, the user might unknowingly disable silent mode or adjust the volume, causing inconvenience in daily work.
[0058] The re-detection control 251 can be used to re-perform the above-mentioned smart detection. For example, if a user forgets to check the Bluetooth detection option, they can return to the above process by operating the re-detection control 251 (e.g., clicking it). Figure 2C The user interface 230 re-performs smart detection. For example, Bluetooth detection options may include one or more of transmit power, receive sensitivity, and transmission delay.
[0059] It is understandable that, in the above Figure 2C In the user interface 230 shown, the user can also select multiple detection options simultaneously to perform detection on related system configuration items at the same time. For example... Figure 2H The user interface 280 shown here indicates that the user has simultaneously selected system performance, application message reception latency, communication and network, and Bluetooth detection options. The electronic device 100 responds to an operation (such as a click) on the immediate detection control 232, displaying... Figure 2I The user interface shown is 290.
[0060] like Figure 2IAs shown, the user interface 290 can display a detection display bar 291 and a detection option list. For example, the detection display bar can show the currently performing detection options, the number of items that have been detected, and the total number of items that need to be detected. The detection option list can display all detection options and their corresponding detection status (e.g., detection complete, detection in progress, or waiting for detection). It is understood that when the electronic device encounters an application message receiving delay, it can also jump to the above... Figure 2D The user interface 240 is used by the user to select the application to be tested. The electronic device 100, in response to all testing options being completed, displays as shown below. Figure 2J The user interface 2100 shown is shown.
[0061] like Figure 2J As shown, the user interface 2100 is different from the above. Figure 2E The user interface 250 also includes a list of detection options for cases where the detection result is normal. The electronic device 100, in response to an action (e.g., a click) on the viewing suggestion control 252, displays... Figure 2K The user interface shown is 2110.
[0062] like Figure 2K As shown, user interface 2110 is different from the above. Figure 2F The user interface 260 also includes optimization suggestions related to the electronic device system performance and communication and network. For example, if a SIM card is not detected and communication is not possible, the SIM card may be worn or loose; third-party mobile security software may cause system performance degradation, so it is recommended to uninstall the third-party mobile security software, etc.
[0063] This application provides an implementation of an application message optimization method. The first application (i.e., My Glory) is a built-in system application. Users can use an immediate detection control to detect system configuration items of the application to be optimized, and select the detection results (i.e., one or more options to be optimized). Then, a one-click optimization control is used to optimize the selected options. This application avoids the problem of overly cumbersome steps when users manually query and set configuration items related to application message receiving delay. By providing one-click detection and one-click optimization, it simplifies the user's repair steps, improves repair efficiency, reduces the probability of application message receiving delay, and enhances the user experience.
[0064] The following describes another application scenario and a user interface embodiment in this application scenario.
[0065] When an instant messaging application (such as WeChat) is installed on an electronic device, and the user launches the instant messaging application, this embodiment of the application can ask the user whether to perform an optimization operation to reduce the application message receiving delay by popping up an optimization pop-up window in the application's user interface.
[0066] like Figure 3A As shown, the electronic device can detect user actions on the "WeChat" application (e.g., clicking the WeChat icon 116B), and in response to this action, the electronic device can display something like... Figure 3B The user interface 320 is shown. User interface 320 may display an optimization pop-up window 321. Exemplarily, the optimization pop-up window may include optimization content 322, a confirmation control 323, and a cancellation control 324. Optimization content 322 includes one or more authorized items to be optimized for application message receiving delays. Exemplarily, optimization content may include one or more of the following: enabling banner notifications, enabling lock screen notifications, enabling floating window permissions, and enabling the startup mode to manual management mode. The confirmation control 323 is used to confirm one-click optimization of one or more authorized items, and the cancellation control 324 is used to cancel one-click optimization of one or more authorized items. Users can decide whether to perform optimization based on the optimization content using the confirmation control 323 (i.e., the second control) or the cancellation control 324 (i.e., the third control) of the optimization pop-up window.
[0067] This application provides another implementation of an application message optimization method. For example, the second application (i.e., WeChat) can be an instant messaging application. When a user launches the second application, the system detects the application message receiving delay-related configuration items and informs the user of the authorized optimization items to be performed to address the message receiving delay issue. The user can decide whether to perform optimization based on the optimization content through the confirmation control (i.e., the second control) or cancellation control (i.e., the third control) in the optimization pop-up window. The optimization pop-up effectively prevents users from failing to detect message receiving delays or forgetting to query and optimize related configuration items. This simplifies the user's repair steps, improves repair efficiency, reduces the probability of application message receiving delays, and enhances the user experience.
[0068] Please see Figure 4A , Figure 4A This is a flowchart illustrating an application message optimization method provided in an embodiment of this application. The following details an application message optimization method provided in an embodiment of this application.
[0069] The method may include the following steps:
[0070] S401A: Displays the first user interface.
[0071] Specifically, the electronic device displays a first user interface, which may include an icon for a first application. For example, the first application may be a built-in system application. This management application can directly interact with the electronic device's system manager to complete subsequent queries and optimization operations. For example, the first user interface may be as described above. Figure 2A The user interface 110 shown can be used as the first application described above. Figure 2A The application shown is "My Glory".
[0072] S402A: Receives a first operation on the icon of the first application and displays a second user interface.
[0073] Specifically, after receiving a first operation targeting a first application, the electronic device displays a second user interface. For example, the first operation may include the user's finger tapping the first application icon on the touchscreen. The second user interface includes application message reception delay detection (i.e., a first detection option) and immediate detection (i.e., a first control). For example, in addition to application reception delay, the detection options in this embodiment may also include one or more of the following: system performance detection, communication and network detection, Bluetooth detection, and wireless network detection. Optionally, the user can additionally select one or more of the above detection options for immediate detection together with application message reception delay detection. For example, the second user interface may be the above... Figure 2C The user interface 230 shown can have the first control as described above. Figure 2C The immediate detection control 232 shown.
[0074] S403A: Receives a second operation on the first control and displays a third user interface.
[0075] Specifically, the electronic device receives a second operation on the immediate detection control (i.e., the first control) and displays a third user interface. For example, the second operation may include the user's finger tapping the first control on the touchscreen. The first control is used to perform a detection of the relevant system configuration for the selected detection option. In response to the second operation, the electronic device can detect the current state information of the system configuration and, based on this state information, propose optimization options for the detected option. For example, optimization options may include enabling floating window permissions, modifying the "Allow Notifications" status, and enabling "Banner Notifications." Optionally, the electronic device may also display relevant optimization effect information based on the optimization options. For example, when the electronic device enables battery optimization, the third interface may also display information that enabling this setting may cause delayed WeChat message reception. The electronic device may also display the above optimization effect information through the third user interface, allowing the user to select one or more optimization options to perform. The third user interface also includes a one-click optimization control (i.e., the second control), which is used to perform a one-click optimization action on the selected optimization options. For example, the third user interface may be as described above. Figure 2F The user interface 260 shown above, the second control can be the one described above. Figure 2F The one-click optimization control 261 shown is illustrated.
[0076] S404A: Receives a third operation for the second control and performs one-click optimization of one or more options to be optimized.
[0077] Specifically, the electronic device receives a third operation on the one-click optimization control (i.e., the second control) to perform one-click optimization on the selected optimization options. For example, the third operation may include the user's finger tapping the one-click optimization control (i.e., the second control) on the touchscreen. The one-click optimization control (i.e., the second control) is used to enable the electronic device to perform a one-click optimization operation on one or more options selected by the user. For example, the options to be optimized may include one or more of the following: enabling banner notifications, enabling lock screen notifications, enabling floating window permissions, and enabling the startup mode to be manually managed.
[0078] In this embodiment, the electronic device completes the query and optimization of system configuration items related to application message reception delay through a first application. For example, the first application can be a built-in system application. Users can use the immediate detection control (i.e., the first control) to detect the system configuration of the application whose message reception delay needs optimization, select the detection results (i.e., one or more optimization options), and then optimize the selected options using the one-click optimization control (i.e., the second control). This application message optimization method solves the problem of the cumbersome process of manually querying and setting configuration items related to application reception delay. By providing one-click detection and one-click optimization, it simplifies the user's repair steps, improves repair efficiency, reduces the probability of application message reception delay, and enhances the user experience.
[0079] In one possible implementation, displaying a third user interface includes: responding to a second operation by sending a first instruction to the system manager via a first application, the first instruction indicating the acquisition of system configuration status information corresponding to the first detection option; and displaying the third user interface based on the system configuration status information corresponding to the first detection option. In this embodiment, the system manager is an internal system application of the electronic device, tightly integrated with the mobile phone hardware and operating system, and contains system-level data of the electronic device, such as hardware configuration, software status, network communication, user permissions, and security policies. The electronic device sends a first instruction to the system manager via the first application to query the status information of system configuration items related to the application message reception delay (i.e., the first detection option). For example, the electronic device can establish a query interface in the system manager, allowing the first application to send a first instruction to the query interface to obtain the corresponding system configuration status information, and display one or more options to be optimized based on the query results (i.e., the system configuration status information) through the third user interface. This embodiment directly completes the system configuration query operation through the first application, eliminating the need for the user to eliminate configuration items causing message reception delay one by one, which is beneficial for subsequent system configuration optimization.
[0080] In one possible implementation, one-click optimization of the selected option to be optimized includes: in response to a third operation, sending a second instruction to the system manager through a first application, the second instruction being used to instruct the optimization of the selected option to be optimized. In this embodiment, the electronic device sends a second instruction to the system manager through the first application to perform one-click optimization of the selected option to be optimized. For example, the electronic device can establish a modification interface in the system manager, allowing the first application to send the second instruction to the modification interface to perform one-click optimization of the option to be optimized. This embodiment directly completes the configuration item optimization of the option to be optimized through the first application, eliminating the need for the user to manually set and optimize each configuration item causing message reception delay, improving user repair efficiency, reducing the probability of application message reception delay, and enhancing the user experience.
[0081] In one possible implementation, the third user interface also includes optimization effect information for the options to be optimized. In this embodiment, the system configuration items are displayed through the third user interface, along with the effects and modification suggestions for the system configuration. In this embodiment, the third interface displayed on the electronic device may also include optimization effect information for each option to be optimized. For example, when the electronic device has battery optimization enabled, the third interface may also display information indicating that enabling this setting may result in delayed WeChat message reception. This embodiment effectively improves the user's understanding of the effects of the selected optimization options, allowing the user to choose whether to optimize the system configuration based on its effects. This enables users to optimize system configurations more specifically according to their individual needs.
[0082] In one possible implementation, the first application can simultaneously perform one-click optimization on multiple instant messaging applications for the desired optimization options. In this embodiment, for example, the first application can be a built-in system application, allowing users to use it to perform one-click optimization of application message reception latency for multiple instant messaging applications as described above. For example, the electronic device can create a query list, listing commonly used instant messaging applications (such as QQ and WeChat) as options, allowing users to select the application they wish to query during the above-mentioned query operation. This embodiment can complete one-click optimization for multiple different instant messaging applications at once, improving modification efficiency and enhancing user experience.
[0083] In one possible implementation, application message reception delay detection includes one or more of the following: lock screen notification detection, banner notification detection, and floating window permission detection. In this embodiment, lock screen notifications are used to display the latest messages from the application in the electronic device's lock screen mode; banner notifications are a notification method used to pop up a small window on the screen to display notification content; and floating window permission is the permission allowed for the application to display a floating window on the screen for continuous information display or application interaction.
[0084] In one possible implementation, the second user interface further includes one or more of the following detection options: a second detection option, which is system performance detection; a third detection option, which is communication and network detection; a fourth detection option, which is Bluetooth detection; and a fifth detection option, which is wireless network detection. In this embodiment, in addition to detecting application message reception delay, the second application can also perform one or more of the following: system performance detection, communication and network detection, Bluetooth detection, and wireless network detection. For example, a user can select application message reception delay and one or more of the above detection options in the second user interface, and the electronic device can perform the above query and optimization operations for the selected detection options. This embodiment enables the detection of multiple options, reducing the time required for individual optimization and improving user convenience.
[0085] Please see Figure 4B , Figure 4B This is a flowchart illustrating a method for optimizing application messages using a first application, as provided in an embodiment of this application. In this embodiment, the first application can directly interact with the system manager to query and optimize the status of application message reception delay-related configuration items. Specifically, the method may include the following steps:
[0086] S401B: The first application sends the first instruction to the query interface.
[0087] Specifically, in response to a user's action on an immediately detected control (e.g., a click), the first application sends a first instruction to the query interface in the system manager. This first instruction queries system configuration status information related to application message reception latency. The system manager is an internal system application of the electronic device, tightly integrated with the phone's hardware and operating system, containing system-level data such as hardware configuration, software status, network communication, user permissions, and security policies. For example, the first instruction can be queried via `ContentProvider.call` in an Android component, with the specific configuration item to be queried specified by the configuration item bundle. For example, the specific configuration item may include one or more of the following: lock screen notifications, banner notifications, floating window permissions, and silent notifications. For example, the first application may be one of the above. Figure 2A The application "My Glory" shown above can immediately detect the control as described above. Figure 2C The immediate detection control 232 shown.
[0088] S402B: The system manager sends the query results to the first application.
[0089] Specifically, after receiving the first instruction and completing the status query, the system manager sends the query results to the first application.
[0090] S403B: The first application displays the third user interface.
[0091] Specifically, the first application displays a third user interface based on the query results sent by the system manager. After receiving the query results, the first application can determine whether a configuration item needs to be modified based on its current status information, and display one or more configuration items that need modification as optimization options on the third user interface. For example, users can select optimization options on the third user interface to determine which options need optimization. For example, the third user interface may also include a one-click optimization control, which is used to optimize the selected optimization options. For example, the third user interface can be as described above. Figure 2F The user interface 260 shown can be one of the above-mentioned one-click optimization controls. Figure 2F The one-click optimization control 261 shown is illustrated.
[0092] S404B: The first application sends a second instruction to the modified interface.
[0093] Specifically, in response to a user's operation to deeply optimize controls (e.g., a click), the first application sends a second instruction to the system manager's modification interface. This second instruction modifies the optimization options selected by the user in step S403B. For example, the second instruction can be modified via ContentProvider.call in an Android component. The specific configuration item to be modified is specified by the bundle of configuration items attached to the instruction. For example, the specific configuration item may include one or more of the following: enabling lock screen notifications, enabling banner notifications, enabling floating window permissions, and disabling silent notifications.
[0094] S405B: The system manager sends the modification results to the first application.
[0095] Specifically, after receiving the second instruction and completing the configuration modification, the system manager sends the modification results to the first application.
[0096] In this embodiment, the electronic device can establish query and modification interfaces in the system manager, allowing the first application to directly interact with the system manager to query and optimize configuration items related to application message reception delay. This embodiment directly optimizes the application message reception delay problem through the first application, eliminating the need for users to manually query and optimize each configuration item causing the delay. This avoids tedious operations, improves user repair efficiency, reduces the probability of application message reception delay, and enhances the user experience.
[0097] Please see Figure 4C , Figure 4C This is a flowchart illustrating an application message optimization method provided in an embodiment of this application. The steps of an application message optimization method provided in this embodiment are described in detail below. The method may include the following steps:
[0098] S401C: The management application detects that the function has been started and sends a status query command to the system manager.
[0099] Specifically, when the electronic device detects that the system configuration item query function has been activated, it sends a status query command to the query interface in the system manager through the management application to obtain system configuration status information related to application reception latency. After receiving the command and querying, the system manager feeds back the queried system configuration status information to the management application. For example, the management application can be as described above. Figure 2A The application "My Glory" shown can detect the activation of the system configuration item query function, which may be detected by the electronic device when the user targets the above. Figure 2C The operation (such as a click operation) of the immediate detection control 232 shown is illustrated.
[0100] S402C: The management application displays the user interface for modifying system configuration items.
[0101] Specifically, the electronic device determines each configuration item based on the system configuration status information sent by the system manager, identifies the optimization options that need modification, and displays them on the user interface for the user to select the options that need optimization. For example, the user interface can be as described above. Figure 2F The user interface shown is 260.
[0102] S403C: The management application detects and confirms the modification, and sends an attribute modification command to the system manager.
[0103] Specifically, the electronic device detects the user's confirmation of the modification operation and sends an attribute modification command to the modification interface in the system manager through the management application to perform a one-click optimization operation on the user-selected optimization option. For example, detecting the user's confirmation of the modification operation could be that the electronic device detects the user's confirmation of the above-mentioned optimization option. Figure 2F The operation (such as click operation) of the one-click optimization control 261 shown is illustrated.
[0104] This application embodiment illustrates one implementation of the application message optimization method. Users can optimize application message receiving delay with one click by using a management application (such as My Honor). This avoids the problem of overly cumbersome operation steps when users manually query and set configuration items related to application message receiving delay. By providing one-click detection and one-click optimization, the user's repair steps are simplified, the repair efficiency is improved, the probability of application message receiving delay is reduced, and the user experience is enhanced.
[0105] Please see Figure 5A , Figure 5A This is a flowchart illustrating another application message optimization method provided in an embodiment of this application.
[0106] The method may include the following steps:
[0107] S501A: Displays the first user interface.
[0108] Specifically, the electronic device displays a first user interface, which may include an icon for the second application. It should be noted that the icon for the second application may be on the same user interface (i.e., the first user interface) as the icon for the first application, or it may be on another user interface of the electronic device, depending on the user's operating habits. For example, the first user interface may be as described above. Figure 3A The user interface 110 shown above, the second application can be the one described above. Figure 3A The application shown is "WeChat".
[0109] S502A: Receives a fourth operation for the icon of the second application and displays a fourth user interface.
[0110] Specifically, the electronic device can receive a fourth operation for the second application and display a fourth user interface. This fourth user interface includes an optimization pop-up window, which comprises optimization content, a confirmation control (i.e., a third control), and a cancellation control (i.e., a fourth control). The optimization content is optimization information obtained by the electronic device based on the system configuration status information after querying the application message reception delay. For example, the second application can be an instant messaging application. When the user launches the second application, the device checks the application's reception delay-related configuration and informs the user of the optimization authorization items to be optimized to address the message reception delay issue. This allows the user to use the confirmation control (i.e., the second control) or the cancellation control (i.e., the third control) in the optimization pop-up window during subsequent processes. The confirmation control is used to perform one-click optimization of the authorized items, and the cancellation control is used to cancel the one-click optimization of the authorized items. The user can decide whether to perform optimization based on the optimization content. For example, the fourth user interface can be as described above. Figure 3B The user interface 320 shown can be optimized as described above. Figure 3B The optimization pop-up 321 shown can include the optimizations mentioned above. Figure 3B The optimization content 322 shown above, the confirmation control (i.e., the third control) can be the one described above. Figure 3B The confirmation control 323 shown can be the cancellation control described above. Figure 3B The cancellation control 324 is shown in the image.
[0111] S503A: Receives the fifth operation for a third control and performs one-click optimization of one or more authorization items to be optimized.
[0112] Specifically, the electronic device can receive a fifth operation on a confirmation control (i.e., a third control). This fifth operation may include the user's finger tapping the third control on the touchscreen. The electronic device then optimizes the authorization items to be optimized within the optimized content. For example, the authorization items to be optimized may include one or more of the following: enabling banner notifications, enabling lock screen notifications, enabling floating window permissions, and enabling the startup mode to be manually managed.
[0113] In this embodiment, the second application can be, for example, an instant messaging application. When the user launches the second application, the system detects the application's message reception delay-related configuration and informs the user of the authorized items to be optimized to address the message reception delay issue. The user can decide whether to perform optimization based on the optimization content by using the confirmation control (i.e., the second control) or the cancellation control (i.e., the third control) in the optimization pop-up window. It should be noted that the second application can indirectly query and optimize configuration items by interacting with the first application. This is because allowing third-party software (such as QQ, WeChat, etc.) to query and modify system configuration items arbitrarily may lead to system errors, privacy leaks, and tampering with important data. For example, the second application can obtain relevant permissions for the electronic device through business cooperation or other means, thereby directly interacting with the system administrator to query and optimize system configuration items without going through the first application. In this embodiment, when the user launches the instant messaging application (i.e., the second application), the electronic device can query the status of the application's message receiving delay-related configuration items and optimize them with one click through a pop-up window. This can effectively prevent users from failing to notice the message receiving delay or forgetting to query and optimize the receiving delay-related items. It can simplify the user's repair steps, improve repair efficiency, reduce the probability of application message receiving delay, and enhance the user experience.
[0114] In one possible implementation, displaying a fourth user interface includes: responding to a fourth operation by sending a third instruction to a first application through a second application, the third instruction being used to request system configuration status information corresponding to the application message reception delay; sending a fourth instruction to a system manager through the first application, the fourth instruction being used to instruct the retrieval of system configuration status information corresponding to the application message reception delay; the second application obtaining optimized content based on the system configuration status information corresponding to the application message reception delay; and displaying the fourth user interface based on the system configuration status information corresponding to the application message reception delay. In this embodiment, in response to the operation of launching the second application (i.e., the fourth operation), the electronic device sends a third instruction to the first application through the second application, and the first application, after receiving the third instruction, sends a fourth instruction to the system manager to complete the query of system configuration status information corresponding to the application message reception delay. In this embodiment, the second application cannot directly interact with the system manager to complete the query operation because the second application is a third-party instant messaging application, and the system manager contains system-level data. If this data is arbitrarily accessed, queried, or modified by third-party applications (such as QQ, WeChat, etc.), it may lead to system errors, leakage of privacy content, and tampering with important data. Therefore, in this embodiment of the application, the second application can indirectly obtain the status information of relevant configuration items by interacting with the first application, thereby improving the security of the electronic device.
[0115] In one possible implementation, one-click optimization of one or more authorization items to be optimized includes: in response to a fifth operation, sending a fifth instruction to a first application through a second application, the fifth instruction requesting optimization of one or more authorization items to be optimized; and the first application sending a sixth instruction to the system manager, the sixth instruction instructing optimization of one or more authorization items to be optimized. In this embodiment, the electronic device, in response to the user clicking the confirmation control (i.e., the fifth operation), sends a fifth instruction to the first application through the second application. After receiving the fifth instruction, the first device sends a sixth instruction to the system manager to complete the optimization of the authorization items to be optimized. In this embodiment, the optimization operation, like the query operation described above, requires the second application to interact with the first application to indirectly perform the optimization operation, which can improve the security of the electronic device.
[0116] Please see Figure 5B , Figure 5B This is a flowchart illustrating a method for optimizing application messages using a second application, as provided in an embodiment of this application. In this embodiment, the second application can interact with a first application to perform status queries and optimization operations on application message reception delay-related configuration items. Specifically, this method may include the following steps:
[0117] S501B: The second application sends a third instruction to the first application.
[0118] Specifically, in response to a user's action on the second application (e.g., clicking the icon of the second application), the second application sends a third instruction to the first application. This third instruction requests system configuration status information corresponding to the application message reception delay (i.e., optimization content) from the first application. For example, the third instruction may include configuration items to be detected, such as one or more of the following: lock screen notifications, banner notifications, floating window permissions, and silent notifications. For example, the first application may be one of the aforementioned... Figure 2A The application shown is "My Glory," and the second application can be one of the above. Figure 3A The application shown is "WeChat".
[0119] S502B: The first application sends the fourth instruction to the query interface.
[0120] Specifically, after receiving the third instruction, the first application sends a fourth instruction to the query interface in the system manager. The fourth instruction is used to query the system manager for system configuration status information related to the application's message receiving delay. For example, the fourth instruction can be queried through ContentProvider.call in the Android component, and the specific configuration item to be queried is specified by the configuration item bundle, which can be determined by the third instruction.
[0121] S503B: The second application receives the query results sent by the system manager.
[0122] Specifically, after receiving the fourth instruction and completing the status query, the system manager sends the query result to the first application, which then forwards the query result to the second application.
[0123] S504B: The second application displays the fourth user interface.
[0124] Specifically, after receiving the query results forwarded by the first application, the second application displays a fourth user interface based on the query results. After receiving the query results, the second application can determine whether a configuration item needs modification based on its current status information, and then display one or more configuration items that need modification as items to be optimized on the fourth user interface. For example, the fourth user interface may also include a confirmation control (i.e., a third control) and a cancellation control (i.e., a fourth control). Users can perform one-click optimization of the items to be optimized on the electronic device by operating the confirmation control (e.g., clicking), or cancel the one-click optimization by operating the cancellation control (e.g., clicking). For example, the fourth user interface can be as described above. Figure 3B The user interface 320 shown can have a confirmation control (i.e., a third control) as described above. Figure 3B The confirmation control 323 shown can be the cancellation control described above. Figure 3B The cancellation control 324 is shown in the image.
[0125] S505B: The second application sends a fifth instruction to the first application.
[0126] Specifically, in response to the user's action on the confirmation control, the second application sends a fifth instruction to the first application. The fifth instruction requests one-click optimization of one or more authorization items to be optimized through the first application. For example, the fifth instruction may include configuration items to be detected, such as one or more of the following: enabling lock screen notifications, enabling banner notifications, enabling floating window permissions, and disabling silent notifications.
[0127] S506B: The first application sends the sixth instruction to the modification interface.
[0128] Specifically, after receiving the fifth instruction, the first application sends a sixth instruction to the modification interface in the system manager. The fifth instruction is used to instruct the system manager to perform one-click optimization of one or more authorized items to be optimized. For example, the sixth instruction can be modified through ContentProvider.call in Android components, and the specific configuration items to be modified are specified by the configuration item bundle, which can be determined by the fifth instruction.
[0129] S507B: The second application receives the modification results sent by the system manager.
[0130] Specifically, the system manager sends the modification results to the first application, which then forwards the modification results to the second application.
[0131] In this embodiment, for example, the first application can be a built-in system application (such as My Honor), and the second application is a third-party instant messaging application. Because arbitrary querying and modification of system configuration items by third-party software (such as QQ, WeChat, etc.) may lead to system errors, privacy leaks, and tampering with important data in electronic devices, the second application queries and optimizes configuration items corresponding to application message reception delays through interaction with the first application. For example, the second application can obtain relevant permissions for the electronic device through business cooperation with the device manufacturer, thereby directly interacting with the system administrator to query and optimize system configuration items without going through the first application. This embodiment avoids third-party software directly querying and modifying system-level data of the electronic device, effectively improving the security of the electronic device.
[0132] Please see Figure 5C , Figure 5C This is a flowchart illustrating another implementation of the application message optimization method provided in this application embodiment. The steps of this application embodiment's other implementation of the application message optimization method are described in detail below. This method may include the following steps:
[0133] S501C: The instant messaging application detects that the application has started and sends a status query command to the system manager.
[0134] Specifically, when an electronic device detects that an instant messaging application has started, it sends a status query command to the management application through the instant messaging application. After receiving the command, the management application sends a status query command to the system manager's query interface to obtain system configuration status information related to application message reception delay. The system manager sends the query results to the management application, and the management application sends the received query results to the instant messaging application.
[0135] S502C: Optimized pop-up display for instant messaging applications.
[0136] Specifically, the instant messaging application determines whether a configuration item needs modification based on the query results and the current status information of each configuration item. Then, it displays one or more configuration items requiring modification as "optimization authorization items" on the user interface after the application starts via an optimization pop-up. The optimization pop-up may include optimization content, a confirmation control, and a cancellation control. Users can perform a one-click optimization of the authorization item by clicking the confirmation control, or cancel the one-click optimization by clicking the cancellation control. For example, the user interface may be as described above. Figure 3BThe user interface 320 shown can be optimized as described above. Figure 3B The optimization pop-up 321 shown can include the optimizations mentioned above. Figure 3B The optimization content 322 shown above, the confirmation control (i.e., the third control) can be the one described above. Figure 3B The confirmation control 323 shown can be the cancellation control described above. Figure 3B The cancellation control 324 is shown in the image.
[0137] S503C: When the instant messaging application detects a confirmed modification, it sends a property modification command to the system manager.
[0138] Specifically, after the electronic device detects the user's confirmation of the modification, it sends an attribute modification instruction to the management application via an instant messaging application. The management application receives and sends the attribute modification instruction to the system manager's modification interface to complete the one-click optimization of the authorized item to be optimized. For example, the authorized item to be optimized may include one or more of the following: enabling banner notifications, enabling lock screen notifications, enabling floating window permissions, and enabling the startup mode to manual management mode. Detecting the confirmation of modification can be achieved when the electronic device detects that the user has made any changes to the above-mentioned permissions. Figure 3B The operation of the confirmation control 323 shown (such as a click operation).
[0139] In this embodiment, when a user launches an instant messaging application, the system detects the application's message reception delay-related configurations and informs the user of the authorized optimization items to be performed to address the message reception delay issue. The user can decide whether to perform the optimization based on the optimization content through the confirmation control (i.e., the second control) or the cancellation control (i.e., the third control) in the optimization pop-up window. This method simplifies the user's troubleshooting steps, improves efficiency, reduces the probability of application message reception delays, and enhances the user experience.
[0140] Please see Figure 6 , Figure 6 A schematic diagram of the hardware structure of the electronic device 600 provided in an embodiment of this application is shown.
[0141] Electronic device 600 may include a processor 601, a memory 602, a wireless communication module 603, a mobile communication module 604, an antenna 603A, an antenna 604A, a power switch 605, a sensor module 606, a focusing motor 607, a camera 608, a display screen 609, etc. The sensor module 606 may include a gyroscope sensor 606A, an accelerometer sensor 606B, an ambient light sensor 606C, an image sensor 606D, a proximity sensor 606E, etc. The wireless communication module 603 may include a WLAN communication module, a Bluetooth communication module, etc. All of the above components can transmit data via a bus.
[0142] Processor 601 may include one or more processing units, such as application processors (APs), modem processors, graphics processing units (GPUs), image signal processors (ISPs), controllers, video codecs, digital signal processors (DSPs), baseband processors, and / or neural network processing units (NPUs). These different processing units may be independent devices or integrated into one or more processors.
[0143] Memory 602 can be used to store computer executable program code, which may include instructions. Processor 601 executes various functional applications and data processing of electronic device 600 by running the instructions stored in memory 602. Memory 602 may include a program storage area and a data storage area. In specific implementations, memory 602 may include high-speed random access memory, and may also include non-volatile memory, such as one or more disk storage devices, flash memory devices, or other non-volatile solid-state storage devices.
[0144] The wireless communication function of the electronic device 600 can be implemented through antenna 603A, antenna 604A, mobile communication module 604, wireless communication module 603, modem processor, and baseband processor.
[0145] Antennas 603A and 604A can be used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 600 can be used to cover one or more communication frequency bands. Different antennas can also be reused to improve antenna utilization.
[0146] The mobile communication module 604 can provide solutions for wireless communication, including 2G / 3G / 4G / 5G, applied to electronic devices 600.
[0147] The wireless communication module 603 can provide solutions for wireless communication applications on electronic devices 600, including wireless local area networks (WLAN), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared (IR).
[0148] The gyroscope sensor 606A can be used to determine the motion attitude of the electronic device 600.
[0149] Accelerometer 606B can detect the magnitude of acceleration of electronic device 600 in various directions (generally three axes).
[0150] Electronic device 600 can achieve shooting function through ISP, camera 608, video codec, GPU, display 609 and application processor.
[0151] Electronic device 600 can implement display functions through a GPU, a display screen 609, and an application processor. The GPU is a microprocessor for image processing, connected to the display screen 609 and the application processor. The GPU is used to perform mathematical and geometric calculations and for graphics rendering. Processor 601 may include one or more GPUs, which execute program instructions to generate or modify display information.
[0152] Display screen 609 is used to display images, videos, etc. Display screen 609 includes a display panel. In some embodiments, electronic device 600 may include one or N displays screens 609, where N is a positive integer greater than 1.
[0153] The illustrated structures in this application do not constitute a specific limitation on the electronic device 600. In other embodiments of this application, the electronic device 600 may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0154] Any one or more of the following components can be used to detect the current environmental characteristics of electronic device 600: wireless communication module 603, mobile communication module 604, sensor module 606, focusing motor 607, camera 608, etc.
[0155] Display screen 609 is used for the user interface, such as providing shortcuts for recommending payment services.
[0156] The software system of electronic device 600 can adopt a layered architecture, event-driven architecture, microkernel architecture, microservice architecture, or cloud architecture. This application embodiment uses a layered mobile operating system as an example to exemplify the software structure of electronic device 600.
[0157] Please see Figure 7 , Figure 7 This is a software structure block diagram of an electronic device 600 according to an embodiment of this application.
[0158] A layered architecture divides software into several layers, each with a clear role and function. Layers communicate with each other through software interfaces. In some embodiments, a mobile operating system is divided into four layers, from top to bottom: the application layer, the application framework / core service layer, the system libraries and runtime, and the kernel layer.
[0159] The application layer can include a series of application packages.
[0160] like Figure 7 As shown, the application package may include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, and SMS.
[0161] The application framework layer provides application programming interfaces (APIs) and a programming framework for applications in the application layer. The application framework layer includes some predefined functions.
[0162] like Figure 7 As shown, the application framework layer may include window management services, content providers, view systems, phone managers, event managers, notification managers, etc.
[0163] The window management service is responsible for managing all windows in the system. It manages window programs. The window manager can obtain the screen size, determine if a status bar is present, lock the screen, capture screenshots, etc.
[0164] Content providers store and retrieve data, making that data accessible to applications. This data may include videos, images, audio, made and received phone calls, browsing history and bookmarks, phone books, etc.
[0165] A view system includes visual controls, such as controls for displaying text and controls for displaying images. View systems can be used to build applications. A display interface can consist of one or more views. For example, a display interface including a text notification icon could include views for displaying text and views for displaying images.
[0166] A phone manager is used to provide communication functions for electronic devices. For example, it manages call status (including connection and disconnection).
[0167] The notification manager allows applications to display notifications in the status bar. These notifications can be used to deliver informational messages and can disappear automatically after a short pause, requiring no user interaction. For example, the notification manager can be used to notify users of completed downloads or message alerts. The notification manager can also display notifications as icons or scrolling text in the top status bar, such as notifications from background applications, or as dialog boxes on the screen. Examples include displaying text messages in the status bar, emitting sounds, vibrating electronic devices, and flashing indicator lights.
[0168] Runtime can refer to all the code libraries, frameworks, etc., required for a program to run. For example, for the C language, the runtime includes a series of function libraries required for C programs to run. For the Java language, in addition to the core libraries, the runtime also includes the virtual machine required for Java programs to run. The aforementioned core libraries can include the functionalities that the Java language needs to call.
[0169] System libraries can include multiple functional modules. For example: surface manager, media libraries, 3D graphics processing libraries (e.g., OpenGL ES), 2D graphics engines (e.g., SGL), graphics compositors, etc.
[0170] The Surface Manager is used to manage the display subsystem and provides the blending of 2D and 3D layers for multiple applications.
[0171] The media library supports playback and recording of various common audio and video formats, as well as still image files. It supports multiple audio and video encoding formats, such as MPEG4, H.264, MP3, AAC, AMR, JPG, and PNG.
[0172] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
[0173] A 2D graphics engine is a graphics engine for 2D drawing.
[0174] The graphics compositor is responsible for managing and rendering all surfaces of the graphical user interface. It can render, composite, and display images of the user interface.
[0175] The kernel layer is the layer between hardware and software. The kernel layer contains at least the display driver, camera driver, audio driver, and sensor driver.
[0176] In the above-described embodiments, implementation can be achieved entirely or partially through software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented entirely or partially as a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium accessible to a computer or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid-state drive), etc.
[0177] Those skilled in the art will understand that implementing all or part of the processes in the above-described embodiments can be accomplished by a computer program instructing related hardware. This program can be stored in a computer-readable storage medium, and when executed, it can include the processes described in the above-described method embodiments. The aforementioned storage medium includes various media capable of storing program code, such as ROM or RAM, magnetic disks, or optical disks.
[0178] The embodiments of this application have been described in detail above. Specific examples have been used to illustrate the principles and implementation of this application. The descriptions of the embodiments above are only for the purpose of helping to understand the method and core ideas of this application. Furthermore, those skilled in the art will recognize that, based on the ideas of this application, there will be changes in the specific implementation and application scope. Therefore, the content of this specification should not be construed as a limitation of this application.
Claims
1. An application message optimization method, characterized in that, The method is applied to an electronic device, and the method includes: Display a first user interface, which includes an icon for a first application; Upon receiving a first operation on the icon of the first application, a second user interface is displayed. The second user interface includes a first detection option and a first control. The first detection option is an option to perform application message reception delay detection, and the first control is used to perform immediate detection on the first detection option. Upon receiving a second operation on the first control, a third user interface is displayed. The third user interface includes one or more options to be optimized and a second control. The one or more options to be optimized are options to be optimized determined based on the result of the immediate detection, and the second control is used to perform one-click optimization on the selected options to be optimized. Upon receiving a third operation on the second control, one-click optimization is performed on the selected options to be optimized.
2. The method as described in claim 1, characterized in that, The first user interface also includes an icon for the second application, and the method further includes: When a fourth operation is received for the icon of the second application, a fourth user interface is displayed. The fourth user interface includes an optimization pop-up window, which includes optimization content, a third control, and a fourth control. The optimization content includes one or more authorized items to be optimized for the message receiving delay of the application. The third control is used to confirm one-click optimization of the one or more authorized items to be optimized. The fourth control is used to cancel one-click optimization of the one or more authorized items to be optimized. A fifth operation is received for the third control, and one-click optimization of the one or more authorized items to be optimized is performed.
3. The method as described in claim 1 or 2, characterized in that, The third user interface display includes: In response to the second operation, a first instruction is sent to the system manager through the first application. The first instruction is used to instruct the system configuration status information corresponding to the first detection option to be obtained. Based on the system configuration status information corresponding to the first detection option, a third user interface is displayed.
4. The method according to any one of claims 1-3, characterized in that, The one-click optimization of the selected option to be optimized includes: In response to the third operation, a second instruction is sent to the system manager through the first application, the second instruction being used to instruct the optimization of the selected option to be optimized.
5. The method as described in claim 2, characterized in that, The fourth user interface display includes: In response to the fourth operation, a third instruction is sent from the second application to the first application, the third instruction being used to request the system configuration status information corresponding to the application message receiving delay; The first application sends a fourth instruction to the system manager, the fourth instruction being used to instruct the acquisition of system configuration status information corresponding to the application message reception delay; Based on the system configuration status information corresponding to the application message reception delay, a fourth user interface is displayed.
6. The method as described in claim 2, characterized in that, The one-click optimization of the one or more authorization items to be optimized includes: In response to the fifth operation, a fifth instruction is sent from the second application to the first application, the fifth instruction being used to request optimization of the one or more authorization items to be optimized; The first application sends a sixth instruction to the system manager, the sixth instruction being used to instruct the optimization of the one or more authorization items to be optimized.
7. The method according to any one of claims 1-6, characterized in that, The third user interface also includes optimization effect information for the options to be optimized.
8. The method according to any one of claims 1-7, characterized in that, The first application can simultaneously perform one-click optimization of the options to be optimized on multiple instant messaging applications.
9. The method according to any one of claims 1-8, characterized in that, The application message receiving delay detection includes one or more of the following: lock screen notification detection, banner notification detection, and floating window permission detection.
10. The method according to any one of claims 1-9, characterized in that, The second user interface also includes one or more of the following detection options: The second detection option is system performance detection; the third detection option is communication and network detection; the fourth detection option is Bluetooth detection; and the fifth detection option is wireless network detection.
11. An electronic device, characterized in that, include: One or more processors; One or more memories; the one or more memories storing one or more programs, which, when executed by the one or more processors, cause the electronic device to perform the application message optimization method according to any one of claims 1 to 10.
12. A computer-readable storage medium, characterized in that, The computer-readable medium is used to store program code, which, when executed by an electronic device, implements the method described in any one of claims 1-10.
13. A computer program product, characterized in that, The computer program product includes instructions that, when executed by an electronic device, cause the electronic device to perform the method as described in any one of claims 1-10.
Citation Information
Patent Citations
Method and device for optimizing memory of intelligent mobile phone
CN106371897A
Mobile terminal and method for optimizing running state of mobile terminal
CN111182135A
Session message processing method and device
CN112291136A
Data processing method and related equipment
CN117435355A
Data processing method, electronic equipment and storage medium
CN117714403A