Network acceleration scheme adaptation method, electronic equipment, chip system and storage medium
By acquiring and comparing application scenario information in electronic devices, and selecting a suitable network acceleration solution, the problem of pop-up prompts interrupting user use after the network acceleration solution takes effect is solved, resulting in a smoother and more continuous user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- HONOR DEVICE CO LTD
- Filing Date
- 2024-10-31
- Publication Date
- 2026-05-01
AI Technical Summary
In electronic devices, once a network acceleration solution takes effect, applications will display pop-up notifications when they detect network changes, interrupting user access and impacting the user experience.
By acquiring the application's current scenario information and comparing it with existing scenario information, a target network acceleration solution that is compatible with the application is selected. This ensures that after the target network acceleration solution takes effect, the impact on the application interface is lower than the preset level, reducing the interference and interruption of the interface response to the user.
The impact of the network acceleration solution on the application interface has been reduced, improving the smoothness and continuity of the user experience, reducing the number of pop-up interruptions, and enhancing the user experience.
Smart Images

Figure CN121968134A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication technology, and in particular to a network acceleration scheme adaptation method, electronic device, chip system and storage medium. Background Technology
[0002] With the development of network communication technology, more and more applications are installed and running on electronic devices. Many applications need to connect to the network to perform various business functions during operation; for example, electronic devices connect to wireless fidelity (WiFi) networks to play online games and stream videos online.
[0003] Currently, when electronic devices are running applications, if the WiFi network used by the application has poor link quality, the system will activate network acceleration schemes, such as using a network with better signal strength or using multiple network channels, to improve the user's internet experience.
[0004] However, after some network acceleration solutions take effect, applications, upon sensing the network change, will display pop-up notifications, interrupting the user's experience and negatively impacting the application's functionality, potentially leading to a poor online experience. Summary of the Invention
[0005] In view of this, this application provides a network acceleration solution adaptation method, electronic device, chip system and storage medium. By selecting an adapted network acceleration solution, the probability of pop-up windows appearing when the network acceleration solution takes effect can be reduced, thereby reducing the scenarios in which users are interrupted by pop-up windows and improving the continuity and stability of user experience.
[0006] Firstly, a method for adapting a network acceleration solution is provided for application in electronic devices; the method includes:
[0007] When the network communication quality of the electronic device running the first application does not meet the business communication requirements, the current scenario information of the first application is obtained, including the first attribute information of the first application; the first attribute information is compared with the existing scenario information to determine the target network acceleration scheme adapted to the first application; the existing scenario information consists of the second attribute information of the second application, the second prompt information of the second application, and the user's operation information on the second prompt information, stored after the second application is accelerated based on the configured network acceleration scheme; the target network acceleration scheme is used to accelerate the network of the first application so that after the target network acceleration scheme takes effect, the impact of the first application on the interface is lower than a preset level; wherein, the configured network acceleration scheme includes the target network acceleration scheme; the first application and the second application are the same or of the same type.
[0008] The network acceleration solution includes at least one of concurrency acceleration, collaborative acceleration, software acceleration, and network switching acceleration; the adapted network acceleration solution is the network acceleration solution currently selected by the second application.
[0009] By using the above method, based on the network acceleration schemes recorded in the existing scenario information, a target network acceleration scheme adapted to the first application is selected. This ensures that after the target network acceleration scheme takes effect, the impact of the first application on the interface is lower than a preset level, thereby reducing the impact of the first application on the interface. This further reduces the interference of the application's interface response to the network acceleration scheme on the user experience, and reduces the number of times the interface response interrupts the user experience, improving the smoothness and continuity of the user experience. It has strong usability and practicality.
[0010] In one possible implementation of the first aspect, the first application's influence on the interface is less than a preset level, including: after the target network acceleration scheme takes effect, the first application does not display any prompt information on the interface within a preset time period; or, after the target network acceleration scheme takes effect, the first application displays prompt information on the interface within a preset time period, but does not provide any operation information in response to the prompt information.
[0011] In the above-described manner, after the target network acceleration solution takes effect, the first application may not display any prompts on the interface within a preset time period, or there may be no user action information after the prompts are displayed on the interface. This ensures that after the network acceleration solution is enabled, the user will not be interrupted by the prompts displayed by the application, or the user will be unaware of the prompts, i.e., there will be no action information; thus improving the smoothness of the user experience.
[0012] In one possible implementation of the first aspect, the second prompt information includes the first type of pop-up information; after accelerating the second application based on the configured network acceleration scheme, the method further includes:
[0013] Obtain the first operation information or the second operation information input by the user in response to the first type of pop-up information; wherein, the operation information includes the first operation information and the second operation information; the first operation information is used to instruct to continue using the configured network acceleration scheme, and the second operation information is used to instruct to remove the enabled configured network acceleration scheme.
[0014] Specifically, removing the enabled network acceleration scheme means that when the electronic device receives an operation message indicating that the user does not select to use or refuses to use the configured network acceleration scheme, it removes the operation of enabling it, that is, it does not start the configured network acceleration scheme.
[0015] The above method, by storing user operation information in response to prompts, can more comprehensively and accurately record user habits, continuously optimize and improve the reference data and process for selecting network acceleration solutions that are compatible with applications in real time, and is suitable for users' needs for network acceleration solutions for different applications at different stages; based on operation information, it instructs the selection of subsequent target network acceleration solutions, continuously reducing application scenarios where network acceleration solutions trigger application pop-ups that require user operation and interrupt use, thereby improving the adaptability of network acceleration solution selection.
[0016] In one possible implementation of the first aspect, the method further includes:
[0017] When the first type of pop-up message indicates a network switch and the second operation information is received, the current business scenario type is recorded as a high-awareness scenario in the existing scenario information; wherein, the scenario type in the existing scenario information is associated with the second attribute information, the second prompt information and the user's operation information in response to the second prompt information.
[0018] The above method, by marking high-awareness scene information, can more quickly identify scenarios where the use of network acceleration solutions has a significant impact on user experience. This allows for more precise optimization of network acceleration solution adaptation and enhanced analytical capabilities for real-world application scenarios.
[0019] In one possible implementation of the first aspect, the first attribute information is compared with existing scenario information to determine a target network acceleration scheme adapted to the first application, including:
[0020] The first attribute information is compared with the second attribute information in the existing scene information to determine that the scene type of the first application is the high-perception scene associated with the second attribute information; based on the high-perception scene, a target network acceleration scheme adapted to the first application is determined from the existing scene information.
[0021] The first attribute information may include the application identifier of the first application or the business identifier of the current business of the first application.
[0022] The above method, before the first application uses a network acceleration solution, can assess the impact of the first application's current scenario on the user experience based on the correlation between the first application's first attribute information and the second application's attribute information. For example, if an application of the same type or the same as the second application is restarted and the current running scenario is marked as a high-awareness scenario, then a target network acceleration solution adapted to the first application can be selected based on the high-awareness scenario. Alternatively, a network acceleration solution that reduces or eliminates the impact on the user experience can be selected, such as one that does not display any prompts or displays prompts corresponding to no operation information. This improves the flexibility and adaptability of the selection process and optimizes the user experience.
[0023] In one possible implementation of the first aspect, the current scenario information further includes a first prompt message from the first application; when the network communication quality of the electronic device running the first application does not meet the business communication requirements, the method further includes:
[0024] The first prompt message is compared with the first type of pop-up message in the existing scene information to determine the target network acceleration solution that is compatible with the first application.
[0025] In the process of extracting prompt information, key fields can be extracted from the prompt information, and the type of prompt information can be determined based on the semantics of the key fields.
[0026] The above method, by comparing the first prompt information with the first type of pop-up information, can assess the impact of the first prompt information on the user's experience in application scenarios where the same or similar prompt information exists, and then select a network acceleration solution that has less impact on the user's experience.
[0027] In one possible implementation of the first aspect, the method further includes:
[0028] The first prompt message is compared with the second prompt message in the existing scenario information to determine that the scenario type of the first application is the high-awareness scenario associated with the second prompt message; or, when the first prompt message indicates that the service should be restarted, the scenario type of the first application is determined to be the high-awareness scenario; based on the high-awareness scenario, a target network acceleration solution that is compatible with the first application is determined from the existing scenario information.
[0029] By comparing the prompts, the system can quickly and accurately identify the current scenario of the first application, especially when the scenario is a high-awareness scenario. This accuracy ensures that the subsequent network acceleration solution can be optimized according to actual needs. When the first prompt indicates that the service should be restarted, the system can immediately identify that this is a high-awareness scenario, and thus quickly adjust the network acceleration solution to ensure network stability and speed during the service restart process. This timely response helps improve the continuity of the user experience.
[0030] In one possible implementation of the first aspect, the method further includes:
[0031] When the first type of pop-up message indicates a network switch and the first operation information is received, the current scene is recorded as a low-perception scene in the existing scene information.
[0032] The above method, by marking low-perception scenarios, provides more comprehensive and accurate reference data for subsequent adaptation to target network acceleration solutions, continuously reduces the impact of prompts on user experience, and achieves more granular adaptation between network acceleration solutions and applications, until no prompts are displayed after the network acceleration solution takes effect.
[0033] In one possible implementation of the first aspect, the method further includes:
[0034] The first prompt message is compared with the first type of pop-up message in the existing scene information to determine that the scene type of the first application is the low-perception scene associated with the second prompt message; based on the low-perception scene, a target network acceleration scheme adapted to the first application is determined; the target network acceleration method is used to accelerate the network of the first application so that the first application does not display any prompt message.
[0035] In low-perception scenarios, the above method eliminates the need for the first application to display prompts, avoiding unnecessary interruptions and interference. The prompt-free network acceleration process makes the user experience smoother and improves user satisfaction.
[0036] In one possible implementation of the first aspect, the second prompt information includes a second type of pop-up information, and the method further includes:
[0037] When the second type of pop-up information meets the conditions of the prohibition policy, the network acceleration scheme configured to be prohibited is recorded in the existing scenario information; wherein, the conditions of the prohibition policy are that the second type of pop-up information indicates a change in the current network status and the number of times the second type of pop-up information appears meets a preset number threshold.
[0038] The above method allows for the setting of corresponding network acceleration schemes that are prohibited from use in application scenarios where some prompts are likely to cause user misunderstanding. This can reduce the frequency of the second type of pop-up message, decrease the number of times users are misled, and improve the user experience.
[0039] In one possible implementation of the first aspect, the method further includes:
[0040] The first prompt message is compared with the second prompt message in the existing scene information. If the first prompt message meets the prohibition policy, the configured network acceleration scheme is prohibited.
[0041] To avoid users misunderstanding the prompts and triggering unnecessary actions, the above method disables the network acceleration scheme when the first prompt meets the blocking policy, thereby reducing the number of misunderstandings and improving the user experience.
[0042] In one possible implementation of the first aspect, the method further includes:
[0043] The first prompt message is compared with the second prompt message in the existing scene information. If the first prompt message meets the prohibition policy and the current network speed is lower than the preset network speed threshold, the configured network acceleration scheme will continue to be used to accelerate the network of the first application.
[0044] The above method, based on the comparison of prompt information, identifies the same or similar application scenarios. When the network speed is lower than the preset network speed threshold, such as when the network speed is 0 or a few KB, in order to ensure communication quality, the configured network acceleration scheme can continue to be used to accelerate the network, thereby improving the stability and reliability of the network acceleration scheme adaptation process.
[0045] In one possible implementation of the first aspect, the method further includes:
[0046] Based on the configured network acceleration scheme and the application identifier of the second application, an application scenario tag is generated; based on the second prompt information, a prompt tag is generated; the application scenario tag and the prompt tag are sent to the cloud server so that the cloud server stores the application scenario tag and the prompt tag; or, the configured network acceleration scheme, the application identifier of the second application, and the second prompt information are sent to the cloud server to instruct the cloud server to generate an application scenario tag based on the configured network acceleration scheme and the application identifier of the second application, and to generate a prompt tag based on the second prompt information; wherein, the application scenario tag and the prompt tag are used to indicate the target network acceleration scheme that is compatible with the first application.
[0047] In one possible implementation of the first aspect, the method further includes:
[0048] When the first application has not updated its tag, an acceleration policy request is sent to the cloud server. The acceleration policy request is used to instruct the cloud server to return the stored target application scenario tag and target prompt tag corresponding to the first application. Based on the target application scenario tag and target prompt tag returned by the cloud server, the target acceleration policy for the first application is determined. The target acceleration policy is used to determine the target network acceleration scheme that is compatible with the first application.
[0049] The above method reduces resource consumption by setting tags; by storing tags in the cloud server, it facilitates quick setup and adaptation of network acceleration solutions for different devices and users, enhancing the flexibility and convenience of selecting suitable network acceleration solutions for applications.
[0050] In one possible implementation of the first aspect, the method further includes:
[0051] Obtain application scenario tags and prompt tags stored on the cloud server; input the application scenario tags and prompt tags into the AI model, train the AI model, and obtain the trained AI model; based on the trained AI model, refresh the first application corresponding to the disabled network acceleration scheme for the first application that has not been refreshed.
[0052] The above method, based on an AI model, can quickly set the first application to disable network acceleration, which can include multiple applications. Based on the AI model, it can also achieve one-click refresh, quickly setting the disabled scenarios, improving setting efficiency and user efficiency.
[0053] In one possible implementation of the first aspect, the method further includes:
[0054] When the scenario type of the first application meets the high-awareness scenario, it is determined whether there is a configured second network acceleration scheme; if there is, the second network acceleration scheme is used to accelerate the first application; if there is not, the first network acceleration scheme is used to accelerate the first application; wherein, the first network acceleration scheme is the network acceleration scheme used when the first application displays the first prompt information, and the second network acceleration scheme is the target network acceleration scheme.
[0055] In the above method, after the first network acceleration solution takes effect and it is a high-perception scenario, if a second network acceleration solution exists, the first network acceleration solution will be switched to the second network acceleration solution to improve the user experience; if no other second network acceleration solution exists, the first network acceleration solution can continue to be used in order to ensure network quality, thus making it applicable to various application scenarios.
[0056] In one possible implementation of the first aspect, the method further includes:
[0057] The system counts the total number of times the configured network acceleration scheme is activated in the second application; it determines the number of times the configured network acceleration scheme is imperceptible to the user based on the user's operation information in response to the second prompt information; it calculates the user perception score corresponding to the network acceleration scheme used by the first application based on the total number of activations, the number of times the scheme is imperceptible, and the preset user perception score; wherein, the number of times the scheme is imperceptible refers to the number of times the user has no operation information in response to the second prompt information; the user perception score is associated with the second attribute information, the second prompt information, and the user's operation information in response to the second prompt information in the existing scenario information; the user perception score is used to indicate the target network acceleration scheme that is compatible with the first application.
[0058] In the above method, if the application does not display any prompts or the user ignores the prompts (e.g., no operation information) after the network acceleration solution takes effect, the user perception can be determined to be zero. By calculating the user perception score, the impact of the network acceleration solution on user experience can be evaluated more directly, providing a more convenient reference for selecting a target network acceleration solution. For high-perception scenarios (e.g., scenarios with high user perception scores), a network acceleration solution with a low or zero user perception score can be selected for acceleration, continuously reducing the probability of the application issuing prompts due to the network acceleration solution and reducing the number of times user experience is interrupted by prompts.
[0059] In one possible implementation of the first aspect, the method further includes:
[0060] When the network communication quality of the electronic device running the second application does not meet the business communication requirements, a wireless single-link acceleration scheme is used for network acceleration. After network acceleration, if the network communication quality still does not meet the business communication requirements, the system receives operation information from the user to turn off the wireless switch and records the first single-link scenario information. After network acceleration, if the network communication quality meets the business communication requirements, the system records the second single-link scenario information. The first single-link scenario information includes the wireless single-link acceleration scheme, the application identifier of the second application, and operation information. The second single-link scenario information includes the wireless single-link acceleration scheme and the application identifier of the second application. The first and second single-link scenario information are used to indicate the wireless single-link acceleration scheme adapted to the first application.
[0061] The above method can also be applied to application scenarios that use single-link acceleration solutions. Based on the same implementation principle, in single-link acceleration scenarios, prompt information and user operation information are extracted and the scenario information is recorded to provide data support and strategies for subsequent applications when selecting network acceleration solutions, thereby meeting different application scenarios.
[0062] In one possible implementation of the first aspect, after accelerating the second application based on the configured network acceleration scheme, the method further includes:
[0063] When a pop-up window displayed by the second application is detected, the second prompt information displayed in the pop-up window is extracted.
[0064] The above method, by identifying the application's pop-ups and their types, and then extracting the prompts displayed in the pop-ups, can more accurately identify the current scenario and adapt to more accurate target network acceleration solutions in the future, thereby improving the adaptability and breadth of application scenarios.
[0065] Secondly, a network acceleration solution adaptation device is provided, the device comprising:
[0066] The acquisition unit is used to acquire the current scenario information of the first application when the network communication quality of the electronic device running the first application does not meet the business communication requirements. The current scenario information includes the first attribute information of the first application.
[0067] The adaptation unit is used to compare the first attribute information with the existing scene information to determine the target network acceleration scheme that is adapted to the first application; the existing scene information is the second attribute information of the second application, the second prompt information of the second application, and the user's operation information on the second prompt information after the second application is accelerated based on the configured network acceleration scheme.
[0068] The acceleration unit is used to accelerate the network of the first application using the target network acceleration scheme, so that after the target network acceleration scheme takes effect, the impact of the first application on the interface is lower than a preset level; wherein, the configured network acceleration scheme includes the target network acceleration scheme; the first application and the second application are the same or similar types of applications.
[0069] Thirdly, an electronic device is provided, comprising: one or more processors, and a memory; the memory is coupled to the one or more processors, the memory being used to store computer program code, the computer program code including computer instructions, and the one or more processors invoking the computer instructions to cause the electronic device to perform the method as described in the first aspect.
[0070] Fourthly, a chip system is provided, the chip system being applied to an electronic device, the chip system including one or more processors, the one or more processors being configured to invoke computer instructions to cause the electronic device to perform the method as described in the first aspect.
[0071] Fifthly, a computer-readable storage medium is provided, the computer-readable storage medium including instructions that, when executed on an electronic device, cause the electronic device to perform the method as described in the first aspect.
[0072] In a sixth aspect, a computer program product is provided that, when run on an electronic device, causes the electronic device to perform the method described in the first aspect.
[0073] It is understood that the beneficial effects of the second to sixth aspects mentioned above can be found in the relevant descriptions in the first aspect, and will not be repeated here. Attached Figure Description
[0074] Figure 1 This is a schematic diagram of the system architecture involved in various exemplary embodiments of this application;
[0075] Figure 2 This is a schematic diagram of the interface for enabling network acceleration function on an electronic device provided in this application embodiment;
[0076] Figure 3 This is a schematic diagram of the interface for enabling network acceleration function on an electronic device provided in this application embodiment;
[0077] Figure 4 This is a schematic diagram of the interface after the network acceleration solution for electronic devices provided in this application embodiment takes effect;
[0078] Figure 5 This is a schematic diagram of the inter-module interaction of the network acceleration scheme adaptation method provided in the embodiments of this application;
[0079] Figure 6 This is a schematic diagram of the notification information monitoring process after the network acceleration solution provided in this application takes effect;
[0080] Figure 7 This is a schematic diagram of the interface for obtaining prompt information and user operation information provided in an embodiment of this application;
[0081] Figure 8 This is a flowchart illustrating the process of selecting a network acceleration solution for an application scenario, as provided in an embodiment of this application.
[0082] Figure 9 This is a schematic diagram of the prompt message interface after the network acceleration solution provided in this application takes effect;
[0083] Figure 10 This is a schematic diagram of the process for monitoring and prompting information and generating tags provided in the embodiments of this application;
[0084] Figure 11 This is a flowchart illustrating an application scenario of the network acceleration solution provided in this application embodiment;
[0085] Figure 12 This is a schematic diagram of the architecture of the AI model provided in the embodiments of this application;
[0086] Figure 13 This is a schematic diagram of the interface for refreshing disabled scenarios based on an AI model, provided in an embodiment of this application.
[0087] Figure 14 This is a schematic diagram of a single-link network acceleration process provided in an embodiment of this application;
[0088] Figure 15 This is a flowchart illustrating the network acceleration solution adaptation method provided in the embodiments of this application;
[0089] Figure 16 This is a schematic diagram of the network acceleration device structure provided in the embodiments of this application;
[0090] Figure 17 This is a schematic diagram of the hardware system of the electronic device provided in the embodiments of this application. Detailed Implementation
[0091] The technical solutions in the embodiments of this application will now be described with reference to the accompanying drawings.
[0092] It should be understood that "multiple" as mentioned in this application refers to two or more. In the description of this application, unless otherwise stated, " / " indicates "or," for example, A / B can mean A or B; "and / or" in this document is merely a description of the relationship between related objects, indicating that three relationships can exist, for example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Furthermore, to facilitate a clear description of the technical solutions of this application, the terms "first," "second," etc., are used to distinguish identical or similar items with essentially the same function and effect. Those skilled in the art will understand that the terms "first," "second," etc., do not limit the quantity or execution order, and that "first," "second," etc., do not necessarily imply differences.
[0093] References to "one embodiment" or "some embodiments" as described in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.
[0094] First, the application scenarios involved in the embodiments of this application will be introduced.
[0095] Figure 1 A schematic diagram of the system architecture involved in various exemplary embodiments of this application is shown. For example... Figure 1 As shown, the system architecture includes electronic device 10, access point (AP) device 11, network device 12, and server 13. Both AP device 11 and network device 12 can be connected to server 13 via wired connections.
[0096] In some scenarios, electronic device 10 can connect wirelessly to AP device 11 and access a wireless local area network (WLAN) through AP device 11. This allows electronic device 10 to establish a connection with server 13 and exchange data. For example, the WLAN network could be a wireless-fidelity (Wi-Fi) network.
[0097] In other scenarios, electronic device 10 can connect to network device 12 wirelessly and access the cellular network through network device 12, thereby enabling electronic device 10 to establish a connection with server 13 and perform data interaction.
[0098] The electronic device 10 can be a mobile terminal or a non-mobile terminal. For example, a mobile terminal can be a mobile phone, tablet computer, laptop computer, PDA, vehicle terminal, wearable device, ultra-mobile personal computer (UMPC), netbook, or personal digital assistant (PDA), etc., while a non-mobile terminal can be a personal computer (PC), television (TV), ATM, or self-service machine, etc. This application embodiment does not impose specific limitations. For example, the electronic device 10 can be a smartphone with a built-in Wi-Fi module or a computer with a wireless network card. For ease of explanation, this application embodiment uses a mobile phone as an example for illustration.
[0099] Server 13 can be either a web server or an application server.
[0100] Due to unstable network communication quality, such as the potential degradation of network communication quality in a Wi-Fi environment, slow page loading or video playback delays (also known as stuttering) often occur during video playback, webpage display, or gaming scenarios, affecting the user experience.
[0101] Therefore, by enabling the network acceleration function on the phone, when the network communication quality does not meet the needs of business communication, a network acceleration solution can be used to accelerate the network, such as by switching networks or multi-network collaboration, to avoid lag and improve the user experience.
[0102] It should be noted that the above network acceleration solutions for switching networks or multi-network collaboration are merely illustrative examples. The network acceleration solutions in this application embodiment may also include other network acceleration solutions, such as optimizing network settings, switching connection servers and hardware acceleration solutions, third-party network acceleration applications, etc.
[0103] The following describes how to enable network acceleration for electronic devices.
[0104] For example, such as Figure 2 As shown in Figure (a), the settings application displayed on the main interface 21 allows access to... Figure 2 The settings interface 22 shown in Figure (b) is used; based on the settings interface, the WLAN control 221 accesses the settings interface as shown in Figure (b). Figure 2 The WLAN settings interface 23 is shown in Figure (c); the WLAN settings interface 23 displays a network acceleration item 231. If the mobile phone receives the user's operation on the network acceleration item 231, the mobile phone can switch to... Figure 2 The network acceleration settings interface 24 is shown in Figure (d). The network acceleration settings interface 24 displays network acceleration prompts and a network acceleration switch 241.
[0105] The network acceleration prompts allow applications to connect to two WLANs simultaneously or use both WLAN and mobile data for network acceleration. Examples include concurrent acceleration (multi-channel download option 242) and collaborative acceleration (intelligent acceleration and custom options).
[0106] The network acceleration switch 241 can be triggered to enable or disable network acceleration based on user input. When network acceleration is enabled, it can also display the mobile data consumed this month due to network acceleration. When the network acceleration settings interface 24 receives user input on the multi-channel download item 242, the phone can switch to... Figure 2 The interface 25 shown in Figure (e) includes a multi-channel download switch 251, which triggers the network acceleration scheme for multi-channel download based on the user's input to the switch 251.
[0107] The custom options can include one or more applications that support network acceleration. Whether an application supports network acceleration can be determined by the system or by the user.
[0108] For example, the WLAN settings interface 23 also includes more WLAN settings items. If the phone receives user operations on these more WLAN settings items, it can switch to such... Figure 2 The interface 26 shown in Figure (f) includes a WLAN+ switch 261. When the user inputs an operation on the switch 261, the WLAN+ function is activated. When the WLAN+ function is activated, the function item "Automatically enable WLAN and network communication quality assessment" is displayed.
[0109] The network communication quality assessment option is used to assess the quality of the currently connected network.
[0110] For example, such as Figure 3 As shown in Figure (a), the phone opens the application (APP) and displays the application's interface 31. Figure 3As shown in Figure (b), when the mobile phone detects that the network communication quality does not meet the business communication requirements, the mobile phone displays a pop-up window 32. The pop-up window 32 displays a prompt message on whether the application should enable network acceleration, as well as the enable control, cancel control and go to settings control.
[0111] Accordingly, the pop-up window 32 prompts the user whether network acceleration is needed and awaits user confirmation. The user can confirm network acceleration by clicking the enable control. Alternatively, the user can click the "Go to Settings" control to switch the phone to the WLAN settings interface, where they can configure the network acceleration function or view related information, thus enabling the phone's network acceleration function.
[0112] It should be noted that the above-described method of enabling network acceleration is only illustrative. In actual applications, other operations, such as swiping or voice operation, can also be used to enable the phone's network acceleration function. This application embodiment does not limit this.
[0113] The following section introduces application scenarios after enabling network acceleration solutions to address network communication quality fluctuations.
[0114] like Figure 4 As shown in Figure (a), when a mobile phone is connected to a Wi-Fi network and playing a video through a video application, the network communication quality of the Wi-Fi link fluctuates, and the video cannot be loaded normally. When the mobile phone has network acceleration enabled, it uses a network acceleration scheme to accelerate the network, such as using cellular network acceleration. After the network acceleration scheme takes effect, the video application detects the network change and displays a pop-up message "Currently not on Wi-Fi network, continuing to watch will use xx data" and a continue playback control. The user can choose to continue playing using the above network acceleration scheme (i.e., using cellular network) or turn off the cellular network switch and not use the above network acceleration scheme to continue using the Wi-Fi network.
[0115] like Figure 4 As shown in Figure (b), when a mobile phone connects to a Wi-Fi network, launches a game application, and is in the middle of a game, the network communication quality of the Wi-Fi link fluctuates, causing the game to lag. If the mobile phone has network acceleration enabled, it will use a network acceleration scheme to accelerate the network, such as using cellular network acceleration. After the network acceleration scheme takes effect, the game application will detect the network change and display a pop-up message "Reconnecting, do not leave" and a cancel control. Then the game will restart.
[0116] In the above application scenarios, after the network acceleration function of an electronic device is enabled, when the network communication quality does not meet the business communication requirements, the electronic device will adopt an appropriate network acceleration solution to improve the user experience. However, after the network acceleration solution takes effect, the application will detect the network change and prompt the user through a pop-up window to confirm whether to continue using the network acceleration solution, requiring further confirmation from the user and interrupting the user's usage. In some gaming scenarios, the pop-up window may also trigger the game application to restart the game, thus affecting the user's experience and resulting in a poor internet browsing experience.
[0117] To address the aforementioned technical problems, this application provides a network acceleration solution adaptation method. This method addresses the issue of network lag caused by unstable network connections when an electronic device is running a certain type of application (e.g., games, videos, or downloads). Based on existing scenario information, a network acceleration solution adapted to the first application is selected for network acceleration. This improves network communication quality without the user being aware of the network acceleration solution being enabled, making the selected solution more aligned with user habits and thus providing a better internet browsing experience.
[0118] The execution subject of the network acceleration scheme adaptation method provided in this application embodiment can be the aforementioned electronic device, or it can be a functional module and / or functional entity in the electronic device that can implement the network acceleration scheme adaptation method. Furthermore, the technical solution of this application can be implemented by hardware and / or software, and the specific implementation can be determined according to actual usage requirements. This application embodiment does not impose any limitations.
[0119] The following description uses an electronic device as an example, with reference to the accompanying drawings, to illustrate the network acceleration scheme adaptation method provided in the embodiments of this application.
[0120] First, the various modules involved in the network acceleration scheme adaptation method provided in the embodiments of this application and the interaction process between the modules are described by way of example.
[0121] Because different applications have different network requirements, the network acceleration solution selected may differ when network lag occurs during application operation; different applications will also respond differently after the network acceleration solution takes effect. Therefore, this application embodiment monitors the application's response and / or the user's different operations in response to the application after the network acceleration solution takes effect, and evaluates the network acceleration solution used by the application based on this, such as whether it generates a prompt message that interrupts the user's usage process and interferes with the user's experience. Based on the interference caused to the user's experience, the application dynamically adjusts the network acceleration solution that can be used in the future, and selects a network acceleration solution that is more suitable for the application to accelerate it, so as to reduce the impact on the user caused by the application's interface response (such as displaying a prompt message in the interface through a pop-up window) when the network acceleration solution takes effect. For example, if there is no prompt message within a preset time after the network acceleration solution takes effect, or if no operation information is received from the user in response to the prompt message after it appears.
[0122] Please participate Figure 5 , Figure 5 This is a schematic diagram illustrating the inter-module interaction of the network acceleration solution adaptation method provided in this application embodiment. In this application embodiment, the functional modules involved may include a network acceleration enabling module, an application response monitoring module, and a network acceleration selection module.
[0123] The network acceleration enabling module is used to accelerate the running application when the network communication quality does not meet the business communication requirements during application operation, based on the selected network acceleration scheme. The application response monitoring module monitors the application's response status after the network acceleration scheme takes effect and stores the current scenario information based on the application's response status and its identifier or type. The network acceleration selection module selects and adjusts the application's network acceleration scheme based on the scenario information stored in the application response monitoring module.
[0124] For example, after the network acceleration scheme takes effect, the network acceleration enabling module sends a notification to the application response monitoring module, informing the application response monitoring module to start monitoring the application's response status. Upon receiving the notification, the application response monitoring module begins monitoring the application's response status. For instance, when it detects an application displaying a pop-up window, it extracts the prompt information displayed in the pop-up window and stores this prompt information as the application's prompt information for that network acceleration scheme. The network acceleration scheme selection module is used to retrieve the stored applications and their prompt information when network lag occurs in the application, and based on the stored applications and their prompt information, select a network acceleration scheme suitable for the application. When lag occurs during application operation, it feeds back the selected network acceleration scheme to the network acceleration enabling module.
[0125] The network acceleration scheme configured in the electronic device can include the network acceleration scheme configured during application development, the network acceleration function configured in the electronic device, and the network acceleration scheme supported by the system and application, such as the network acceleration scheme set by a third-party acceleration application. When network congestion occurs during application operation, the network acceleration selection module can call any form of network acceleration scheme through an interface to accelerate the application's network. This application does not specifically limit the configuration method of the network acceleration scheme; the electronic device can be configured with multiple network acceleration schemes based on actual application needs.
[0126] Based on the above functional modules, the implementation process of this application embodiment will be exemplarily described below, taking an electronic device configured with network acceleration scheme A and network acceleration scheme B as an example. In practical application scenarios, various network acceleration schemes such as network acceleration scheme C and network acceleration scheme D may also be included, and no specific limitation is made here.
[0127] The following section, with reference to the accompanying diagrams, describes the process of monitoring application response and collecting scenario information after the network acceleration solution takes effect.
[0128] like Figure 6 The diagram illustrates the response monitoring process after the network acceleration solution provided in this application takes effect. This process may include the following steps:
[0129] S601, the electronic device recognizes that the network communication quality of the current Wi-Fi link does not meet the business communication requirements, and selects network acceleration scheme A to accelerate the network.
[0130] In this embodiment, when the network communication quality of the application running on the electronic device does not meet the business communication requirements, network acceleration is performed by invoking a configured network acceleration scheme and using the first network acceleration scheme (i.e., network acceleration scheme A). The first network acceleration scheme can be any of the above, such as switching networks, multi-network collaboration, optimizing network settings, or switching connection servers.
[0131] For example, during operation, an application can actively detect the communication quality of the current network; or, an electronic device can sense the communication quality of the current network through a network monitoring module; the current network can be a Wi-Fi network, a cellular network (or mobile data network), or any other possible network. For ease of explanation, the following example uses a Wi-Fi network as an example.
[0132] The aforementioned applications are those installed on electronic devices, such as game applications, video playback applications, download applications (e.g., app stores or marketplaces), or any other possible applications. For ease of explanation, video playback applications will be used as an example below.
[0133] For example, assuming the electronic device is connected to a Wi-Fi network, when the user triggers the opening of a video playback application M on the electronic device, the electronic device opens and runs the video playback application M. During video playback, the electronic device sends business data related to the video playback application M to the server corresponding to the video playback application M through the Wi-Fi network, or receives business data related to the video playback application M sent by the server through the Wi-Fi network.
[0134] Due to unstable network communication quality, video playback or gaming may experience stuttering during electronic device use due to degraded network quality. Therefore, it's crucial to periodically or in real-time assess whether network communication quality meets business communication requirements while electronic devices are running applications to determine if network stuttering is likely. When network communication quality fails to meet business communication requirements, it indicates potential network stuttering. In such cases, network acceleration can be implemented to prevent stuttering.
[0135] For example, the overall quality of network services can be measured using Quality of Experience (QoE) or Quality of Service (QoS). That is, QoE and / or QoS parameters are used to assess whether the network communication quality meets the business communication requirements.
[0136] Among them, QoE parameters can include technical parameters such as packet loss rate, latency, and latency jitter; QoS parameters can include parameters such as system throughput, signal strength, network transmission stability, reliability, transmission latency, transmission bit rate, bit error rate, transmission failure rate, and security.
[0137] Accordingly, in this embodiment, the network communication quality can be determined based on the QoE or QoS evaluation results to see if it meets the service communication requirements, and thus determine whether network acceleration needs to be triggered. For example, if the network communication quality is determined not to meet the communication requirements, network acceleration needs to be triggered.
[0138] In some embodiments, if an electronic device detects a decrease in the data transmission rate through the current network, it determines that the network communication quality has deteriorated, that is, it determines that the current network communication quality does not meet the service communication requirements.
[0139] When the current network communication quality does not meet the business communication requirements, the electronic device can automatically trigger the application to perform network acceleration. That is, it allows the network acceleration function to be started during the current business process of the application, and uses the corresponding first network acceleration scheme (i.e. network acceleration scheme A) to perform network acceleration through the network acceleration enable module.
[0140] For example, different applications have different network requirements. Game applications require low-latency network connections, while video playback applications may require high-bandwidth network connections. The first network acceleration solution is for the network acceleration enablement module to invoke a network acceleration solution based on the application's network requirements through an integrated network acceleration service interface.
[0141] For example, the first network acceleration solution can be a network acceleration solution configured in an application, a network acceleration solution configured in the system of an electronic device, or a network acceleration solution integrated by a third-party acceleration application installed in the electronic device. All of the above can be collectively referred to as network acceleration solutions configured in electronic devices; the specific configuration form of the network acceleration solution is not limited.
[0142] S602, monitors application pop-up windows.
[0143] S603: After network acceleration scheme A takes effect, does a pop-up notification appear within a preset time period? If yes, proceed to S604; otherwise, end the process.
[0144] S604: Extract the key fields of the prompt information, the active components of the current application, and network acceleration scheme A, and store them.
[0145] In this embodiment, after the first network acceleration solution (such as network acceleration solution A) takes effect, the application's pop-up window status is monitored to obtain the application's current service prompts and / or the user's operation information in response to the prompts. The application displays prompts or options through pop-ups to guide the user to make decisions or perform operations related to the activated network acceleration solution.
[0146] For example, application pop-ups can include modal pop-ups and non-modal pop-ups. Modal pop-ups interrupt user operations (such as in game applications, when a network acceleration solution takes effect, a pop-up message is displayed to interrupt the game process or restart the game), requiring the user to respond, make a decision, or take action; otherwise, they cannot continue other operations. Non-modal pop-ups are used to display changes in the application state, providing immediate feedback or notifications. After a certain period of time, they can disappear automatically without user intervention, or provide a function button for the user to select and use, which may mislead the user into triggering a network connection update.
[0147] The prompts displayed through modal pop-ups can be classified as the first type of pop-up information, while the prompts displayed through non-modal pop-ups can be classified as the second type of pop-up information.
[0148] For example, when the application uses the first network acceleration solution to accelerate the network, the electronic device can start a command-line tool (such as Android debug bridge (ADB) logs) to monitor the appearance of the pop-up, or use a user interface (UI) automated testing tool to monitor the appearance of the pop-up, such as monitoring and recording the type of the pop-up (modal or non-modal), the time of appearance, and the triggering conditions.
[0149] For example, an electronic device can also call the operating system's application programming interface to obtain the size and position information of the window, and then determine whether a pop-up window appears, or whether the window that appears is a pop-up window, based on the obtained window size and position information.
[0150] For example, after the network acceleration enabling module enables the first network acceleration scheme, it will send a notification to the application response monitoring module to inform the application response monitoring module that the network acceleration scheme has taken effect. After receiving the notification, the application response monitoring module can start a timer to start timing and begin monitoring the application's pop-up status.
[0151] Accordingly, the timer can be set to a preset duration, such as 1 minute; after receiving the notification that it has taken effect, the application response monitoring module starts the timer to monitor the application's pop-up activity within the preset duration.
[0152] For example, when an electronic device detects a pop-up window from an application, it can identify the content displayed in the pop-up window (such as a prompt message) through screenshots and optical character recognition (OCR); or, it can use a UI automation testing tool to access and extract information about UI elements based on the interface provided by the automation testing tool, such as obtaining information about UI elements such as the text content of the pop-up window and button labels.
[0153] Accordingly, by recognizing the content displayed in the pop-up window, key fields of the content are extracted, such as... Figure 4 As shown in Figure (a), the key field to be extracted can be "non-WiFi network, using xx data", such as Figure 4 As shown in Figure (b), the key field extracted can be "reconnection". The key fields extracted above are only illustrative examples and are not specific limitations. They can be extracted according to the response situation of the actual application.
[0154] For example, the electronic device obtains the name of the currently running application and its currently running activity through the Activity Manager Service (AMS) to determine the current business scenario in which the application uses the network acceleration solution. When the network acceleration enablement module sends a notification to the application response monitoring module that the solution has taken effect, it can also carry the identifier of the first network acceleration solution, such as the name of the first network acceleration solution, like network acceleration solution A. The electronic device records and stores the key fields extracted above, the application's active components, and the information of the effective network acceleration solution, so as to provide data reference when the network communication quality is poor and a network acceleration solution needs to be used again.
[0155] The application can include various activity components to implement different business functions; for example Applications can include chat components to implement chat services, and video components to implement video playback services. Therefore, depending on the different activity components of the application, when network communication quality does not meet the business communication requirements, electronic devices can enable different network acceleration solutions to accelerate the network. Thus, when saving the above scenario information, the application's activity components can also be recorded to adapt the network acceleration solution to different business scenarios of the application.
[0156] In some embodiments, when an electronic device detects that an application's pop-up is a modal pop-up, it can also obtain user operation information related to that modal pop-up. For example... Figure 7 As shown in Figure (a), taking a video application as an example, when the video application displays a pop-up window on the display interface 71, the pop-up window may include controls for user operation, such as a continue playback control 711. When the user clicks on the continue playback control 711, it indicates that the user agrees to use mobile data to continue playing the video. The first network acceleration scheme currently in effect for the application has a small impact on the application's interface response, and can be recorded as "agree to use". Correspondingly, in the next application running the same business scenario, if the network communication quality does not meet the business communication requirements, the first network acceleration scheme can continue to be used for network acceleration.
[0157] like Figure 7As shown in Figure (b), taking a video application as an example, when the video application displays a pop-up window with a prompt message on the display interface, it receives a pull-down operation from the user on the control center interface 72. This control center interface 72 includes a network connection switch control, such as the cellular network switch control 721. When the user clicks on this switch control 721, the cellular network is turned off, indicating that the user does not agree to continue playing the video using mobile data. Thus, in this business scenario, using the first network acceleration solution, the application's interface response has a significant impact on the user, requiring the user to manually turn off the cellular network to return to the video playback interface. This can be marked as "disagree to use," meaning that using the first network acceleration solution to accelerate the application does not meet the user's expectations and habits, and the first network acceleration solution is not the optimal solution. This application scenario is considered a high-perception scenario for user experience. Among these, the scenario where the interface response of the application corresponding to the effective network acceleration solution has a significant impact on the user experience is the one where the network acceleration solution is applied.
[0158] Correspondingly, when the application runs the same business scenario again and the network communication quality does not meet the business communication requirements, based on the saved information, other second network acceleration solutions (such as network acceleration solution B) can be selected to accelerate the network of the application.
[0159] In the aforementioned application scenarios, electronic devices can also count the number of times users interact with prompts, and assess the scenario as low-perception, high-perception, or unperceptible based on the count. For example, if five consecutive user interactions consistently involve choosing to use mobile data to continue playback and ensure a smooth video viewing experience, it is assessed as a low-perception scenario. Further optimization using alternative network acceleration solutions can further reduce user awareness, i.e., minimizing the impact of the application's interface response to network acceleration on the user experience. This could be achieved by monitoring pop-up windows and selecting a network acceleration solution that provides network acceleration without pop-ups. Conversely, if five consecutive user interactions consistently involve choosing to use Wi-Fi instead of switching to mobile data, the current scenario using this network acceleration solution is assessed as a high-perception scenario.
[0160] In other embodiments, the prompt information displayed in the pop-up window can be used to determine that the application scenario is a high-awareness scenario, such as... Figure 4As shown in Figure (b), when the network communication quality does not meet the business communication requirements during the operation of this game application, a network acceleration solution is invoked to accelerate the network. After the network acceleration solution takes effect, a pop-up window appears and prompts that the network is being reconnected, interrupting the current business scenario. The user defaults to using the network acceleration solution (without selecting to cancel, i.e., the user has no operation) and restarts a new game. In this application scenario, without receiving user operation information, based on the prompt information and the running status of the application (such as the life cycle of activity components), the current business scenario using the network acceleration solution is evaluated as a high-awareness scenario and marked as a high-awareness scenario.
[0161] Correspondingly, when the application runs the same business scenario again and the network communication quality does not meet the business communication requirements, based on the saved information, other second network acceleration solutions (such as network acceleration solution B) can be selected to accelerate the network of the application.
[0162] For example, if the electronic device does not detect the pop-up window within a preset time after the network acceleration solution takes effect, then the network acceleration solution is imperceptible to the user, and the current business scenario using the network acceleration solution is marked as an imperceptible scenario. Accordingly, the network acceleration solution can continue to be used for network acceleration in the future.
[0163] In other words, the user's perception of the network acceleration solution after it takes effect can be evaluated through prompts, or the user's operation information in response to the prompts and the number of times the operation information occurs can be used to evaluate the user's perception of the network acceleration solution after it takes effect, thereby identifying high-perception scenarios.
[0164] By collecting the above scenario information, the current business, prompt information, operation information, and the first network acceleration solution of the application are stored as the scenario information corresponding to the current business of the application, thus obtaining the stored scenario information.
[0165] For example, the existing scenario information may include: S1 = {Application A, Service a, Network Acceleration Solution 1, Scenario Type 1: Low-awareness scenario}, S2 = {Application A, Service a, Network Acceleration Solution 2, Scenario Type 2: High-awareness scenario}, S3 = {Application A, Service a, Network Acceleration Solution 3, Scenario Type 3: Unawareness scenario}; correspondingly, it may also include T1 = {Application A, Service a, Network Acceleration Solution 1, Prompt Message 1, Scenario Type 1: Low-awareness scenario}, T2 = {Application B, Service b, Network Acceleration Solution 2, Prompt Message 1, Scenario Type 2: High-awareness scenario}; or, it may also include: X1 = {Application A, Service a, Network Acceleration Solution 1, Prompt Message 1, Operation Information 1, Scenario Type 1: Low-awareness scenario}, X2 = {Application A, Service a, Network Acceleration Solution 2, Prompt Message 2, Operation Information 2, Scenario Type 1: High-awareness scenario}. Alternatively, the existing scenario information may also include: Y1 = {Application A, Service a, Network acceleration solution 1, Prompt message 1, Operation message 1 (5 consecutive times), Scenario type 1: Low-awareness scenario}, Y2 = {Application A, Service a, Network acceleration solution 2, Prompt message 2, Operation message 2 (10 consecutive times), Scenario type 1: High-awareness scenario}.
[0166] The above classification can be based on similar applications, similar business scenarios, the same network acceleration solutions, similar prompts, or similar operational information to categorize existing scenario information sets. For example, S1, S2, and S3 can be categorized based on the same application and business, while T1 and T2 can be categorized based on similar prompts. Specifically, the same business scenario of one application can correspond to different scenario types after different network acceleration solutions are implemented; similar business scenarios of different applications can correspond to different scenario types after different network acceleration solutions are implemented. The specific classification can be determined based on the application's prompts and / or the user's operational information.
[0167] For example, the above embodiments only illustrate the use of network acceleration scheme A for network acceleration. In actual application scenarios, network acceleration scheme B can also be used for network acceleration, and the same implementation principle is adopted to monitor the application's response after network acceleration scheme B takes effect and save the corresponding scenario information.
[0168] The above describes how electronic devices, through the application response monitoring module, collect and store scene information after the network acceleration solution takes effect on the application. Based on the stored scene information, the system evaluates the application's interface response to the network acceleration solution (such as displaying prompts in pop-up windows) after the solution takes effect, assesses the user's perception (or degree of impact) of the network acceleration solution, and marks high-perception scenarios of the network acceleration solution relative to the user's usage.
[0169] The following, in conjunction with the accompanying drawings, further describes the specific implementation process of accelerating the network by invoking an adapted network acceleration scheme based on stored scene information through an embodiment.
[0170] like Figure 8 As shown, when the configured network acceleration scheme stores the scene information after the application takes effect, the implementation process may include S801 to S806.
[0171] S801, the electronic device recognizes that the network communication quality of the current WiFi link does not meet the business communication requirements.
[0172] The principle behind identifying network communication quality that does not meet business communication requirements in this step is the same as the identification principle in S601, and will not be repeated here.
[0173] S802 reads the high-awareness scenarios corresponding to the applications identified in the database.
[0174] In this embodiment, after the network acceleration solution takes effect, the electronic device monitors the pop-up window status of the application, identifies and extracts the prompt information displayed in the pop-up window, obtains the user's operation information in response to the prompt information, and saves it as scene information in the database. The electronic device can also mark the characteristics of high-awareness scenes based on the saved scene information. For example, the electronic device marks high-awareness scenes based on the user's operation information in response to the prompt information; or, it can directly mark high-awareness scenes based on the prompt information in the pop-up window.
[0175] The high-awareness scene corresponding to the application being read can be either the existing scene information corresponding to the currently running first application, or the existing scene information corresponding to other applications of the same type as the first application.
[0176] For example, when an electronic device recognizes a prompt indicating a switch from the current first network to a second network for network acceleration, and receives a message from the user indicating that the second network has been turned off, the device marks this application scenario as a high-awareness scenario. Figure 7 The application scenario shown in Figure (b) is an example of this scenario; or, if an electronic device recognizes a prompt message indicating reconnection and receives feedback from AMS regarding changes in the lifecycle of the activity component (e.g., the original activity is destroyed while a new activity is created to represent a new game session), then the scenario information for this application scenario is marked as a high-awareness scenario. Figure 4 The application scenario is shown in Figure (b).
[0177] S803: The electronic device determines whether the activity component of the first application experiencing lag belongs to a high-awareness scenario. If yes, proceed to S804; otherwise, proceed to S806.
[0178] First application scenario: Before using the first network acceleration solution, the first application determines the scenario type of the current business scenario by comparing the application representation or type, or business identifier or type, with the existing scenario information.
[0179] In one possible implementation, when the electronic device identifies that the network communication quality of the first application does not meet the business communication requirements, it can obtain the first scenario information corresponding to the first application. The first scenario information may include the business scenario corresponding to the first application before the first network acceleration solution takes effect. For example, the electronic device obtains the identifier or type of the first application and the identifier or type of the business currently running by the first application through AMS.
[0180] For example, if network communication quality does not meet business communication requirements, before the currently running first application uses a network acceleration solution, the electronic device can compare the identifier or type of the first application (or the business identifier or type currently running the first application) with the application type (or business type) in the existing scenario information to determine whether the business scenario running the first application is a high-awareness scenario. Specifically, the existing scenario information associates scenarios marked as high-awareness with application identifiers or types (or business identifiers or types), thus allowing for determination of whether a scenario belongs to the high-awareness category based on the comparison results.
[0181] For example, for a video application M, if the electronic device has stored scenario information indicating that when the network is slow, network acceleration scheme A is activated to accelerate the network (e.g., switching from the first network to the second network for network acceleration), and the user chooses to turn off the second network, then this application scenario is marked as a high-awareness scenario. Correspondingly, if another video application N experiences network slowdown during operation, the electronic device can determine that the current video application N's service scenario is a high-awareness scenario based on the fact that video application N and video application M are of the same type (video application M is marked as a high-awareness scenario in the stored scenario information), or that the service currently running video application N is of the same type as the service type of the high-awareness scenario in the stored scenario information.
[0182] Accordingly, when the existing scenario information does not include the scenario information of the current first application, before the first network acceleration solution takes effect, the electronic device determines whether the business scenario of the currently running first application is a high-awareness scenario based on the existing scenario information corresponding to other applications. If the current first application is an application in the existing scenario information, and the current business of the first application using the first network acceleration solution is a high-awareness scenario according to the existing scenario information, before the first network acceleration solution takes effect, the electronic device can determine that the current business scenario is a high-awareness scenario based on the name of the first application and the name of the business. Then, it can select a second network acceleration solution other than the first network acceleration solution for network acceleration; or, after comparison, it can perform network acceleration based on the network acceleration solution associated with the non-awareness scenarios marked in the existing scenario information.
[0183] Second application scenario: After the first application uses the first network acceleration solution, it determines the scenario type of the current business scenario by comparing the pop-up prompt information with the existing scenario information.
[0184] In another possible implementation, when the electronic device detects that the network communication quality of the first application does not meet the business communication requirements, the first application uses a first network acceleration scheme to accelerate the network. After the first network acceleration scheme takes effect, the electronic device can obtain the first scenario information corresponding to the first application. This first scenario information may include the prompt information issued by the first application after the first network acceleration scheme takes effect, as well as information about the first network acceleration scheme. For example, this first scenario information can be monitored and obtained through an application response monitoring module.
[0185] For example, when network communication quality does not meet business communication requirements, the currently running first application activates the first network acceleration scheme; after the first network acceleration scheme takes effect, the first application displays a pop-up window and a prompt message. The electronic device compares this prompt message with the prompt messages in the stored scenario information; based on the application type or name associated with the prompt message in the stored scenario information, and one or more of the name, prompt message, or operation information of the first network acceleration scheme, and the marked scenario type (such as an unperceived scenario, a low-perceived scenario, or a high-perceived scenario), it determines whether the active component of the currently running first application is using the first network acceleration scheme in a high-perceived scenario.
[0186] Specifically, the system compares the prompts in the first scenario information with existing scenario information to determine whether the current service's use of the first network acceleration solution meets the high-awareness scenario information in the existing scenario information, thereby determining whether the current service scenario is a high-awareness scenario. For example, if the prompts in the first scenario information are the same as or have a similarity to the prompts marked as high-awareness scenarios in the existing scenario information, the current service scenario is determined to be a high-awareness scenario.
[0187] For example, if the first network acceleration solution is used in the current business, and a pop-up message instructs the first application to restart the current business, the electronic device determines that the use of the first network acceleration solution in the current business meets the high-awareness scenario information in the existing scenario information, and the current business scenario is a high-awareness scenario.
[0188] Accordingly, after the first network acceleration solution takes effect, the application sends a pop-up window and displays a prompt message. Based on information comparison, if the current business scenario is determined to be a high-awareness scenario, it can immediately switch to another network acceleration solution for network acceleration. When switching to another second network acceleration solution, the pop-up window disappears. The application's response after switching network acceleration solutions is monitored. If the switched network acceleration solution does not have a pop-up window, the correspondence between the network acceleration solution and the business scenario is marked, and it is marked as a non-awareness scenario. Subsequently, in the same business scenario, the network acceleration solution associated with the non-awareness scenario can be selected based on the application identifier or type and the business identifier or type. Alternatively, when user habits or user scenarios change, the network acceleration solution can be adjusted based on the application's response after the network acceleration solution takes effect.
[0189] In the case of a high-perception scenario, other network acceleration solutions can be network acceleration solutions marked as associated with low-perception scenarios or network acceleration solutions associated with non-perception scenarios from the existing scenario information. The solutions can be adapted based on the network acceleration solutions configured in the actual application scenario and the existing scenario information to reduce the user's perception of the network acceleration solution.
[0190] For example, the labeling of scenario types in the existing scenario information can be dynamically adjusted based on changes in user habits and usage scenarios. For instance, in the first half of each month, when cellular data traffic is relatively abundant, the user's perception of network acceleration solutions through network switching is relatively low. Accordingly, the scenario type is labeled as a low-perception scenario, and the user can choose this network switching method for network acceleration, or choose an acceleration solution that eliminates the perception of network switching. In the second half of the month, when cellular data traffic is insufficient or limited, the user is more sensitive to network acceleration solutions through network switching and has a stronger perception of them. Accordingly, the scenario type is labeled as a high-perception scenario, and the user can choose not to select this network switching acceleration solution in the future.
[0191] Third application scenario: After the first network acceleration solution takes effect, the scenario type of the current business scenario is determined based on the pop-up prompt information and the user's operation information in response to the prompt information.
[0192] In another possible implementation, when the electronic device detects that the network communication quality of the first application does not meet the business communication requirements, the first application uses a first network acceleration scheme to accelerate the network. After the first network acceleration scheme takes effect, the electronic device can obtain the first scenario information corresponding to the first application. This first scenario information may include the prompt information issued by the first application after the first network acceleration scheme takes effect, the user's operation information in response to the prompt information, and information about the first network acceleration scheme. For example, this first scenario information can be monitored and obtained through an application response monitoring module.
[0193] For example, after obtaining the first scenario information of the first application, the first scenario information can be compared with the existing scenario information. If there is no identical or similar prompt information and operation information in the existing scenario information, the scenario type is determined by comparing the application identifier or type (or business identifier or type) of the first application with the existing scenario information. If there is identical or similar prompt information and operation information in the existing scenario information, the prompt information and operation information in the first scenario information are compared with the prompt information and operation information in the existing scenario information to determine the scenario type.
[0194] If the prompt information and operation information are the same or of the same type, then the scenario type corresponding to the first scenario information is determined to be the same as the scenario type of the existing scenario information. If one of the information is different, the scenario type of the current business scenario can also be determined based on the content of the prompt information or the content of the operation information. For example, if the prompt information is as follows... Figure 4 When the content shown in Figure (b) is presented, it is determined to be a high-perception scene, and the operation information is as follows: Figure 7 The operation shown in Figure (b) (turning off the network switch) is identified as a high-awareness scenario.
[0195] Alternatively, when the first application uses the first network acceleration solution, a pop-up window will be displayed to prompt the user to input second operation information in response to the prompt. The second operation information is used to indicate that the first network acceleration solution should not be used. The electronic device can determine that the current business meets the conditions of a high-awareness scenario by using the first network acceleration solution without comparing information. The current business scenario is a high-awareness scenario.
[0196] Specifically, when the pop-up window displays a prompt indicating a network switch, and the user's first action information in response to the prompt is received, if the prompt and action information meet the conditions for a low-awareness scenario (such as determining to use the network switching acceleration solution), the current business scenario is determined to be a low-awareness scenario; if the prompt and action information meet the conditions for a high-awareness scenario (such as reconnecting to the network or turning off the network switch), the current business scenario is determined to be a high-awareness scenario.
[0197] For low-perception scenarios, you can try switching the currently active first network acceleration solution to the second network acceleration solution, or using another second network acceleration solution subsequently, so that the user is unaware of the network acceleration solution being used by the application, i.e., the user perception is zero. For high-perception scenarios, switch the currently active first network acceleration solution to the second network acceleration solution, or use another second network acceleration solution subsequently, so that the user is unaware of the network acceleration solution being used by the application, or even unaware of it, i.e., the user perception is zero.
[0198] Accordingly, for this third application scenario, after the network acceleration solution takes effect, when the first application displays a pop-up window and a prompt message, and when the user's operation information in response to the prompt message is obtained, and the current business scenario is determined to be a high-awareness scenario, other second network acceleration solutions can also be selected. That is, the first network acceleration solution is disabled, and the second network acceleration solution is selected for acceleration to achieve seamless network acceleration. After using the second network acceleration solution, the application's response status is monitored and scenario information is collected.
[0199] In step S804, the electronic device determines whether other network acceleration solutions exist. If they do, step S805 is executed; otherwise, the process ends.
[0200] S805, select network acceleration solution B for network acceleration.
[0201] For example, electronic devices can be configured with different network acceleration schemes. In a high-awareness scenario, the electronic device can also check if there are other available second network acceleration schemes in the configuration. If other second network acceleration schemes exist, they are invoked for acceleration, such as using a second network acceleration scheme (e.g., network acceleration scheme B). If no other second network acceleration scheme exists, this process ends, and the currently active or default network acceleration scheme can be used to ensure the user's network usage needs are met.
[0202] In some embodiments, the existing scene information may also include non-perceptible scene information, that is, after the network acceleration solution takes effect, no pop-up window or corresponding prompt information is displayed, and the electronic device can record and store the information of the current first application and the network acceleration solution used.
[0203] Accordingly, before the first network acceleration solution takes effect, the network acceleration solution recorded for the non-perceptible scenario can be invoked based on the stored non-perceptible scenario information and the type of the first application; or, after the first network acceleration solution takes effect, the network acceleration solution effective for the first application can be replaced based on the prompt information and the network acceleration solution recorded for the non-perceptible scenario; or, based on the application type of the first application or the prompt information, the network acceleration solution with the lowest user perception recorded for the low-perceptible scenario in the stored scenario information can be selected; or, after the first network acceleration solution takes effect, based on the prompt information and operation information, the network acceleration solution recorded for the non-perceptible scenario in the stored scenario information, or the network acceleration solution with the lowest user perception recorded for the low-perceptible scenario, can be selected.
[0204] For example, when using other second network acceleration solutions to accelerate the first application, after the second network acceleration solution takes effect, the electronic device continues to monitor the application's pop-up status through the application response monitoring module, and collects and stores the corresponding scene information; based on the stored scene information, it provides data reference for subsequent applications to select an appropriate network acceleration solution.
[0205] For example, when the current business scenario of the first application is a high-perception scenario, determining the target network acceleration solution adapted to the first application based on existing scenario information may include: determining the application category to which the first application belongs in the existing scenario information; determining the network acceleration solution with the lowest user perception in the existing scenario information based on the application category; and selecting the network acceleration solution with the lowest user perception as the target network acceleration solution adapted to the current business scenario of the first application. Alternatively, based on the prompt information displayed in the pop-up window corresponding to the first application, determining the key fields that are the same as those in the existing scenario information, and selecting the network acceleration solution with the lowest user perception or no user perception based on those key fields.
[0206] S806 selects a network acceleration solution based on other strategies.
[0207] For example, if lag occurs in the current business scenario of the first application, and it is not a high-perception scenario, the electronic device can also select a network acceleration solution based on other strategies. These other strategies may include closing background applications, clearing phone cache, updating system applications, and hardware acceleration, etc., which are not specifically limited here.
[0208] In this application embodiment, the current business scenario of the first application can be the operation process of all or part of any business implemented through the first application.
[0209] For example, for gaming applications, a game is considered a single transaction, from start to finish. If a decrease in network communication quality is detected at or after the start of a game, the electronic device can select an appropriate network acceleration solution based on the above process to accelerate the network with minimal or no user awareness. For instance, there might be no pop-up notification when the network acceleration solution takes effect, and the current game in a multiplayer game application might not restart.
[0210] For example, in video applications, if a communication quality degradation is detected during the playback of a video resource, the electronic device selects an appropriate network acceleration solution based on the above process to accelerate the network, minimizing or eliminating the user's perception of the degradation. For instance, there is no pop-up notification when the network acceleration solution is activated. Conversely, the network acceleration solution is discontinued when the video playback is paused.
[0211] For example, when downloading videos, if a decline in network communication quality is detected during the download process using a download application, the electronic device selects an appropriate network acceleration solution based on the above process to accelerate the network, minimizing or eliminating the user's awareness of the acceleration. For instance, there is no pop-up notification when the network acceleration solution takes effect.
[0212] It should be noted that during the current business process of the first application, the current network communication quality may be detected once or multiple times as not meeting the business communication requirements. Therefore, network acceleration may be triggered once or multiple times. When selecting a network acceleration solution in the future, the network acceleration selection module can be used to call the appropriate network acceleration solution for the current business of the application. Alternatively, the selection of the network acceleration solution can be dynamically adjusted based on the pop-up window of the application for the network acceleration solution that has been effective once or multiple times.
[0213] The fourth application scenario: Scenarios for adjusting the network acceleration scheme for non-modal pop-ups include scenarios where the pop-up is disabled or scenarios where network acceleration is performed based on the original network acceleration scheme.
[0214] In some application scenarios, after the network acceleration solution takes effect, electronic devices can identify the type of pop-up by monitoring it, and determine whether the pop-up is a modal pop-up or a non-modal pop-up.
[0215] For example, when the electronic device detects a non-modal pop-up, it identifies and extracts the displayed prompt information based on the same implementation principle as the above embodiments; and it can mark the scene type according to the prompt information and the user's operation information on the prompt information.
[0216] Specifically, when the electronic device's WiFi network is connected and the WiFi signal strength meets the actual application requirements, after the network acceleration scheme takes effect, within a preset time (e.g., 1 minute), the electronic device recognizes the non-modal pop-up displaying prompts such as "Currently not a WiFi network, network disconnected, network reconnecting," indicating changes in the current network status. Figure 9 As shown, this type of information may affect normal user use or may easily mislead users. For example, users may mistakenly believe that the WiFi network is not displaying correctly or that the application is not displaying correctly, leading them to believe that the network acceleration solution is causing the display of this information, or misleading users to check the network connection status again or perform other operations.
[0217] Accordingly, electronic devices can monitor and identify non-modal pop-up prompts, store the prompts in a database, and count the number of times non-modal pop-up prompts appear when the application is using a network acceleration solution.
[0218] For example, if, after the network acceleration solution takes effect, a non-modal pop-up window displays a message indicating a change in network status within a preset time period, the current business scenario and the network acceleration solution being used are marked. After the cumulative number of marks reaches a threshold, the network acceleration solution is prohibited from being used to accelerate the business scenario, or another second network acceleration solution is used to accelerate the business scenario. This can avoid users misunderstanding the message and reduce the user's perception of the effective network acceleration solution.
[0219] Correspondingly, after adjusting to other secondary network acceleration solutions, the strategy of selecting appropriate network acceleration solutions can be continuously optimized by monitoring application pop-up status, collecting relevant scenario information, and collecting statistics.
[0220] How to assess user perception based on prompts and / or action information:
[0221] In some embodiments, electronic devices are equipped with a function to calculate user perception scores in order to facilitate the statistical analysis of user perception.
[0222] For example, after the network acceleration solution takes effect, the user perception of the first application using the first network acceleration solution over a period of time is assessed by monitoring the prompts displayed in application pop-ups or the user's actions in response to the prompts. The degree of user perception can be indicated by a user perception score. For instance, if the user perception when a pop-up appears after the network acceleration solution takes effect is set to a total score of 100, and the user ignores the pop-up or performs no actions related to switching data services on or off, it is considered that the user is insensitive, i.e., the user is unaware of the solution. Therefore, the user perception score can be expressed by the following formula: User Perception Score = Total Score * (1 - Number of Times the User is Unaware / Total Number of Valid Times); where the total number of valid times is the total number of times the first application uses the first network acceleration solution.
[0223] For example, if the total number of valid attempts is 10 and the user is unaware of it 10 times, then the user perception score is 0, indicating that the user is insensitive or unaware of it. On the other hand, if the total number of valid attempts is 10 and the user is unaware of it 2 times, then the user perception score is 80, indicating that the user is relatively sensitive to it, which is a high-perception scenario.
[0224] This can be achieved by classifying user perception levels based on user perception scores, and then selecting appropriate network acceleration solutions based on these levels. For example, the stored scenario information can also include user perception scores after the application uses a network acceleration solution, allowing for dynamic adjustment of the application's network acceleration solution based on these scores. For instance, a user perception score of 0 represents no perception, and the corresponding scenario is marked as a no-perception scenario; a user perception score of (0, 30) represents low perception, and the corresponding scenario is marked as a low-perception scenario; a user perception score of (30, 60) represents medium perception, and the corresponding scenario is marked as a medium-perception scenario; and a user perception score of (60, 100) represents high perception, and the corresponding scenario is marked as a high-perception scenario.
[0225] For example, if the user perception score for network acceleration using the first network acceleration solution is 50 and the user perception score for network acceleration using the second network acceleration solution is 20, then the second network acceleration solution can be selected for network acceleration the next time network lag occurs. If a third network acceleration solution exists and the corresponding user perception score is 0, then the third network acceleration solution will be used for network acceleration the next time network lag occurs. Based on the evaluation of user perception, the impact of the application's interface response on the user experience after the network acceleration solution takes effect is continuously reduced.
[0226] Accordingly, after the network acceleration solution takes effect, the prompts indicating changes in network status displayed in the non-modal pop-up windows of the application can also be evaluated based on the aforementioned user perception score to assess the user's perception of the non-modal pop-up window; and then, when the user perception score corresponding to the non-modal pop-up window is high, the network acceleration solution can be disabled (disabled scenario).
[0227] Alternatively, after the network acceleration scheme takes effect, when a non-modal pop-up is detected and the above-mentioned prompt information indicating changes in network status is recognized, the electronic device can also obtain the network speed information corresponding to the current network status through the network monitoring module. When the network speed information is lower than the preset network speed threshold, the first network acceleration scheme will continue to be used to accelerate the network for the first application. Thus, when it is confirmed that the network speed is low or there is no network connection, the first network acceleration scheme will continue to be used to accelerate the network, ensuring network communication quality (scenario of network acceleration based on the original network acceleration scheme).
[0228] Example of generating and applying tag information based on scene information:
[0229] like Figure 10 The diagram illustrates the process of monitoring prompts and generating tags in this embodiment. In this embodiment, when the network communication quality of the WiFi link fluctuates and fails to meet business communication requirements, the network acceleration enable module is triggered to use a network acceleration solution for network acceleration, and the network acceleration solution remains effective. The application response monitoring module monitors application pop-up windows and, based on the monitored pop-up windows, records scenario information such as the network acceleration solution and its effective time. It also determines whether a pop-up window exists within a preset time period and whether it displays keywords. When a pop-up window exists and displays keywords, the current application scenario and prompt information are extracted, and tags are created, stored, and uploaded to the communication cloud to facilitate the selection and adaptation of network acceleration solutions, making them applicable to more application scenarios and different users.
[0230] For example, corresponding application scenario tags can be added to the current business of the first application and the first network acceleration solution, and prompt tags can be added to the prompt information.
[0231] For example, corresponding scene tags can be set according to the application type and business type of the first application. For example, the application scene tag for game applications can be set to 01, the application scene tag for video applications can be set to 02, and the application scene tag for download applications can be set to 03, etc. The specific settings and classifications can be based on the actual application scenarios. For another example, the application scene tag for the first type of business (such as video playback business) of video applications is set to 0201, the application scene tag for the second type of business (such as chat business) is set to 0202, and the application scene tag for the third type of business (such as shopping business) is set to 0203.
[0232] Accordingly, the prompt labels set for the prompt information can be set based on the pop-up type and the prompt content; for example, the prompt label for a modal pop-up is A1, and the prompt label for a non-modal pop-up is B1; another example is the first type of prompt information for a modal pop-up (such as...). Figure 4 In the scenario shown in Figure (a), the corresponding prompt label is set to A102, and the second type of prompt information is A101.
[0233] It should be noted that the above-described methods for setting application scenario tags and prompt tags, as well as the character format of the tags, are merely illustrative examples. The specific tag format is not limited and can be set according to the actual application scenario. Electronic devices generate corresponding scenario-specific tag information through scenario monitoring and information collection, and upload the tag information to the communication cloud for management and application. Alternatively, electronic devices upload extracted application scenarios and prompt information to the communication cloud through scenario monitoring and information collection, whereby the communication cloud generates corresponding application scenario tags and user tags. Application scenario tags may also include network acceleration solution tags. Application scenario tags and prompt tags corresponding to the same application scenario are associated.
[0234] For example, each application can correspond to multiple business scenarios. For different business scenarios, there can be different application scenario tags and prompt tags. By associating the application with the tags stored in the communication cloud, when the application is launched, the electronic device can send a request to the communication cloud to update the tag. Based on the tags stored in the communication cloud, the newly launched application can be associated with or updated with its corresponding tag.
[0235] The communication cloud can be a cloud server that receives scene information uploaded by different electronic devices or user accounts and generates scene tags, such as application scene tags and prompt tags, based on the uploaded scene information. Alternatively, different electronic devices can send scene tags, such as application scene tags and prompt tags, to the cloud server.
[0236] In some embodiments, the application scenario label also includes a network acceleration scheme label, such as labeling the first network acceleration scheme as speed01 and the second network acceleration scheme as speed02. Additionally, a network acceleration scheme label is generated based on the application's response to different network acceleration schemes, and this label is used to differentiate the user's perception of different network acceleration schemes. Alternatively, a network acceleration scheme label can be generated based on the user's perception of the network acceleration scheme. For example, if the user's perception of the first application using the first network acceleration scheme is higher than that of the second network acceleration scheme, then the first network acceleration scheme is labeled as speedF and the second network acceleration scheme is labeled as speedT. Thus, when a new application is launched on a subsequent electronic device, the appropriate network acceleration scheme can be selected based on the stored label information.
[0237] For example, the application scenario label may also include labels for user operation information in response to the prompt information. For instance, the label for the user's first operation information (indicating the use of the current network acceleration scheme) is marked as G1, and the label for the user's second operation information (indicating the disuse of the current network acceleration scheme, such as turning off the cellular network switch) is marked as N1. Based on the above operation information labels, a network acceleration scheme that is suitable for the current business scenario can be selected; or the available network acceleration schemes of the application can be refreshed or the network acceleration scheme can be disabled.
[0238] By using the above methods, different users' usage habits and application scenarios can be tagged, thereby enabling personalized selection and adaptation of network acceleration solutions for applications, improving user experience while ensuring internet quality.
[0239] In some embodiments, for example Figure 9 The application scenario shown demonstrates that when an application displays a prompt message that is likely to mislead users after using a network acceleration solution, an application scenario tag is generated based on the application type, the current business type, and the network acceleration solution. A prompt tag is also generated based on the prompt message, and the generated tag information is saved.
[0240] Accordingly, targeting Figure 9 The application scenarios shown can be used to identify newly launched applications by referring to the stored tag information and determining if the application is the same as the one in the stored application scenario tags. Then, based on the stored network acceleration scheme tags and prompt tags, the network acceleration scheme can be disabled for the application, or the application scenarios in which the network acceleration scheme is disabled can be set, such as APP1, APP2, etc.
[0241] For example, the first application of the first user or the first electronic device uses the first network acceleration solution and the corresponding result is as follows: Figure 9The system displays the prompt information, and after the number of occurrences reaches a preset threshold, it generates corresponding tag information and stores it in the communication cloud. After the first application of the second user or second electronic device is launched, the system can refresh the disabled network acceleration schemes corresponding to the first application of the second user or second electronic device based on the tag information stored in the communication cloud. Additionally, the system can refresh the network acceleration schemes available to the first application of the second user or second electronic device based on the tag information generated by user perception.
[0242] Specifically, there are no restrictions on the parameter division and tag setting format when setting tags. For example, application scenario tags can be generated based on application type, business type, and prompt message type; network acceleration solution tags can be generated based on the effective network acceleration solution. Alternatively, application scenario tags can be generated based on application type and business type; network acceleration solution tags can be generated based on the effective network acceleration solution; and prompt tags can be generated based on the prompt message type, with the three types of tags being interconnected and corresponding.
[0243] like Figure 11 The diagram illustrates the application scenario of the network acceleration solution provided in this embodiment. For newly downloaded applications or new electronic devices, after launching the application, the electronic device determines whether the application's corresponding tag has been updated. If so, in the event of subsequent network congestion, an appropriate network acceleration solution is selected based on the updated tag information. If not updated, an update request is sent to the communication cloud. This update request may include the application's identifier, such as the application name. Upon receiving the update request, the communication cloud retrieves the target application scenario tag and target prompt tag corresponding to the application identifier from the storage unit and sends them back to the electronic device. The electronic device receives the target application scenario tag and target prompt tag from the communication cloud, updates the tags, and in the event of subsequent network congestion, selects an appropriate network acceleration solution based on the updated tag information.
[0244] The implementation principle of selecting a suitable network acceleration solution based on tag information is similar to the above-mentioned process of comparing scene information or determining whether the scene type conditions are met. For example, after refreshing the application's tag, the tag information corresponding to the first scene information is determined based on the obtained first scene information, and the network acceleration solution that is suitable for the first application is selected from the tag information records.
[0245] By using the above methods to achieve information sharing through the communication cloud, the efficiency of selecting a suitable network acceleration solution can be improved when network congestion occurs.
[0246] Example of a blacklist for quickly refreshing network acceleration solutions based on an AI model:
[0247] In some embodiments, different users have different usage habits and use applications at different frequencies. Based on the frequency of user application use and the operation information of prompts during application operation, the AI model can refresh the corresponding disabled scenarios of the network acceleration solution. This reduces the complexity and redundancy of setting up a blacklist for network acceleration solutions and realizes a strategy for personalized use of network acceleration solutions for individual users.
[0248] like Figure 12 As shown in the schematic diagram of the AI model architecture provided in this application embodiment, the application scenario labels and prompt labels generated in the above embodiments are input into the AI model for continuous training to obtain the trained AI model. The trained AI model is used to mark scenarios where the network acceleration solution is disabled; the target application scenario is input into the AI model, and the AI model updates the disabled scenarios of the network acceleration solution.
[0249] For example, based on different classifications of label information, the label information used to train the AI model may also include operation information labels and network acceleration solution labels; or, the application scenario labels used in the input may also include operation information labels and network acceleration solution labels.
[0250] For example, an AI model can be a large AI model implemented by an electronic device based on multiple model algorithms, such as the Open Neural Network Exchange (ONNX) model, the Generative Adversarial Network (GAN) model, etc.
[0251] For example, the target application scenario includes target application scenario tags and target prompt tags. After processing by the AI model's algorithm, a disabled scenario for the network acceleration solution is generated.
[0252] Using the above methods, when setting a blacklist for network acceleration solutions, the corresponding disabled scenarios for the network acceleration solutions can be refreshed through an AI model. Based on the rapid refresh of the AI model, the complexity and redundancy of setting a blacklist for network acceleration solutions are reduced, enabling a personalized strategy for individual users to use network acceleration solutions.
[0253] like Figure 13As shown, on the network acceleration interface 24, after enabling the network acceleration function via the network acceleration switch 241, an AI refresh control 243 can also be displayed. When the user clicks on the AI refresh control 243, the AI refresh function is activated and a prompt message indicating that the disabled scenarios have been updated is displayed. Disabled applications, such as APP1 and APP2, can also be displayed. The AI model refresh function can also be activated via voice activation. Furthermore, based on the application scenarios after the AI model refresh, manual adjustments can be made, such as manually adding or deleting disabled applications.
[0254] For example, when network lag occurs during application operation, electronic devices can also select a network acceleration solution that is suitable for the current application scenario based on AI models, so as to reduce the relative perceptibility of the network acceleration solution to the user.
[0255] The above embodiments are for network acceleration of electronic devices based on multiple network links (such as WiFi links and cellular network links), and are illustrated by the scenario of enabling the network acceleration scheme when the network communication quality of the WiFi link does not meet the business communication requirements. They can also be applied to enabling the network acceleration scheme when the network communication quality of other network links does not meet the communication service requirements; and are also applicable to application scenarios of network acceleration for single-link networks.
[0256] The following examples further illustrate the application scenarios of enabling network acceleration solutions when electronic devices experience network lag on a single-link network.
[0257] like Figure 14 As shown in the schematic diagram of the single-link network acceleration process provided in this application embodiment, when the network communication quality of the electronic device running the first application does not meet the business communication requirements (such as fluctuations in the network communication quality of the WiFi link), the electronic device uses a wireless single-link self-healing network acceleration scheme to perform network acceleration processing.
[0258] Wireless single-link acceleration solutions can include network setting optimization (such as channel selection and power adjustment), application-level optimization (such as using third-party network acceleration applications to optimize transmission paths, compress data, and close background applications), and resetting network settings. When network communication quality fluctuates, electronic devices can enable one of these network acceleration solutions (or link self-healing solutions) to optimize network communication quality.
[0259] Among them, the wireless single-link acceleration solution can be a WiFi link self-healing solution.
[0260] like Figure 14As shown, after the electronic device executes the WiFi link self-healing scheme to accelerate the network, the electronic device uses the network communication quality detection module to determine whether the network communication quality has improved. If the network communication quality has not improved, that is, the network communication quality does not meet the business communication requirements, and the device receives operation information from the user to turn off the wireless switch, then the first single link scenario information is recorded. The first single link scenario information may include the currently enabled link self-healing scheme, the application scenario (such as the application identifier and service identifier of the first application), and the user's operation information, such as no operation, restarting the wireless switch, and turning off the wireless switch.
[0261] For example, after network acceleration processing, i.e., after selecting a WiFi link self-healing solution, if the network communication quality meets the business communication requirements and the network communication quality is improved, then the second single-link scenario information is recorded. The second single-link scenario information includes the currently enabled link self-healing solution and application scenario (such as the application identifier and service identifier of the first application). Specifically, by statistically analyzing the effective link self-healing solutions and user operation information, data support is provided for selecting a link self-healing solution; indicating the network acceleration solution (or link self-healing solution) adapted to the first application.
[0262] Correspondingly, in the application scenarios of the above-mentioned single-link enabled network acceleration solutions, there may also be pop-up prompts and user operation information for the prompts. Based on the same implementation principle as the network acceleration between multiple links, the selection of network acceleration solutions in single-link application scenarios can be continuously optimized by monitoring pop-up prompts, collecting scenario information, and evaluating user perception. This will improve network communication quality and enhance user experience.
[0263] By monitoring application pop-ups and identifying their displayed prompts, the impact of the network acceleration solution on the user interface (e.g., the application's UI response to the network acceleration solution) is assessed after the solution takes effect. This results in an assessment of the user experience and its perceptibility, influencing the selection of the network acceleration solution and enabling seamless network acceleration. For example, enabling seamless switching when switching networks while the network acceleration solution is enabled. Key fields displayed in pop-ups are extracted using UI text recognition (e.g., "Currently not Wi-Fi," "Network disconnected," "Network reconnecting," etc.). If these fields appear, the current application scenario is marked. After accumulating multiple occurrences, the network acceleration solution can be disabled in that scenario. Alternatively, it can be enabled when the network speed is below a threshold or no network is detected. Different users use different applications and have different usage habits. The disabled scenarios for the network acceleration solution are refreshed based on an AI-powered model, reducing the complexity and redundancy of setting a blacklist for disabling network acceleration solutions and enabling personalized network acceleration strategies for individual users.
[0264] like Figure 15 As shown in the schematic diagram, the network acceleration solution adaptation method provided in this application embodiment is based on the same implementation principle as the above embodiment, and will not be described again here. The process may include the following steps:
[0265] S1501, when the network communication quality of the electronic device running the first application does not meet the business communication requirements, the current scenario information of the first application is obtained, including the first attribute information of the first application.
[0266] S1502, compare the first attribute information with the existing scene information to determine the target network acceleration scheme that is compatible with the first application; the existing scene information is the second attribute information of the second application, the second prompt information of the second application, and the user's operation information on the second prompt information stored after the second application is accelerated based on the configured network acceleration scheme.
[0267] S1503, Use the target network acceleration scheme to accelerate the network of the first application, so that after the target network acceleration scheme takes effect, the impact of the first application on the interface is lower than the preset level; wherein, the configured network acceleration scheme includes the target network acceleration scheme; the first application and the second application are the same or similar types of applications.
[0268] In one possible implementation, the first application's impact on the interface is less than a preset level, including: after the target network acceleration solution takes effect, the first application does not display any prompts on the interface within a preset time period; or, after the target network acceleration solution takes effect, the first application displays prompts on the interface within a preset time period, but does not provide any operation information in response to the prompts.
[0269] In one possible implementation, the second prompt information includes the first type of pop-up information; after accelerating the second application based on the configured network acceleration scheme, the method further includes:
[0270] Obtain the first operation information or the second operation information input by the user in response to the first type of pop-up information; wherein, the operation information includes the first operation information and the second operation information; the first operation information is used to instruct to continue using the configured network acceleration scheme, and the second operation information is used to instruct to remove the enabled configured network acceleration scheme.
[0271] In one possible implementation, the method further includes:
[0272] When the first type of pop-up message indicates a network switch and the second operation information is received, the current business scenario type is recorded as a high-awareness scenario in the existing scenario information; wherein, the scenario type in the existing scenario information is associated with the second attribute information, the second prompt information and the user's operation information in response to the second prompt information.
[0273] In one possible implementation, the first attribute information is compared with existing scenario information to determine a target network acceleration scheme suitable for the first application, including:
[0274] The first attribute information is compared with the second attribute information in the existing scene information to determine that the scene type of the first application is the high-perception scene associated with the second attribute information; based on the high-perception scene, a target network acceleration scheme adapted to the first application is determined from the existing scene information.
[0275] The first attribute information may include the application identifier of the first application or the business identifier of the current business of the first application.
[0276] In one possible implementation, the current scenario information also includes the first prompt information of the first application; when the network communication quality of the electronic device running the first application does not meet the business communication requirements, the method further includes:
[0277] The first prompt message is compared with the first type of pop-up message in the existing scene information to determine the target network acceleration solution that is compatible with the first application.
[0278] In one possible implementation, the method further includes:
[0279] The first prompt message is compared with the second prompt message in the existing scenario information to determine that the scenario type of the first application is the high-awareness scenario associated with the second prompt message; or, when the first prompt message indicates that the service should be restarted, the scenario type of the first application is determined to be the high-awareness scenario; based on the high-awareness scenario, a target network acceleration solution that is compatible with the first application is determined from the existing scenario information.
[0280] In one possible implementation, the method further includes:
[0281] When the first type of pop-up message indicates a network switch and the first operation information is received, the current scene is recorded as a low-perception scene in the existing scene information.
[0282] In one possible implementation, the method further includes:
[0283] The first prompt message is compared with the first type of pop-up message in the existing scene information to determine that the scene type of the first application is the low-perception scene associated with the second prompt message; based on the low-perception scene, a target network acceleration scheme adapted to the first application is determined; the target network acceleration method is used to accelerate the network of the first application so that the first application does not display any prompt message.
[0284] In one possible implementation, the second prompt information includes a second type of pop-up information, and the method further includes:
[0285] When the second type of pop-up information meets the conditions of the prohibition policy, the network acceleration scheme configured to be prohibited is recorded in the existing scenario information; wherein, the conditions of the prohibition policy are that the second type of pop-up information indicates a change in the current network status and the number of times the second type of pop-up information appears meets a preset number threshold.
[0286] In one possible implementation, the method further includes:
[0287] The first prompt message is compared with the second prompt message in the existing scene information. If the first prompt message meets the prohibition policy, the configured network acceleration scheme is prohibited.
[0288] In one possible implementation, the method further includes:
[0289] The first prompt message is compared with the second prompt message in the existing scene information. If the first prompt message meets the prohibition policy and the current network speed is lower than the preset network speed threshold, the configured network acceleration scheme will continue to be used to accelerate the network of the first application.
[0290] In one possible implementation, the method further includes:
[0291] Based on the configured network acceleration scheme and the application identifier of the second application, an application scenario tag is generated; based on the second prompt information, a prompt tag is generated; the application scenario tag and the prompt tag are sent to the cloud server so that the cloud server stores the application scenario tag and the prompt tag; or, the configured network acceleration scheme, the application identifier of the second application, and the second prompt information are sent to the cloud server to instruct the cloud server to generate an application scenario tag based on the configured network acceleration scheme and the application identifier of the second application, and to generate a prompt tag based on the second prompt information; wherein, the application scenario tag and the prompt tag are used to indicate the target network acceleration scheme that is compatible with the first application.
[0292] In one possible implementation, the method further includes:
[0293] When the first application has not updated its tag, an acceleration policy request is sent to the cloud server. The acceleration policy request is used to instruct the cloud server to return the stored target application scenario tag and target prompt tag corresponding to the first application. Based on the target application scenario tag and target prompt tag returned by the cloud server, the target acceleration policy for the first application is determined. The target acceleration policy is used to determine the target network acceleration scheme that is compatible with the first application.
[0294] In one possible implementation, the method further includes:
[0295] Obtain application scenario tags and prompt tags stored on the cloud server; input the application scenario tags and prompt tags into the AI model, train the AI model, and obtain the trained AI model; based on the trained AI model, refresh the first application corresponding to the disabled network acceleration scheme for the first application that has not been refreshed.
[0296] In one possible implementation, the method further includes:
[0297] When the scenario type of the first application meets the high-awareness scenario, it is determined whether there is a configured second network acceleration scheme; if there is, the second network acceleration scheme is used to accelerate the first application; if there is not, the first network acceleration scheme is used to accelerate the first application; wherein, the first network acceleration scheme is the network acceleration scheme used when the first application displays the first prompt information, and the second network acceleration scheme is the target network acceleration scheme.
[0298] In one possible implementation, the method further includes:
[0299] The system counts the total number of times the configured network acceleration scheme is activated in the second application; it determines the number of times the configured network acceleration scheme is imperceptible to the user based on the user's operation information in response to the second prompt information; it calculates the user perception score corresponding to the network acceleration scheme used by the first application based on the total number of activations, the number of times the scheme is imperceptible, and the preset user perception score; wherein, the number of times the scheme is imperceptible refers to the number of times the user has no operation information in response to the second prompt information; the user perception score is associated with the second attribute information, the second prompt information, and the user's operation information in response to the second prompt information in the existing scenario information; the user perception score is used to indicate the target network acceleration scheme that is compatible with the first application.
[0300] In one possible implementation, the method further includes:
[0301] When the network communication quality of the electronic device running the second application does not meet the business communication requirements, a wireless single-link acceleration scheme is used for network acceleration. After network acceleration, if the network communication quality still does not meet the business communication requirements, the system receives operation information from the user to turn off the wireless switch and records the first single-link scenario information. After network acceleration, if the network communication quality meets the business communication requirements, the system records the second single-link scenario information. The first single-link scenario information includes the wireless single-link acceleration scheme, the application identifier of the second application, and operation information. The second single-link scenario information includes the wireless single-link acceleration scheme and the application identifier of the second application. The first and second single-link scenario information are used to indicate the wireless single-link acceleration scheme adapted to the first application.
[0302] In one possible implementation, after accelerating the second application based on the configured network acceleration scheme, the method further includes:
[0303] When a pop-up window displayed by the second application is detected, the second prompt information displayed in the pop-up window is extracted.
[0304] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.
[0305] Corresponding to the communication control method provided in the above embodiments, Figure 16 A schematic diagram of the network acceleration solution adaptation device provided in the embodiments of this application is shown. For ease of explanation, only the parts related to the embodiments of this application are shown.
[0306] Reference Figure 16 The device includes:
[0307] The acquisition unit 161 is used to acquire the current scenario information of the first application when the network communication quality of the electronic device running the first application does not meet the business communication requirements. The current scenario information includes the first attribute information of the first application.
[0308] The adaptation unit 162 is used to compare the first attribute information with the existing scene information to determine the target network acceleration scheme adapted to the first application; the existing scene information is the second attribute information of the second application, the second prompt information of the second application, and the user's operation information on the second prompt information stored after the second application is accelerated based on the configured network acceleration scheme.
[0309] Acceleration unit 163 is used to accelerate the network of the first application using the target network acceleration scheme, so that after the target network acceleration scheme takes effect, the impact of the first application on the interface is lower than a preset level; wherein, the configured network acceleration scheme includes the target network acceleration scheme; the first application and the second application are the same or similar types of applications.
[0310] In one possible implementation, the impact on the interface is less than a preset level, including: after the target network acceleration solution takes effect, the first application does not display any prompt information on the interface within a preset time period; or, after the target network acceleration solution takes effect, the first application displays prompt information on the interface within a preset time period, but does not provide any operation information in response to the prompt information.
[0311] In one possible implementation, the acquisition unit 161 is further configured to acquire first operation information or second operation information input by the user in response to the first type of pop-up information; wherein the operation information includes first operation information and second operation information; the first operation information is used to instruct to continue using the configured network acceleration scheme, and the second operation information is used to instruct to remove the enabled network acceleration scheme.
[0312] In one possible implementation, the acquisition unit 161 is further configured to, when the first type of pop-up information indicates a network switch and the second operation information is received, record in the stored scene information that the scene type of the current business scene is a high-awareness scene; wherein, in the stored scene information, the scene type is associated with the second attribute information, the second prompt information and the user's operation information in response to the second prompt information.
[0313] In one possible implementation, the adaptation unit 162 is further configured to compare the first attribute information with the second attribute information in the existing scene information to determine that the scene type of the first application is a high-perception scene associated with the second attribute information; and based on the high-perception scene, to determine the target network acceleration scheme adapted to the first application from the existing scene information.
[0314] The first attribute information may include the application identifier of the first application or the business identifier of the current business of the first application.
[0315] In one possible implementation, the current scene information also includes the first prompt information of the first application; the adaptation unit 162 is further used to compare the first prompt information with the first type of pop-up information in the existing scene information to determine the target network acceleration scheme adapted to the first application.
[0316] In one possible implementation, the adaptation unit 162 is further configured to compare the first prompt information with the second prompt information in the existing scene information to determine that the scene type of the first application is the high-awareness scene associated with the second prompt information; or, when the first prompt information indicates that the service should be restarted, the scene type of the first application is determined to be the high-awareness scene; based on the high-awareness scene, a target network acceleration scheme adapted to the first application is determined from the existing scene information.
[0317] In one possible implementation, the acquisition unit 161 is further configured to record the current scene as a low-perception scene in the stored scene information when the first type of pop-up information indicates the switching of the network and the first operation information is received.
[0318] In one possible implementation, the adaptation unit 162 is further configured to compare the first prompt information with the first type of pop-up information in the existing scene information to determine that the scene type of the first application is a low-perception scene associated with the second prompt information; based on the low-perception scene, determine a target network acceleration scheme adapted to the first application; and use the target network acceleration method to accelerate the network of the first application so that the first application does not display any prompt information.
[0319] In one possible implementation, the acquisition unit 161 is further configured to record the network acceleration scheme of the configuration that is prohibited from use in the stored scenario information when the second type of pop-up information meets the conditions of the prohibition policy; wherein, the conditions of the prohibition policy are that the second type of pop-up information indicates a change in the current network state and the number of times the second type of pop-up information appears meets a preset number threshold.
[0320] In one possible implementation, the adaptation unit 162 is further configured to compare the first prompt information with the second prompt information in the stored scene information, and if the first prompt information meets the prohibition policy, then the configured network acceleration scheme is prohibited.
[0321] In one possible implementation, the adaptation unit 162 is further configured to compare the first prompt information with the second prompt information in the existing scene information. If the first prompt information meets the prohibition policy and the current network speed information is lower than the preset network speed threshold, the configured network acceleration scheme is used to accelerate the network of the first application.
[0322] In one possible implementation, the device further includes a tag generation unit, configured to generate an application scenario tag based on a configured network acceleration scheme and an application identifier of the second application; generate a prompt tag based on second prompt information; and send the application scenario tag and the prompt tag to a cloud server so that the cloud server stores the application scenario tag and the prompt tag; or, send the configured network acceleration scheme, the application identifier of the second application, and the second prompt information to the cloud server to instruct the cloud server to generate an application scenario tag based on the configured network acceleration scheme and the application identifier of the second application, and to generate a prompt tag based on the second prompt information; wherein the application scenario tag and the prompt tag are used to indicate a target network acceleration scheme adapted to the first application.
[0323] In one possible implementation, the device further includes a tag updating unit, configured to send an acceleration strategy request to a cloud server when the first application has not updated its tag. The acceleration strategy request is configured to instruct the cloud server to return the stored target application scenario tag and target prompt tag corresponding to the first application. Based on the target application scenario tag and target prompt tag returned by the cloud server, a target acceleration strategy for the first application is determined. The target acceleration strategy is configured to determine a target network acceleration scheme that is compatible with the first application.
[0324] In one possible implementation, the device further includes an AI setting unit for acquiring application scenario tags and prompt tags stored on a cloud server; inputting the application scenario tags and prompt tags into an AI model to train the AI model and obtain a trained AI model; and based on the trained AI model, refreshing the first application corresponding to the disabled network acceleration scheme for the first application that has not been refreshed.
[0325] In one possible implementation, the adaptation unit 162 is further configured to determine whether a configured second network acceleration scheme exists when the scenario type of the first application meets the high-perception scenario; if it exists, the second network acceleration scheme is used to accelerate the first application; if it does not exist, the first network acceleration scheme is used to continue to accelerate the first application; wherein, the first network acceleration scheme is the network acceleration scheme used when the first application displays the first prompt information, and the second network acceleration scheme is the target network acceleration scheme.
[0326] In one possible implementation, the device further includes a perception calculation unit, used to count the total number of times the configured network acceleration scheme is activated by the second application; determine the number of times the configured network acceleration scheme is imperceptible to the user based on the user's operation information in response to the second prompt information; calculate the user perception score corresponding to the network acceleration scheme used by the first application based on the total number of activations, the number of times the scheme is imperceptible, and a preset user perception score; wherein, the number of times the scheme is imperceptible refers to the number of times there is no operation information in response to the second prompt information; the user perception score is associated with the second attribute information, the second prompt information, and the user's operation information in response to the second prompt information in the existing scene information; the user perception score is used to indicate the target network acceleration scheme that is compatible with the first application.
[0327] In one possible implementation, the acquisition unit 161 is further configured to: when the network communication quality of the electronic device running the second application does not meet the service communication requirements, use a wireless single-link acceleration scheme to accelerate the network; after network acceleration, when the network communication quality still does not meet the service communication requirements, receive operation information from the user to turn off the wireless switch and record the first single-link scenario information; after network acceleration, when the network communication quality meets the service communication requirements, record the second single-link scenario information; wherein, the first single-link scenario information includes the wireless single-link acceleration scheme, the application identifier of the second application, and operation information; the second single-link scenario information includes the wireless single-link acceleration scheme and the application identifier of the second application; the first single-link scenario information and the second single-link scenario information are used to indicate the wireless single-link acceleration scheme adapted to the first application.
[0328] In one possible implementation, the acquisition unit 161 is further configured to extract the second prompt information displayed in the pop-up window when the pop-up window displayed by the second application is identified.
[0329] In this embodiment, after the network acceleration scheme takes effect, by monitoring application pop-ups and recognizing the prompts displayed in the pop-ups, the impact of the application on the interface after the network acceleration scheme takes effect (such as the application's interface response to the network acceleration scheme) is evaluated. This yields the impact on the user experience, perceptibility, etc., instructing the user to select the network acceleration scheme, thereby achieving seamless enabling of the network acceleration scheme. For example, when enabling the network acceleration scheme and switching networks, the user can switch seamlessly. Through interface text recognition, key fields displayed in the pop-ups (such as: currently not a Wi-Fi network, network disconnected, network reconnection, etc.) are extracted. If these fields appear, the current application scenario is marked. After accumulating multiple occurrences, the network acceleration scheme can be disabled in that scenario, or enabled when the network speed is below a threshold or no network is detected. Different users use different applications and have different usage habits. Based on an AI large-scale model, the disabled scenarios for the network acceleration scheme are refreshed, reducing the complexity and redundancy of setting a blacklist for disabling network acceleration schemes, and realizing a personalized network acceleration strategy for each user.
[0330] Figure 17 A hardware system for an electronic device applicable to this application is shown.
[0331] Electronic device 100 can be a mobile phone, smart screen, tablet computer, wearable electronic device, in-vehicle electronic device, augmented reality (AR) device, virtual reality (VR) device, laptop computer, ultra-mobile personal computer (UMPC), netbook, personal digital assistant (PDA), etc. This application embodiment does not limit the specific type of electronic device 100.
[0332] Electronic device 100 may include processor 110, external memory interface 120, internal memory 121, universal serial bus (USB) interface 130, charging management module 140, power management module 141, battery 142, antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, sensor module 180, button 190, motor 191, indicator 192, camera 193, display screen 194, and subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, a barometric pressure sensor 180C, a magnetic sensor 180D, an accelerometer sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.
[0333] Processor 110 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.
[0334] The processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. This memory can store instructions or data that the processor 110 has just used or that are used repeatedly. If the processor 110 needs to use the instruction or data again, it can retrieve it directly from the memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
[0335] It is understood that the interface connection relationships between the modules illustrated in the embodiments of this application are merely illustrative and do not constitute a structural limitation on the electronic device 100. In other embodiments of this application, the electronic device 100 may also employ different interface connection methods or combinations of multiple interface connection methods as described in the above embodiments.
[0336] It should be noted that, Figure 17 The structure shown does not constitute a specific limitation on the electronic device 100. In other embodiments of this application, the electronic device 100 may include... Figure 17 The components shown may include more or fewer components, or the electronic device 100 may include... Figure 17 The components shown may be a combination of certain components, or the electronic device 100 may include... Figure 17 Sub-components of some of the components shown. Figure 17 The components shown can be implemented in hardware, software, or a combination of both.
[0337] This application also provides a chip system applied to an electronic device. The chip system includes one or more processors, which are used to invoke computer instructions to cause the electronic device to perform the methods described in the above embodiments.
[0338] This application also provides a computer-readable storage medium including instructions that, when executed on an electronic device, cause the electronic device to perform the method as described in the above embodiments.
[0339] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented, in whole or in part, as a computer program product. The computer program product includes one or more computer instructions. When the computer 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 via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line, DSL) 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 media can be magnetic media (e.g., floppy disks, hard disks, magnetic tapes), optical media (e.g., Digital Versatile Discs (DVDs)), or semiconductor media (e.g., Solid State Disks (SSDs)).
[0340] The above-described embodiments are optional embodiments provided by this application and are not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the technical scope disclosed in this application should be included within the protection scope of this application.
Claims
1. A method for adapting a network acceleration solution, characterized in that, Applied to electronic devices, the method includes: When the network communication quality of the electronic device running the first application does not meet the business communication requirements, the current scenario information of the first application is obtained, and the current scenario information includes the first attribute information of the first application. The first attribute information is compared with the existing scene information to determine the target network acceleration scheme that is compatible with the first application; the existing scene information is the second attribute information of the second application, the second prompt information of the second application, and the user's operation information on the second prompt information after the second application is accelerated based on the configured network acceleration scheme. Using the target network acceleration scheme, the first application is accelerated, so that after the target network acceleration scheme takes effect, the impact of the first application on the interface is lower than a preset level. The configured network acceleration scheme includes the target network acceleration scheme; the first application and the second application are the same or of the same type.
2. The method according to claim 1, characterized in that, The impact of the first application on the interface is less than a preset level, including: after the target network acceleration solution takes effect, the first application does not display any prompt information on the interface within a preset time period; or, after the target network acceleration solution takes effect, the first application displays prompt information on the interface within a preset time period, but does not provide any operation information in response to the prompt information.
3. The method according to claim 1 or 2, characterized in that, The second prompt information includes the first type of pop-up information; after the second application is accelerated based on the configured network acceleration scheme, the method further includes: Obtain the first or second operation information input by the user in response to the first type of pop-up information; The operation information includes the first operation information and the second operation information; the first operation information is used to indicate that the configured network acceleration scheme should continue to be used, and the second operation information is used to indicate that the configured network acceleration scheme should be disabled.
4. The method according to claim 3, characterized in that, The method further includes: When the first type of pop-up information indicates a network switch and the second operation information is received, the current business scenario type is recorded as a high-awareness scenario in the stored scenario information. In the existing scene information, the scene type is associated with the second attribute information, the second prompt information, and the user's operation information in response to the second prompt information.
5. The method according to claim 4, characterized in that, The step of comparing the first attribute information with existing scene information to determine the target network acceleration scheme adapted to the first application includes: The first attribute information is compared with the second attribute information in the existing scene information to determine that the scene type of the first application is the high-perception scene associated with the second attribute information; Based on the high-awareness scenario, the target network acceleration scheme adapted to the first application is determined from the existing scenario information.
6. The method according to claim 4, characterized in that, The current scenario information also includes a first prompt message from the first application; when the network communication quality of the electronic device running the first application does not meet the business communication requirements, the method further includes: The first prompt information is compared with the first type of pop-up information in the existing scene information to determine the target network acceleration scheme that is compatible with the first application.
7. The method according to claim 6, characterized in that, The method further includes: The first prompt information is compared with the second prompt information in the existing scene information to determine that the scene type of the first application is the high-perception scene associated with the second prompt information; or... When the first prompt message indicates that the service should be restarted, the scenario type of the first application is determined to be the high-awareness scenario; Based on the high-awareness scenario, the target network acceleration scheme adapted to the first application is determined from the existing scenario information.
8. The method according to claim 6, characterized in that, The method further includes: When the first type of pop-up information indicates a network switch and the first operation information is received, the current scene is recorded as a low-perception scene in the stored scene information.
9. The method according to claim 8, characterized in that, The method further includes: The first prompt information is compared with the first type of pop-up information in the existing scene information to determine that the scene type of the first application is the low-perception scene associated with the second prompt information; Based on the low-perception scenario, a target network acceleration scheme adapted to the first application is determined; The target network acceleration method is used to accelerate the network of the first application, so that the first application does not display any prompt information.
10. The method according to claim 6, characterized in that, The second prompt information includes a second type of pop-up information, and the method further includes: When the second type of pop-up information meets the conditions of the prohibition policy, the network acceleration scheme configured to be prohibited from use is recorded in the existing scenario information; The conditions for the prohibition policy are that the second type of pop-up information indicates a change in the current network status and the number of times the second type of pop-up information appears meets a preset threshold.
11. The method according to claim 10, characterized in that, The method further includes: The first prompt message is compared with the second prompt message in the existing scene information. If the first prompt message meets the prohibition policy, the configured network acceleration scheme is prohibited.
12. The method according to claim 10, characterized in that, The method further includes: The first prompt information is compared with the second prompt information in the existing scene information. If the first prompt information meets the prohibition policy and the current network speed information is lower than the preset network speed threshold, the configured network acceleration scheme is used to accelerate the network of the first application.
13. The method according to any one of claims 1 to 12, characterized in that, The method further includes: Based on the configured network acceleration scheme and the application identifier of the second application, an application scenario tag is generated; Based on the second prompt information, a prompt label is generated; Send the application scenario tag and the prompt tag to the cloud server, so that the cloud server stores the application scenario tag and the prompt tag; or, Send the configured network acceleration scheme, the application identifier of the second application, and the second prompt information to the cloud server to instruct the cloud server to generate the application scenario label based on the configured network acceleration scheme and the application identifier of the second application, and to generate the prompt label based on the second prompt information; The application scenario label and the prompt label are used to indicate the target network acceleration scheme that is compatible with the first application.
14. The method according to claim 13, characterized in that, The method further includes: When the first application has not updated the tag, an acceleration policy request is sent to the cloud server. The acceleration policy request is used to instruct the cloud server to return the stored target application scenario tag and target prompt tag corresponding to the first application. Based on the target application scenario tag and the target prompt tag returned by the cloud server, the target acceleration strategy for the first application is determined; the target acceleration strategy is used to determine the target network acceleration scheme that is compatible with the first application.
15. The method according to claim 13, characterized in that, The method further includes: Obtain the application scenario tags and the prompt tags stored on the cloud server; The application scenario labels and the prompt labels are input into the AI model, and the AI model is trained to obtain the trained AI model. Based on the trained AI model, for the first application that has not refreshed the network acceleration disabling scheme, refresh the first application corresponding to the network acceleration disabling scheme.
16. The method according to claim 4, characterized in that, The method further includes: When the scenario type of the first application meets the high-awareness scenario, determine whether there is a configured second network acceleration scheme; If it exists, the second network acceleration scheme is used to accelerate the first application; If it does not exist, the first network acceleration scheme will continue to be used to accelerate the first application; Wherein, the first network acceleration scheme is the network acceleration scheme used when the first application displays the first prompt information, and the second network acceleration scheme is the target network acceleration scheme.
17. The method according to claim 1, characterized in that, The method further includes: Count the total number of times the second application uses the configured network acceleration scheme; Based on the user's operation information in response to the second prompt, determine the number of times the configured network acceleration scheme is imperceptible to the user. Based on the total number of times the network acceleration scheme is activated, the number of times the user is unaware of the network acceleration scheme, and the preset total user perception score, calculate the user perception score corresponding to the first application using the configured network acceleration scheme. Wherein, the number of times no user perception occurs refers to the number of times no operation information is provided in response to the second prompt information; in the existing scene information, the user perception score is associated with the second attribute information, the second prompt information, and the user's operation information in response to the second prompt information; the user perception score is used to indicate the target network acceleration scheme that is compatible with the first application.
18. The method according to any one of claims 1 to 17, characterized in that, The method further includes: When the network communication quality of the electronic device running the second application does not meet the business communication requirements, a wireless single-link acceleration scheme is used to accelerate the network. After network acceleration, if the network communication quality does not meet the business communication requirements, the system receives the user's operation information to turn off the wireless switch and records the first single-link scenario information. After network acceleration is performed, when the network communication quality meets the business communication requirements, the second single-link scenario information is recorded. The first single-link scenario information includes the wireless single-link acceleration scheme, the application identifier of the second application, and the operation information; the second single-link scenario information includes the wireless single-link acceleration scheme and the application identifier of the second application; the first single-link scenario information and the second single-link scenario information are used to indicate the wireless single-link acceleration scheme adapted to the first application.
19. The method according to any one of claims 1 to 18, characterized in that, After the configuration-based network acceleration scheme accelerates the second application, the method further includes: When the pop-up window displayed by the second application is detected, the second prompt information displayed in the pop-up window is extracted.
20. An electronic device, characterized in that, The electronic device includes: one or more processors, and memory; The memory is coupled to the one or more processors, the memory being used to store computer program code, the computer program code including computer instructions, the one or more processors invoking the computer instructions to cause the electronic device to perform the method as described in any one of claims 1 to 19.
21. A chip system, characterized in that, The chip system is applied to an electronic device, the chip system including one or more processors, the one or more processors being used to invoke computer instructions to cause the electronic device to perform the method as described in any one of claims 1 to 19.
22. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes instructions that, when executed on an electronic device, cause the electronic device to perform the method as described in any one of claims 1 to 19.